Explorar o código

Now copyright comments not removing after minification

sanex3339 %!s(int64=7) %!d(string=hai) anos
pai
achega
5d5a9a9ee1

A diferenza do arquivo foi suprimida porque é demasiado grande
+ 23 - 0
dist/index.js


+ 1 - 1
test/functional-tests/javascript-obfuscator/JavaScriptObfuscator.spec.ts

@@ -462,7 +462,7 @@ describe('JavaScriptObfuscator', () => {
         });
 
         describe('3.5k variables', function () {
-            this.timeout(100000);
+            this.timeout(200000);
 
             const expectedValue: number = 3500;
 

+ 1 - 1
webpack.config.js

@@ -11,7 +11,7 @@ const copyright = 'Copyright (C) 2017 Timofey Kachalov <[email protected]>';
  * @return {string}
  */
 const getLicenseText = () => {
-    return `/*\n${copyright}\n\n` +
+    return `/*!\n${copyright}\n\n` +
         fs.readFileSync('./LICENSE.BSD', 'utf8') + "\n*/";
 };
 

+ 1 - 5
yarn.lock

@@ -50,11 +50,7 @@
   version "2.2.41"
   resolved "https://registry.yarnpkg.com/@types/mocha/-/mocha-2.2.41.tgz#e27cf0817153eb9f2713b2d3f6c68f1e1c3ca608"
 
-"@types/node@*":
-  version "8.0.9"
-  resolved "https://registry.yarnpkg.com/@types/node/-/node-8.0.9.tgz#19f44c3b6cb8a70d261d366f73650e3e3891ab2d"
-
-"@types/[email protected]":
+"@types/node@*", "@types/[email protected]":
   version "8.0.10"
   resolved "https://registry.yarnpkg.com/@types/node/-/node-8.0.10.tgz#12efec9183b072d5f951cf86395a4c780f868a17"
 

Algúns arquivos non se mostraron porque demasiados arquivos cambiaron neste cambio