Security News
Research
Supply Chain Attack on Rspack npm Packages Injects Cryptojacking Malware
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
gatsby-plugin-graphql-image
Advanced tools
A gatsby plugin for generating file nodes from remote image URLS in GraphQL API's
Traverses a grapqhl schema sourced from the gatsby-source-graphql plugin and generates file nodes for use with gatsby-plugin-sharp and gatsby-transformer-sharp.
gatsby-source-graphql
gatsby-source-filesystem
gatsby-plugin-sharp
gatsby-transformer-sharp
npm i -D gatsby-plugin-grapqhl-image
schemaName
- The typeName value of your graphql source from the gatsby-source-grapql plugin
imageFieldName
- The name of the field that contains your image URLs
Include stories about when this plugin is helpful and/or necessary.
{
resolve: "gatsby-source-graphql",
options: {
typeName: "ROCKETMAKERS",
fieldName: "rocketmakers",
url: "https://rocketmakers.com/graphql"
}
},
{
resolve: 'gatsby-plugin-graphql-image',
options: {
schemaName: "ROCKETMAKERS",
imageFieldName: "imageUrl"
}
}
Currently only supports one imageFieldName. Would be nice for this to take an array instead :)
FAQs
A gatsby plugin for generating file nodes from remote image URLS in GraphQL API's
The npm package gatsby-plugin-graphql-image receives a total of 56 weekly downloads. As such, gatsby-plugin-graphql-image popularity was classified as not popular.
We found that gatsby-plugin-graphql-image 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
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.
Security News
Sonar’s acquisition of Tidelift highlights a growing industry shift toward sustainable open source funding, addressing maintainer burnout and critical software dependencies.