@splitsoftware/splitio-commons 2.12.3-rc.0 → 2.13.0

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,5 +1,6 @@
1
- 2.13.0 (September 23, 2026)
1
+ 2.13.0 (September 24, 2026)
2
2
  - Added support for ioredis v6 (Related to issue https://github.com/splitio/javascript-client/issues/951). Note that ioredis v6 requires Node.js 20 or above; stay on ioredis v4 or v5 for older Node.js versions.
3
+ - Removed the `@types/ioredis` dependency, which is no longer required since the public type definitions don't depend on ioredis types. The `@types/node` dependency, previously installed transitively by `@types/ioredis`, is now declared explicitly, since the public type definitions use Node.js types for the `agent` and `tls` options.
3
4
 
4
5
  2.12.2 (September 23, 2026)
5
6
  - Updated some transitive dependencies for vulnerability fixes.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@splitsoftware/splitio-commons",
3
- "version": "2.12.3-rc.0",
3
+ "version": "2.13.0",
4
4
  "description": "Split JavaScript SDK common components",
5
5
  "main": "cjs/index.js",
6
6
  "module": "esm/index.js",
@@ -45,7 +45,7 @@
45
45
  "bugs": "https://github.com/splitio/javascript-commons/issues",
46
46
  "homepage": "https://github.com/splitio/javascript-commons#readme",
47
47
  "dependencies": {
48
- "@types/ioredis": "^4.28.0",
48
+ "@types/node": ">=14.0.0",
49
49
  "tslib": "^2.3.1"
50
50
  },
51
51
  "peerDependencies": {
@@ -57,7 +57,6 @@
57
57
  }
58
58
  },
59
59
  "devDependencies": {
60
- "@types/ioredis": "^4.28.0",
61
60
  "@types/jest": "^27.0.0",
62
61
  "@types/lodash": "^4.14.162",
63
62
  "@typescript-eslint/eslint-plugin": "^7.18.0",
@@ -1,7 +1,7 @@
1
1
  // Type definitions for Split Software SDKs
2
2
  // Project: https://www.split.io/
3
3
 
4
- import type { RedisOptions } from 'ioredis';
4
+ import type { ConnectionOptions } from 'tls';
5
5
  import type { RequestOptions } from 'http';
6
6
 
7
7
  export as namespace SplitIO;
@@ -1713,7 +1713,7 @@ declare namespace SplitIO {
1713
1713
  *
1714
1714
  * @defaultValue `undefined`
1715
1715
  */
1716
- tls?: RedisOptions['tls'];
1716
+ tls?: ConnectionOptions;
1717
1717
  };
1718
1718
  /**
1719
1719
  * Optional prefix to prevent any kind of data collision between SDK versions.