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

@saulx/utils

Package Overview
Dependencies
Maintainers
1
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@saulx/utils - npm Package Compare versions

Comparing version 1.4.4 to 1.4.5

4

dist/hash.js

@@ -15,6 +15,6 @@ "use strict";

const hashNumber = (nr, hash = 5381) => {
return ((hash * 33) ^ nr) * 5381;
return ((hash * 33) ^ (nr * 33)) * 5381;
};
const hashBool = (val, hash = 5381) => {
return ((hash * 33) ^ (val === true ? 1 : 0)) * 5381 * 33;
return ((hash * 33) ^ ((val === true ? 9907 : 4729) * 33)) * 5381 * 33;
};

@@ -21,0 +21,0 @@ const nullHash = 5381 * 33;

{
"name": "@saulx/utils",
"main": "./dist/index.js",
"version": "1.4.4",
"version": "1.4.5",
"scripts": {

@@ -6,0 +6,0 @@ "build": "tsc",

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