@splitsoftware/splitio
Advanced tools
Comparing version 10.26.1-rc.3 to 10.26.1
@@ -1,3 +0,4 @@ | ||
10.26.1 (June 13, 2024) | ||
10.26.1 (June 14, 2024) | ||
- Updated the internal imports of 'os' and 'ioredis' modules for NodeJS, to use EcmaScript 'import' rather than CommonJS 'require' for the ES modules build. This avoids runtime errors on some scenarios when bundling the SDK into a .mjs file or importing it from a .mjs file. | ||
- Updated eventsource dependency for NodeJS. The eventsource v1.1.2 dependency was removed, and the SDK now uses an embedded adaptation that can accept an HTTP(S) agent option, like other HTTP(S) requests. | ||
- Updated @splitsoftware/splitio-commons package to version 1.16.0 that includes some vulnerability and bug fixes. | ||
@@ -4,0 +5,0 @@ - Bugfixing - Restored some input validation error logs that were removed in version 10.24.0. The logs inform the user when the `getTreatment(s)` methods are called with an invalid value as feature flag name or flag set name. |
@@ -1,1 +0,1 @@ | ||
export var packageVersion = '10.26.1-rc.3'; | ||
export var packageVersion = '10.26.1'; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.packageVersion = void 0; | ||
exports.packageVersion = '10.26.1-rc.3'; | ||
exports.packageVersion = '10.26.1'; |
{ | ||
"name": "@splitsoftware/splitio", | ||
"version": "10.26.1-rc.3", | ||
"version": "10.26.1", | ||
"description": "Split SDK", | ||
@@ -43,3 +43,3 @@ "files": [ | ||
"dependencies": { | ||
"@splitsoftware/splitio-commons": "1.15.1-rc.3", | ||
"@splitsoftware/splitio-commons": "1.16.0", | ||
"@types/google.analytics": "0.0.40", | ||
@@ -46,0 +46,0 @@ "@types/ioredis": "^4.28.0", |
@@ -85,3 +85,3 @@ /* eslint-disable no-prototype-builtins */ | ||
readyState = EventSource.CONNECTING; | ||
_emit('error', new Event('error', {message: message})); | ||
_emit('error', new Event('error', { message: message })); | ||
@@ -181,3 +181,3 @@ // The url may have been changed by a temporary redirect. If that's the case, | ||
if (res.statusCode === 500 || res.statusCode === 502 || res.statusCode === 503 || res.statusCode === 504) { | ||
_emit('error', new Event('error', {status: res.statusCode, message: res.statusMessage})); | ||
_emit('error', new Event('error', { status: res.statusCode, message: res.statusMessage })); | ||
onConnectionClosed(); | ||
@@ -192,3 +192,3 @@ return; | ||
// Server sent redirect response without Location header. | ||
_emit('error', new Event('error', {status: res.statusCode, message: res.statusMessage})); | ||
_emit('error', new Event('error', { status: res.statusCode, message: res.statusMessage })); | ||
return; | ||
@@ -206,3 +206,3 @@ } | ||
if (res.statusCode !== 200) { | ||
_emit('error', new Event('error', {status: res.statusCode, message: res.statusMessage})); | ||
_emit('error', new Event('error', { status: res.statusCode, message: res.statusMessage })); | ||
return self.close(); | ||
@@ -393,5 +393,5 @@ } | ||
*/ | ||
Object.defineProperty(EventSource, 'CONNECTING', {enumerable: true, value: 0}); | ||
Object.defineProperty(EventSource, 'OPEN', {enumerable: true, value: 1}); | ||
Object.defineProperty(EventSource, 'CLOSED', {enumerable: true, value: 2}); | ||
Object.defineProperty(EventSource, 'CONNECTING', { enumerable: true, value: 0 }); | ||
Object.defineProperty(EventSource, 'OPEN', { enumerable: true, value: 1 }); | ||
Object.defineProperty(EventSource, 'CLOSED', { enumerable: true, value: 2 }); | ||
@@ -398,0 +398,0 @@ EventSource.prototype.CONNECTING = 0; |
@@ -1,1 +0,1 @@ | ||
export const packageVersion = '10.26.1-rc.3'; | ||
export const packageVersion = '10.26.1'; |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
334713
0
+ Added@splitsoftware/splitio-commons@1.16.0(transitive)
- Removed@splitsoftware/splitio-commons@1.15.1-rc.3(transitive)