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

murmurhash

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

murmurhash - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

.github/node.js.yml

0

murmurhash.d.ts

@@ -0,0 +0,0 @@ export = murmurhash;

12

murmurhash.js
(function(){
var _global = this;
const _global = this;

@@ -20,3 +20,3 @@ const createBuffer = (val) => new TextEncoder().encode(val)

if (typeof str === 'string') str = createBuffer(str);
var
let
l = str.length,

@@ -58,3 +58,3 @@ h = seed ^ l,

/**
/*
* JS Implementation of MurmurHash3 (r136) (as of May 20, 2011)

@@ -74,3 +74,3 @@ *

var remainder, bytes, h1, h1b, c1, c1b, c2, c2b, k1, i;
let remainder, bytes, h1, h1b, c1, c1b, c2, c2b, k1, i;

@@ -126,3 +126,3 @@ remainder = key.length & 3; // key.length % 4

var murmur = MurmurHashV3;
const murmur = MurmurHashV3;
murmur.v2 = MurmurHashV2;

@@ -134,3 +134,3 @@ murmur.v3 = MurmurHashV3;

} else {
var _previousRoot = _global.murmur;
const _previousRoot = _global.murmur;
murmur.noConflict = function() {

@@ -137,0 +137,0 @@ _global.murmur = _previousRoot;

{
"name" : "murmurhash",
"version" : "2.0.0",
"version" : "2.0.1",
"description" : "A Node.js module for the optimized JavaScript implementation of the MurmurHash algorithms.",
"author": {
"authors": {
"Gary Court": "gary.court@gmail.com",

@@ -7,0 +7,0 @@ "Derek Perez": "derek@derekperez.com"

@@ -0,0 +0,0 @@ # node-murmurhash

@@ -0,0 +0,0 @@ const { v3 } = require("./murmurhash");

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