Security News
Supply Chain Attack Detected in Solana's web3.js Library
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
tiny-coerce
Advanced tools
String to primitive coercion for Client or Server. It's great for DOM data attributes, localStorage, and other cases where your need to store a String.
Returns a coercion of arg
. Deep coercion is optional with the second parameter.
First parameter is trimmed before coercion!
const coerce = require("tiny-coerce");
console.log(coerce("true")); // true
console.log(coerce("null")); // null
console.log(coerce({a: {b: "50"}}, true).a.b) // 50
Copyright (c) 2018 Jason Mulligan Licensed under the BSD-3 license
8 July 2018
87b3212
regex.json
& updating tests 790900c
regex.json
, updating tests, updating README 6220199
FAQs
Tiny coercion library for Client or Server
The npm package tiny-coerce receives a total of 34 weekly downloads. As such, tiny-coerce popularity was classified as not popular.
We found that tiny-coerce 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
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.