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.
@mcaptcha/pow-wasm
Advanced tools
WASM port of the proof-of-work library used in mCaptcha
NOTE: wasm compilation currently requires rustc
nightly and
wasm optimization of this library will have to be done manually at the
moment. Please refer to https://github.com/rustwasm/wasm-pack/issues/886
for more information.
$ /path/to/wasm-opt pkg/pow_bg.wasm -o pkg/pow_bg.wasm -O --enable-mutable-globals
My /path/to/wasm-opt
is ~/.cache/.wasm-pack/wasm-opt-4d7a65327e9363b7/wasm-opt
Built with 🦀🕸 by The Rust and WebAssembly Working Group
📚 Read this template tutorial! 📚
This template is designed for compiling Rust libraries into WebAssembly and publishing the resulting package to NPM.
Be sure to check out other wasm-pack
tutorials online for other
templates and usages of wasm-pack
.
cargo generate
to Clone this TemplateLearn more about cargo generate
here.
cargo generate --git https://github.com/rustwasm/wasm-pack-template.git --name my-project
cd my-project
wasm-pack build
wasm-pack build
wasm-pack test
wasm-pack test --headless --firefox
wasm-pack publish
wasm-pack publish
wasm-bindgen
for communicating
between WebAssembly and JavaScript.console_error_panic_hook
for logging panic messages to the developer console.wee_alloc
, an allocator optimized
for small code size.2023 development is funded through the NGI0 Entrust Fund, via NLnet. Please see here for more details.
FAQs
WASM port of the proof-of-work library used in mCaptcha
The npm package @mcaptcha/pow-wasm receives a total of 10 weekly downloads. As such, @mcaptcha/pow-wasm popularity was classified as not popular.
We found that @mcaptcha/pow-wasm demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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
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.