mirror of
https://github.com/javascript-obfuscator/javascript-obfuscator
synced 2026-08-09 12:42:29 +00:00
Now copyright comments not removing after minification
This commit is contained in:
Vendored
+23
File diff suppressed because one or more lines are too long
@@ -462,7 +462,7 @@ describe('JavaScriptObfuscator', () => {
|
||||
});
|
||||
|
||||
describe('3.5k variables', function () {
|
||||
this.timeout(100000);
|
||||
this.timeout(200000);
|
||||
|
||||
const expectedValue: number = 3500;
|
||||
|
||||
|
||||
+1
-1
@@ -11,7 +11,7 @@ const copyright = 'Copyright (C) 2017 Timofey Kachalov <sanex3339@yandex.ru>';
|
||||
* @return {string}
|
||||
*/
|
||||
const getLicenseText = () => {
|
||||
return `/*\n${copyright}\n\n` +
|
||||
return `/*!\n${copyright}\n\n` +
|
||||
fs.readFileSync('./LICENSE.BSD', 'utf8') + "\n*/";
|
||||
};
|
||||
|
||||
|
||||
@@ -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/node@8.0.10":
|
||||
"@types/node@*", "@types/node@8.0.10":
|
||||
version "8.0.10"
|
||||
resolved "https://registry.yarnpkg.com/@types/node/-/node-8.0.10.tgz#12efec9183b072d5f951cf86395a4c780f868a17"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user