mirror of
https://github.com/javascript-obfuscator/javascript-obfuscator
synced 2026-08-09 12:42:29 +00:00
dependencies update + some attempts to run tests in docker locally
This commit is contained in:
@@ -7,3 +7,4 @@ npm-debug.log
|
||||
/test-tmp
|
||||
/tmp
|
||||
/test/benchmark/**/**
|
||||
*dockerfile
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"containers": [
|
||||
{
|
||||
"prettyName": "Node 7.4.0",
|
||||
"image": "node:7.4.0",
|
||||
"beforeScripts": [
|
||||
"npm install"
|
||||
],
|
||||
"testCommand": "npm run test"
|
||||
}
|
||||
]
|
||||
}
|
||||
+15
-13
@@ -25,7 +25,7 @@
|
||||
"escodegen": "1.8.1",
|
||||
"esprima": "3.1.3",
|
||||
"estraverse": "4.2.0",
|
||||
"inversify": "3.0.0",
|
||||
"inversify": "3.1.0",
|
||||
"lodash": "4.17.4",
|
||||
"mkdirp": "0.5.1",
|
||||
"reflect-metadata": "0.1.9",
|
||||
@@ -34,7 +34,7 @@
|
||||
"tslib": "1.5.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/chai": "3.4.34",
|
||||
"@types/chai": "3.4.35",
|
||||
"@types/chance": "0.7.31",
|
||||
"@types/commander": "2.3.31",
|
||||
"@types/escodegen": "0.0.6",
|
||||
@@ -43,24 +43,25 @@
|
||||
"@types/estree": "0.0.34",
|
||||
"@types/lodash": "4.14.52",
|
||||
"@types/mkdirp": "0.3.29",
|
||||
"@types/mocha": "2.2.38",
|
||||
"@types/node": "7.0.4",
|
||||
"@types/sinon": "1.16.34",
|
||||
"@types/mocha": "2.2.39",
|
||||
"@types/node": "7.0.5",
|
||||
"@types/sinon": "1.16.35",
|
||||
"@types/string-template": "1.0.2",
|
||||
"awesome-typescript-loader": "3.0.0-beta.18",
|
||||
"babel-cli": "6.22.2",
|
||||
"babel-loader": "6.2.10",
|
||||
"awesome-typescript-loader": "3.0.4",
|
||||
"babel-cli": "6.23.0",
|
||||
"babel-loader": "6.3.2",
|
||||
"babel-plugin-array-includes": "2.0.3",
|
||||
"babel-preset-es2015": "6.22.0",
|
||||
"chai": "4.0.0-canary.1",
|
||||
"coveralls": "2.11.15",
|
||||
"coveralls": "2.11.16",
|
||||
"istanbul": "1.1.0-alpha.1",
|
||||
"mocha": "3.2.0",
|
||||
"sinon": "2.0.0-pre.4",
|
||||
"ts-node": "2.0.0",
|
||||
"trevor": "2.2.0",
|
||||
"ts-node": "2.1.0",
|
||||
"tslint": "4.4.2",
|
||||
"tslint-loader": "3.3.0",
|
||||
"typescript": "2.1.5",
|
||||
"tslint-loader": "3.4.2",
|
||||
"typescript": "2.1.6",
|
||||
"webpack": "2.2.1",
|
||||
"webpack-node-externals": "1.5.4"
|
||||
},
|
||||
@@ -84,7 +85,8 @@
|
||||
"test:removeTmpDir": "scripts/test-remove-tmp-dir",
|
||||
"test": "scripts/test",
|
||||
"tslint": "scripts/tslint",
|
||||
"travis": "scripts/travis"
|
||||
"travis": "scripts/travis",
|
||||
"trevor": "scripts/trevor"
|
||||
},
|
||||
"author": {
|
||||
"name": "Timofey Kachalov"
|
||||
|
||||
Executable
+3
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
$(yarn bin)/trevor
|
||||
@@ -26,7 +26,7 @@ export class CryptUtils {
|
||||
throw new Error("'btoa' failed: The string to be encoded contains characters outside of the Latin1 range.");
|
||||
}
|
||||
|
||||
block = block << 8 | charCode;
|
||||
block = <number>block << 8 | charCode;
|
||||
}
|
||||
|
||||
return output;
|
||||
|
||||
Reference in New Issue
Block a user