
Research
Security News
Malicious PyPI Package Exploits Deezer API for Coordinated Music Piracy
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
@holidayextras/static-site-generator
Advanced tools
Holiday Extras Static Site Generator in metalsmith / react
This is using metalsmith and react to create a static site given params.
git clone git@github.com:holidayextras/static-site-generator.git
cd static-site-generator
npm i
npm run build
src
src param provided for the .md file directory
dataSource
the source to pull the content from as a function (or object as described below)
dataSource.type
This can currently be either hxseo or prismic
dataSource.url
This is the endpoint url for hxseo or prismic api
dataSource.token
This is the token to pass in if the endpoint is private
templateDir
templateDir param provided for the template directory
layoutDir
layoutDir param provided for the layouts directory
destination
destination param provided for the output directory
assets
assets param provided for the assets directory
Optional
You can pass in a config
param too setup an object used in pages (domain, default agents etc)
webpack
is optional if you want to create a common js for the site and page specific js files for isomorphic pages. (This will be a link to the webpack.config.js file)
This repoistory is available on npm (here)[https://www.npmjs.com/package/@holidayextras/static-site-generator], if you wish to release a new version simply bump the package.json version number and the build process will take care of the rest.
FAQs
Holiday Extras Static Site Generator in metalsmith / react
The npm package @holidayextras/static-site-generator receives a total of 338 weekly downloads. As such, @holidayextras/static-site-generator popularity was classified as not popular.
We found that @holidayextras/static-site-generator demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.
Security News
Newly introduced telemetry in devenv 1.4 sparked a backlash over privacy concerns, leading to the removal of its AI-powered feature after strong community pushback.