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 1.1.0 to 1.1.1

4

API.md

@@ -75,4 +75,4 @@ ## Modules

| [options] | <code>Object</code> | | Sorter options |
| [options.coerce] | <code>boolean</code> | <code>&quot;true&quot;</code> | Performs type coercion |
| [options.sort] | <code>boolean</code> | <code>&quot;true&quot;</code> | Performs array, object, etc. sorting |
| [options.coerce] | <code>boolean</code> | <code>true</code> | Performs type coercion |
| [options.sort] | <code>boolean</code> | <code>true</code> | Performs array, object, etc. sorting |

@@ -79,0 +79,0 @@ **Example**

@@ -58,4 +58,4 @@ 'use strict';

* @param {Object} [options] Sorter options
* @param {boolean} [options.coerce="true"] Performs type coercion
* @param {boolean} [options.sort="true"] Performs array, object, etc. sorting
* @param {boolean} [options.coerce=true] Performs type coercion
* @param {boolean} [options.sort=true] Performs array, object, etc. sorting
* @returns {module:node-object-hash/objectSorter~makeObjectSorter~objectToString}

@@ -62,0 +62,0 @@ * Object sorting function

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

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -17,2 +17,3 @@ # node-object-hash

[![Coverage](https://img.shields.io/codeclimate/coverage/github/SkeLLLa/node-object-hash.svg?maxAge=21600&style=flat-square)](https://codeclimate.com/github/SkeLLLa/node-object-hash/coverage)
[![Analytics](https://ga-beacon.appspot.com/UA-90571586-1/node-object-hash/readme?pixel)](https://github.com/igrigorik/ga-beacon)

@@ -48,3 +49,3 @@ # Installation

## v1.0.X -> v1.1.0
## v1.0.X -> v1.1.X

@@ -166,4 +167,4 @@ Mainly all changes affected codestyle and documentation to provide better

| [options] | <code>Object</code> | | Sorter options |
| [options.coerce] | <code>boolean</code> | <code>&quot;true&quot;</code> | Performs type coercion |
| [options.sort] | <code>boolean</code> | <code>&quot;true&quot;</code> | Performs array, object, etc. sorting |
| [options.coerce] | <code>boolean</code> | <code>true</code> | Performs type coercion |
| [options.sort] | <code>boolean</code> | <code>true</code> | Performs array, object, etc. sorting |

@@ -368,11 +369,11 @@ **Example**

| Library | Time (ms) | Memory (Mb) |
|------------------------|------------|--------------------|
| node-object-hash-0.2.1 | 5813.575 | 34 |
| node-object-hash-1.0.0 | 2805.581 | 27 |
| node-object-hash-2.0.0 | 2555.583 | 27 |
| object-hash-1.1.5 | 28115.553 | 39 |
| object-hash-1.1.4 | 534528.254 | 41 |
| object-hash-1.1.3 | ERROR | Out of heap memory |
| hash-object-0.1.7 | 9219.826 | 42 |
| Library | Time (ms) | Memory (Mb) |
|---------------------------------------|------------|--------------------|
| node-object-hash-0.2.1 | 5813.575 | 34 |
| node-object-hash-1.0.X | 2805.581 | 27 |
| node-object-hash-1.1.X (node v7) | 2555.583 | 27 |
| object-hash-1.1.5 (node v7) | 28115.553 | 39 |
| object-hash-1.1.4 | 534528.254 | 41 |
| object-hash-1.1.3 | ERROR | Out of heap memory |
| hash-object-0.1.7 | 9219.826 | 42 |

@@ -379,0 +380,0 @@ ### Benchmark suite module ([code](bench/bench.js))

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