Browse Source

Dependencies update

sanex3339 7 years ago
parent
commit
80f86dadbd

+ 3 - 3
package.json

@@ -66,15 +66,15 @@
     "mocha": "5.0.5",
     "pre-commit": "1.2.2",
     "rimraf": "2.6.2",
-    "sinon": "4.4.8",
+    "sinon": "4.4.9",
     "threads": "0.10.1",
     "ts-node": "5.0.1",
     "tslint": "5.9.1",
     "tslint-eslint-rules": "5.1.0",
     "tslint-language-service": "0.9.9",
     "tslint-webpack-plugin": "1.2.2",
-    "typescript": "2.8.0-rc",
-    "webpack": "4.2.0",
+    "typescript": "2.8.1",
+    "webpack": "4.3.0",
     "webpack-cli": "2.0.13",
     "webpack-node-externals": "1.6.0"
   },

+ 1 - 4
src/EspreeFacade.ts

@@ -66,10 +66,7 @@ export class EspreeFacade {
         inputConfig: espree.ParseOptions,
         sourceType: espree.SourceType
     ): ESTree.Program {
-        const config: espree.ParseOptions = {
-            ...inputConfig,
-            sourceType,
-        };
+        const config: espree.ParseOptions = { ...inputConfig, sourceType };
 
         return espree.parse(input, config);
     }

+ 1 - 1
src/types/node-transformers/TReplaceableIdentifiers.d.ts

@@ -1,3 +1,3 @@
 import * as ESTree from 'estree';
 
-export type TReplaceableIdentifiers = Map <ESTree.Node, Map<string, ESTree.Identifier[]>>;
+export type TReplaceableIdentifiers = Map <ESTree.Node, Map <string, ESTree.Identifier[]>>;

+ 1 - 1
src/types/node-transformers/TReplaceableIdentifiersNames.d.ts

@@ -1,3 +1,3 @@
 import * as ESTree from 'estree';
 
-export type TReplaceableIdentifiersNames = Map<string, ESTree.Identifier[]>;
+export type TReplaceableIdentifiersNames = Map <string, ESTree.Identifier[]>;

+ 11 - 11
yarn.lock

@@ -5174,9 +5174,9 @@ signal-exit@^3.0.0, signal-exit@^3.0.2:
   version "3.0.2"
   resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.2.tgz#b5fdc08f1287ea1178628e415e25132b73646c6d"
 
[email protected].8:
-  version "4.4.8"
-  resolved "https://registry.yarnpkg.com/sinon/-/sinon-4.4.8.tgz#0479e0ccb8caa0d737ce9773c8d53d57d38f2d84"
[email protected].9:
+  version "4.4.9"
+  resolved "https://registry.yarnpkg.com/sinon/-/sinon-4.4.9.tgz#0792a2a5171eb0cf242edacb0eba3898b8b4297f"
   dependencies:
     "@sinonjs/formatio" "^2.0.0"
     diff "^3.1.0"
@@ -5727,9 +5727,9 @@ typedarray@^0.0.6:
   version "0.0.6"
   resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777"
 
[email protected].0-rc:
-  version "2.8.0-rc"
-  resolved "https://registry.yarnpkg.com/typescript/-/typescript-2.8.0-rc.tgz#a0256b7d1d39fb7493ba0403f55e95d31e8bc374"
[email protected].1:
+  version "2.8.1"
+  resolved "https://registry.yarnpkg.com/typescript/-/typescript-2.8.1.tgz#6160e4f8f195d5ba81d4876f9c0cc1fbc0820624"
 
 uglify-es@^3.3.4:
   version "3.3.9"
@@ -5751,7 +5751,7 @@ uglify-to-browserify@~1.0.0:
   version "1.0.2"
   resolved "https://registry.yarnpkg.com/uglify-to-browserify/-/uglify-to-browserify-1.0.2.tgz#6e0924d6bda6b5afe349e39a6d632850a0f882b7"
 
-uglifyjs-webpack-plugin@^1.1.1:
+uglifyjs-webpack-plugin@^1.2.4:
   version "1.2.4"
   resolved "https://registry.yarnpkg.com/uglifyjs-webpack-plugin/-/uglifyjs-webpack-plugin-1.2.4.tgz#5eec941b2e9b8538be0a20fc6eda25b14c7c1043"
   dependencies:
@@ -5988,9 +5988,9 @@ webpack-sources@^1.0.1, webpack-sources@^1.1.0:
     source-list-map "^2.0.0"
     source-map "~0.6.1"
 
-webpack@4.2.0:
-  version "4.2.0"
-  resolved "https://registry.yarnpkg.com/webpack/-/webpack-4.2.0.tgz#a4f80807651a0e611bb09609600dc266262efcc1"
+webpack@4.3.0:
+  version "4.3.0"
+  resolved "https://registry.yarnpkg.com/webpack/-/webpack-4.3.0.tgz#0b0c1e211311b3995dd25aed47ab46ea658be070"
   dependencies:
     acorn "^5.0.0"
     acorn-dynamic-import "^3.0.0"
@@ -6008,7 +6008,7 @@ [email protected]:
     node-libs-browser "^2.0.0"
     schema-utils "^0.4.2"
     tapable "^1.0.0"
-    uglifyjs-webpack-plugin "^1.1.1"
+    uglifyjs-webpack-plugin "^1.2.4"
     watchpack "^1.5.0"
     webpack-sources "^1.0.1"