Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

unicode-trie

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

unicode-trie - npm Package Compare versions

Comparing version 0.3.0 to 0.3.1

8

builder.js

@@ -476,3 +476,3 @@ // Generated by CoffeeScript 1.7.1

}
if ((movedStart = this._findSameDataBlock(this.data, newStart, start, blockLength)) >= 0) {
if ((movedStart = this._findSameDataBlock(newStart, start, blockLength)) >= 0) {
mapIndex = start >> SHIFT_2;

@@ -487,3 +487,3 @@ for (i = _i = blockCount; _i > 0; i = _i += -1) {

overlap = blockLength - DATA_GRANULARITY;
while (overlap > 0 && !equal_int(this.data, newStart - overlap, this.data, start, overlap)) {
while (overlap > 0 && !equal_int(this.data, newStart - overlap, start, overlap)) {
overlap -= DATA_GRANULARITY;

@@ -538,3 +538,3 @@ }

while (start < this.index2Length) {
if ((movedStart = this._findSameIndex2Block(this.index2, newStart, start)) >= 0) {
if ((movedStart = this._findSameIndex2Block(newStart, start)) >= 0) {
this.map[start >> SHIFT_1_2] = movedStart;

@@ -545,3 +545,3 @@ start += INDEX_2_BLOCK_LENGTH;

overlap = INDEX_2_BLOCK_LENGTH - 1;
while (overlap > 0 && !equal_int(this.index2, newStart - overlap, this.index2, start, overlap)) {
while (overlap > 0 && !equal_int(this.index2, newStart - overlap, start, overlap)) {
--overlap;

@@ -548,0 +548,0 @@ }

{
"name": "unicode-trie",
"version": "0.3.0",
"version": "0.3.1",
"description": "Unicode Trie data structure for fast character metadata lookup, ported from ICU",

@@ -5,0 +5,0 @@ "devDependencies": {

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc