Socket
Socket
Sign inDemoInstall

node-object-hash

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-object-hash - npm Package Compare versions

Comparing version 2.3.9 to 2.3.10

7

CHANGELOG.md

@@ -5,2 +5,9 @@ # Changelog

### [2.3.10](https://github.com/SkeLLLa/node-object-hash/compare/v2.3.9...v2.3.10) (2021-09-14)
### Misc
* **deps:** update ([996e344](https://github.com/SkeLLLa/node-object-hash/commit/996e3441a4560c2f909f8e9e0ef674201a0275c2))
### [2.3.9](https://github.com/SkeLLLa/node-object-hash/compare/v2.3.8...v2.3.9) (2021-08-18)

@@ -7,0 +14,0 @@

2

dist/hasher.js

@@ -22,3 +22,3 @@ "use strict";

if (options === void 0) { options = {}; }
var sortObject = objectSorter_1.default(options);
var sortObject = (0, objectSorter_1.default)(options);
/**

@@ -25,0 +25,0 @@ * Object hash function

@@ -143,3 +143,3 @@ "use strict";

function objectToString(obj) {
return stringifiers[typeGuess_1.guessType(obj)](obj);
return stringifiers[(0, typeGuess_1.guessType)(obj)](obj);
}

@@ -146,0 +146,0 @@ return objectToString;

@@ -279,3 +279,3 @@ "use strict";

.map(function (item) {
return stringifiers[typeGuess_1.guessType(item)](item);
return stringifiers[(0, typeGuess_1.guessType)(item)](item);
})

@@ -298,3 +298,3 @@ .sort()

.map(function (item) {
return stringifiers[typeGuess_1.guessType(item)](item);
return stringifiers[(0, typeGuess_1.guessType)(item)](item);
})

@@ -318,3 +318,3 @@ .toString() +

.map(function (num) {
return stringifiers[typeGuess_1.guessType(num)](num);
return stringifiers[(0, typeGuess_1.guessType)(num)](num);
})

@@ -339,3 +339,3 @@ .sort()

.map(function (num) {
return stringifiers[typeGuess_1.guessType(num)](num);
return stringifiers[(0, typeGuess_1.guessType)(num)](num);
})

@@ -399,3 +399,3 @@ .toString() +

var val = obj[key];
var valT = typeGuess_1.guessType(val);
var valT = (0, typeGuess_1.guessType)(val);
objArray.push(key + ':' + stringifiers[valT](val));

@@ -419,3 +419,3 @@ }

var val = obj[key];
var valT = typeGuess_1.guessType(val);
var valT = (0, typeGuess_1.guessType)(val);
objArray.push(key + ':' + stringifiers[valT](val));

@@ -440,4 +440,4 @@ }

mapped.push([
stringifiers[typeGuess_1.guessType(key)](key),
stringifiers[typeGuess_1.guessType(value)](value),
stringifiers[(0, typeGuess_1.guessType)(key)](key),
stringifiers[(0, typeGuess_1.guessType)(value)](value),
]);

@@ -462,4 +462,4 @@ }

mapped.push([
stringifiers[typeGuess_1.guessType(key)](key),
stringifiers[typeGuess_1.guessType(value)](value),
stringifiers[(0, typeGuess_1.guessType)(key)](key),
stringifiers[(0, typeGuess_1.guessType)(value)](value),
]);

@@ -466,0 +466,0 @@ }

{
"name": "node-object-hash",
"version": "2.3.9",
"version": "2.3.10",
"description": "Node.js object hash library with properties/arrays sorting to provide constant hashes",

@@ -60,29 +60,29 @@ "keywords": [

"devDependencies": {
"@commitlint/cli": "^12.1.4",
"@commitlint/config-conventional": "^12.1.4",
"@jest/globals": "^27.0.3",
"@types/node": "^15.12.2",
"@typescript-eslint/eslint-plugin": "^4.27.0",
"@typescript-eslint/parser": "^4.27.0",
"codecov": "^3.8.2",
"@commitlint/cli": "^13.1.0",
"@commitlint/config-conventional": "^13.1.0",
"@jest/globals": "^27.2.0",
"@types/node": "^16.9.1",
"@typescript-eslint/eslint-plugin": "^4.31.1",
"@typescript-eslint/parser": "^4.31.1",
"codecov": "^3.8.3",
"conventional-changelog-cli": "^2.1.1",
"eslint": "^7.28.0",
"eslint": "^7.32.0",
"eslint-config-google": "^0.14.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-jest": "^24.3.6",
"eslint-plugin-prettier": "^3.4.0",
"eslint-plugin-jest": "^24.4.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-sort-requires": "^2.1.0",
"faker": "^5.5.3",
"husky": "^6.0.0",
"jest": "^27.0.4",
"prettier": "^2.3.1",
"prettier-plugin-packagejson": "^2.2.11",
"pretty-quick": "^3.1.0",
"husky": "^7.0.2",
"jest": "^27.2.0",
"prettier": "^2.4.0",
"prettier-plugin-packagejson": "^2.2.12",
"pretty-quick": "^3.1.1",
"replace": "^1.2.1",
"standard-version": "^9.3.0",
"ts-jest": "^27.0.3",
"ts-node": "^10.0.0",
"typedoc": "^0.20.37",
"typedoc-plugin-markdown": "^3.9.0",
"typescript": "~4.2.4"
"standard-version": "^9.3.1",
"ts-jest": "^27.0.5",
"ts-node": "^10.2.1",
"typedoc": "~0.21.0",
"typedoc-plugin-markdown": "^3.10.4",
"typescript": "~4.4.3"
},

@@ -89,0 +89,0 @@ "engines": {

Sorry, the diff of this file is not supported yet

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