@spotify-confidence/openfeature-server-provider-local 0.5.0 → 0.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/dist/index.browser.js +2 -1
- package/dist/index.node.js +2 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.5.1](https://github.com/spotify/confidence-resolver/compare/openfeature-provider-js-v0.5.0...openfeature-provider-js-v0.5.1) (2026-01-12)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* **js:** handle missing debug package under nextjs ([#219](https://github.com/spotify/confidence-resolver/issues/219)) ([c4d49fc](https://github.com/spotify/confidence-resolver/commit/c4d49fc6486931e902848f11245c2a4d02af98ff))
|
|
9
|
+
|
|
3
10
|
## [0.5.0](https://github.com/spotify/confidence-resolver/compare/openfeature-provider-js-v0.4.0...openfeature-provider-js-v0.5.0) (2025-12-19)
|
|
4
11
|
|
|
5
12
|
|
package/dist/index.browser.js
CHANGED
|
@@ -1239,7 +1239,7 @@ function isObject(value) {
|
|
|
1239
1239
|
function isSet$2(value) {
|
|
1240
1240
|
return value !== null && value !== void 0;
|
|
1241
1241
|
}
|
|
1242
|
-
const VERSION = "0.5.
|
|
1242
|
+
const VERSION = "0.5.1";
|
|
1243
1243
|
const NOOP_LOG_FN = Object.assign(() => {}, { enabled: false });
|
|
1244
1244
|
const debugBackend = loadDebug();
|
|
1245
1245
|
const logger$2 = new class LoggerImpl {
|
|
@@ -1278,6 +1278,7 @@ const getLogger = logger$2.getLogger.bind(logger$2);
|
|
|
1278
1278
|
async function loadDebug() {
|
|
1279
1279
|
try {
|
|
1280
1280
|
const { default: debug } = await import("debug");
|
|
1281
|
+
if (typeof debug !== "function") return null;
|
|
1281
1282
|
return debug;
|
|
1282
1283
|
} catch (e) {
|
|
1283
1284
|
return null;
|
package/dist/index.node.js
CHANGED
|
@@ -1242,7 +1242,7 @@ function isObject(value) {
|
|
|
1242
1242
|
function isSet$2(value) {
|
|
1243
1243
|
return value !== null && value !== void 0;
|
|
1244
1244
|
}
|
|
1245
|
-
const VERSION = "0.5.
|
|
1245
|
+
const VERSION = "0.5.1";
|
|
1246
1246
|
const NOOP_LOG_FN = Object.assign(() => {}, { enabled: false });
|
|
1247
1247
|
const debugBackend = loadDebug();
|
|
1248
1248
|
const logger$2 = new class LoggerImpl {
|
|
@@ -1281,6 +1281,7 @@ const getLogger = logger$2.getLogger.bind(logger$2);
|
|
|
1281
1281
|
async function loadDebug() {
|
|
1282
1282
|
try {
|
|
1283
1283
|
const { default: debug } = await import("debug");
|
|
1284
|
+
if (typeof debug !== "function") return null;
|
|
1284
1285
|
return debug;
|
|
1285
1286
|
} catch (e) {
|
|
1286
1287
|
return null;
|