@splitsoftware/splitio 10.22.5 → 10.22.6-rc.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/CHANGES.txt CHANGED
@@ -1,3 +1,8 @@
1
+ 10.22.6 (July 6, 2023)
2
+ - Updated some transitive dependencies for vulnerability fixes.
3
+ - Updated @splitsoftware/splitio-commons package to version 1.8.3 that includes the following bug fix:
4
+ - Bugfix - The `destroy` method has been updated to immediately flag the SDK client as destroyed, to prevent access to the storage when `getTreatment` and `track` methods are called after the SDK is destroyed.
5
+
1
6
  10.22.5 (May 15, 2023)
2
7
  - Updated @splitsoftware/splitio-commons package to version 1.8.2 that includes minor improvements.
3
8
  - Updated terminology on the SDKs codebase to be more aligned with current standard without causing a breaking change. The core change is the term split for feature flag on things like logs and IntelliSense comments.
@@ -1 +1 @@
1
- export var packageVersion = '10.22.5';
1
+ export var packageVersion = '10.22.6-rc.1';
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.packageVersion = void 0;
4
- exports.packageVersion = '10.22.5';
4
+ exports.packageVersion = '10.22.6-rc.1';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@splitsoftware/splitio",
3
- "version": "10.22.5",
3
+ "version": "10.22.6-rc.1",
4
4
  "description": "Split SDK",
5
5
  "files": [
6
6
  "README.md",
@@ -40,7 +40,7 @@
40
40
  "node": ">=6"
41
41
  },
42
42
  "dependencies": {
43
- "@splitsoftware/splitio-commons": "1.8.2",
43
+ "@splitsoftware/splitio-commons": "1.8.3",
44
44
  "@types/google.analytics": "0.0.40",
45
45
  "@types/ioredis": "^4.28.0",
46
46
  "bloom-filters": "^3.0.0",
@@ -59,7 +59,7 @@
59
59
  "cross-env": "^7.0.3",
60
60
  "csv-streamify": "4.0.0",
61
61
  "eslint": "^8.0.1",
62
- "eslint-plugin-compat": "^4.0.2",
62
+ "eslint-plugin-compat": "^4.1.4",
63
63
  "eslint-plugin-import": "^2.25.4",
64
64
  "fetch-mock": "^9.11.0",
65
65
  "karma": "^6.3.16",
@@ -1 +1 @@
1
- export const packageVersion = '10.22.5';
1
+ export const packageVersion = '10.22.6-rc.1';
@@ -1,7 +1,7 @@
1
1
  import { LOCALHOST_MODE, STORAGE_MEMORY, STORAGE_REDIS, CONSUMER_MODE, STANDALONE_MODE } from '@splitsoftware/splitio-commons/src/utils/constants';
2
2
 
3
3
  export function validateStorage(settings) {
4
- let {
4
+ const {
5
5
  log,
6
6
  mode,
7
7
  storage: {
@@ -1460,14 +1460,14 @@ declare namespace SplitIO {
1460
1460
  */
1461
1461
  setAttribute(attributeName: string, attributeValue: AttributeType): boolean,
1462
1462
  /**
1463
- * Returns the attribute with the given key.
1463
+ * Returns the attribute with the given name.
1464
1464
  *
1465
1465
  * @param {string} attributeName Attribute name
1466
- * @returns {AttributeType} Attribute with the given key
1466
+ * @returns {AttributeType} Attribute with the given name
1467
1467
  */
1468
1468
  getAttribute(attributeName: string): AttributeType,
1469
1469
  /**
1470
- * Removes from client's in memory attributes storage the attribute with the given key.
1470
+ * Removes from client's in memory attributes storage the attribute with the given name.
1471
1471
  *
1472
1472
  * @param {string} attributeName
1473
1473
  * @returns {boolean} true if attribute was removed and false otherwise