Skip to content

Commit 07d41dd

Browse files
committed
bump deps
1 parent 7419d25 commit 07d41dd

File tree

5 files changed

+212
-330
lines changed

5 files changed

+212
-330
lines changed

.babelrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"presets": ["es2015-loose", "flow-vue"],
2+
"presets": ["es2015", "flow-vue"],
33
"plugins": ["syntax-dynamic-import"]
44
}

build/build.js

-2
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,7 @@ function buildEntry (config) {
9292
const code = bundle.generate(config).code
9393
if (isProd) {
9494
var minified = (config.banner ? config.banner + '\n' : '') + uglify.minify(code, {
95-
fromString: true,
9695
output: {
97-
screw_ie8: true,
9896
ascii_only: true
9997
},
10098
compress: {

package.json

+5-6
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,9 @@
3838
"devDependencies": {
3939
"babel-core": "^6.24.1",
4040
"babel-eslint": "^7.2.3",
41-
"babel-loader": "^6.2.4",
41+
"babel-loader": "^7.0.0",
4242
"babel-plugin-syntax-dynamic-import": "^6.18.0",
4343
"babel-preset-es2015": "^6.24.1",
44-
"babel-preset-es2015-loose": "^8.0.0",
4544
"babel-preset-flow-vue": "^1.0.0",
4645
"buble": "^0.15.2",
4746
"chromedriver": "^2.21.2",
@@ -53,24 +52,24 @@
5352
"eslint-plugin-vue-libs": "^1.2.0",
5453
"express": "^4.14.0",
5554
"express-urlrewrite": "^1.2.0",
56-
"flow-bin": "^0.45.0",
55+
"flow-bin": "^0.48.0",
5756
"gitbook-plugin-edit-link": "^2.0.2",
5857
"gitbook-plugin-github": "^3.0.0",
5958
"jasmine": "2.6.0",
6059
"nightwatch": "^0.9.5",
6160
"nightwatch-helpers": "^1.0.0",
6261
"path-to-regexp": "^1.5.3",
6362
"phantomjs-prebuilt": "^2.1.14",
64-
"rollup": "^0.41.4",
63+
"rollup": "^0.43.0",
6564
"rollup-plugin-buble": "^0.15.0",
6665
"rollup-plugin-commonjs": "^8.0.2",
6766
"rollup-plugin-flow-no-whitespace": "^1.0.0",
6867
"rollup-plugin-node-resolve": "^3.0.0",
6968
"rollup-plugin-replace": "^1.1.1",
70-
"rollup-watch": "^3.2.2",
69+
"rollup-watch": "^4.0.0",
7170
"selenium-server": "^2.53.1",
7271
"typescript": "^2.0.3",
73-
"uglify-js": "^2.7.0",
72+
"uglify-js": "^3.0.17",
7473
"vue": "^2.3.0",
7574
"vue-loader": "^12.0.2",
7675
"vue-template-compiler": "^2.3.0",

src/history/base.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -409,10 +409,10 @@ function flatten (arr) {
409409
// return that Promise.
410410
function once (fn) {
411411
let called = false
412-
return function () {
412+
return function (...args) {
413413
if (called) return
414414
called = true
415-
return fn.apply(this, arguments)
415+
return fn.apply(this, args)
416416
}
417417
}
418418

0 commit comments

Comments
 (0)