Skip to content

Commit a49b53c

Browse files
prepare 2.21.0 release (#54)
1 parent 9020b3d commit a49b53c

File tree

4 files changed

+19
-12
lines changed

4 files changed

+19
-12
lines changed

package-lock.json

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
"typescript": "~3.8.3"
5757
},
5858
"dependencies": {
59-
"launchdarkly-js-client-sdk": "2.18.1",
59+
"launchdarkly-js-client-sdk": "2.18.3",
6060
"lodash.camelcase": "^4.3.0",
6161
"uuid": "^3.3.2"
6262
},

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ import asyncWithLDProvider from './asyncWithLDProvider';
44
import withLDConsumer from './withLDConsumer';
55
import useFlags from './useFlags';
66
import useLDClient from './useLDClient';
7-
import camelCaseKeys from './utils';
7+
import { camelCaseKeys } from './utils';
88

99
export { LDProvider, withLDProvider, withLDConsumer, useFlags, useLDClient, asyncWithLDProvider, camelCaseKeys };

src/utils.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,11 @@ export const getFlattenedFlagsFromChangeset = (
4848
return flattened;
4949
};
5050

51+
/**
52+
* @deprecated The `camelCaseKeys.camelCaseKeys` property will be removed in a future version,
53+
* please update your code to use the `camelCaseKeys` function directly.
54+
*/
55+
// tslint:disable-next-line deprecation
56+
camelCaseKeys.camelCaseKeys = camelCaseKeys;
57+
5158
export default { camelCaseKeys, getFlattenedFlagsFromChangeset };

0 commit comments

Comments
 (0)