From 4f1a9bdddc1e96a6d9cb4fe5cc4df5f1edf781e8 Mon Sep 17 00:00:00 2001 From: zhixin Date: Mon, 24 Jun 2019 10:02:17 +0800 Subject: [PATCH] Fix IE11 cannot work bug --- .eslintrc.js | 3 ++- package.json | 30 +++++++++++++++--------------- 2 files changed, 17 insertions(+), 16 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index 0cd464f826..8ff24ce376 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -64,7 +64,8 @@ module.exports = { 'no-useless-constructor': 'warn', 'comma-dangle': ['error', 'never'], 'no-param-reassign': 'off', - 'space-before-function-paren': ["error", "always"] + 'space-before-function-paren': ["error", "always"], + 'no-prototype-builtins': 'off' }, 'globals': { '$': true, diff --git a/package.json b/package.json index a487bb9047..4e3fa206be 100644 --- a/package.json +++ b/package.json @@ -7,29 +7,29 @@ "doc": "site" }, "devDependencies": { - "@babel/core": "^7.4.3", - "@babel/preset-env": "^7.4.3", - "core-js": "^3.0.0", + "@babel/core": "^7.4.5", + "@babel/preset-env": "^7.4.5", + "chalk": "^2.4.2", + "core-js": "^3.1.4", "cssmin-cli": "^0.0.5", - "eslint": "^4.19.1", - "glob": "^7.1.3", + "eslint": "^6.0.0", + "esm": "^3.2.25", + "glob": "^7.1.4", "headr": "^0.0.4", "npm-run-all": "^4.1.5", - "rollup": "^1.8.0", - "rollup-plugin-babel": "^4.3.2", + "rollup": "^1.16.2", + "rollup-plugin-babel": "^4.3.3", "rollup-plugin-babel-minify": "^8.0.0", - "rollup-plugin-commonjs": "^9.3.4", - "rollup-plugin-inject": "^2.2.0", + "rollup-plugin-commonjs": "^10.0.0", + "rollup-plugin-inject": "^3.0.0", "rollup-plugin-multi-entry": "^2.1.0", - "rollup-plugin-node-resolve": "^4.0.1", + "rollup-plugin-node-resolve": "^5.0.4", "rollup-plugin-vue": "^5.0.0", - "sass": "^1.16.1", + "safe-eval": "^0.4.1", + "sass": "^1.21.0", "stylelint": "^10.1.0", "stylelint-config-standard": "^18.3.0", - "vue-template-compiler": "^2.6.10", - "chalk": "^2.4.2", - "esm": "^3.2.25", - "safe-eval": "^0.4.1" + "vue-template-compiler": "^2.6.10" }, "scripts": { "lint:js": "eslint src",