unicode-trie
Advanced tools
Comparing version 0.3.0 to 0.3.1
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
0
67513