4.0.1 • Published 9 months ago

object-hash-strict v4.0.1

Weekly downloads
997
License
MIT
Repository
github
Last release
9 months ago

object-hash-strict

Build Status Test Coverage Dependabot Status Dependencies NPM Downloads Semantic-Release Gardener

Wrapper around object-hash that restricts allowed values

Install

Install with npm:

$ npm install --save object-hash-strict

Usage

Use exactly as object-hash.

Additional Options

The following options can be provided on top of the existing object-hash options.

allowUndefined

Type: Array | Boolean Default: []

Provide list of keys that are allowed to be undefined. Or boolean to allow any undefined.

How it's different from object-hash

  • Will throw error if a "real" key has an unknown value
  • Does not currently deal with "real" path recursion

** Real means a proper object hierarchy, not hidden properties, symbols, etc

4.0.1

9 months ago

4.0.0

9 months ago

3.0.1

3 years ago

3.0.0

3 years ago

2.0.3

3 years ago

2.0.2

3 years ago

2.0.1

3 years ago

2.0.0

3 years ago

1.2.38

3 years ago

1.2.37

3 years ago

1.2.36

3 years ago

1.2.35

3 years ago

1.2.34

4 years ago

1.2.33

4 years ago

1.2.32

4 years ago

1.2.31

4 years ago

1.2.30

4 years ago

1.2.29

4 years ago

1.2.28

4 years ago

1.2.27

4 years ago

1.2.26

4 years ago

1.2.25

4 years ago

1.2.24

4 years ago

1.2.23

4 years ago

1.2.22

4 years ago

1.2.21

4 years ago

1.2.20

4 years ago

1.2.19

4 years ago

1.2.18

4 years ago

1.2.17

4 years ago

1.2.16

4 years ago

1.2.15

4 years ago

1.2.14

4 years ago

1.2.13

4 years ago

1.2.12

4 years ago

1.2.11

4 years ago

1.2.10

4 years ago

1.2.9

4 years ago

1.2.8

4 years ago

1.2.7

4 years ago

1.2.6

4 years ago

1.2.5

4 years ago

1.2.4

5 years ago

1.2.3

5 years ago

1.2.2

5 years ago

1.2.1

5 years ago

1.2.0

5 years ago

1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.0

5 years ago