Skip to content

Commit 11cfbce

Browse files
Merge branch 'main' into upgrade-js-commons-v3
2 parents b0e5745 + ca62c9f commit 11cfbce

6 files changed

Lines changed: 324 additions & 262 deletions

File tree

.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

CHANGES.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
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+
16
11.11.1 (March 18, 2026)
27
- 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).
38

karma/config.js

Lines changed: 4 additions & 18 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

0 commit comments

Comments
 (0)