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-transformer-yaml-netlify
Advanced tools
Gatsby transformer plugin for yaml that is netlify compatible
Parses YAML files. Supports a data layout that is compatible with netlify-cms.
You must be using a version of node that supports object rest/spread (e.g v8.6.0).
npm install --save gatsby-transformer-yaml-netlify@alpha
// In your gatsby-config.js
plugins: [
`gatsby-transformer-yaml-netlify`,
]
If you have a data layout like so:
data/
takers/
a-taker.yml // value: a
b-taker.yml // value: b
leavers/
a-leaver.yml // value: a
b-leaver.yml // value: b
Then four nodes will be created:
[
{
value: 'a',
type: 'TakersYaml'
},
{
value: 'b',
type: 'TakersYaml'
},
{
value: 'a',
type: 'LeaversYaml'
},
{
value: 'b',
type: 'LeaversYaml'
}
]
You'd be able to query your takers like:
{
allTakersYaml {
edges {
node {
value
}
}
}
}
And your leavers like:
{
allLeaversYaml {
edges {
node {
value
}
}
}
}
FAQs
Gatsby transformer plugin for yaml that is netlify compatible
The npm package gatsby-transformer-yaml-netlify receives a total of 1 weekly downloads. As such, gatsby-transformer-yaml-netlify popularity was classified as not popular.
We found that gatsby-transformer-yaml-netlify 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.