
Research
/Security News
Malicious npm Packages Target WhatsApp Developers with Remote Kill Switch
Two npm packages masquerading as WhatsApp developer libraries include a kill switch that deletes all files if the phone number isn’t whitelisted.
gatsby-source-shopify
Advanced tools
Gatsby source plugin for building websites using Shopfiy as a data source
Source plugin for pulling product data into Gatsby from a Shopify store.
Note: This is not a feature-complete source plugin. Please submit a pull request and/or open an issue for improvements you feel are necessary. Thanks!
npm install --save gatsby-source-shopify
Add the following plugin config to your gatsby-config.js
file.
// In your gatsby-config.js
plugins: [
{
resolve: `gatsby-source-shopify`,
options: {
name: `your_shop_name`,
token: `your_access_token`,
},
},
]
You can query nodes created from Shopify like the following:
{
allProductNode {
edges {
node {
id
title
}
}
}
}
Utilize Gatsby's built-in GraphiQL IDE to explore the node schemas available.
Name | Description |
---|---|
CollectionNode | Represents a grouping of products that a shop owner can create to organize them or make their shops easier to browse. |
ProductNode | Represents an individual item for sale in a Shopify store. |
ProductVariantNode | Represents a different version of a product, such as differing sizes or differing colors. |
ShopPolicyNode | Policy that a merchant has configured for their store, such as their refund or privacy policy. |
FAQs
Gatsby source plugin for building websites using Shopify as a data source.
The npm package gatsby-source-shopify receives a total of 3,656 weekly downloads. As such, gatsby-source-shopify popularity was classified as popular.
We found that gatsby-source-shopify demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 7 open source maintainers 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
/Security News
Two npm packages masquerading as WhatsApp developer libraries include a kill switch that deletes all files if the phone number isn’t whitelisted.
Research
/Security News
Socket uncovered 11 malicious Go packages using obfuscated loaders to fetch and execute second-stage payloads via C2 domains.
Security News
TC39 advances 11 JavaScript proposals, with two moving to Stage 4, bringing better math, binary APIs, and more features one step closer to the ECMAScript spec.