Comparing version 3.7.0 to 3.7.1
@@ -369,1 +369,4 @@ John Resig <jeresig@gmail.com> | ||
Alex <aleksandrosansan@gmail.com> | ||
Timo Tijhof <krinkle@fastmail.com> | ||
Gabriela Gutierrez <gabigutierrez@google.com> | ||
Dimitri Papadopoulos Orfanos <3234522+DimitriPapadopoulos@users.noreply.github.com> |
@@ -0,0 +0,0 @@ Copyright OpenJS Foundation and other contributors, https://openjsf.org/ |
@@ -5,3 +5,3 @@ { | ||
"description": "JavaScript library for DOM operations", | ||
"version": "3.7.0", | ||
"version": "3.7.1", | ||
"main": "dist/jquery.js", | ||
@@ -11,3 +11,3 @@ "homepage": "https://jquery.com", | ||
"name": "OpenJS Foundation and other contributors", | ||
"url": "https://github.com/jquery/jquery/blob/3.7.0/AUTHORS.txt" | ||
"url": "https://github.com/jquery/jquery/blob/3.7.1/AUTHORS.txt" | ||
}, | ||
@@ -31,2 +31,3 @@ "repository": { | ||
"@babel/plugin-transform-for-of": "7.2.0", | ||
"bootstrap": "5.3.0", | ||
"colors": "1.4.0", | ||
@@ -73,5 +74,6 @@ "commitplease": "3.2.0", | ||
"scripts": { | ||
"build": "npm install && grunt", | ||
"build": "npm install && npm run build-all-variants", | ||
"build-all-variants": "grunt custom:slim --filename=jquery.slim.js && grunt custom", | ||
"start": "grunt watch", | ||
"test:browserless": "grunt && grunt test:slow", | ||
"test:browserless": "grunt && npm run test:node_smoke_tests && grunt test:slow", | ||
"test:browser": "grunt && grunt karma:main", | ||
@@ -82,3 +84,6 @@ "test:amd": "grunt && grunt karma:amd", | ||
"test:slim": "grunt test:prepare && grunt custom:slim && grunt karma:main", | ||
"test": "npm run test:slim && npm run test:no-deprecated && npm run test:selector-native && grunt && grunt test:slow && grunt karma:main && grunt karma:amd", | ||
"test:node_smoke_tests:full": "grunt node_smoke_tests:./dist/jquery.js", | ||
"test:node_smoke_tests:slim": "grunt node_smoke_tests:./dist/jquery.slim.js", | ||
"test:node_smoke_tests": "npm run test:node_smoke_tests:full && npm run test:node_smoke_tests:slim", | ||
"test": "npm run test:browserless && npm run test:slim && npm run test:no-deprecated && npm run test:selector-native && grunt && grunt test:slow && grunt karma:main && grunt karma:amd", | ||
"jenkins": "npm run test:browserless" | ||
@@ -85,0 +90,0 @@ }, |
@@ -8,3 +8,3 @@ # jQuery | ||
If upgrading, please see the [blog post for 3.7.0](https://blog.jquery.com/2023/05/11/jquery-3-7-0-released-staying-in-order/). This includes notable differences from the previous version and a more readable changelog. | ||
If upgrading, please see the [blog post for 3.7.1](https://blog.jquery.com/2023/08/28/jquery-3-7-1-released-reliable-table-row-dimensions/). This includes notable differences from the previous version and a more readable changelog. | ||
@@ -20,3 +20,3 @@ ## Including jQuery | ||
```html | ||
<script src="https://code.jquery.com/jquery-3.7.0.min.js"></script> | ||
<script src="https://code.jquery.com/jquery-3.7.1.min.js"></script> | ||
``` | ||
@@ -23,0 +23,0 @@ |
@@ -28,3 +28,3 @@ /* global Symbol */ | ||
var version = "3.7.0", | ||
var version = "3.7.1", | ||
@@ -293,5 +293,10 @@ rhtmlSuffix = /HTML$/i, | ||
} | ||
} else if ( nodeType === 1 || nodeType === 9 || nodeType === 11 ) { | ||
} | ||
if ( nodeType === 1 || nodeType === 11 ) { | ||
return elem.textContent; | ||
} else if ( nodeType === 3 || nodeType === 4 ) { | ||
} | ||
if ( nodeType === 9 ) { | ||
return elem.documentElement.textContent; | ||
} | ||
if ( nodeType === 3 || nodeType === 4 ) { | ||
return elem.nodeValue; | ||
@@ -298,0 +303,0 @@ } |
@@ -117,3 +117,3 @@ define( [ | ||
table.style.cssText = "position:absolute;left:-11111px;border-collapse:separate"; | ||
tr.style.cssText = "border:1px solid"; | ||
tr.style.cssText = "box-sizing:content-box;border:1px solid"; | ||
@@ -130,3 +130,3 @@ // Support: Chrome 86+ | ||
// which causes a problem only in Android 8 Chrome 86. | ||
// Ensuring the div is display: block | ||
// Ensuring the div is `display: block` | ||
// gets around this issue. | ||
@@ -133,0 +133,0 @@ trChild.style.display = "block"; |
@@ -31,3 +31,5 @@ define( [ | ||
hover: function( fnOver, fnOut ) { | ||
return this.mouseenter( fnOver ).mouseleave( fnOut || fnOver ); | ||
return this | ||
.on( "mouseenter", fnOver ) | ||
.on( "mouseleave", fnOut || fnOver ); | ||
} | ||
@@ -34,0 +36,0 @@ } ); |
@@ -180,3 +180,3 @@ define( [ | ||
// Reenable scripts | ||
// Re-enable scripts | ||
jQuery.map( scripts, restoreScript ); | ||
@@ -183,0 +183,0 @@ |
@@ -526,8 +526,13 @@ define( [ | ||
// Support: IE 9 - 11+, Edge 12 - 18+ | ||
// Accessing iframe documents after unload throws "permission denied" errors (see trac-13936) | ||
// Support: IE 11+, Edge 17 - 18+ | ||
// IE/Edge sometimes throw a "Permission denied" error when strict-comparing | ||
// two documents; shallow comparisons work. | ||
// eslint-disable-next-line eqeqeq | ||
if ( preferredDoc != document && | ||
// Accessing iframe documents after unload throws "permission denied" errors | ||
// (see trac-13936). | ||
// Limit the fix to IE & Edge Legacy; despite Edge 15+ implementing `matches`, | ||
// all IE 9+ and Edge Legacy versions implement `msMatchesSelector` as well. | ||
if ( documentElement.msMatchesSelector && | ||
// Support: IE 11+, Edge 17 - 18+ | ||
// IE/Edge sometimes throw a "Permission denied" error when strict-comparing | ||
// two documents; shallow comparisons work. | ||
// eslint-disable-next-line eqeqeq | ||
preferredDoc != document && | ||
( subWindow = document.defaultView ) && subWindow.top !== subWindow ) { | ||
@@ -2095,8 +2100,8 @@ | ||
// These have always been private, but they used to be documented | ||
// as part of Sizzle so let's maintain them in the 3.x line | ||
// for backwards compatibility purposes. | ||
// These have always been private, but they used to be documented as part of | ||
// Sizzle so let's maintain them for now for backwards compatibility purposes. | ||
find.compile = compile; | ||
find.select = select; | ||
find.setDocument = setDocument; | ||
find.tokenize = tokenize; | ||
@@ -2103,0 +2108,0 @@ find.escape = jQuery.escapeSelector; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1246374
25955
42