Browse Source

Dependencies update 20.06.2020

sanex3339 4 năm trước cách đây
mục cha
commit
3079ee1cd2
7 tập tin đã thay đổi với 322 bổ sung274 xóa
  1. 7 0
      .eslintrc.js
  2. 0 0
      dist/index.browser.js
  3. 0 0
      dist/index.cli.js
  4. 0 0
      dist/index.js
  5. 13 13
      package.json
  6. 6 2
      webpack/webpack.node.config.js
  7. 296 259
      yarn.lock

+ 7 - 0
.eslintrc.js

@@ -189,11 +189,18 @@ module.exports = {
         "guard-for-in": "error",
         "id-blacklist": "off",
         "id-match": "off",
+        "import/export": "error",
+        "import/first": "error",
+        "import/newline-after-import": "error",
+        "import/no-absolute-path": "error",
+        "import/no-cycle": "error",
         "import/no-default-export": "error",
         "import/no-deprecated": "error",
         "import/no-extraneous-dependencies": "error",
         "import/no-internal-modules": "error",
+        "import/no-mutable-exports": "error",
         "import/no-unassigned-import": "off",
+        "import/no-useless-path-segments": "error",
         "import/order": "off",
         "indent": "off",
         "jsdoc/no-types": "off",

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/index.browser.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/index.cli.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/index.js


+ 13 - 13
package.json

@@ -23,8 +23,8 @@
   "dependencies": {
     "@gradecam/tsenum": "1.2.0",
     "@nuxtjs/opencollective": "0.2.2",
-    "acorn": "7.2.0",
-    "chalk": "4.0.0",
+    "acorn": "7.3.1",
+    "chalk": "4.1.0",
     "chance": "1.1.6",
     "class-validator": "0.12.2",
     "commander": "5.1.0",
@@ -32,7 +32,7 @@
     "eslint-scope": "5.1.0",
     "estraverse": "5.1.0",
     "eventemitter3": "4.0.4",
-    "fast-deep-equal": "3.1.1",
+    "fast-deep-equal": "3.1.3",
     "inversify": "5.0.1",
     "js-string-escape": "1.0.1",
     "md5": "2.2.1",
@@ -54,24 +54,24 @@
     "@types/mkdirp": "1.0.1",
     "@types/mocha": "7.0.2",
     "@types/multimatch": "4.0.0",
-    "@types/node": "14.0.11",
+    "@types/node": "14.0.13",
     "@types/rimraf": "3.0.0",
     "@types/sinon": "9.0.4",
     "@types/string-template": "1.0.2",
     "@types/webpack-env": "1.15.2",
-    "@typescript-eslint/eslint-plugin": "3.1.0",
-    "@typescript-eslint/parser": "3.1.0",
+    "@typescript-eslint/eslint-plugin": "3.3.0",
+    "@typescript-eslint/parser": "3.3.0",
     "chai": "4.2.0",
     "coveralls": "3.1.0",
-    "eslint": "7.2.0",
-    "eslint-plugin-import": "2.20.2",
-    "eslint-plugin-jsdoc": "27.0.4",
+    "eslint": "7.3.0",
+    "eslint-plugin-import": "2.21.2",
+    "eslint-plugin-jsdoc": "27.1.2",
     "eslint-plugin-no-null": "1.0.2",
     "eslint-plugin-prefer-arrow": "1.2.1",
     "eslint-plugin-unicorn": "20.1.0",
-    "fork-ts-checker-notifier-webpack-plugin": "2.0.0",
-    "fork-ts-checker-webpack-plugin": "4.1.6",
-    "mocha": "7.2.0",
+    "fork-ts-checker-notifier-webpack-plugin": "3.0.0",
+    "fork-ts-checker-webpack-plugin": "5.0.4",
+    "mocha": "8.0.1",
     "nyc": "15.1.0",
     "pjson": "1.0.9",
     "pre-commit": "1.2.2",
@@ -82,7 +82,7 @@
     "ts-node": "6.1.0",
     "typescript": "3.9.5",
     "webpack": "4.43.0",
-    "webpack-cli": "3.3.11",
+    "webpack-cli": "3.3.12",
     "webpack-node-externals": "1.7.2"
   },
   "repository": {

+ 6 - 2
webpack/webpack.node.config.js

@@ -50,8 +50,12 @@ module.exports = {
             BUILD_TIMESTAMP: Date.now()
         }),
         new ForkTsCheckerWebpackPlugin({
-            tsconfig: 'src/tsconfig.node.json',
-            eslint: true
+            eslint: {
+                files: 'src/**/*.ts'
+            },
+            typescript: {
+                configFile: 'src/tsconfig.node.json'
+            }
         }),
         new ForkTsCheckerNotifierWebpackPlugin({
             skipFirstNotification: true

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 296 - 259
yarn.lock


Một số tệp đã không được hiển thị bởi vì quá nhiều tập tin thay đổi trong này khác