@saulx/utils
Advanced tools
Comparing version 1.6.5 to 1.6.6
@@ -6,9 +6,6 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const saulx_murmur_1 = require("saulx-murmur"); | ||
const hashObject_1 = __importDefault(require("./hashObject")); | ||
const stringHash_1 = __importDefault(require("./stringHash")); | ||
// no murmur (and no buffers) for browser | ||
const hash = (val, size) => { | ||
if (val instanceof Buffer) { | ||
return saulx_murmur_1.murmurHash(val); | ||
} | ||
let result; | ||
@@ -15,0 +12,0 @@ if (typeof val === 'object') { |
{ | ||
"name": "@saulx/utils", | ||
"main": "./dist/index.js", | ||
"version": "1.6.5", | ||
"version": "1.6.6", | ||
"scripts": { | ||
@@ -6,0 +6,0 @@ "build": "tsc", |
Sorry, the diff of this file is not supported yet
56293
57
794