Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jQuery 3.7.1 #14231

Merged
merged 1 commit into from
Sep 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -35,16 +35,16 @@ ResourceManifest BuildManifest()
manifest
.DefineScript("jQuery")
.SetUrl("~/OrchardCore.Resources/Scripts/jquery.min.js", "~/OrchardCore.Resources/Scripts/jquery.js")
.SetCdn("https://code.jquery.com/jquery-3.7.0.min.js", "https://code.jquery.com/jquery-3.7.0.js")
.SetCdnIntegrity("sha384-NXgwF8Kv9SSAr+jemKKcbvQsz+teULH/a5UNJvZc6kP47hZgl62M1vGnw6gHQhb1", "sha384-ogycHROOTGA//2Q8YUfjz1Sr7xMOJTUmY2ucsPVuXAg4CtpgQJQzGZsX768KqetU")
.SetVersion("3.7.0");
.SetCdn("https://code.jquery.com/jquery-3.7.1.min.js", "https://code.jquery.com/jquery-3.7.1.js")
.SetCdnIntegrity("sha384-1H217gwSVyLSIfaLxHbE7dRb3v4mYCKbpQvzx0cegeju1MVsGrX5xXxAvs/HgeFs", "sha384-wsqsSADZR1YRBEZ4/kKHNSmU+aX8ojbnKUMN4RyD3jDkxw5mHtoe2z/T/n4l56U/")
.SetVersion("3.7.1");

manifest
.DefineScript("jQuery.slim")
.SetUrl("~/OrchardCore.Resources/Scripts/jquery.slim.min.js", "~/OrchardCore.Resources/Scripts/jquery.slim.js")
.SetCdn("https://code.jquery.com/jquery-3.7.0.slim.min.js", "https://code.jquery.com/jquery-3.7.0.slim.js")
.SetCdnIntegrity("sha384-w5y/xIeYixWvfM+A1cEbmHPURnvyqmVg5eVENruEdDjcyRLUSNej7512JQGspFUr", "sha384-VL8kOjBfskeSJSSQ+WVg0FhbQBudbviBQz4N9owZTFBqbb30htL9q46oLaCYU4no")
.SetVersion("3.7.0");
.SetCdn("https://code.jquery.com/jquery-3.7.1.slim.min.js", "https://code.jquery.com/jquery-3.7.1.slim.js")
.SetCdnIntegrity("sha384-5AkRS45j4ukf+JbWAfHL8P4onPA9p0KwwP7pUdjSQA3ss9edbJUJc/XcYAiheSSz", "sha384-5yyt26go0PtGiMk9qStZt+lySzAg8ZSY0i7q6l05kHEEChYiHvf0NsjlexoEdASI")
.SetVersion("3.7.1");

manifest
.DefineScript("jQuery")
Expand Down
14 changes: 7 additions & 7 deletions src/OrchardCore.Modules/OrchardCore.Resources/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/OrchardCore.Modules/OrchardCore.Resources/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"bootstrap-select": "1.14.0-beta2",
"nouislider": "15.7.0",
"codemirror": "5.65.7",
"jquery": "3.7.0",
"jquery": "3.7.1",
"jquery-resizable-dom": "0.35.0",
"jquery.easing": "1.4.1",
"js-cookie": "3.0.1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@

function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
/*!
* jQuery JavaScript Library v3.7.0
* jQuery JavaScript Library v3.7.1
* https://jquery.com/
*
* Copyright OpenJS Foundation and other contributors
* Released under the MIT license
* https://jquery.org/license
*
* Date: 2023-05-11T18:29Z
* Date: 2023-08-28T13:37Z
*/
(function (global, factory) {
"use strict";
Expand Down Expand Up @@ -117,7 +117,7 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
// Defining this global in .eslintrc.json would create a danger of using the global
// unguarded in another place, it seems safer to define global only for this module

var version = "3.7.0",
var version = "3.7.1",
rhtmlSuffix = /HTML$/i,
// Define a local copy of jQuery
jQuery = function jQuery(selector, context) {
Expand Down Expand Up @@ -344,9 +344,14 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
// Do not traverse comment nodes
ret += jQuery.text(node);
}
} 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;
}

Expand Down Expand Up @@ -926,12 +931,16 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
matches = documentElement.matches || documentElement.webkitMatchesSelector || documentElement.msMatchesSelector;

// Support: IE 9 - 11+, Edge 12 - 18+
// Accessing iframe documents after unload throws "permission denied" errors (see trac-13936)
// 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
if (preferredDoc != document && (subWindow = document.defaultView) && subWindow.top !== subWindow) {
preferredDoc != document && (subWindow = document.defaultView) && subWindow.top !== subWindow) {
// Support: IE 9 - 11+, Edge 12 - 18+
subWindow.addEventListener("unload", unloadHandler);
}
Expand Down Expand Up @@ -2258,12 +2267,12 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
jQuery.expr[":"] = jQuery.expr.pseudos;
jQuery.unique = jQuery.uniqueSort;

// 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;
find.escape = jQuery.escapeSelector;
find.getText = jQuery.text;
find.isXML = jQuery.isXMLDoc;
Expand Down Expand Up @@ -4957,7 +4966,7 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
if (hasScripts) {
doc = scripts[scripts.length - 1].ownerDocument;

// Reenable scripts
// Re-enable scripts
jQuery.map(scripts, restoreScript);

// Evaluate executable scripts on first document insertion
Expand Down Expand Up @@ -5350,7 +5359,7 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
tr = document.createElement("tr");
trChild = document.createElement("div");
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";

// Support: Chrome 86+
// Height set through cssText does not get applied.
Expand All @@ -5362,7 +5371,7 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
// In our bodyBackground.html iframe,
// display for all div elements is set to "inline",
// 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.
trChild.style.display = "block";
documentElement.appendChild(table).appendChild(tr).appendChild(trChild);
Expand Down Expand Up @@ -8880,7 +8889,7 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
return arguments.length === 1 ? this.off(selector, "**") : this.off(types, selector || "**", fn);
},
hover: function hover(fnOver, fnOut) {
return this.mouseenter(fnOver).mouseleave(fnOut || fnOver);
return this.on("mouseenter", fnOver).on("mouseleave", fnOut || fnOver);
}
});
jQuery.each(("blur focus focusin focusout resize scroll click dblclick " + "mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave " + "change select submit keydown keypress keyup contextmenu").split(" "), function (_i, name) {
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@

function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
/*!
* jQuery JavaScript Library v3.7.0 -ajax,-ajax/jsonp,-ajax/load,-ajax/script,-ajax/var/location,-ajax/var/nonce,-ajax/var/rquery,-ajax/xhr,-manipulation/_evalUrl,-deprecated/ajax-event-alias,-effects,-effects/animatedSelector,-effects/Tween
* jQuery JavaScript Library v3.7.1 -ajax,-ajax/jsonp,-ajax/load,-ajax/script,-ajax/var/location,-ajax/var/nonce,-ajax/var/rquery,-ajax/xhr,-manipulation/_evalUrl,-deprecated/ajax-event-alias,-effects,-effects/animatedSelector,-effects/Tween
* https://jquery.com/
*
* Copyright OpenJS Foundation and other contributors
* Released under the MIT license
* https://jquery.org/license
*
* Date: 2023-05-11T18:29Z
* Date: 2023-08-28T13:37Z
*/
(function (global, factory) {
"use strict";
Expand Down Expand Up @@ -117,7 +117,7 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
// Defining this global in .eslintrc.json would create a danger of using the global
// unguarded in another place, it seems safer to define global only for this module

var version = "3.7.0 -ajax,-ajax/jsonp,-ajax/load,-ajax/script,-ajax/var/location,-ajax/var/nonce,-ajax/var/rquery,-ajax/xhr,-manipulation/_evalUrl,-deprecated/ajax-event-alias,-effects,-effects/animatedSelector,-effects/Tween",
var version = "3.7.1 -ajax,-ajax/jsonp,-ajax/load,-ajax/script,-ajax/var/location,-ajax/var/nonce,-ajax/var/rquery,-ajax/xhr,-manipulation/_evalUrl,-deprecated/ajax-event-alias,-effects,-effects/animatedSelector,-effects/Tween",
rhtmlSuffix = /HTML$/i,
// Define a local copy of jQuery
jQuery = function jQuery(selector, context) {
Expand Down Expand Up @@ -344,9 +344,14 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
// Do not traverse comment nodes
ret += jQuery.text(node);
}
} 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;
}

Expand Down Expand Up @@ -926,12 +931,16 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
matches = documentElement.matches || documentElement.webkitMatchesSelector || documentElement.msMatchesSelector;

// Support: IE 9 - 11+, Edge 12 - 18+
// Accessing iframe documents after unload throws "permission denied" errors (see trac-13936)
// 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
if (preferredDoc != document && (subWindow = document.defaultView) && subWindow.top !== subWindow) {
preferredDoc != document && (subWindow = document.defaultView) && subWindow.top !== subWindow) {
// Support: IE 9 - 11+, Edge 12 - 18+
subWindow.addEventListener("unload", unloadHandler);
}
Expand Down Expand Up @@ -2258,12 +2267,12 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
jQuery.expr[":"] = jQuery.expr.pseudos;
jQuery.unique = jQuery.uniqueSort;

// 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;
find.escape = jQuery.escapeSelector;
find.getText = jQuery.text;
find.isXML = jQuery.isXMLDoc;
Expand Down Expand Up @@ -4957,7 +4966,7 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
if (hasScripts) {
doc = scripts[scripts.length - 1].ownerDocument;

// Reenable scripts
// Re-enable scripts
jQuery.map(scripts, restoreScript);

// Evaluate executable scripts on first document insertion
Expand Down Expand Up @@ -5350,7 +5359,7 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
tr = document.createElement("tr");
trChild = document.createElement("div");
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";

// Support: Chrome 86+
// Height set through cssText does not get applied.
Expand All @@ -5362,7 +5371,7 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
// In our bodyBackground.html iframe,
// display for all div elements is set to "inline",
// 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.
trChild.style.display = "block";
documentElement.appendChild(table).appendChild(tr).appendChild(trChild);
Expand Down Expand Up @@ -7050,7 +7059,7 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
return arguments.length === 1 ? this.off(selector, "**") : this.off(types, selector || "**", fn);
},
hover: function hover(fnOver, fnOut) {
return this.mouseenter(fnOver).mouseleave(fnOut || fnOver);
return this.on("mouseenter", fnOver).on("mouseleave", fnOut || fnOver);
}
});
jQuery.each(("blur focus focusin focusout resize scroll click dblclick " + "mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave " + "change select submit keydown keypress keyup contextmenu").split(" "), function (_i, name) {
Expand Down

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions src/OrchardCore.Modules/OrchardCore.Setup/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/OrchardCore.Modules/OrchardCore.Setup/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"version": "1.0.0",
"dependencies": {
"bootstrap": "5.1.3",
"jquery": "3.7.0"
"jquery": "3.7.1"
}
}
Loading