obfuscation-detector
Advanced tools
Comparing version 1.1.1 to 1.1.2
{ | ||
"name": "obfuscation-detector", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"description": "Javascript obfuscation detector", | ||
@@ -31,8 +31,8 @@ "main": "src/index.js", | ||
"devDependencies": { | ||
"eslint": "^8.19.0", | ||
"eslint": "^8.43.0", | ||
"husky": "^8.0.1" | ||
}, | ||
"dependencies": { | ||
"flast": "^1.0.1" | ||
"flast": "^1.4.0" | ||
} | ||
} |
@@ -1,5 +0,6 @@ | ||
const fs = require('fs'); | ||
const assert = require('assert'); | ||
const fs = require('node:fs'); | ||
const assert = require('node:assert'); | ||
const detectObfuscation = require(__dirname + '/../src'); | ||
console.time('Completed running tests in '); | ||
const targetFolder = 'tests/resources'; | ||
@@ -19,2 +20,3 @@ fs.readdirSync(targetFolder).forEach(f => { | ||
console.log(`\tMatched ${bestMatch}`); | ||
}); | ||
}); | ||
console.timeEnd('Completed running tests in '); |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
920325
16149
6
0
Updatedflast@^1.4.0