Skip to content

Commit ff350f3

Browse files
Neerajpathak07kgryte
authored andcommitted
remove: remove deepGet from namespace
This commit removes the `deepGet` symbol from the `@stdlib/utils` namespace due to a package migration. BREAKING CHANGE: remove `deepGet` To migrate, users should access the same symbol via the `@stdlib/object` namespace. Ref: #8755
1 parent bfbb4d1 commit ff350f3

2 files changed

Lines changed: 0 additions & 37 deletions

File tree

lib/node_modules/@stdlib/utils/docs/types/index.d.ts

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ import countBy = require( '@stdlib/utils/count-by' );
3737
import curry = require( '@stdlib/utils/curry' );
3838
import curryRight = require( '@stdlib/utils/curry-right' );
3939
import decorateAfter = require( '@stdlib/utils/decorate-after' );
40-
import deepGet = require( '@stdlib/utils/deep-get' );
4140
import deepPluck = require( '@stdlib/utils/deep-pluck' );
4241
import deepSet = require( '@stdlib/utils/deep-set' );
4342
import setConfigurableReadOnlyAccessor = require( '@stdlib/utils/define-configurable-read-only-accessor' );
@@ -707,33 +706,6 @@ interface Namespace {
707706
*/
708707
decorateAfter: typeof decorateAfter;
709708

710-
/**
711-
* Returns a nested property value.
712-
*
713-
* @param obj - input object
714-
* @param path - key path
715-
* @param options - function options
716-
* @param options.sep - key path separator (default: '.')
717-
* @returns nested property value
718-
*
719-
* @example
720-
* var obj = { 'a': { 'b': { 'c': 'd' } } };
721-
*
722-
* var val = ns.deepGet( obj, 'a.b.c' );
723-
* // returns 'd'
724-
*
725-
* @example
726-
* var dget = ns.deepGet.factory( 'a/b/c', {
727-
* 'sep': '/'
728-
* });
729-
*
730-
* var obj = { 'a': { 'b': { 'c': 'd' } } };
731-
*
732-
* var val = dget( obj );
733-
* // returns 'd'
734-
*/
735-
deepGet: typeof deepGet;
736-
737709
/**
738710
* Extracts a nested property value from each element of an object array.
739711
*

lib/node_modules/@stdlib/utils/lib/index.js

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -193,15 +193,6 @@ setReadOnly( utils, 'curryRight', require( '@stdlib/utils/curry-right' ) );
193193
*/
194194
setReadOnly( utils, 'decorateAfter', require( '@stdlib/utils/decorate-after' ) );
195195

196-
/**
197-
* @name deepGet
198-
* @memberof utils
199-
* @readonly
200-
* @type {Function}
201-
* @see {@link module:@stdlib/utils/deep-get}
202-
*/
203-
setReadOnly( utils, 'deepGet', require( '@stdlib/utils/deep-get' ) );
204-
205196
/**
206197
* @name deepPluck
207198
* @memberof utils

0 commit comments

Comments
 (0)