@vscode/vscode-languagedetection
Advanced tools
Comparing version 1.0.2 to 1.0.4
{ | ||
"name": "@vscode/vscode-languagedetection", | ||
"version": "1.0.2", | ||
"version": "1.0.4", | ||
"description": "An npm package that uses guesslang's ML model to detect source code languages", | ||
@@ -9,4 +9,7 @@ "main": "dist/lib/index.js", | ||
"clean": "rimraf dist", | ||
"build": "rimraf dist && tsc --build tsconfig.json", | ||
"watch": "rimraf dist && tsc --build tsconfig.json -w --preserveWatchOutput", | ||
"typecheck": "tsc --noEmit", | ||
"bundle": "esbuild ./lib --bundle --outfile=dist/lib/index.js --sourcemap --minify", | ||
"build": "rimraf dist && npm-run-all typecheck bundle", | ||
"watch": "rimraf dist && npm-run-all -p \"typecheck -- --watch --preserveWatchOutput\" \"bundle -- --watch\"", | ||
"pretest": "rimraf dist && tsc --build ./test", | ||
"test": "mocha --recursive dist/test/**/*.test.js" | ||
@@ -32,7 +35,14 @@ }, | ||
"chai": "^4.3.4", | ||
"esbuild": "^0.12.15", | ||
"fork-ts-checker-webpack-plugin": "^6.2.12", | ||
"mocha": "9.0.2", | ||
"node-fetch": "^2.6.1", | ||
"npm-run-all": "^4.1.5", | ||
"rimraf": "3.0.2", | ||
"typescript": "^4.3.5" | ||
"terser-webpack-plugin": "^5.1.4", | ||
"ts-loader": "^9.2.3", | ||
"typescript": "^4.3.5", | ||
"webpack": "^5.44.0", | ||
"webpack-cli": "^4.7.2" | ||
} | ||
} |
Network access
Supply chain riskThis module accesses the network.
Found 3 instances in 1 package
Uses eval
Supply chain riskPackage uses eval() which is a dangerous function. This prevents the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
9789244
12
26811
15
1
1
5