Comparing version 1.1.6 to 1.1.7
@@ -138,3 +138,6 @@ /** | ||
const buf = BufferSourceConverter.toUint8Array(buffer); | ||
const encodedString = String.fromCharCode.apply(null, buf); | ||
let encodedString = ""; | ||
for (let i = 0; i < buf.length; i++) { | ||
encodedString += String.fromCharCode(buf[i]); | ||
} | ||
const decodedString = decodeURIComponent(escape(encodedString)); | ||
@@ -153,3 +156,6 @@ return decodedString; | ||
const buf = BufferSourceConverter.toUint8Array(buffer); | ||
const res = String.fromCharCode.apply(null, buf); | ||
let res = ""; | ||
for (let i = 0; i < buf.length; i++) { | ||
res += String.fromCharCode(buf[i]); | ||
} | ||
return res; | ||
@@ -156,0 +162,0 @@ } |
@@ -144,3 +144,6 @@ /** | ||
const buf = BufferSourceConverter.toUint8Array(buffer); | ||
const encodedString = String.fromCharCode.apply(null, buf); | ||
let encodedString = ""; | ||
for (let i = 0; i < buf.length; i++) { | ||
encodedString += String.fromCharCode(buf[i]); | ||
} | ||
const decodedString = decodeURIComponent(escape(encodedString)); | ||
@@ -159,3 +162,6 @@ return decodedString; | ||
const buf = BufferSourceConverter.toUint8Array(buffer); | ||
const res = String.fromCharCode.apply(null, buf); | ||
let res = ""; | ||
for (let i = 0; i < buf.length; i++) { | ||
res += String.fromCharCode(buf[i]); | ||
} | ||
return res; | ||
@@ -162,0 +168,0 @@ } |
{ | ||
"name": "pvtsutils", | ||
"version": "1.1.6", | ||
"version": "1.1.7", | ||
"description": "pvtsutils is a set of common utility functions used in various Peculiar Ventures TypeScript based projects.", | ||
@@ -5,0 +5,0 @@ "main": "build/index.js", |
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
25663
553