
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
@brokenglassinmyfeet/dompurifyplusplus
Advanced tools
DOMPurifyPlusPlus is a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG.
Follow these steps to publish your own npm package for your own project or using this project.
This is using the CommonJS module format for use in Node.js apps. You can read more about CommonJS vs. ESM module formats in Node.js on the LogRocket Blog
git clone https://github.com/clarkio/simple-npm-package.git
cd simple-npm-package
npm init -y
to create a package.json
file. Note: if you cloned this repository you won't need to do this step.@clarkio/simple-npm-package
. Be sure to use your username or organization name instead of mine.index.js
)npm login
and follow the on-screen instructions.npx npm-packlist
to see the contents that will be included in the published version of the package.npm publish --dry-run
to see what would be done when actually running the command.npm publish --access=public
to actually publish the package to npm. Note: --access=public is needed for scoped packages (@clarkio/simple-npm-package
) as they're private by default. If it's not scoped and doesn't have the private
field set to true
in package.json
it will be public as well.FAQs
DOMPurifyPlusPlus is a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG.
We found that @brokenglassinmyfeet/dompurifyplusplus 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.
Security News
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
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.