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.
ascii-whitespace
Advanced tools
A regular expression for ASCII/HTML whitespace, as defined by W3C and WHATWG.
A Node.js module containing a regular expression for ASCII/HTML whitespace, as defined by W3C and WHATWG.
ASCII whitespace means any combination of U+0009, U+000A, U+000C, U+000D, or U+0020.
npm install ascii-whitespace --save
const asciiWhitespace = require('ascii-whitespace')()
asciiWhitespace instanceof RegExp // true
asciiWhitespace.test(' ') // true
W3C’s definition, from the HTML5 specification (retrieved 2017-03-07):
The space characters, for the purposes of this specification, are U+0020 SPACE, "tab" (U+0009), "LF" (U+000A), "FF" (U+000C), and "CR" (U+000D).
WHATWG's definition (retrieved 2017-03-07):
An ASCII whitespace is U+0009, U+000A, U+000C, U+000D, or U+0020.
FAQs
A regular expression for ASCII/HTML whitespace, as defined by W3C and WHATWG.
We found that ascii-whitespace 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.