Michał Gołębiowski-Owczarek
ec738b3190
Build: Fix Chrome beta tests
...
Browser Tests / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (Chrome, test:esm) (push) Has been cancelled
Browser Tests / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (Chrome, test:no-deprecated) (push) Has been cancelled
Browser Tests / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (Chrome, test:selector-native) (push) Has been cancelled
Browser Tests / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (Chrome, test:slim) (push) Has been cancelled
Browser Tests / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (Chrome/Firefox, test:browser) (push) Has been cancelled
Browser Tests / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (Firefox ESR (new), test:firefox) (push) Has been cancelled
Browser Tests / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (Firefox ESR (old), test:firefox) (push) Has been cancelled
Browser Tests / test:ie - IE (push) Has been cancelled
Browser Tests / test:safari - Safari (push) Has been cancelled
Browserstack / ${{ matrix.BROWSER }} (Chrome_latest) (push) Has been cancelled
Browserstack / ${{ matrix.BROWSER }} (Chrome_latest-1) (push) Has been cancelled
Browserstack / ${{ matrix.BROWSER }} (Edge_latest) (push) Has been cancelled
Browserstack / ${{ matrix.BROWSER }} (Edge_latest-1) (push) Has been cancelled
Browserstack / ${{ matrix.BROWSER }} (Firefox_latest) (push) Has been cancelled
Browserstack / ${{ matrix.BROWSER }} (Firefox_latest-1) (push) Has been cancelled
Browserstack / ${{ matrix.BROWSER }} (IE_11) (push) Has been cancelled
Browserstack / ${{ matrix.BROWSER }} (Opera_latest) (push) Has been cancelled
Browserstack / ${{ matrix.BROWSER }} (Safari_18) (push) Has been cancelled
Browserstack / ${{ matrix.BROWSER }} (Safari_latest) (push) Has been cancelled
Browserstack / ${{ matrix.BROWSER }} (_:iPad Air 13 2025_iOS_18) (push) Has been cancelled
Browserstack / ${{ matrix.BROWSER }} (_:iPad Air 13 2025_iOS_26) (push) Has been cancelled
Browserstack / ${{ matrix.BROWSER }} (_:iPhone 15 Pro_iOS_17) (push) Has been cancelled
Browserstack / ${{ matrix.BROWSER }} (_:iPhone 16_iOS_18) (push) Has been cancelled
Browserstack / ${{ matrix.BROWSER }} (_:iPhone 17_iOS_26) (push) Has been cancelled
Code scanning - action / CodeQL-Build (push) Has been cancelled
Filestash / Update Filestash (push) Has been cancelled
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Node, 20.x, test:browserless) (push) Has been cancelled
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Node, 22.x, test:browserless) (push) Has been cancelled
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Node, 24.x, lint) (push) Has been cancelled
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Node, 24.x, test:browserless) (push) Has been cancelled
Chrome beta requires a chromedriver version matching its major version part;
otherwise, it may fail to launch. Make sure a proper version is downloaded
and added to `PATH`.
Closes gh-5744
2025-12-22 18:37:58 +01:00
Michał Gołębiowski-Owczarek
c28c26aef0
Build: Add periodic tests on beta versions of browsers
...
Browser Tests / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (Chrome, test:slim) (push) Has been cancelled
Browser Tests / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (Chrome/Firefox, test:browser) (push) Has been cancelled
Browser Tests / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (Firefox ESR (new), test:firefox) (push) Has been cancelled
Browser Tests / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (Firefox ESR (old), test:firefox) (push) Has been cancelled
Browser Tests / test:ie - IE (push) Has been cancelled
Browser Tests / test:safari - Safari (push) Has been cancelled
Browserstack / ${{ matrix.BROWSER }} (Chrome_latest) (push) Has been cancelled
Browserstack / ${{ matrix.BROWSER }} (Chrome_latest-1) (push) Has been cancelled
Browserstack / ${{ matrix.BROWSER }} (Edge_latest) (push) Has been cancelled
Browserstack / ${{ matrix.BROWSER }} (Edge_latest-1) (push) Has been cancelled
Browserstack / ${{ matrix.BROWSER }} (Firefox_latest) (push) Has been cancelled
Browserstack / ${{ matrix.BROWSER }} (Firefox_latest-1) (push) Has been cancelled
Browserstack / ${{ matrix.BROWSER }} (IE_11) (push) Has been cancelled
Browserstack / ${{ matrix.BROWSER }} (Opera_latest) (push) Has been cancelled
Browserstack / ${{ matrix.BROWSER }} (Safari_18) (push) Has been cancelled
Browserstack / ${{ matrix.BROWSER }} (Safari_latest) (push) Has been cancelled
Browserstack / ${{ matrix.BROWSER }} (_:iPad Air 13 2025_iOS_18) (push) Has been cancelled
Browserstack / ${{ matrix.BROWSER }} (_:iPad Air 13 2025_iOS_26) (push) Has been cancelled
Browserstack / ${{ matrix.BROWSER }} (_:iPhone 15 Pro_iOS_17) (push) Has been cancelled
Browserstack / ${{ matrix.BROWSER }} (_:iPhone 16_iOS_18) (push) Has been cancelled
Browserstack / ${{ matrix.BROWSER }} (_:iPhone 17_iOS_26) (push) Has been cancelled
Code scanning - action / CodeQL-Build (push) Has been cancelled
Filestash / Update Filestash (push) Has been cancelled
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Node, 20.x, test:browserless) (push) Has been cancelled
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Node, 22.x, test:browserless) (push) Has been cancelled
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Node, 24.x, lint) (push) Has been cancelled
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Node, 24.x, test:browserless) (push) Has been cancelled
Browser Tests (Beta) / Chrome Beta (push) Has been cancelled
Browser Tests (Beta) / Firefox Beta (push) Has been cancelled
Browser Tests (Beta) / Safari Technology Preview (push) Has been cancelled
Run weekly tests on the following browsers:
* Chrome beta
* Firefox beta
* Safari Technology Preview
Don't fail the job in case of failures to avoid jQuery being marked as failing
CI in case of a beta browser bug. In such cases, print a summary about errors
to the job.
Closes gh-5733
2025-12-02 23:17:27 +01:00
dependabot[bot]
f513413ac8
Build: Bump the github-actions group with 2 updates
...
Bumps the github-actions group with 2 updates: [actions/checkout](https://github.com/actions/checkout ) and [github/codeql-action](https://github.com/github/codeql-action ).
Updates `actions/checkout` from 5.0.0 to 6.0.0
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](08c6903cd8...1af3b93b68 )
Updates `github/codeql-action` from 4.31.2 to 4.31.5
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](0499de31b9...fdbfb4d275 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: 6.0.0
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
- dependency-name: github/codeql-action
dependency-version: 4.31.5
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: github-actions
...
Closes gh-5735
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-01 10:22:32 -05:00
Michał Gołębiowski-Owczarek
4dbe321ad8
Build: Update glob form 10.4.5 to 10.5.0
...
This resolves a security report.
Closes gh-5731
2025-11-24 18:29:44 +01:00
Michał Gołębiowski-Owczarek
23d72cb1db
Tests: Fix the "outside view position" test in Headless Chrome
...
In Headless Chrome, when run locally on macOS together with a few other modules,
the scroll handler for the appended element in the "outside view position"
dimensions test doesn't fire, timing out the test & failing it as a result.
While the scroll handler may not fire, the new position data is available
immediately, so just do the checks directly, without relying on scroll handlers.
Closes gh-5728
Ref gh-5729
2025-11-24 18:25:00 +01:00
Timmy Willison
9572ae8a64
Build: Upgrade all dev dependencies (except sinon & eslint)
...
- JSDOM: change sendTo to forwardTo
Closes gh-5726
2025-11-18 10:07:34 -05:00
Timmy Willison
5169d8f03c
Build: Update jtr to 0.2.8; fixes Edge in IE mode
...
Closes gh-5724
2025-11-17 13:14:06 -05:00
Timmy Willison
dda0a0229f
Build: Verify release using dist repo tarball; Node 24.x ( #5719 )
...
Verification:
- verify release using dist repo tarball
- get the blog URL from the dist repo README
- add retries
- verify clean git status
Release:
- explicitly sign all commits and tags
General:
- use Node 24.x (now LTS) as default in workflows
2025-11-15 10:37:19 -05:00
dependabot[bot]
fa41fe50e7
Build: Bump the github-actions group with 2 updates ( #5718 )
...
Bumps the github-actions group with 2 updates: [actions/setup-node](https://github.com/actions/setup-node ) and [github/codeql-action](https://github.com/github/codeql-action ).
Updates `actions/setup-node` from 5.0.0 to 6.0.0
- [Release notes](https://github.com/actions/setup-node/releases )
- [Commits](a0853c2454...2028fbc5c2 )
Updates `github/codeql-action` from 3.30.5 to 4.31.2
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](3599b3baa1...0499de31b9 )
---
updated-dependencies:
- dependency-name: actions/setup-node
dependency-version: 6.0.0
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
- dependency-name: github/codeql-action
dependency-version: 4.31.2
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-01 14:10:50 -04:00
Michał Gołębiowski-Owczarek
25a1b080ae
Tests: Fix selector tests in Chrome 141
...
Chrome 141 incorrectly matches `:lang()` selectors with values with
a trailing `-`. This is fixed in Chrome 142, so just skip these tests in v141.
See https://issues.chromium.org/issues/451355198
Closes gh-5716
Ref gh-5717
2025-10-28 23:09:51 +01:00
Michał Gołębiowski-Owczarek
65e35450c9
Selector: Remove the workaround for :has; test both on iPhone & iPad
...
Remove the workaround for a broken `:has` selector; we no longer test on any
browser with a buggy `:has`.
Test on last three iOS versions on an iPhone, but on the last two iPadOS
versions on an iPad.
Also, fix test issues on an iPad.
Closes gh-5714
Ref gh-5715
2025-10-27 17:57:23 +01:00
Michał Gołębiowski-Owczarek
98cc8c837e
Build: Separate Node.js & Browser Tests, update tested Node.js versions
...
Changes:
1. Separate Browser Tests to its own workflow, simplifying the test matrix.
2. Update tested Node.js versions from 18/20/22/23 to 20/22/24.
3. Only use xz decompression method for Firefox ESR as Firefox ESR 128 is no
longer supported and this was the last ESR to use bzip2.
Closes gh-5704
2025-10-14 23:55:49 +02:00
Michał Gołębiowski-Owczarek
1c29724140
Build: Update browsers tested in BrowserStack
...
Changes:
1. Remove Safari 17
2. Remove iOS 16
3. Add iOS 26
Closes gh-5705
Ref gh-5706
2025-10-13 18:13:53 +02:00
dependabot[bot]
d6c1e23884
Build: Bump the github-actions group with 2 updates
...
Bumps the github-actions group with 2 updates: [actions/setup-node](https://github.com/actions/setup-node ) and [github/codeql-action](https://github.com/github/codeql-action ).
Closes gh-5712
Updates `actions/setup-node` from 4.4.0 to 5.0.0
- [Release notes](https://github.com/actions/setup-node/releases )
- [Commits](49933ea528...a0853c2454 )
Updates `github/codeql-action` from 3.29.11 to 3.30.5
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](3c3833e0f8...3599b3baa1 )
---
updated-dependencies:
- dependency-name: actions/setup-node
dependency-version: 5.0.0
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
- dependency-name: github/codeql-action
dependency-version: 3.30.5
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: github-actions
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-10-12 14:14:20 +02:00
Michał Gołębiowski-Owczarek
ef743289e6
Build: Migrate lockbot to GitHub Actions
...
Lockbot has been migrated to GitHub Actions and the old app no longer
works.
Closes gh-5707
Ref dessant/lock-threads#30
Ref gh-4070
Ref https://github.com/apps/lock
2025-09-24 22:18:21 +02:00
Michał Gołębiowski-Owczarek
5eab0a3cb2
Tests: Increase nomodule test timeout for IE from 1s to 5s
...
Browserstack / ${{ matrix.BROWSER }} (Chrome_latest) (push) Has been cancelled
Browserstack / ${{ matrix.BROWSER }} (Chrome_latest-1) (push) Has been cancelled
Browserstack / ${{ matrix.BROWSER }} (Edge_latest) (push) Has been cancelled
Browserstack / ${{ matrix.BROWSER }} (Edge_latest-1) (push) Has been cancelled
Browserstack / ${{ matrix.BROWSER }} (Firefox_latest) (push) Has been cancelled
Browserstack / ${{ matrix.BROWSER }} (Firefox_latest-1) (push) Has been cancelled
Browserstack / ${{ matrix.BROWSER }} (IE_11) (push) Has been cancelled
Browserstack / ${{ matrix.BROWSER }} (Opera_latest) (push) Has been cancelled
Browserstack / ${{ matrix.BROWSER }} (Safari_17) (push) Has been cancelled
Browserstack / ${{ matrix.BROWSER }} (Safari_18) (push) Has been cancelled
Browserstack / ${{ matrix.BROWSER }} (Safari_latest) (push) Has been cancelled
Browserstack / ${{ matrix.BROWSER }} (__iOS_16) (push) Has been cancelled
Browserstack / ${{ matrix.BROWSER }} (__iOS_17) (push) Has been cancelled
Browserstack / ${{ matrix.BROWSER }} (__iOS_18) (push) Has been cancelled
Code scanning - action / CodeQL-Build (push) Has been cancelled
Filestash / Update Filestash (push) Has been cancelled
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Chrome, 22.x, test:esm) (push) Has been cancelled
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Chrome, 22.x, test:no-deprecated) (push) Has been cancelled
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Chrome, 22.x, test:selector-native) (push) Has been cancelled
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Chrome, 22.x, test:slim) (push) Has been cancelled
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Chrome/Firefox, 22.x, test:browser) (push) Has been cancelled
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Firefox ESR (new), 22.x, test:firefox) (push) Has been cancelled
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Firefox ESR (old), 22.x, test:firefox) (push) Has been cancelled
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Node, 18.x, test:browserless) (push) Has been cancelled
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Node, 20.x, test:browserless) (push) Has been cancelled
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Node, 22.x, lint) (push) Has been cancelled
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Node, 22.x, test:browserless) (push) Has been cancelled
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Node, 23.x, test:browserless) (push) Has been cancelled
Node / test:ie - IE (push) Has been cancelled
Node / test:safari - Safari (push) Has been cancelled
In IE, these tests are expected to be executed, so the timeout can be higher,
similar to how we set a high timeout for module tests.
Ref gh-5699
2025-09-16 00:51:03 +02:00
Michał Gołębiowski-Owczarek
a5b0c4318d
Release: Fix release issues uncovered during the 4.0.0-rc.1 release
...
Changes:
* Run `pre-release.sh` & `post-release.sh` scripts directly; make them
executable
* Fix the hashbang to specify the default bash installation; note: `/bin/bash`
would be a wrong choice as that would use an ancient 3.x version on macOS
* Make sure Bash 5 or newer is used
* Run `npm publish --tag beta` when a pre-release is being published
* Fix the `repository.url` field in `package.json` as reported by `npm publish`
* Fix a few issues reported by shellcheck
Closes gh-5697
2025-09-16 00:42:53 +02:00
Michał Gołębiowski-Owczarek
5964acf330
Tests: Fix module/nomodule tests flakiness
...
Browserstack / ${{ matrix.BROWSER }} (Chrome_latest) (push) Waiting to run
Browserstack / ${{ matrix.BROWSER }} (Chrome_latest-1) (push) Waiting to run
Browserstack / ${{ matrix.BROWSER }} (Edge_latest) (push) Waiting to run
Browserstack / ${{ matrix.BROWSER }} (Edge_latest-1) (push) Waiting to run
Browserstack / ${{ matrix.BROWSER }} (Firefox_latest) (push) Waiting to run
Browserstack / ${{ matrix.BROWSER }} (Firefox_latest-1) (push) Waiting to run
Browserstack / ${{ matrix.BROWSER }} (IE_11) (push) Waiting to run
Browserstack / ${{ matrix.BROWSER }} (Opera_latest) (push) Waiting to run
Browserstack / ${{ matrix.BROWSER }} (Safari_17) (push) Waiting to run
Browserstack / ${{ matrix.BROWSER }} (Safari_18) (push) Waiting to run
Browserstack / ${{ matrix.BROWSER }} (Safari_latest) (push) Waiting to run
Browserstack / ${{ matrix.BROWSER }} (__iOS_16) (push) Waiting to run
Browserstack / ${{ matrix.BROWSER }} (__iOS_17) (push) Waiting to run
Browserstack / ${{ matrix.BROWSER }} (__iOS_18) (push) Waiting to run
Code scanning - action / CodeQL-Build (push) Waiting to run
Filestash / Update Filestash (push) Waiting to run
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Chrome, 22.x, test:esm) (push) Waiting to run
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Chrome, 22.x, test:no-deprecated) (push) Waiting to run
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Chrome, 22.x, test:selector-native) (push) Waiting to run
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Chrome, 22.x, test:slim) (push) Waiting to run
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Chrome/Firefox, 22.x, test:browser) (push) Waiting to run
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Firefox ESR (new), 22.x, test:firefox) (push) Waiting to run
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Firefox ESR (old), 22.x, test:firefox) (push) Waiting to run
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Node, 18.x, test:browserless) (push) Waiting to run
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Node, 20.x, test:browserless) (push) Waiting to run
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Node, 22.x, lint) (push) Waiting to run
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Node, 22.x, test:browserless) (push) Waiting to run
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Node, 23.x, test:browserless) (push) Waiting to run
Node / test:ie - IE (push) Waiting to run
Node / test:safari - Safari (push) Waiting to run
The module/nomodule tests are the most flaky ones, contributing significantly
to increase number of test failures (somewhat mitigated by auto-retries).
Fix flakiness of module/nomodule tests:
1. For module tests, increase the timeout to 5 seconds. In order for most tests
to not wait that long, change callbacks called by module scripts to verify
the results as soon as all scripts have run.
2. For nomodule tests, run the check in 1 second. All modern browsers will
need to wait that long, hence a smaller timeout, and if occasionally the
check runs too quickly, the test will still pass.
Closes gh-5699
2025-09-15 18:27:13 +02:00
Michał Gołębiowski-Owczarek
110e46572a
Build: Simplify caching in CI, use npm ci
...
Our setup is pretty standard, so manual configuration of `actions/cache`
is an overkill. Relying on built-in `actions/node` caching will also resolve
differences between caching configurations for macOS/Linux vs. Windows.
Also, switch from `npm install` to `npm ci` in CI.
Closes gh-5702
Ref jquery/jquery-migrate#597
Ref gh-5703
2025-09-15 18:14:22 +02:00
Ulises Gascón
02cf4ee090
docs: updated the vulnerability reporting process and added escalation steps
...
Browserstack / ${{ matrix.BROWSER }} (Chrome_latest) (push) Has been cancelled
Browserstack / ${{ matrix.BROWSER }} (Chrome_latest-1) (push) Has been cancelled
Browserstack / ${{ matrix.BROWSER }} (Edge_latest) (push) Has been cancelled
Browserstack / ${{ matrix.BROWSER }} (Edge_latest-1) (push) Has been cancelled
Browserstack / ${{ matrix.BROWSER }} (Firefox_latest) (push) Has been cancelled
Browserstack / ${{ matrix.BROWSER }} (Firefox_latest-1) (push) Has been cancelled
Browserstack / ${{ matrix.BROWSER }} (IE_11) (push) Has been cancelled
Browserstack / ${{ matrix.BROWSER }} (Opera_latest) (push) Has been cancelled
Browserstack / ${{ matrix.BROWSER }} (Safari_17) (push) Has been cancelled
Browserstack / ${{ matrix.BROWSER }} (Safari_18) (push) Has been cancelled
Browserstack / ${{ matrix.BROWSER }} (Safari_latest) (push) Has been cancelled
Browserstack / ${{ matrix.BROWSER }} (__iOS_16) (push) Has been cancelled
Browserstack / ${{ matrix.BROWSER }} (__iOS_17) (push) Has been cancelled
Browserstack / ${{ matrix.BROWSER }} (__iOS_18) (push) Has been cancelled
Code scanning - action / CodeQL-Build (push) Has been cancelled
Filestash / Update Filestash (push) Has been cancelled
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Chrome, 22.x, test:esm) (push) Has been cancelled
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Chrome, 22.x, test:no-deprecated) (push) Has been cancelled
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Chrome, 22.x, test:selector-native) (push) Has been cancelled
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Chrome, 22.x, test:slim) (push) Has been cancelled
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Chrome/Firefox, 22.x, test:browser) (push) Has been cancelled
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Firefox ESR (new), 22.x, test:firefox) (push) Has been cancelled
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Firefox ESR (old), 22.x, test:firefox) (push) Has been cancelled
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Node, 18.x, test:browserless) (push) Has been cancelled
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Node, 20.x, test:browserless) (push) Has been cancelled
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Node, 22.x, lint) (push) Has been cancelled
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Node, 22.x, test:browserless) (push) Has been cancelled
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Node, 23.x, test:browserless) (push) Has been cancelled
Node / test:ie - IE (push) Has been cancelled
Node / test:safari - Safari (push) Has been cancelled
Ref: https://github.com/openjs-foundation/cross-project-council/pull/1588
Closes gh-5701
2025-09-09 10:30:02 -04:00
dependabot[bot]
607b25eb08
Build: Bump the github-actions group with 3 updates
...
Browserstack / ${{ matrix.BROWSER }} (Chrome_latest) (push) Waiting to run
Browserstack / ${{ matrix.BROWSER }} (Chrome_latest-1) (push) Waiting to run
Browserstack / ${{ matrix.BROWSER }} (Edge_latest) (push) Waiting to run
Browserstack / ${{ matrix.BROWSER }} (Edge_latest-1) (push) Waiting to run
Browserstack / ${{ matrix.BROWSER }} (Firefox_latest) (push) Waiting to run
Browserstack / ${{ matrix.BROWSER }} (Firefox_latest-1) (push) Waiting to run
Browserstack / ${{ matrix.BROWSER }} (IE_11) (push) Waiting to run
Browserstack / ${{ matrix.BROWSER }} (Opera_latest) (push) Waiting to run
Browserstack / ${{ matrix.BROWSER }} (Safari_17) (push) Waiting to run
Browserstack / ${{ matrix.BROWSER }} (Safari_18) (push) Waiting to run
Browserstack / ${{ matrix.BROWSER }} (Safari_latest) (push) Waiting to run
Browserstack / ${{ matrix.BROWSER }} (__iOS_16) (push) Waiting to run
Browserstack / ${{ matrix.BROWSER }} (__iOS_17) (push) Waiting to run
Browserstack / ${{ matrix.BROWSER }} (__iOS_18) (push) Waiting to run
Code scanning - action / CodeQL-Build (push) Waiting to run
Filestash / Update Filestash (push) Waiting to run
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Chrome, 22.x, test:esm) (push) Waiting to run
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Chrome, 22.x, test:no-deprecated) (push) Waiting to run
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Chrome, 22.x, test:selector-native) (push) Waiting to run
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Chrome, 22.x, test:slim) (push) Waiting to run
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Chrome/Firefox, 22.x, test:browser) (push) Waiting to run
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Firefox ESR (new), 22.x, test:firefox) (push) Waiting to run
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Firefox ESR (old), 22.x, test:firefox) (push) Waiting to run
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Node, 18.x, test:browserless) (push) Waiting to run
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Node, 20.x, test:browserless) (push) Waiting to run
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Node, 22.x, lint) (push) Waiting to run
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Node, 22.x, test:browserless) (push) Waiting to run
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Node, 23.x, test:browserless) (push) Waiting to run
Node / test:ie - IE (push) Waiting to run
Node / test:safari - Safari (push) Waiting to run
Bumps the github-actions group with 3 updates: [actions/checkout](https://github.com/actions/checkout ), [actions/cache](https://github.com/actions/cache ) and [github/codeql-action](https://github.com/github/codeql-action ).
Closes gh-5698
Updates `actions/checkout` from 4.2.2 to 5.0.0
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](11bd71901b...08c6903cd8 )
Updates `actions/cache` from 4.2.3 to 4.2.4
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](5a3ec84eff...0400d5f644 )
Updates `github/codeql-action` from 3.29.2 to 3.29.11
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](181d5eefc2...3c3833e0f8 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: 5.0.0
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
- dependency-name: actions/cache
dependency-version: 4.2.4
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: github-actions
- dependency-name: github/codeql-action
dependency-version: 3.29.11
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: github-actions
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-03 00:50:00 +02:00
studystill
e4d4dd81bf
Docs: Fix some minor issues in comments
...
Changes:
1. Eliminate mentions of Karma.
2. Replace `"root granchild"` with `"root grandchild"`.
3. Collapse duplicate "the the" & "with with" into single words.
Closes gh-5662
Signed-off-by: studystill <chenghuiyue@outlook.com>
Co-authored-by: Michał Gołębiowski-Owczarek <m.goleb@gmail.com>
2025-08-18 22:26:53 +02:00
dependabot[bot]
9c84195b94
Build: Bump tmp and @inquirer/editor
...
Bumps [tmp](https://github.com/raszi/node-tmp ) and [@inquirer/editor](https://github.com/SBoudrias/Inquirer.js ). These dependencies needed to be updated together.
Updates `tmp` from 0.2.3 to 0.2.5
- [Changelog](https://github.com/raszi/node-tmp/blob/master/CHANGELOG.md )
- [Commits](https://github.com/raszi/node-tmp/compare/v0.2.3...v0.2.5 )
Updates `@inquirer/editor` from 4.2.11 to 4.2.16
- [Release notes](https://github.com/SBoudrias/Inquirer.js/releases )
- [Commits](https://github.com/SBoudrias/Inquirer.js/compare/@inquirer/editor@4.2.11...@inquirer/editor@4.2.16 )
Closes gh-5694
---
updated-dependencies:
- dependency-name: tmp
dependency-version: 0.2.5
dependency-type: indirect
- dependency-name: "@inquirer/editor"
dependency-version: 4.2.16
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-12 22:04:38 +02:00
Timmy Willison
093e63f92a
Docs: update herodevs link in README
...
Fixes gh-5695
Closes gh-5696
2025-08-12 12:06:44 -04:00
Michał Gołębiowski-Owczarek
9d06c6dd6f
Release: remove dist files from main branch
2025-08-11 19:16:41 +02:00
Michał Gołębiowski-Owczarek
586182f35e
Release: 4.0.0-rc.1
2025-08-11 18:52:15 +02:00
Michał Gołębiowski-Owczarek
ff1f0eaafd
Release: Run npm publish in the post-release phase
...
PR gh-5681 specified the `tmp/release/dist` folder as `publishPath` so that
`npm publish` is done from the dist repo, not the source one. However,
`npm publish` is invoked by release-it before the post-release phase, at which
stage the dist repo is not updated with the new release yet.
Instead, do the `npm publish` manually in the post-release stage, just after
the dist repo is updated & changes are pushed.
Closes gh-5690
2025-08-11 18:40:09 +02:00
Michał Gołębiowski-Owczarek
fb5ab0f546
Release: Only run browserless tests during the release
...
`npm test` is susceptible to any flakiness in tests, making releases less
predictable. Our process requires us to check CI before releases or run
`npm test` manually if there are issues with that, we don't need to repeat it
all during the release process.
In addition to that, currently the whole pre-release part is silent and the full
`npm test` takes a long time to finish while no feedback is presented to the
person running the release. It will be more bearable with just browserless
tests.
Closes gh-5689
2025-08-11 17:47:14 +02:00
Michał Gołębiowski-Owczarek
f21a6ea6b5
Tests: Use releases.jquery.com as external host for AJAX testing
...
Previously, we used example.com. However, that one is rate-limited, causing us
frequent unit test failures.
Closes gh-5688
2025-08-11 17:43:01 +02:00
Michał Gołębiowski-Owczarek
a848611f9a
Build: Make the sed usage portable across Linux & macOS
...
On macOS (which uses the BSD-variant of sed), the `-i` flag requires its
“backup extension” to come immediately after the i (with a space), even if
it’s empty; this made the release `sed` commands fail on macOS. The GNU sed
doesn’t require an extension but it allows it.
To make the commands work both on macOS & Linux, make the following changes:
1. Always specify the backup extension.
2. Explicitly specify the script part by using the `-e` flag.
3. To simplify the patterns, use `|` as a separator instead of `/`; then
slashes don't need to be escaped in the script parts.
2025-08-06 15:08:32 +02:00
Michał Gołębiowski-Owczarek
3f79644b72
Release: Temporarily disable running tests on release
...
Unit tests are currently flaky in Chrome, especially its headless version. We'll
address it separately; let's not block the release over it.
2025-08-06 14:42:33 +02:00
dependabot[bot]
70ee64fc95
Build: Bump form-data from 4.0.2 to 4.0.4
...
Bumps [form-data](https://github.com/form-data/form-data ) from 4.0.2 to 4.0.4.
- [Release notes](https://github.com/form-data/form-data/releases )
- [Changelog](https://github.com/form-data/form-data/blob/master/CHANGELOG.md )
- [Commits](https://github.com/form-data/form-data/compare/v4.0.2...v4.0.4 )
Closes gh-5677
---
updated-dependencies:
- dependency-name: form-data
dependency-version: 4.0.4
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-06 12:55:25 +02:00
Michał Gołębiowski-Owczarek
958369f088
Build: Test on Safari 18 & 17 instead of "latest-1"
...
JTR doesn't take into account the jump from Safari 18 to 26,
so we need to specify versions explicitly. Also, while BrowserStack
already added macOS Tahoe with Safari 26, it's not a stable release
yet, so we need to test on Safari 17 as well.
Closes gh-5687
Ref jquery/jquery-test-runner#17
2025-08-06 11:18:00 +02:00
dependabot[bot]
19621e9944
Build: Bump github/codeql-action in the github-actions group
...
Bumps the github-actions group with 1 update: [github/codeql-action](https://github.com/github/codeql-action ).
Closes gh-5673
Updates `github/codeql-action` from 3.28.18 to 3.29.2
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](ff0a06e83c...181d5eefc2 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-version: 3.29.2
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: github-actions
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-06 10:31:26 +02:00
Timmy Willison
a865212dea
Release: publish tmp/release/dist folder when releasing
...
Also update AUTHORS.txt in preparation for rc.1.
Fixes gh-5658
Closes gh-5681
2025-08-06 00:44:02 +02:00
Michał Gołębiowski-Owczarek
ec9a387ee0
Build: Update the jQuery license link in comment headers
...
Switch https://jquery.org/license to https://jquery.com/license/ , note the
trailing slash. Leave the trailing slash from the minified version to save size.
Closes gh-5685
Ref gh-5686
2025-08-06 00:21:57 +02:00
Michał Gołębiowski-Owczarek
dc5d1f7c61
Build: Try to unpack Firefox ESR via xz, fall back to bzip2
...
The `-j` switch passed to `tar` indicates the archive is compressed using the
bzip2 format (`bz2` extension). That was how Firefox used to be compressed until
recently, but the new ESR release now uses xz. Ubuntu `tar` doesn't auto-guess
the encryption algorithm, so to support both, first try with xz and fall back
to bzip2 if that fails.
Note: this will download the old Firefox ESR twice, but it will still work
when the current ESR version starts to use xz with no changes to the code.
Closes gh-5682
Ref gh-5684
2025-08-04 23:48:05 +02:00
dependabot[bot]
0ef6020295
Build: Bump github/codeql-action in the github-actions group
...
Browserstack / ${{ matrix.BROWSER }} (Chrome_latest) (push) Has been cancelled
Browserstack / ${{ matrix.BROWSER }} (Chrome_latest-1) (push) Has been cancelled
Browserstack / ${{ matrix.BROWSER }} (Edge_latest) (push) Has been cancelled
Browserstack / ${{ matrix.BROWSER }} (Edge_latest-1) (push) Has been cancelled
Browserstack / ${{ matrix.BROWSER }} (Firefox_latest) (push) Has been cancelled
Browserstack / ${{ matrix.BROWSER }} (Firefox_latest-1) (push) Has been cancelled
Browserstack / ${{ matrix.BROWSER }} (IE_11) (push) Has been cancelled
Browserstack / ${{ matrix.BROWSER }} (Opera_latest) (push) Has been cancelled
Browserstack / ${{ matrix.BROWSER }} (Safari_latest) (push) Has been cancelled
Browserstack / ${{ matrix.BROWSER }} (Safari_latest-1) (push) Has been cancelled
Browserstack / ${{ matrix.BROWSER }} (__iOS_16) (push) Has been cancelled
Browserstack / ${{ matrix.BROWSER }} (__iOS_17) (push) Has been cancelled
Browserstack / ${{ matrix.BROWSER }} (__iOS_18) (push) Has been cancelled
Code scanning - action / CodeQL-Build (push) Has been cancelled
Filestash / Update Filestash (push) Has been cancelled
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Chrome, 22.x, test:esm) (push) Has been cancelled
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Chrome, 22.x, test:no-deprecated) (push) Has been cancelled
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Chrome, 22.x, test:selector-native) (push) Has been cancelled
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Chrome, 22.x, test:slim) (push) Has been cancelled
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Chrome/Firefox, 22.x, test:browser) (push) Has been cancelled
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Firefox ESR (new), 22.x, test:firefox) (push) Has been cancelled
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Firefox ESR (old), 22.x, test:firefox) (push) Has been cancelled
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Node, 18.x, test:browserless) (push) Has been cancelled
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Node, 20.x, test:browserless) (push) Has been cancelled
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Node, 22.x, lint) (push) Has been cancelled
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Node, 22.x, test:browserless) (push) Has been cancelled
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Node, 23.x, test:browserless) (push) Has been cancelled
Node / test:ie - IE (push) Has been cancelled
Node / test:safari - Safari (push) Has been cancelled
Bumps the github-actions group with 1 update: [github/codeql-action](https://github.com/github/codeql-action ).
Closes gh-5665
Updates `github/codeql-action` from 3.28.16 to 3.28.18
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](28deaeda66...ff0a06e83c )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-version: 3.28.18
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: github-actions
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-02 22:21:29 +02:00
dependabot[bot]
b668be0fdc
Build: Bump undici and release-it
...
Bumps [undici](https://github.com/nodejs/undici ) to 6.21.2 and updates ancestor dependency [release-it](https://github.com/release-it/release-it ). These dependencies need to be updated together.
Closes gh-5661
Updates `undici` from 6.21.1 to 6.21.2
- [Release notes](https://github.com/nodejs/undici/releases )
- [Commits](https://github.com/nodejs/undici/compare/v6.21.1...v6.21.2 )
Updates `release-it` from 18.1.2 to 19.0.2
- [Release notes](https://github.com/release-it/release-it/releases )
- [Changelog](https://github.com/release-it/release-it/blob/main/CHANGELOG.md )
- [Commits](https://github.com/release-it/release-it/compare/18.1.2...19.0.2 )
---
updated-dependencies:
- dependency-name: undici
dependency-version: 6.21.2
dependency-type: indirect
- dependency-name: release-it
dependency-version: 19.0.2
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-15 18:03:46 +02:00
Michał Gołębiowski-Owczarek
05325801b9
Tests: Fix tests for jQuery.get( String, null-ish, null-ish, String )
...
The original test's `text` variant just repeated the previous test with 3
parameters; the goal was to use 4 ones. This fixes it.
Closes gh-5646
Ref gh-5640
Ref gh-5645
2025-05-12 17:50:52 +02:00
dependabot[bot]
bd6b453b7e
Build: Bump the github-actions group with 2 updates
...
Bumps the github-actions group with 2 updates: [actions/setup-node](https://github.com/actions/setup-node ) and [github/codeql-action](https://github.com/github/codeql-action ).
Closes gh-5657
Updates `actions/setup-node` from 4.3.0 to 4.4.0
- [Release notes](https://github.com/actions/setup-node/releases )
- [Commits](cdca7365b2...49933ea528 )
Updates `github/codeql-action` from 3.28.13 to 3.28.16
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](1b549b9259...28deaeda66 )
---
updated-dependencies:
- dependency-name: actions/setup-node
dependency-version: 4.4.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: github-actions
- dependency-name: github/codeql-action
dependency-version: 3.28.16
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: github-actions
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-04 13:08:56 +02:00
dependabot[bot]
de2ecfc092
Build: Bump the github-actions group with 3 updates
...
Bumps the github-actions group with 3 updates: [actions/setup-node](https://github.com/actions/setup-node ), [actions/cache](https://github.com/actions/cache ) and [github/codeql-action](https://github.com/github/codeql-action ).
Closes gh-5647
Updates `actions/setup-node` from 4.2.0 to 4.3.0
- [Release notes](https://github.com/actions/setup-node/releases )
- [Commits](1d0ff469b7...cdca7365b2 )
Updates `actions/cache` from 4.2.2 to 4.2.3
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](d4323d4df1...5a3ec84eff )
Updates `github/codeql-action` from 3.28.10 to 3.28.13
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](b56ba49b26...1b549b9259 )
---
updated-dependencies:
- dependency-name: actions/setup-node
dependency-version: 4.3.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: github-actions
- dependency-name: actions/cache
dependency-version: 4.2.3
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: github-actions
- dependency-name: github/codeql-action
dependency-version: 3.28.13
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: github-actions
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-01 11:13:27 +02:00
Michał Gołębiowski-Owczarek
76687566f0
Tests: Add tests for jQuery.get( String, null-ish, null-ish, String )
...
Also, fix `mock.php` formatting to not fail the
`jQuery.get( String, null, String )` test in PHP mode.
Closes gh-5640
Ref gh-4989
Ref jquery/api.jquery.com#1208
2025-03-31 18:09:35 +02:00
Michał Gołębiowski-Owczarek
50ca957192
Build: ESLint: Remove the outerIIFEBody exception to indent
...
It used to be necessary when we still had the `selector` outer IIFE, but that
got simplified.
Closes gh-5641
2025-03-31 18:04:51 +02:00
dependabot[bot]
447432f4a3
Build: Bump the github-actions group with 2 updates
...
Bumps the github-actions group with 2 updates: [actions/cache](https://github.com/actions/cache ) and [github/codeql-action](https://github.com/github/codeql-action ).
Closes gh-5636
Updates `actions/cache` from 4.2.0 to 4.2.2
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](1bd1e32a3b...d4323d4df1 )
Updates `github/codeql-action` from 3.28.8 to 3.28.10
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](dd746615b3...b56ba49b26 )
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: github-actions
- dependency-name: github/codeql-action
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: github-actions
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-02 13:25:28 +01:00
Michał Gołębiowski-Owczarek
3a31866b80
Tests: Backport the hidden="until-found" attr tests from 3.x-stable
...
The `hidden` attribute used to be a boolean one but it gained a new
`until-found` eventually. This led us to change the way we handle boolean
attributes in jQuery 4.0 in gh-5452 to avoid these issues in the future.
We haven't added an explicit test for the `"until-found"` value of the
`hidden` attribute which triggered this decision so far, though.
Backport the test from gh-5607 which landed on `3.x-stable` so that we
do test it.
Closes gh-5619
Ref gh-5452
Ref gh-5607
(cherry picked from commit 85290c5972 )
2025-02-24 23:56:11 +01:00
Michał Gołębiowski-Owczarek
eca2a56457
CSS: Fix dimensions of table <col> elements
...
Changes:
1. Fix measurements of `<col span="2">` elements in Firefox.
2. Fix measurements of all implicitly sized `<col>` elements in Safari.
Firefox always reports computed width as if `span` was 1. In Safari, computed
width for columns is always 0. Work around both issues by using `offsetWidth`.
In IE/Edge, `<col>` computed width is `"auto"` unless `width` is set explicitly
via CSS so measurements there remain incorrect. Because of the lack of a proper
workaround, we accept this limitation.
Fixes gh-5628
Closes gh-5630
Ref gh-5634
2025-02-24 18:43:56 +01:00
Michał Gołębiowski-Owczarek
e2fe97b7f1
Core: Remove obsolete workarounds, update support comments
...
Closes gh-5625
2025-02-24 18:27:30 +01:00
Michał Gołębiowski-Owczarek
7c123dec4b
Event: Use .preventDefault() in beforeunload
...
Browserstack / ${{ matrix.BROWSER }} (Chrome_latest) (push) Has been cancelled
Browserstack / ${{ matrix.BROWSER }} (Chrome_latest-1) (push) Has been cancelled
Browserstack / ${{ matrix.BROWSER }} (Edge_latest) (push) Has been cancelled
Browserstack / ${{ matrix.BROWSER }} (Edge_latest-1) (push) Has been cancelled
Browserstack / ${{ matrix.BROWSER }} (Firefox_latest) (push) Has been cancelled
Browserstack / ${{ matrix.BROWSER }} (Firefox_latest-1) (push) Has been cancelled
Browserstack / ${{ matrix.BROWSER }} (IE_11) (push) Has been cancelled
Browserstack / ${{ matrix.BROWSER }} (Opera_latest) (push) Has been cancelled
Browserstack / ${{ matrix.BROWSER }} (Safari_latest) (push) Has been cancelled
Browserstack / ${{ matrix.BROWSER }} (Safari_latest-1) (push) Has been cancelled
Browserstack / ${{ matrix.BROWSER }} (__iOS_16) (push) Has been cancelled
Browserstack / ${{ matrix.BROWSER }} (__iOS_17) (push) Has been cancelled
Browserstack / ${{ matrix.BROWSER }} (__iOS_18) (push) Has been cancelled
Code scanning - action / CodeQL-Build (push) Has been cancelled
Filestash / Update Filestash (push) Has been cancelled
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Chrome, 22.x, test:esm) (push) Has been cancelled
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Chrome, 22.x, test:no-deprecated) (push) Has been cancelled
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Chrome, 22.x, test:selector-native) (push) Has been cancelled
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Chrome, 22.x, test:slim) (push) Has been cancelled
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Chrome/Firefox, 22.x, test:browser) (push) Has been cancelled
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Firefox ESR (new), 22.x, test:firefox) (push) Has been cancelled
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Firefox ESR (old), 22.x, test:firefox) (push) Has been cancelled
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Node, 18.x, test:browserless) (push) Has been cancelled
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Node, 20.x, test:browserless) (push) Has been cancelled
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Node, 22.x, lint) (push) Has been cancelled
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Node, 22.x, test:browserless) (push) Has been cancelled
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Node, 23.x, test:browserless) (push) Has been cancelled
Node / test:ie - IE (push) Has been cancelled
Node / test:safari - Safari (push) Has been cancelled
So far, a result of an event handler has been assigned to the `returnValue`
of the original event by jQuery. Initially, one could pass a message the browser
will then display to the user. Since that got abused a lot, every browser
stopped using the provided string and they all now provide a generic message.
From the browsers supported in v4, only IE 11 would still display the message.
Incidentally, IE 11 is the only browser from our supported ones which respects
the value returned from a beforeunload handler attached by `addEventListener`;
other browsers do so only for inline handlers, so not setting the value directly
shouldn't reduce any functionality.
This looks like a good moment to stop passing the message through and just call
`event.preventDefault()` without extra checks which is shorter. This used to
not work in Chrome but it got implemented in Chrome 119.
Unfortunately, it's hard to test this event in unit tests since it blocks page
dismissal.
Closes gh-5626
2025-02-18 20:54:09 +01:00
Timmy Willison
047f8683cb
Build: upgrade dependencies, including jtr@0.2.5
...
Browserstack / ${{ matrix.BROWSER }} (Chrome_latest) (push) Waiting to run
Browserstack / ${{ matrix.BROWSER }} (Chrome_latest-1) (push) Waiting to run
Browserstack / ${{ matrix.BROWSER }} (Edge_latest) (push) Waiting to run
Browserstack / ${{ matrix.BROWSER }} (Edge_latest-1) (push) Waiting to run
Browserstack / ${{ matrix.BROWSER }} (Firefox_latest) (push) Waiting to run
Browserstack / ${{ matrix.BROWSER }} (Firefox_latest-1) (push) Waiting to run
Browserstack / ${{ matrix.BROWSER }} (IE_11) (push) Waiting to run
Browserstack / ${{ matrix.BROWSER }} (Opera_latest) (push) Waiting to run
Browserstack / ${{ matrix.BROWSER }} (Safari_latest) (push) Waiting to run
Browserstack / ${{ matrix.BROWSER }} (Safari_latest-1) (push) Waiting to run
Browserstack / ${{ matrix.BROWSER }} (__iOS_16) (push) Waiting to run
Browserstack / ${{ matrix.BROWSER }} (__iOS_17) (push) Waiting to run
Browserstack / ${{ matrix.BROWSER }} (__iOS_18) (push) Waiting to run
Code scanning - action / CodeQL-Build (push) Waiting to run
Filestash / Update Filestash (push) Waiting to run
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Chrome, 22.x, test:esm) (push) Waiting to run
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Chrome, 22.x, test:no-deprecated) (push) Waiting to run
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Chrome, 22.x, test:selector-native) (push) Waiting to run
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Chrome, 22.x, test:slim) (push) Waiting to run
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Chrome/Firefox, 22.x, test:browser) (push) Waiting to run
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Firefox ESR (new), 22.x, test:firefox) (push) Waiting to run
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Firefox ESR (old), 22.x, test:firefox) (push) Waiting to run
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Node, 18.x, test:browserless) (push) Waiting to run
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Node, 20.x, test:browserless) (push) Waiting to run
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Node, 22.x, lint) (push) Waiting to run
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Node, 22.x, test:browserless) (push) Waiting to run
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Node, 23.x, test:browserless) (push) Waiting to run
Node / test:ie - IE (push) Waiting to run
Node / test:safari - Safari (push) Waiting to run
Closes gh-5631
2025-02-18 13:02:11 -05:00