Security News
Supply Chain Attack Detected in Solana's web3.js Library
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
gatsby-provision-sanity
Advanced tools
Package for provisioning Sanity data associated with a Gatsby site
This package is to be used for provisioning Sanity data models and content associated with a Gatsby site.
When included as a dependency, it can be used in two contexts — within Gatsby Cloud and locally. Convention dictates that it be used in conjunction with the npm script named gatsby-provision
. It also requires the path to the Sanity studio directory and the path to the compressed content file. For example:
"gatsby-provision": "gatsby-provision-sanity --sanity-config-path='./studio' --sanity-content-path='./scripts/content.tar.gz'"
There exists some prerequisites for this package to work, namely:
sanity init
command)SANITY_EDITOR_TOKEN
and SANITY_DEPLOY_TOKEN
respectivelysanity dataset export
commandsanity.json
file in Sanity Studio directory contains a value for project.studioHostname
Note: Instructions subject to change
In order to use this script in Gatsby Cloud, all environment variables must be provided in the Environment Variables form prior to electing to Provision the Sanity Studio in the Deploy Now flow.
When running this locally, you will be prompted for environment variables if they are not found on the current process. Additionally, the script will update an .env
file with the environment variables provided if one exists in the project already.
As of 5/26/22, this script depends upon a Sanity project having already been created with sanity init
as well as a pair of tokens with Editor and Deploy permissions, respectively.
FAQs
Package for provisioning Sanity data associated with a Gatsby site
We found that gatsby-provision-sanity 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
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
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.