Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
update-gatsby-dependencies
Advanced tools
A package that will update gatsby v4 dependencies from alpha to beta
A package that will primarily help a developer update gatsby dependencies to the latest stable version of gatsby dependencies
go to the directory where the package.json file is and run:
npx update-gatsby-dependencies
this will output a string you can use to update your alpha packages to beta
npm i gatsby@latest ... other packages each with @latest
you can also specify an install command but the program defaults to npm i
npx update-gatsby-dependencies --yarn
npx update-gatsby-dependencies -y
npx update-gatsby-dependencies --install
or
npx update-gatsby-dependencies -i
will install the dependencies
npx update-gatsby-dependencies --yarn
would look for all dependencies that have gatsby in the name and output a command like this:
yarn add gatsby@latest gatsby-awesome-pagination@latest gatsby-plugin-image@latest
you can also update the dependencies, peer dependencies and dev dependencies of a package by using the following command:
npx update-gatsby-dependencies --package
npx update-gatsby-dependencies -p
this command looks for the specific version that matches a certain tag, the default tag is latest but here npm will not retrieve the most stable version but the latest created versions:
npm i gatsby@next gatsby-awesome-pagination@next gatsby-plugin-image@next
lastly, you can specify the version tag for every install at once if needed.
npx update-gatsby-dependencies --version apple
would produce
npm i gatsby@apple gatsby-awesome-pagination@apple gatsby-plugin-image@apple
Hope this helps!
have fun updating to gatsby 4!
FAQs
A package that will update gatsby v4 dependencies from alpha to beta
The npm package update-gatsby-dependencies receives a total of 0 weekly downloads. As such, update-gatsby-dependencies popularity was classified as not popular.
We found that update-gatsby-dependencies 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.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.