Skip to content

Commit 7702fd2

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

File tree

2 files changed

+0
-32
lines changed

2 files changed

+0
-32
lines changed

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

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,6 @@ import trythen = require( '@stdlib/utils/try-then' );
209209
import typemax = require( '@stdlib/utils/type-max' );
210210
import typemin = require( '@stdlib/utils/type-min' );
211211
import typeOf = require( '@stdlib/utils/type-of' );
212-
import uncapitalizeKeys = require( '@stdlib/utils/uncapitalize-keys' );
213212
import uncurry = require( '@stdlib/utils/uncurry' );
214213
import uncurryRight = require( '@stdlib/utils/uncurry-right' );
215214
import unshift = require( '@stdlib/utils/unshift' );
@@ -5602,28 +5601,6 @@ interface Namespace {
56025601
*/
56035602
typeOf: typeof typeOf;
56045603

5605-
/**
5606-
* Converts the first letter of each object key to lowercase.
5607-
*
5608-
* ## Notes
5609-
*
5610-
* - The function only transforms own properties. Hence, the function does not transform inherited properties.
5611-
* - The function shallow copies key values.
5612-
*
5613-
* @param obj - source object
5614-
* @returns new object
5615-
*
5616-
* @example
5617-
* var obj1 = {
5618-
* 'AA': 1,
5619-
* 'BB': 2
5620-
* };
5621-
*
5622-
* var obj2 = ns.uncapitalizeKeys( obj1 );
5623-
* // returns { 'aA': 1, 'bB': 2 }
5624-
*/
5625-
uncapitalizeKeys: typeof uncapitalizeKeys;
5626-
56275604
/**
56285605
* Transforms a curried function into a function invoked with multiple arguments.
56295606
*

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

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1741,15 +1741,6 @@ setReadOnly( utils, 'typemin', require( '@stdlib/utils/type-min' ) );
17411741
*/
17421742
setReadOnly( utils, 'typeOf', require( '@stdlib/utils/type-of' ) );
17431743

1744-
/**
1745-
* @name uncapitalizeKeys
1746-
* @memberof utils
1747-
* @readonly
1748-
* @type {Function}
1749-
* @see {@link module:@stdlib/utils/uncapitalize-keys}
1750-
*/
1751-
setReadOnly( utils, 'uncapitalizeKeys', require( '@stdlib/utils/uncapitalize-keys' ) );
1752-
17531744
/**
17541745
* @name uncurry
17551746
* @memberof utils

0 commit comments

Comments
 (0)