You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@fgv/ts-utils

Package Overview
Dependencies
Maintainers
1
Versions
102
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fgv/ts-utils - npm Package Compare versions

Comparing version

to
4.0.2

4

lib/packlets/hash/crcNormalizer.js

@@ -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