فهرست منبع

Updated dependencies

n1474335 6 سال پیش
والد
کامیت
2385f1cbf8
10فایلهای تغییر یافته به همراه426 افزوده شده و 220 حذف شده
  1. 2 1
      Gruntfile.js
  2. 12 4
      babel.config.js
  3. 376 179
      package-lock.json
  4. 33 30
      package.json
  5. 0 1
      src/core/ChefWorker.js
  6. 0 1
      src/node/index.mjs
  7. 1 1
      src/web/SeasonalWaiter.mjs
  8. 0 1
      src/web/index.js
  9. 0 1
      tests/operations/index.mjs
  10. 2 1
      webpack.config.js

+ 2 - 1
Gruntfile.js

@@ -284,7 +284,8 @@ module.exports = function (grunt) {
                     warningsFilter: [
                     warningsFilter: [
                         /source-map/,
                         /source-map/,
                         /dependency is an expression/,
                         /dependency is an expression/,
-                        /export 'default'/
+                        /export 'default'/,
+                        /Can't resolve 'sodium'/
                     ],
                     ],
                 }
                 }
             },
             },

+ 12 - 4
babel.config.js

@@ -11,14 +11,22 @@ module.exports = function(api) {
                     "node": "6.5"
                     "node": "6.5"
                 },
                 },
                 "modules": false,
                 "modules": false,
-                "useBuiltIns": "entry"
+                "useBuiltIns": "entry",
+                "corejs": 3
             }]
             }]
         ],
         ],
         "plugins": [
         "plugins": [
             "babel-plugin-syntax-dynamic-import",
             "babel-plugin-syntax-dynamic-import",
-            ["babel-plugin-transform-builtin-extend", {
-                "globals": ["Error"]
-            }]
+            [
+                "babel-plugin-transform-builtin-extend", {
+                    "globals": ["Error"]
+                }
+            ],
+            [
+                "@babel/plugin-transform-runtime", {
+                    "regenerator": true
+                }
+            ]
         ]
         ]
     };
     };
 };
 };

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 376 - 179
package-lock.json


+ 33 - 30
package.json

@@ -30,20 +30,20 @@
   "main": "build/node/CyberChef.js",
   "main": "build/node/CyberChef.js",
   "bugs": "https://github.com/gchq/CyberChef/issues",
   "bugs": "https://github.com/gchq/CyberChef/issues",
   "devDependencies": {
   "devDependencies": {
-    "@babel/core": "^7.2.2",
-    "@babel/preset-env": "^7.2.3",
-    "autoprefixer": "^9.4.3",
+    "@babel/core": "^7.4.0",
+    "@babel/plugin-transform-runtime": "^7.4.0",
+    "@babel/preset-env": "^7.4.2",
+    "autoprefixer": "^9.5.0",
     "babel-eslint": "^10.0.1",
     "babel-eslint": "^10.0.1",
-    "babel-loader": "^8.0.4",
+    "babel-loader": "^8.0.5",
     "babel-plugin-syntax-dynamic-import": "^6.18.0",
     "babel-plugin-syntax-dynamic-import": "^6.18.0",
-    "bootstrap": "^4.2.1",
-    "chromedriver": "^2.45.0",
+    "chromedriver": "^2.46.0",
     "colors": "^1.3.3",
     "colors": "^1.3.3",
-    "css-loader": "^2.1.0",
-    "eslint": "^5.12.1",
+    "css-loader": "^2.1.1",
+    "eslint": "^5.15.3",
     "exports-loader": "^0.7.0",
     "exports-loader": "^0.7.0",
     "file-loader": "^3.0.1",
     "file-loader": "^3.0.1",
-    "grunt": "^1.0.3",
+    "grunt": "^1.0.4",
     "grunt-accessibility": "~6.0.0",
     "grunt-accessibility": "~6.0.0",
     "grunt-chmod": "~1.1.1",
     "grunt-chmod": "~1.1.1",
     "grunt-concurrent": "^2.3.1",
     "grunt-concurrent": "^2.3.1",
@@ -60,9 +60,9 @@
     "ink-docstrap": "^1.3.2",
     "ink-docstrap": "^1.3.2",
     "jsdoc-babel": "^0.5.0",
     "jsdoc-babel": "^0.5.0",
     "mini-css-extract-plugin": "^0.5.0",
     "mini-css-extract-plugin": "^0.5.0",
-    "nightwatch": "^1.0.18",
+    "nightwatch": "^1.0.19",
     "node-sass": "^4.11.0",
     "node-sass": "^4.11.0",
-    "postcss-css-variables": "^0.11.0",
+    "postcss-css-variables": "^0.12.0",
     "postcss-import": "^12.0.1",
     "postcss-import": "^12.0.1",
     "postcss-loader": "^3.0.0",
     "postcss-loader": "^3.0.0",
     "prompt": "^1.0.0",
     "prompt": "^1.0.0",
@@ -71,63 +71,66 @@
     "style-loader": "^0.23.1",
     "style-loader": "^0.23.1",
     "svg-url-loader": "^2.3.2",
     "svg-url-loader": "^2.3.2",
     "url-loader": "^1.1.2",
     "url-loader": "^1.1.2",
-    "web-resource-inliner": "^4.2.1",
-    "webpack": "^4.28.3",
-    "webpack-bundle-analyzer": "^3.0.3",
-    "webpack-dev-server": "^3.1.14",
+    "web-resource-inliner": "^4.3.1",
+    "webpack": "^4.29.6",
+    "webpack-bundle-analyzer": "^3.1.0",
+    "webpack-dev-server": "^3.2.1",
     "webpack-node-externals": "^1.7.2",
     "webpack-node-externals": "^1.7.2",
     "worker-loader": "^2.0.0"
     "worker-loader": "^2.0.0"
   },
   },
   "dependencies": {
   "dependencies": {
+    "@babel/polyfill": "^7.4.0",
+    "@babel/runtime": "^7.4.2",
     "arrive": "^2.4.1",
     "arrive": "^2.4.1",
     "babel-plugin-transform-builtin-extend": "1.1.2",
     "babel-plugin-transform-builtin-extend": "1.1.2",
-    "babel-polyfill": "^6.26.0",
     "bcryptjs": "^2.4.3",
     "bcryptjs": "^2.4.3",
-    "bignumber.js": "^8.0.2",
+    "bignumber.js": "^8.1.1",
+    "bootstrap": "4.2.1",
     "bootstrap-colorpicker": "^2.5.3",
     "bootstrap-colorpicker": "^2.5.3",
     "bootstrap-material-design": "^4.1.1",
     "bootstrap-material-design": "^4.1.1",
-    "bson": "^4.0.1",
+    "bson": "^4.0.2",
     "chi-squared": "^1.1.0",
     "chi-squared": "^1.1.0",
     "clippyjs": "0.0.3",
     "clippyjs": "0.0.3",
+    "core-js": "^3.0.0",
     "crypto-api": "^0.8.3",
     "crypto-api": "^0.8.3",
     "crypto-js": "^3.1.9-1",
     "crypto-js": "^3.1.9-1",
     "ctph.js": "0.0.5",
     "ctph.js": "0.0.5",
-    "diff": "^3.5.0",
+    "diff": "^4.0.1",
     "es6-promisify": "^6.0.1",
     "es6-promisify": "^6.0.1",
-    "escodegen": "^1.11.0",
+    "escodegen": "^1.11.1",
     "esmangle": "^1.0.1",
     "esmangle": "^1.0.1",
     "esprima": "^4.0.1",
     "esprima": "^4.0.1",
     "exif-parser": "^0.1.12",
     "exif-parser": "^0.1.12",
-    "file-saver": "^2.0.0",
+    "file-saver": "^2.0.1",
     "geodesy": "^1.1.3",
     "geodesy": "^1.1.3",
-    "highlight.js": "^9.13.1",
+    "highlight.js": "^9.15.6",
     "jimp": "^0.6.0",
     "jimp": "^0.6.0",
     "jquery": "^3.3.1",
     "jquery": "^3.3.1",
     "js-crc": "^0.2.0",
     "js-crc": "^0.2.0",
     "js-sha3": "^0.8.0",
     "js-sha3": "^0.8.0",
     "jsesc": "^2.5.2",
     "jsesc": "^2.5.2",
-    "jsonpath": "^1.0.0",
-    "jsonwebtoken": "^8.4.0",
-    "jsqr": "^1.1.1",
+    "jsonpath": "^1.0.1",
+    "jsonwebtoken": "^8.5.1",
+    "jsqr": "^1.2.0",
     "jsrsasign": "8.0.12",
     "jsrsasign": "8.0.12",
-    "kbpgp": "^2.0.82",
+    "kbpgp": "2.1.0",
     "libyara-wasm": "0.0.12",
     "libyara-wasm": "0.0.12",
     "lodash": "^4.17.11",
     "lodash": "^4.17.11",
     "loglevel": "^1.6.1",
     "loglevel": "^1.6.1",
     "loglevel-message-prefix": "^3.0.0",
     "loglevel-message-prefix": "^3.0.0",
-    "moment": "^2.23.0",
+    "moment": "^2.24.0",
     "moment-timezone": "^0.5.23",
     "moment-timezone": "^0.5.23",
     "ngeohash": "^0.6.3",
     "ngeohash": "^0.6.3",
-    "node-forge": "^0.7.6",
+    "node-forge": "^0.8.2",
     "node-md6": "^0.1.0",
     "node-md6": "^0.1.0",
     "notepack.io": "^2.2.0",
     "notepack.io": "^2.2.0",
     "nwmatcher": "^1.4.4",
     "nwmatcher": "^1.4.4",
     "otp": "^0.1.3",
     "otp": "^0.1.3",
-    "popper.js": "^1.14.6",
+    "popper.js": "^1.14.7",
     "qr-image": "^3.2.0",
     "qr-image": "^3.2.0",
     "scryptsy": "^2.0.0",
     "scryptsy": "^2.0.0",
     "snackbarjs": "^1.1.0",
     "snackbarjs": "^1.1.0",
-    "sortablejs": "^1.8.0-rc1",
+    "sortablejs": "^1.8.4",
     "split.js": "^1.5.10",
     "split.js": "^1.5.10",
     "ssdeep.js": "0.0.2",
     "ssdeep.js": "0.0.2",
     "ua-parser-js": "^0.7.19",
     "ua-parser-js": "^0.7.19",

+ 0 - 1
src/core/ChefWorker.js

@@ -6,7 +6,6 @@
  * @license Apache-2.0
  * @license Apache-2.0
  */
  */
 
 
-import "babel-polyfill";
 import Chef from "./Chef";
 import Chef from "./Chef";
 import OperationConfig from "./config/OperationConfig.json";
 import OperationConfig from "./config/OperationConfig.json";
 import OpModules from "./config/modules/OpModules";
 import OpModules from "./config/modules/OpModules";

+ 0 - 1
src/node/index.mjs

@@ -5,7 +5,6 @@
  * @copyright Crown Copyright 2017
  * @copyright Crown Copyright 2017
  * @license Apache-2.0
  * @license Apache-2.0
  */
  */
-import "babel-polyfill";
 
 
 // Define global environment functions
 // Define global environment functions
 global.ENVIRONMENT_IS_WORKER = function() {
 global.ENVIRONMENT_IS_WORKER = function() {

+ 1 - 1
src/web/SeasonalWaiter.mjs

@@ -95,7 +95,7 @@ class SeasonalWaiter {
         }
         }
 
 
         if (!this.app.options.clippy) {
         if (!this.app.options.clippy) {
-            this.clippyTimeouts.forEach(t => clearTimeout(t));
+            if (this.clippyTimeouts) this.clippyTimeouts.forEach(t => clearTimeout(t));
             return;
             return;
         }
         }
 
 

+ 0 - 1
src/web/index.js

@@ -8,7 +8,6 @@
 import "./stylesheets/index.js";
 import "./stylesheets/index.js";
 
 
 // Libs
 // Libs
-import "babel-polyfill";
 import "arrive";
 import "arrive";
 import "snackbarjs";
 import "snackbarjs";
 import "bootstrap-material-design";
 import "bootstrap-material-design";

+ 0 - 1
tests/operations/index.mjs

@@ -10,7 +10,6 @@
  * @copyright Crown Copyright 2017
  * @copyright Crown Copyright 2017
  * @license Apache-2.0
  * @license Apache-2.0
  */
  */
-import "babel-polyfill";
 
 
 // Define global environment functions
 // Define global environment functions
 global.ENVIRONMENT_IS_WORKER = function() {
 global.ENVIRONMENT_IS_WORKER = function() {

+ 2 - 1
webpack.config.js

@@ -133,7 +133,8 @@ module.exports = {
         warningsFilter: [
         warningsFilter: [
             /source-map/,
             /source-map/,
             /dependency is an expression/,
             /dependency is an expression/,
-            /export 'default'/
+            /export 'default'/,
+            /Can't resolve 'sodium'/
         ],
         ],
     },
     },
     node: {
     node: {

برخی فایل ها در این مقایسه diff نمایش داده نمی شوند زیرا تعداد فایل ها بسیار زیاد است