Skip to content

Commit b7b06cf

Browse files
remove: remove commonKeysIn from namespace
This commit removes the `commonKeysIn` symbol from the `@stdlib/utils` namespace due to a package migration. BREAKING CHANGE: remove `commonKeysIn` To migrate, users should access the same symbol via the `@stdlib/object` namespace. Ref: #8755
1 parent 0f29e93 commit b7b06cf

2 files changed

Lines changed: 0 additions & 54 deletions

File tree

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

Lines changed: 0 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ import bifurcate = require( '@stdlib/utils/bifurcate' );
3030
import bifurcateBy = require( '@stdlib/utils/bifurcate-by' );
3131
import bifurcateIn = require( '@stdlib/utils/bifurcate-in' );
3232
import bifurcateOwn = require( '@stdlib/utils/bifurcate-own' );
33-
import commonKeysIn = require( '@stdlib/utils/common-keys-in' );
3433
import compose = require( '@stdlib/utils/compose' );
3534
import constantFunction = require( '@stdlib/utils/constant-function' );
3635
import constructorName = require( '@stdlib/utils/constructor-name' );
@@ -570,50 +569,6 @@ interface Namespace {
570569
*/
571570
bifurcateOwn: typeof bifurcateOwn;
572571

573-
/**
574-
* Returns the common own and inherited property names of two or more objects.
575-
*
576-
* @param obj1 - first object
577-
* @param obj2 - second object
578-
* @param obj - additional objects
579-
* @returns common keys
580-
*
581-
* @example
582-
* var obj = {
583-
* 'a': 1,
584-
* 'b': 2,
585-
* 'c': 3
586-
* };
587-
*
588-
* var obj2 = {
589-
* 'a': 1,
590-
* 'b': 2
591-
* };
592-
*
593-
* var keys = ns.commonKeysIn( obj, obj2 );
594-
* // returns [ 'a', 'b' ]
595-
*
596-
* @example
597-
* var obj1 = {
598-
* 'a': 1,
599-
* 'b': 2,
600-
* 'c': 3
601-
* };
602-
*
603-
* var obj2 = {
604-
* 'a': 1,
605-
* 'b': 2
606-
* };
607-
*
608-
* var obj3 = {
609-
* 'a': 1,
610-
* };
611-
*
612-
* var keys = ns.commonKeysIn( obj1, obj2, obj3 );
613-
* // returns [ 'a' ]
614-
*/
615-
commonKeysIn: typeof commonKeysIn;
616-
617572
/**
618573
* Function composition.
619574
*

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

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -130,15 +130,6 @@ setReadOnly( utils, 'bifurcateIn', require( '@stdlib/utils/bifurcate-in' ) );
130130
*/
131131
setReadOnly( utils, 'bifurcateOwn', require( '@stdlib/utils/bifurcate-own' ) );
132132

133-
/**
134-
* @name commonKeysIn
135-
* @memberof utils
136-
* @readonly
137-
* @type {Function}
138-
* @see {@link module:@stdlib/utils/common-keys-in}
139-
*/
140-
setReadOnly( utils, 'commonKeysIn', require( '@stdlib/utils/common-keys-in' ) );
141-
142133
/**
143134
* @name compose
144135
* @memberof utils

0 commit comments

Comments
 (0)