Skip to content

Commit 2d6befa

Browse files
Merge branch 'main' into harness-pipeline
2 parents 25d7c94 + ca62c9f commit 2d6befa

14 files changed

Lines changed: 1744 additions & 1323 deletions

File tree

.github/pull_request_template.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
# JS SDK
1+
# JavaScript SDK
22

33
## What did you accomplish?
44

55
## How do we test the changes introduced in this PR?
66

7-
## Extra Notes
7+
## Extra Notes

.github/workflows/ci-cd.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ on:
88
branches:
99
- '*'
1010

11+
env:
12+
PUPPETEER_SKIP_DOWNLOAD: 'true'
13+
1114
concurrency:
1215
group: ${{ github.workflow }}-${{ github.event_name == 'push' && github.run_number || github.event.pull_request.number }}
1316
cancel-in-progress: true
@@ -41,6 +44,13 @@ jobs:
4144
- name: npm ci
4245
run: npm ci
4346

47+
- name: Setup Chrome
48+
uses: browser-actions/setup-chrome@19ae4b339ee18925ab85cf12c1041150ea4a44c8 # v1
49+
with:
50+
chrome-version: '125'
51+
- name: Set CHROME_BIN
52+
run: echo "CHROME_BIN=$(which chrome)" >> $GITHUB_ENV
53+
4454
- name: npm ts tests
4555
run: npm run test-ts-decls
4656

.github/workflows/sonar-scan.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
-Dsonar.links.scm="https://github.com/splitio/${{ github.event.repository.name }}"
5050
5151
- name: SonarQube Scan (Pull Request)
52-
if: github.event_name == 'pull_request'
52+
if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository
5353
uses: SonarSource/sonarqube-scan-action@v6
5454
env:
5555
SONAR_TOKEN: ${{ secrets.SONARQUBE_TOKEN }}

.gitignore

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@
99
/.vscode
1010
dump.rdb
1111

12-
## local environment setup
13-
/startup.sh
14-
1512
## coverage info
1613
/karma/coverage
1714

@@ -26,3 +23,6 @@ dump.rdb
2623
## TS tests compilated files
2724
/ts-tests/*.js
2825
/ts-tests/package-lock.json
26+
27+
.yalc/
28+
yalc.lock

CHANGES.txt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
11.11.2 (June 26, 2026)
2+
- Updated @splitsoftware/splitio-commons package to version 2.12.1, which:
3+
- updates internal modules to handle `null` values from `/splitChanges` response.
4+
- updates some dependencies for vulnerability fixes.
5+
6+
11.11.1 (March 18, 2026)
7+
- Updated TypeScript declaration to use `namespace` instead of `module` for compatibility with TypeScript 7 (Related to issue https://github.com/splitio/javascript-client/issues/920).
8+
9+
11.11.0 (February 24, 2026)
10+
- Updated @splitsoftware/splitio-commons package to version 2.12.0, which supports both ioredis v4 and v5 as transitive dependency.
11+
112
11.10.1 (February 3, 2026)
213
- Updated js-yaml dependency for vulnerability fixes (Related to issue https://github.com/splitio/javascript-client/issues/913).
314

karma/config.js

Lines changed: 7 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
'use strict';
2-
// Comment the next two lines if you want to run with Chrome instead of Chromium
3-
const puppeteer = require('puppeteer');
4-
process.env.CHROME_BIN = puppeteer.executablePath();
2+
if (!process.env.CHROME_BIN) {
3+
process.env.CHROME_BIN = require('puppeteer').executablePath();
4+
}
55

66
const NodePolyfillPlugin = require('node-polyfill-webpack-plugin');
77

@@ -29,21 +29,7 @@ module.exports = {
2929
// Uncomment to run a particular UT:
3030
// '**/listeners/__tests__/browser.spec.js',
3131
// Run browser UTs. Commons and Node UTs run with `test-node` npm script
32-
'*/**/__tests__/**/browser.spec.js',
33-
{
34-
pattern: 'engine/__tests__/engine/mocks/murmur3*.csv',
35-
watched: false,
36-
included: false,
37-
served: true,
38-
nocache: true
39-
},
40-
{
41-
pattern: 'engine/__tests__/matchers/mocks/regex.txt',
42-
watched: false,
43-
included: false,
44-
served: true,
45-
nocache: true
46-
}
32+
'*/**/__tests__/**/browser.spec.js'
4733
],
4834

4935
// list of files / patterns to exclude
@@ -83,7 +69,9 @@ module.exports = {
8369
]
8470
},
8571
plugins: [
86-
new NodePolyfillPlugin()
72+
new NodePolyfillPlugin({
73+
additionalAliases: ['process']
74+
})
8775
],
8876
resolve: {
8977
extensions: ['.ts', '.js'],

0 commit comments

Comments
 (0)