Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

deep-props

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

deep-props - npm Package Compare versions

Comparing version 0.2.2 to 0.2.3

17

CHANGELOG.md
Changelog
=========
<a name="0.2.3"></a>
## [0.2.3](https://github.com/jpcx/deep-props/tree/0.2.3) (2018-05-11)
| __[Changes since 0.2.2](https://github.com/jpcx/deep-props/compare/0.2.2...0.2.3)__ | [Release Notes](https://github.com/jpcx/deep-props/releases/tag/0.2.3) | [README](https://github.com/jpcx/deep-props/tree/0.2.3/README.md) |
| --- | --- | --- |
| [Source Code (zip)](https://github.com/jpcx/deep-props/archive/0.2.3.zip) | [Source Code (tar.gz)](https://github.com/jpcx/deep-props/archive/0.2.3.tar.gz) |
| --- | --- |
#### Bugfixes
+ __docs:__ Reclassified package-lock additions as bugfixes in changelog.
+ __get/docs:__ Clarified map insertion order documentation.
<a name="0.2.2"></a>

@@ -32,6 +45,4 @@ ## [0.2.2](https://github.com/jpcx/deep-props/tree/0.2.2) (2018-05-11)

+ __NPM:__ Modified document generation scripts to create newline at end of JSON files (package.json).
+ __extract/NPM:__ Added package-lock.json.
+ __get/docs:__ Fixed inaccurate description and examples.
#### Features
+ __extract/NPM:__ Added package-lock.json.
+ __get/NPM:__ Added package-lock.json.

@@ -38,0 +49,0 @@

Changelog
=========
<a name="0.1.3"></a>
## [0.1.3](https://github.com/jpcx/deep-props.extract/tree/0.1.3) (2018-05-11)
__Since: [deep-props 0.2.3](https://github.com/jpcx/deep-props/blob/master/CHANGELOG.md#0.2.3)__
| __[Changes since 0.1.2](https://github.com/jpcx/deep-props.extract/compare/0.1.2...0.1.3)__ | [Release Notes](https://github.com/jpcx/deep-props.extract/releases/tag/0.1.3) | [README](https://github.com/jpcx/deep-props.extract/tree/0.1.3/README.md) |
| --- | --- | --- |
| [Source Code (zip)](https://github.com/jpcx/deep-props.extract/archive/0.1.3.zip) | [Source Code (tar.gz)](https://github.com/jpcx/deep-props.extract/archive/0.1.3.tar.gz) |
| --- | --- |
#### Bugfixes
+ __docs:__ Re-classified package-lock addition as bugfix in changelog.
<a name="0.1.2"></a>

@@ -18,4 +32,2 @@ ## [0.1.2](https://github.com/jpcx/deep-props.extract/tree/0.1.2) (2018-05-10)

+ __NPM:__ Added newline to end of package.json.
#### Features
+ __NPM:__ Added package-lock.json.

@@ -22,0 +34,0 @@

Changelog
=========
<a name="0.1.2"></a>
## [0.1.2](https://github.com/jpcx/deep-props.get/tree/0.1.2) (2018-05-11)
__Since: [deep-props 0.2.3](https://github.com/jpcx/deep-props/blob/master/CHANGELOG.md#0.2.3)__
| __[Changes since 0.1.1](https://github.com/jpcx/deep-props.get/compare/0.1.1...0.1.2)__ | [Release Notes](https://github.com/jpcx/deep-props.get/releases/tag/0.1.2) | [README](https://github.com/jpcx/deep-props.get/tree/0.1.2/README.md) |
| --- | --- | --- |
| [Source Code (zip)](https://github.com/jpcx/deep-props.get/archive/0.1.2.zip) | [Source Code (tar.gz)](https://github.com/jpcx/deep-props.get/archive/0.1.2.tar.gz) |
| --- | --- |
#### Bugfixes
+ __docs:__ Clarified Map insertion order documentation.
+ __docs:__ Changed parent tag references to master in changelog.
+ __docs:__ Re-classified package-lock addition to bugfix in changelog.
<a name="0.1.1"></a>
## [0.1.1](https://github.com/jpcx/deep-props.get/tree/0.1.1) (2018-05-10)
__Since: [deep-props 0.2.1](https://github.com/jpcx/deep-props/blob/0.2.1/CHANGELOG.md#0.2.1)__
__Since: [deep-props 0.2.1](https://github.com/jpcx/deep-props/blob/master/CHANGELOG.md#0.2.1)__

@@ -21,4 +37,2 @@ | __[Changes since 0.1.0](https://github.com/jpcx/deep-props.get/compare/0.1.0...0.1.1)__ | [Release Notes](https://github.com/jpcx/deep-props.get/releases/tag/0.1.1) | [README](https://github.com/jpcx/deep-props.get/tree/0.1.1/README.md) |

+ __NPM:__ Added newline to end of package.json.
#### Features
+ __NPM:__ Added package-lock.json.

@@ -29,3 +43,3 @@

__Since: [deep-props 0.2.0](https://github.com/jpcx/deep-props/blob/0.2.0/CHANGELOG.md#0.2.0)__
__Since: [deep-props 0.2.0](https://github.com/jpcx/deep-props/blob/master/CHANGELOG.md#0.2.0)__

@@ -32,0 +46,0 @@ | [Release Notes](https://github.com/jpcx/deep-props.get/releases/tag/0.1.0) | [README](https://github.com/jpcx/deep-props.get/blob/0.1.0/README.md)

2

libs/get/package.json
{
"name": "deep-props.get",
"version": "0.1.1",
"version": "0.1.2",
"description": "Retrieves a nested property from a data source by iterating over a supplied path. Supports Objects, Arrays, Maps, Sets, WeakMaps, and JSON strings automatically. Supports the use of a custom extraction function to handle unsupported datasets.",

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

@@ -41,3 +41,3 @@ # [deep-props](https://github.com/jpcx/deep-props/blob/master/README.md).get

***Note:*** For string paths using standard settings, '.' is considered the same as '[' and ']'. See [<code>Options</code>](https://github.com/jpcx/deep-props.get/blob/0.1.1/docs/global.md#~Options) for instructions for customizing this behavior.
***Note:*** For string paths using standard settings, '.' is considered the same as '[' and ']'. See [<code>Options</code>](https://github.com/jpcx/deep-props.get/blob/0.1.2/docs/global.md#~Options) for instructions for customizing this behavior.

@@ -74,5 +74,9 @@ **Nested Object Extraction**

// Both return 'quz'
// All return 'quz'
// Note: either strict keys or insertion order may be used.
get(nest, 'foo.bar.baz.qux')
get(nest, [ 'foo', 'bar', 'baz', 'qux' ])
get(nest, 'foo.bar.baz.0')
get(nest, '0.0.0.0')
get(nest, [ 0, 0, 0, 0 ])
```

@@ -94,5 +98,7 @@

// Returns 'thud'
// Note: this path must be an array of Object references.
// All return 'thud'
// Note: this path must either be an array of Object references or descriptions of insertion order.
get(nest, [ keyA, keyB, keyC ])
get(nest, '0.0.0')
get(nest, [ 0, 0, 0 ])
```

@@ -176,3 +182,3 @@

**Usage of a custom extraction function (see [<code>Options</code>](https://github.com/jpcx/deep-props.get/blob/0.1.1/docs/global.md#~Options) and [<code>GetCustomizer</code>](https://github.com/jpcx/deep-props.get/blob/0.1.1/docs/global.md#~GetCustomizer))**
**Usage of a custom extraction function (see [<code>Options</code>](https://github.com/jpcx/deep-props.get/blob/0.1.2/docs/global.md#~Options) and [<code>GetCustomizer</code>](https://github.com/jpcx/deep-props.get/blob/0.1.2/docs/global.md#~GetCustomizer))**
```js

@@ -212,4 +218,4 @@ // Creation of a sample custom data structure which uses a 'retrieve' method for data access.

### See:
+ [API Docs](https://github.com/jpcx/deep-props.get/blob/0.1.1/docs/API.md)
+ [Global Docs](https://github.com/jpcx/deep-props.get/blob/0.1.1/docs/global.md)
+ [API Docs](https://github.com/jpcx/deep-props.get/blob/0.1.2/docs/API.md)
+ [Global Docs](https://github.com/jpcx/deep-props.get/blob/0.1.2/docs/global.md)

@@ -224,9 +230,9 @@ ### Module: get

| --- | --- | --- | --- | --- |
| `host` | [deep-props.get~Host](https://github.com/jpcx/deep-props.get/blob/0.1.1/docs/global.md#~Host) | | | Container to search within. |
| `path` | [deep-props.get~Path](https://github.com/jpcx/deep-props.get/blob/0.1.1/docs/global.md#~Path) | | | Path to desired property. |
| `opt` | [deep-props.get~Options](https://github.com/jpcx/deep-props.get/blob/0.1.1/docs/global.md#~Options) | \<optional> | {} | Execution settings. |
| `host` | [deep-props.get~Host](https://github.com/jpcx/deep-props.get/blob/0.1.2/docs/global.md#~Host) | | | Container to search within. |
| `path` | [deep-props.get~Path](https://github.com/jpcx/deep-props.get/blob/0.1.2/docs/global.md#~Path) | | | Path to desired property. |
| `opt` | [deep-props.get~Options](https://github.com/jpcx/deep-props.get/blob/0.1.2/docs/global.md#~Options) | \<optional> | {} | Execution settings. |
Source:
* [deep-props.get/index.js](https://github.com/jpcx/deep-props.get/blob/0.1.1/index.js), [line 282](https://github.com/jpcx/deep-props.get/blob/0.1.1/index.js#L282)
* [deep-props.get/index.js](https://github.com/jpcx/deep-props.get/blob/0.1.2/index.js), [line 282](https://github.com/jpcx/deep-props.get/blob/0.1.2/index.js#L282)

@@ -239,3 +245,3 @@ ##### Returns:

[deep-props.get~Target](https://github.com/jpcx/deep-props.get/blob/0.1.1/docs/global.md#~Target) | [deep-props.get~ResultGenerator](https://github.com/jpcx/deep-props.get/blob/0.1.1/docs/global.md#~ResultGenerator)
[deep-props.get~Target](https://github.com/jpcx/deep-props.get/blob/0.1.2/docs/global.md#~Target) | [deep-props.get~ResultGenerator](https://github.com/jpcx/deep-props.get/blob/0.1.2/docs/global.md#~ResultGenerator)

@@ -246,3 +252,3 @@ #

Versioned using [SemVer](http://semver.org/). For available versions, see the [Changelog](https://github.com/jpcx/deep-props.get/blob/0.1.1/CHANGELOG.md).
Versioned using [SemVer](http://semver.org/). For available versions, see the [Changelog](https://github.com/jpcx/deep-props.get/blob/0.1.2/CHANGELOG.md).

@@ -259,2 +265,2 @@ ## Contribution

This project is licensed under the MIT License - see the [LICENSE](https://github.com/jpcx/deep-props.get/blob/0.1.1/LICENSE) file for details
This project is licensed under the MIT License - see the [LICENSE](https://github.com/jpcx/deep-props.get/blob/0.1.2/LICENSE) file for details
{
"name": "deep-props",
"version": "0.2.2",
"version": "0.2.3",
"description": "Provides a collection of tools for performing operations on deeply nested object properties, prototypes, and object keys. Avoids stack limit violations by using task queues rather than recursion. Allows for custom execution settings including non-native dataset handling.",

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

@@ -15,3 +15,3 @@ # deep-props

+ Creates an array of deep paths and properties associated with an object. Non-recursively iterates through deep objects until an endpoint is reached. Optionally unpacks prototypes and non-enumerable property descriptors. Supports Objects, Arrays, Maps, and Sets automatically.
+ __[get](https://github.com/jpcx/deep-props.get/blob/0.1.1/README.md)__
+ __[get](https://github.com/jpcx/deep-props.get/blob/0.1.2/README.md)__

@@ -64,22 +64,22 @@ [![NPM](https://nodei.co/npm/deep-props.get.png?mini=true)](https://nodei.co/npm/deep-props.get/)

+ [extract](https://github.com/jpcx/deep-props.extract/blob/0.1.2/README.md)
+ [get](https://github.com/jpcx/deep-props.get/blob/0.1.1/README.md)
+ [get](https://github.com/jpcx/deep-props.get/blob/0.1.2/README.md)
##### API Docs:
+ [deep-props](https://github.com/jpcx/deep-props/blob/0.2.2/docs/API.md)
+ [deep-props](https://github.com/jpcx/deep-props/blob/0.2.3/docs/API.md)
+ [extract](https://github.com/jpcx/deep-props.extract/blob/0.1.2/docs/API.md)
+ [get](https://github.com/jpcx/deep-props.get/blob/0.1.1/docs/API.md)
+ [get](https://github.com/jpcx/deep-props.get/blob/0.1.2/docs/API.md)
##### Changelogs:
+ [deep-props](https://github.com/jpcx/deep-props/blob/0.2.2/CHANGELOG.md)
+ [deep-props](https://github.com/jpcx/deep-props/blob/0.2.3/CHANGELOG.md)
+ [extract](https://github.com/jpcx/deep-props.extract/blob/0.1.2/CHANGELOG.md)
+ [get](https://github.com/jpcx/deep-props.get/blob/0.1.1/CHANGELOG.md)
+ [get](https://github.com/jpcx/deep-props.get/blob/0.1.2/CHANGELOG.md)
##### Type Definitions and Global Functions:
+ [deep-props](https://github.com/jpcx/deep-props/blob/0.2.2/docs/global.md)
+ [deep-props](https://github.com/jpcx/deep-props/blob/0.2.3/docs/global.md)
+ [extract](https://github.com/jpcx/deep-props.extract/blob/0.1.2/global.md)
+ [get](https://github.com/jpcx/deep-props.get/blob/0.1.1/docs/global.md)
+ [get](https://github.com/jpcx/deep-props.get/blob/0.1.2/docs/global.md)
## Versioning
Versioned using [SemVer](http://semver.org/). For available versions, see the [Changelog](https://github.com/jpcx/deep-props/blob/0.2.2/CHANGELOG.md).
Versioned using [SemVer](http://semver.org/). For available versions, see the [Changelog](https://github.com/jpcx/deep-props/blob/0.2.3/CHANGELOG.md).

@@ -96,2 +96,2 @@ ## Contribution

This project is licensed under the MIT License - see the [LICENSE](https://github.com/jpcx/deep-props/blob/0.2.2/LICENSE) file for details
This project is licensed under the MIT License - see the [LICENSE](https://github.com/jpcx/deep-props/blob/0.2.3/LICENSE) file for details
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