Security News
NIST Misses 2024 Deadline to Clear NVD Backlog
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.
string.fromcodepoint
Advanced tools
A robust & optimized `String.fromCodePoint` polyfill, based on the ECMAScript 6 specification.
String.fromCodePoint
polyfill An robust & optimized ES3-compatible polyfill for the String.fromCodePoint
method in ECMAScript 6.
Other polyfills for String.fromCodePoint
are available:
In a browser:
<script src="fromcodepoint.js"></script>
Via npm:
npm install string.fromcodepoint
Then, in Node.js:
require('string.fromcodepoint');
// On Windows and on Mac systems with default settings, case doesn’t matter,
// which allows you to do this instead:
require('String.fromCodePoint');
A polyfill + test suite for String.prototype.codePointAt
is available, too.
The tests for this repository are now used by Mozilla, to help ensure their native String.fromCodePoint
implementation is correct.
Mathias Bynens |
This polyfill is available under the MIT license.
v0.2.0 - 2014-04-10
RangeError
s due to maximum call stack size #1
177fc9f
fromCodePoint
property non-enumerable d635a7c
d3098dc
Object.defineProperty
23ee503
2a010ab
31b41b3
dd1ca34
String.prototype.codePointAt
polyfill 7dc1b58
-0
02764aa
require
instructions 57bc578
02c8ae5
579503e
a018a18
5034e15
FAQs
A robust & optimized `String.fromCodePoint` polyfill, based on the ECMAScript 6 specification.
The npm package string.fromcodepoint receives a total of 808,106 weekly downloads. As such, string.fromcodepoint popularity was classified as popular.
We found that string.fromcodepoint demonstrated a healthy version release cadence and project activity because the last version was released less than 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
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.
Security News
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
Security News
The Socket Research team breaks down a malicious npm package targeting the legitimate DOMPurify library. It uses obfuscated code to hide that it is exfiltrating browser and crypto wallet data.