Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
docpad-plugin-browserifybundles
Advanced tools
Bundle scripts into browserify packages
docpad install browserifybundles
Add the following to your docpad configuration file:
plugins:
browserifybundles:
bundles: [
{
arguments: ['-r', 'rtc-videoproc/filters/grayscale']
entry: 'videoproc.js'
out: 'videoproc-bundled.js'
},
{
ignore: 'jquery'
entry: 'miniview.js'
out: 'miniview-bundled.js'
}
]
The bundles
option is the list of bundles you want. Each bundle accepts the following arguments:
entry
a String pointing to which file should be executed right away with this bundle, it is prefixed with the project's outPath if it is a relative pathout
a String pointing to where the bundle should be written, it is prefixed with the project's outPath if it is a relative pathignore
a String or Array of Strings for which modules should not be bundled with this bundlerequire
a String or Array of Strings of paths that should be bundled with this bundlearguments
an Array of Strings that should be sent to the browserify executableDiscover the change history by heading on over to the HISTORY.md
file.
Discover how you can contribute by heading on over to the CONTRIBUTING.md
file.
These amazing people are maintaining this project:
No sponsors yet! Will you be the first?
No contributors yet! Will you be the first?
Discover how you can contribute by heading on over to the CONTRIBUTING.md
file.
Licensed under the incredibly permissive MIT license
Copyright © 2013+ Bevry Pty Ltd us@bevry.me (http://bevry.me)
FAQs
Bundle scripts into browserify packages
We found that docpad-plugin-browserifybundles 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
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.