瀏覽代碼

Dependencies update, issue template update

sanex3339 7 年之前
父節點
當前提交
a509d5671c
共有 6 個文件被更改,包括 55 次插入26 次删除
  1. 29 1
      .github/ISSUE_TEMPLATE.md
  2. 0 0
      dist/index.cli.js
  3. 0 0
      dist/index.js
  4. 6 6
      package.json
  5. 2 1
      webpack/utils/WebpackUtils.js
  6. 18 18
      yarn.lock

+ 29 - 1
.github/ISSUE_TEMPLATE.md

@@ -1,2 +1,30 @@
 <!-- Love javascript-obfuscator? Please consider supporting our collective:
-👉  https://opencollective.com/javascript-obfuscator/donate -->
+👉  https://opencollective.com/javascript-obfuscator/donate -->
+
+<!--- Provide a general summary of the issue in the Title above -->
+
+## Expected Behavior
+<!--- If you're describing a bug, tell us what should happen -->
+<!--- If you're suggesting a change/improvement, tell us how it should work -->
+
+## Current Behavior
+<!--- If describing a bug, tell us what happens instead of the expected behavior -->
+<!--- If suggesting a change/improvement, explain the difference from current behavior -->
+
+## Steps to Reproduce (for bugs)
+<!--- Provide a link to a live example, or an unambiguous set of steps to -->
+<!--- reproduce this bug. Include code to reproduce, if relevant -->
+1.
+2.
+3.
+4.
+
+## Your Environment
+<!--- Include as many relevant details about the environment you experienced the bug in -->
+* Version used:
+
+# Stack trace
+<!--- Include stack trace -->
+
+## Minimal working example that will help to reproduce issue
+<!--- Include code -->

File diff suppressed because it is too large
+ 0 - 0
dist/index.cli.js


File diff suppressed because it is too large
+ 0 - 0
dist/index.js


+ 6 - 6
package.json

@@ -44,16 +44,16 @@
     "@babel/core": "7.0.0-beta.44",
     "@babel/plugin-transform-runtime": "7.0.0-beta.44",
     "@babel/preset-env": "7.0.0-beta.44",
-    "@types/chai": "4.1.2",
+    "@types/chai": "4.1.3",
     "@types/chance": "1.0.0",
     "@types/escodegen": "0.0.6",
     "@types/estraverse": "0.0.6",
     "@types/estree": "0.0.38",
     "@types/md5": "2.1.32",
     "@types/mkdirp": "0.5.2",
-    "@types/mocha": "5.0.0",
+    "@types/mocha": "5.2.0",
     "@types/multimatch": "2.1.2",
-    "@types/node": "9.6.5",
+    "@types/node": "9.6.6",
     "@types/rimraf": "2.0.2",
     "@types/sinon": "4.3.1",
     "@types/string-template": "1.0.2",
@@ -63,7 +63,7 @@
     "chai": "4.1.2",
     "coveralls": "3.0.0",
     "istanbul": "1.1.0-alpha.1",
-    "mocha": "5.1.0",
+    "mocha": "5.1.1",
     "pjson": "1.0.9",
     "pre-commit": "1.2.2",
     "rimraf": "2.6.2",
@@ -75,9 +75,9 @@
     "tslint-language-service": "0.9.9",
     "tslint-microsoft-contrib": "5.0.3",
     "tslint-webpack-plugin": "1.2.2",
-    "typescript": "2.8.1",
+    "typescript": "2.8.3",
     "webpack": "4.6.0",
-    "webpack-cli": "2.0.14",
+    "webpack-cli": "2.0.15",
     "webpack-node-externals": "1.7.2"
   },
   "repository": {

+ 2 - 1
webpack/utils/WebpackUtils.js

@@ -1,6 +1,7 @@
 const fs = require('fs');
 
 const copyright = 'Copyright (C) 2016-2018 Timofey Kachalov <[email protected]>';
+const sourceMapSupportRequire = 'require("source-map-support").install();';
 
 class WebpackUtils {
     /**
@@ -21,7 +22,7 @@ class WebpackUtils {
     }
 
     static getSourceMapSupportImport () {
-        return `require("source-map-support").install();`;
+        return sourceMapSupportRequire;
     }
 }
 

+ 18 - 18
yarn.lock

@@ -537,9 +537,9 @@
   dependencies:
     samsam "1.3.0"
 
-"@types/[email protected].2":
-  version "4.1.2"
-  resolved "https://registry.yarnpkg.com/@types/chai/-/chai-4.1.2.tgz#f1af664769cfb50af805431c407425ed619daa21"
+"@types/[email protected].3":
+  version "4.1.3"
+  resolved "https://registry.yarnpkg.com/@types/chai/-/chai-4.1.3.tgz#b8a74352977a23b604c01aa784f5b793443fb7dc"
 
 "@types/[email protected]":
   version "1.0.0"
@@ -587,9 +587,9 @@
   dependencies:
     "@types/node" "*"
 
-"@types/mocha@5.0.0":
-  version "5.0.0"
-  resolved "https://registry.yarnpkg.com/@types/mocha/-/mocha-5.0.0.tgz#a3014921991066193f6c8e47290d4d598dfd19e6"
+"@types/mocha@5.2.0":
+  version "5.2.0"
+  resolved "https://registry.yarnpkg.com/@types/mocha/-/mocha-5.2.0.tgz#b3c8e69f038835db1a7fdc0b3d879fc50506e29e"
 
 "@types/[email protected]":
   version "2.1.2"
@@ -599,9 +599,9 @@
   version "9.6.0"
   resolved "https://registry.yarnpkg.com/@types/node/-/node-9.6.0.tgz#d3480ee666df9784b1001a1872a2f6ccefb6c2d7"
 
-"@types/[email protected].5":
-  version "9.6.5"
-  resolved "https://registry.yarnpkg.com/@types/node/-/node-9.6.5.tgz#ee700810fdf49ac1c399fc5980b7559b3e5a381d"
+"@types/[email protected].6":
+  version "9.6.6"
+  resolved "https://registry.yarnpkg.com/@types/node/-/node-9.6.6.tgz#439b91f9caf3983cad2eef1e11f6bedcbf9431d2"
 
 "@types/[email protected]":
   version "2.0.2"
@@ -4071,9 +4071,9 @@ [email protected], [email protected], "mkdirp@>=0.5 0", mkdirp@^0.5.0, mkdirp@^0.5.1, mkdi
   dependencies:
     minimist "0.0.8"
 
[email protected].0:
-  version "5.1.0"
-  resolved "https://registry.yarnpkg.com/mocha/-/mocha-5.1.0.tgz#5ff11cc39c0bb65330ac6c41f9086634e3e3f686"
[email protected].1:
+  version "5.1.1"
+  resolved "https://registry.yarnpkg.com/mocha/-/mocha-5.1.1.tgz#b774c75609dac05eb48f4d9ba1d827b97fde8a7b"
   dependencies:
     browser-stdout "1.3.1"
     commander "2.11.0"
@@ -5757,9 +5757,9 @@ typedarray@^0.0.6:
   version "0.0.6"
   resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777"
 
[email protected].1:
-  version "2.8.1"
-  resolved "https://registry.yarnpkg.com/typescript/-/typescript-2.8.1.tgz#6160e4f8f195d5ba81d4876f9c0cc1fbc0820624"
[email protected].3:
+  version "2.8.3"
+  resolved "https://registry.yarnpkg.com/typescript/-/typescript-2.8.3.tgz#5d817f9b6f31bb871835f4edf0089f21abe6c170"
 
 uglify-es@^3.3.4:
   version "3.3.9"
@@ -5977,9 +5977,9 @@ webpack-addons@^1.1.5:
   dependencies:
     jscodeshift "^0.4.0"
 
[email protected]4:
-  version "2.0.14"
-  resolved "https://registry.yarnpkg.com/webpack-cli/-/webpack-cli-2.0.14.tgz#71d03d8c10547c1dfd674f71ff3b0457c33a74cd"
[email protected]5:
+  version "2.0.15"
+  resolved "https://registry.yarnpkg.com/webpack-cli/-/webpack-cli-2.0.15.tgz#7532066556b03bd3292285ac08537e28844616c2"
   dependencies:
     chalk "^2.3.2"
     cross-spawn "^6.0.5"

Some files were not shown because too many files changed in this diff