
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.
contentstack-bulk-publish
Advanced tools
# About this Package This is contentstack headless cms specific only Bulk publish Contenttype Entries and Assets
This is contentstack headless cms specific only Bulk publish Contenttype Entries and Assets
New : added support for publising of all referenced/nested entries/assets
Install:
npm install contentstack-bulk-publish
An example
const publish = require('contentstack-bulk-publish').publish
publish({
"api_key" : "stack api key",
"email" : "contentstack login email",
"password" : "contentstack login password",
"authtoken" : "user auth token" // You do not need to add email and password if you are adding it
"entries" : { // Remove this if you do not want to publish any Contenttypes
"locales" : ["en-us"], // Mention all locales in array in which you want to publish
"environments": ["local", "development"], // Mention all environments in which you want to publish
"contentTypes": ["states", "countries"] // Mention all contentypes to publish
"nested" : true // It will publish all nested Contenttypes/assets
},
"assets" : { // Remove this if you do not want to publish any assets
"folder" : "eo92847dhuhdue38", // Folder uid, default - cs_root, it has all assets
"locales" :["en-us"], // Mention all locales in array in which you want to publish
"environments": ["local", "development"] // Mention all environments in which you want to publish
}
})
.then( () => console.log("We are done!"))
.catch( err => console.log(err))
FAQs
# About this Package This is contentstack headless cms specific only Bulk publish Contenttype Entries and Assets
We found that contentstack-bulk-publish 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.
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.