New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@fgv/ts-utils

Package Overview
Dependencies
Maintainers
1
Versions
95
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 4.0.1 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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc