Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
check-ecmascript-version-compatibility
Advanced tools
Test files for ECMAScript version compatibility.
A small lib that helps check and make sure that your JavaScript will run in chosen ES version environment (defaults to ES5).
npm install --save-dev check-ecmascript-version-compatibility
Here's an example that uses Mocha:
var checkFile = require("check-ecmascript-version-compatibility");
describe("my file", function () {
it("is ES2016-compliant", function (done) {
// It can take awhile to parse large files, so you may need to
// increase your timeouts.
this.slow(8000);
this.timeout(10000);
checkFile("path/to/file.js", 2016, done);
});
});
If you do not pass in a version number, it will default to ES5.
describe("my file", function () {
it("is ES5-compliant", function (done) {
// It can take awhile to parse large files, so you may need to
// increase your timeouts.
this.slow(8000);
this.timeout(10000);
checkFile("path/to/file.js", done);
});
});
FAQs
Test files for ECMAScript version compatibility.
The npm package check-ecmascript-version-compatibility receives a total of 30 weekly downloads. As such, check-ecmascript-version-compatibility popularity was classified as not popular.
We found that check-ecmascript-version-compatibility demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.