@fgv/ts-utils
Advanced tools
Comparing version 4.0.1 to 4.0.2
@@ -25,4 +25,4 @@ "use strict"; | ||
exports.Crc32Normalizer = void 0; | ||
const util_1 = require("util"); | ||
const hashingNormalizer_1 = require("./hashingNormalizer"); | ||
const textEncoder = new TextEncoder(); | ||
const POLYNOMIAL = 0xedb88320; | ||
@@ -73,3 +73,3 @@ const crc32Table = []; | ||
static crc32Hash(parts) { | ||
return String(crc32(new util_1.TextEncoder().encode(parts.join('|')))); | ||
return String(crc32(textEncoder.encode(parts.join('|')))); | ||
} | ||
@@ -76,0 +76,0 @@ } |
{ | ||
"name": "@fgv/ts-utils", | ||
"version": "4.0.1", | ||
"version": "4.0.2", | ||
"description": "Assorted Typescript Utilities", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
792789