New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

unicode-diff

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

unicode-diff

Differences between Unicode versions

latest
Source
npmnpm
Version
2.0.1
Version published
Maintainers
1
Created
Source

unicode-diff

Provides the differences between Unicode versions. Useful when dealing with programs that don't handle newer code points.

Installation

npm install unicode-diff --save

Usage

// Get an array of code point differences between Unicode 5.0.0 and 8.0.0
require('unicode-diff/5.0.0/8.0.0/code-points');
// Get a regular expression that matches any symbol introduced between Unicode
// 5.0.0 and 8.0.0
require('unicode-diff/5.0.0/8.0.0/regex');

Supports Unicode v5.0.0, v5.1.0, v5.2.0, v6.0.0, v6.1.0, v6.2.0, v6.3.0 and v7.0.0 through v9.0.0.

Generating the diff

npm run generate generates the diff based on Unicode data available in the devDependencies.

Note that the generate script uses const, let, for…of, Set and template strings.

Acknowledgements

Thanks to Mathias Bynens for providing the Unicode data and his amazing Regenerate tool.

License

This module is available under ISC.

Keywords

unicode

FAQs

Package last updated on 17 Jul 2016

Did you know?

Socket

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.

Install

Related posts