Security News
GitHub Removes Malicious Pull Requests Targeting Open Source Repositories
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
@mark.probst/unicode-properties
Advanced tools
Provides fast access to unicode character properties
Provides fast access to unicode character properties. Uses unicode-trie to compress the properties for all code points into just 12KB.
npm install unicode-properties
var unicode = require('unicode-properties');
unicode.getCategory('2'.charCodeAt()) //=> 'Nd'
unicode.getNumericValue('2'.charCodeAt()) //=> 2
Returns the unicode general category for the given code point.
Returns the script for the given code point.
Returns the canonical combining class for the given code point.
Returns the East Asian width for the given code point.
Returns the numeric value for the given code point, or null if there is no numeric value for that code point.
Returns whether the code point is an alphabetic character.
Returns whether the code point is a digit.
Returns whether the code point is a punctuation character.
Returns whether the code point is lower case.
Returns whether the code point is upper case.
Returns whether the code point is title case.
Returns whether the code point is whitespace: specifically, whether the category is one of Zs, Zl, or Zp.
Returns whether the code point is a base form. A code point of base form does not graphically combine with preceding characters.
Returns whether the code point is a mark character (e.g. accent).
MIT
FAQs
Provides fast access to unicode character properties
The npm package @mark.probst/unicode-properties receives a total of 28,670 weekly downloads. As such, @mark.probst/unicode-properties popularity was classified as popular.
We found that @mark.probst/unicode-properties 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
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.