Skip to content

Commit df868c7

Browse files
committed
build: bump flow version
1 parent 78fb666 commit df868c7

File tree

3 files changed

+38
-62
lines changed

3 files changed

+38
-62
lines changed

Diff for: package-lock.json

+34-59
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
"eslint-plugin-jasmine": "^2.2.0",
8383
"eslint-plugin-vue-libs": "^1.2.0",
8484
"file-loader": "^0.11.2",
85-
"flow-bin": "^0.48.0",
85+
"flow-bin": "^0.54.0",
8686
"hash-sum": "^1.0.2",
8787
"he": "^1.1.1",
8888
"http-server": "^0.10.0",

Diff for: src/core/util/env.js

+3-2
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ export const nextTick = (function () {
8686
// UIWebView in iOS >= 9.3.3 when triggered in touch event handlers. It
8787
// completely stops working after triggering a few times... so, if native
8888
// Promise is available, we will use it:
89-
/* istanbul ignore if */
89+
/* istanbul ignore if */ // $flow-disable-line
9090
if (typeof Promise !== 'undefined' && isNative(Promise)) {
9191
var p = Promise.resolve()
9292
var logError = err => { console.error(err) }
@@ -141,6 +141,7 @@ export const nextTick = (function () {
141141
pending = true
142142
timerFunc()
143143
}
144+
// $flow-disable-line
144145
if (!cb && typeof Promise !== 'undefined') {
145146
return new Promise((resolve, reject) => {
146147
_resolve = resolve
@@ -150,7 +151,7 @@ export const nextTick = (function () {
150151
})()
151152

152153
let _Set
153-
/* istanbul ignore if */
154+
/* istanbul ignore if */ // $flow-disable-line
154155
if (typeof Set !== 'undefined' && isNative(Set)) {
155156
// use native Set when available.
156157
_Set = Set

0 commit comments

Comments
 (0)