text-encoding-shim
Advanced tools
Comparing version
@@ -68,3 +68,3 @@ (function (root, factory) { | ||
} else { | ||
var arr = new Uint8Array(view.buffer), | ||
var arr = new Uint8Array(view.buffer, view.byteOffset, view.byteLength), | ||
charArr = new Array(arr.length); | ||
@@ -79,2 +79,2 @@ arr.forEach(function(charcode, i) { | ||
return {'TextEncoder': TextEncoder, 'TextDecoder': TextDecoder}; | ||
})); | ||
})); |
{ | ||
"name": "text-encoding-shim", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"main": "index.js", | ||
@@ -5,0 +5,0 @@ "author": "Till Affeldt <affeldt@protonmail.com>", |
{ | ||
"name": "text-encoding-shim", | ||
"version": "1.0.3" | ||
} | ||
"version": "1.0.5" | ||
} |
AI-detected possible typosquat
Supply chain riskAI has identified this package as a potential typosquat of a more popular package. This suggests that the package may be intentionally mimicking another package's name, description, or other metadata.
Found 1 instance in 1 package
8157
0.44%131
1.55%1
Infinity%