launchdarkly-react-client-sdk
Advanced tools
Comparing version 2.18.0 to 2.18.1
@@ -5,2 +5,6 @@ # Change log | ||
## [2.18.1] - 2020-05-19 | ||
### Fixed: | ||
- Updated JS SDK version to 2.17.5, to pick up bug fixes in [2.17.5](https://github.com/launchdarkly/js-client-sdk/releases/tag/2.17.5), [2.17.4](https://github.com/launchdarkly/js-client-sdk/releases/tag/2.17.4), [2.17.3](https://github.com/launchdarkly/js-client-sdk/releases/tag/2.17.3), [2.17.2](https://github.com/launchdarkly/js-client-sdk/releases/tag/2.17.2), and [2.17.1](https://github.com/launchdarkly/js-client-sdk/releases/tag/2.17.1). The intended practice is to release a new React SDK patch every time there is a JS SDK patch (unless several JS SDK patches are released very close together), but this had fallen behind. | ||
## [2.18.0] - 2020-02-19 | ||
@@ -7,0 +11,0 @@ Note: if you are using the LaunchDarkly Relay Proxy to forward events, update the Relay to version 5.10.0 or later before updating to this React SDK version. |
@@ -13,2 +13,21 @@ "use strict"; | ||
}; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
}) : (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
o[k2] = m[k]; | ||
})); | ||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { | ||
Object.defineProperty(o, "default", { enumerable: true, value: v }); | ||
}) : function(o, v) { | ||
o["default"] = v; | ||
}); | ||
var __importStar = (this && this.__importStar) || function (mod) { | ||
if (mod && mod.__esModule) return mod; | ||
var result = {}; | ||
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); | ||
__setModuleDefault(result, mod); | ||
return result; | ||
}; | ||
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
@@ -50,9 +69,2 @@ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } | ||
}; | ||
var __importStar = (this && this.__importStar) || function (mod) { | ||
if (mod && mod.__esModule) return mod; | ||
var result = {}; | ||
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k]; | ||
result["default"] = mod; | ||
return result; | ||
}; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
@@ -59,0 +71,0 @@ return (mod && mod.__esModule) ? mod : { "default": mod }; |
@@ -28,8 +28,8 @@ /// <reference types="react" /> | ||
*/ | ||
Provider: import("react").ProviderExoticComponent<import("react").ProviderProps<LDContext>>, | ||
Provider: import("react").Provider<LDContext>, | ||
/** | ||
* @ignore | ||
*/ | ||
Consumer: import("react").ExoticComponent<import("react").ConsumerProps<LDContext>>; | ||
Consumer: import("react").Consumer<LDContext>; | ||
export { Provider, Consumer, LDContext }; | ||
export default context; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.Consumer = exports.Provider = void 0; | ||
var react_1 = require("react"); | ||
@@ -4,0 +5,0 @@ /** |
@@ -6,2 +6,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.camelCaseKeys = exports.asyncWithLDProvider = exports.useLDClient = exports.useFlags = exports.withLDConsumer = exports.withLDProvider = void 0; | ||
var withLDProvider_1 = __importDefault(require("./withLDProvider")); | ||
@@ -8,0 +9,0 @@ exports.withLDProvider = withLDProvider_1.default; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.defaultReactOptions = void 0; | ||
/** | ||
@@ -4,0 +5,0 @@ * Contains default values for the `reactOptions` object. |
@@ -6,2 +6,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.camelCaseKeys = void 0; | ||
var lodash_camelcase_1 = __importDefault(require("lodash.camelcase")); | ||
@@ -8,0 +9,0 @@ /** |
@@ -13,7 +13,19 @@ "use strict"; | ||
}; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
}) : (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
o[k2] = m[k]; | ||
})); | ||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { | ||
Object.defineProperty(o, "default", { enumerable: true, value: v }); | ||
}) : function(o, v) { | ||
o["default"] = v; | ||
}); | ||
var __importStar = (this && this.__importStar) || function (mod) { | ||
if (mod && mod.__esModule) return mod; | ||
var result = {}; | ||
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k]; | ||
result["default"] = mod; | ||
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); | ||
__setModuleDefault(result, mod); | ||
return result; | ||
@@ -20,0 +32,0 @@ }; |
@@ -26,2 +26,21 @@ "use strict"; | ||
}; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
}) : (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
o[k2] = m[k]; | ||
})); | ||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { | ||
Object.defineProperty(o, "default", { enumerable: true, value: v }); | ||
}) : function(o, v) { | ||
o["default"] = v; | ||
}); | ||
var __importStar = (this && this.__importStar) || function (mod) { | ||
if (mod && mod.__esModule) return mod; | ||
var result = {}; | ||
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); | ||
__setModuleDefault(result, mod); | ||
return result; | ||
}; | ||
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
@@ -63,9 +82,2 @@ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } | ||
}; | ||
var __importStar = (this && this.__importStar) || function (mod) { | ||
if (mod && mod.__esModule) return mod; | ||
var result = {}; | ||
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k]; | ||
result["default"] = mod; | ||
return result; | ||
}; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
@@ -75,2 +87,3 @@ return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.withLDProvider = void 0; | ||
var React = __importStar(require("react")); | ||
@@ -77,0 +90,0 @@ var lodash_camelcase_1 = __importDefault(require("lodash.camelcase")); |
{ | ||
"name": "launchdarkly-react-client-sdk", | ||
"version": "2.18.0", | ||
"version": "2.18.1", | ||
"description": "LaunchDarkly SDK for React", | ||
@@ -36,3 +36,3 @@ "author": "LaunchDarkly <team@launchdarkly.com>", | ||
"@types/enzyme": "^3.10.3", | ||
"@types/jest": "^24.0.18", | ||
"@types/jest": "^25.2.3", | ||
"@types/lodash.camelcase": "^4.3.6", | ||
@@ -45,3 +45,3 @@ "@types/prop-types": "^15.7.2", | ||
"enzyme-adapter-react-16": "^1.14.0", | ||
"jest": "^24.9.0", | ||
"jest": "^26.0.1", | ||
"jest-junit": "^6.3.0", | ||
@@ -54,10 +54,10 @@ "prettier": "^1.18.2", | ||
"rimraf": "^3.0.0", | ||
"ts-jest": "^24.0.2", | ||
"ts-jest": "^26.0.0", | ||
"tslint": "^5.19.0", | ||
"tslint-config-prettier": "^1.18.0", | ||
"tslint-plugin-prettier": "^2.0.1", | ||
"typescript": "^3.6.2" | ||
"typescript": "^3.9.2" | ||
}, | ||
"dependencies": { | ||
"launchdarkly-js-client-sdk": "2.17.0", | ||
"launchdarkly-js-client-sdk": "2.17.5", | ||
"lodash.camelcase": "^4.3.0", | ||
@@ -64,0 +64,0 @@ "uuid": "^3.3.2" |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
69010
868
+ Addedlaunchdarkly-js-client-sdk@2.17.5(transitive)
+ Addedlaunchdarkly-js-sdk-common@3.2.8(transitive)
- Removedlaunchdarkly-js-client-sdk@2.17.0(transitive)
- Removedlaunchdarkly-js-sdk-common@3.2.2(transitive)