Build: Test on jQuery 4.0.0-rc.1

When a stable 4.0.0 gets released, we'll remove the RC in favor of it.

Closes gh-2363
This commit is contained in:
Michał Gołębiowski-Owczarek
2025-08-12 21:54:16 +02:00
committed by GitHub
parent 2037c3ad1c
commit 73d063677a
10 changed files with 10848 additions and 2 deletions

View File

@@ -316,13 +316,20 @@ grunt.initConfig( {
"jquery-3.7.1/jquery.js": "jquery-3.7.1/dist/jquery.js",
"jquery-3.7.1/LICENSE.txt": "jquery-3.7.1/LICENSE.txt",
"jquery-4.0.0-rc.1/jquery.js": "jquery-4.0.0-rc.1/dist/jquery.js",
"jquery-4.0.0-rc.1/LICENSE.txt": "jquery-4.0.0-rc.1/LICENSE.txt",
"jquery-migrate-1.x/jquery-migrate.js":
"jquery-migrate-1.x/dist/jquery-migrate.js",
"jquery-migrate-1.x/LICENSE.txt": "jquery-migrate-1.x/LICENSE.txt",
"jquery-migrate-3.x/jquery-migrate.js":
"jquery-migrate-3.x/dist/jquery-migrate.js",
"jquery-migrate-3.x/LICENSE.txt": "jquery-migrate-3.x/LICENSE.txt"
"jquery-migrate-3.x/LICENSE.txt": "jquery-migrate-3.x/LICENSE.txt",
"jquery-migrate-4.x/jquery-migrate.js":
"jquery-migrate-4.x/dist/jquery-migrate.js",
"jquery-migrate-4.x/LICENSE.txt": "jquery-migrate-4.x/LICENSE.txt"
}
}
},

View File

@@ -38,7 +38,9 @@
"jquery-3.6.4": "jquery#3.6.4",
"jquery-3.7.0": "jquery#3.7.0",
"jquery-3.7.1": "jquery#3.7.1",
"jquery-4.0.0-rc.1": "jquery#4.0.0-rc.1",
"jquery-migrate-1.x": "https://registry.npmjs.org/jquery-migrate/-/jquery-migrate-1.4.1.tgz",
"jquery-migrate-3.x": "https://registry.npmjs.org/jquery-migrate/-/jquery-migrate-3.5.2.tgz"
"jquery-migrate-3.x": "https://registry.npmjs.org/jquery-migrate/-/jquery-migrate-3.5.2.tgz",
"jquery-migrate-4.x": "https://registry.npmjs.org/jquery-migrate/-/jquery-migrate-4.0.0-beta.1.tgz"
}
}

20
external/jquery-4.0.0-rc.1/LICENSE.txt vendored Normal file
View File

@@ -0,0 +1,20 @@
Copyright OpenJS Foundation and other contributors, https://openjsf.org/
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

9714
external/jquery-4.0.0-rc.1/jquery.js vendored Normal file

File diff suppressed because it is too large Load Diff

36
external/jquery-migrate-4.x/LICENSE.txt vendored Normal file
View File

@@ -0,0 +1,36 @@
Copyright OpenJS Foundation and other contributors, https://openjsf.org/
This software consists of voluntary contributions made by many
individuals. For exact contribution history, see the revision history
available at https://github.com/jquery/jquery-migrate
The following license applies to all parts of this software except as
documented below:
====
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
====
All files located in the node_modules and external directories are
externally maintained libraries used by this software which have their
own licenses; we recommend you read them, as their terms may differ from
the terms above.

File diff suppressed because it is too large Load Diff

View File

@@ -31,6 +31,7 @@ test-urls:
runs:
jquery:
- 4.0.0-rc.1
- 3.7.1
- 3.6.4
- 2.2.4

View File

@@ -111,6 +111,8 @@ function migrateUrl() {
if ( jqueryVersion === "git" ) {
url = "https://releases.jquery.com/git/jquery-migrate-git";
} else if ( jqueryVersion[ 0 ] === "4" ) {
url = "../../../external/jquery-migrate-4.x/jquery-migrate";
} else if ( jqueryVersion[ 0 ] === "3" ) {
url = "../../../external/jquery-migrate-3.x/jquery-migrate";
} else if ( jqueryVersion[ 0 ] === "1" || jqueryVersion[ 0 ] === "2" ) {

View File

@@ -26,6 +26,7 @@ QUnit.config.urlConfig.push( {
"3.5.0", "3.5.1",
"3.6.0", "3.6.1", "3.6.2", "3.6.3", "3.6.4",
"3.7.0", "3.7.1",
"4.0.0-rc.1",
"3.x-git", "git", "custom"
],
tooltip: "Which jQuery Core version to test against"

View File

@@ -12,6 +12,7 @@ var versions = [
"3.5.0", "3.5.1",
"3.6.0", "3.6.1", "3.6.2", "3.6.3", "3.6.4",
"3.7.0", "3.7.1",
"4.0.0-rc.1",
"3.x-git", "git", "custom"
],
additionalTests = {