
Research
SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains
An emerging npm supply chain attack that infects repos, steals CI secrets, and targets developer AI toolchains for further compromise.
deprecations
Advanced tools
Given npm module names, get a JSON map of npm version numbers to deprecation messages.
Given npm module names, get a JSON map of npm version numbers to deprecation messages.
var deprecations = require('deprecations');
var messages = deprecations('forms', 'object.assign');
var assert = require('assert');
assert.deepEqual(messages, {
forms: {
'0.1.0': 'Please update to the latest version',
'0.1.1': 'Please update to the latest version',
'0.1.2': 'Please update to the latest version',
'0.1.3': 'Please update to the latest version',
'0.1.4': 'Please update to the latest version',
'0.2.0': 'Please update to the latest version',
'0.2.1': 'Please update to the latest version',
'0.2.2': 'Please update to the latest version',
'0.2.3': 'Please update to the latest version',
'0.3.0': 'Please update to the latest version',
'0.4.0': 'Please update to the latest version',
'0.4.1': undefined
},
'object.assign': {
'0.1.0': 'Please upgrade to the latest spec-compliant version',
'0.1.1': 'Please upgrade to the latest spec-compliant version',
'0.2.0': 'Please upgrade to the latest spec-compliant version',
'0.2.1': 'Please upgrade to the latest spec-compliant version',
'0.3.1': undefined
}
});
Alternatively, install it as a global module, and then run:
deprecations forms object.assign
which will print out the same output, as valid JSON.
Simply clone the repo, npm install, and run npm test
FAQs
Given npm module names, get a JSON map of npm version numbers to deprecation messages.
The npm package deprecations receives a total of 24 weekly downloads. As such, deprecations popularity was classified as not popular.
We found that deprecations demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
An emerging npm supply chain attack that infects repos, steals CI secrets, and targets developer AI toolchains for further compromise.

Company News
Socket is proud to join the OpenJS Foundation as a Silver Member, deepening our commitment to the long-term health and security of the JavaScript ecosystem.

Security News
npm now links to Socket's security analysis on every package page. Here's what you'll find when you click through.