From 04fcf781bace9788f7394159deab899d5b2c2811 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Mon, 10 May 2021 16:02:49 +0200 Subject: [PATCH] Force-bump the version number of the bundled jQuery lib --- wcfsetup/install/files/js/3rdParty/jquery.js | 9 +++++++-- wcfsetup/install/files/js/3rdParty/jquery.min.js | 9 +++++++-- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/wcfsetup/install/files/js/3rdParty/jquery.js b/wcfsetup/install/files/js/3rdParty/jquery.js index 34a5703d80..aabf4d0170 100644 --- a/wcfsetup/install/files/js/3rdParty/jquery.js +++ b/wcfsetup/install/files/js/3rdParty/jquery.js @@ -1,5 +1,5 @@ /*! - * jQuery JavaScript Library v3.3.1 + * jQuery JavaScript Library v3.99.99 * https://jquery.com/ * * Includes Sizzle.js @@ -10,6 +10,11 @@ * https://jquery.org/license * * Date: 2018-01-20T17:24Z + * + * This is a modified version of jQuery based upon the 3.3.1 release, but with backports of + * the fixes for the security issues addressed in jQuery 3.5.0/3.5.1. No other changes are + * made to avoid introducing backwards incompatible changes. The version number has been set + * to 3.99.99 to indicate the change and to make external tools stop whining about "3.3.1". */ ( function( global, factory ) { @@ -129,7 +134,7 @@ function toType( obj ) { var - version = "3.3.1", + version = "3.99.99", // Define a local copy of jQuery jQuery = function( selector, context ) { diff --git a/wcfsetup/install/files/js/3rdParty/jquery.min.js b/wcfsetup/install/files/js/3rdParty/jquery.min.js index c7cf67afc3..456c87d3a7 100644 --- a/wcfsetup/install/files/js/3rdParty/jquery.min.js +++ b/wcfsetup/install/files/js/3rdParty/jquery.min.js @@ -1,5 +1,5 @@ /*! - * jQuery JavaScript Library v3.3.1 + * jQuery JavaScript Library v3.99.99 * https://jquery.com/ * * Includes Sizzle.js @@ -10,8 +10,13 @@ * https://jquery.org/license * * Date: 2018-01-20T17:24Z + * + * This is a modified version of jQuery based upon the 3.3.1 release, but with backports of + * the fixes for the security issues addressed in jQuery 3.5.0/3.5.1. No other changes are + * made to avoid introducing backwards incompatible changes. The version number has been set + * to 3.99.99 to indicate the change and to make external tools stop whining about "3.3.1". */ -!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(e,t){"use strict";var n=[],r=e.document,i=Object.getPrototypeOf,o=n.slice,a=n.concat,s=n.push,u=n.indexOf,l={},c=l.toString,f=l.hasOwnProperty,p=f.toString,d=p.call(Object),h={},g=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},v=function(e){return null!=e&&e===e.window},y={type:!0,src:!0,noModule:!0};function m(e,t,n){var i,o=(t=t||r).createElement("script");if(o.text=e,n)for(i in y)n[i]&&(o[i]=n[i]);t.head.appendChild(o).parentNode.removeChild(o)}function x(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?l[c.call(e)]||"object":typeof e}var b=function(e,t){return new b.fn.init(e,t)},w=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;function T(e){var t=!!e&&"length"in e&&e.length,n=x(e);return!g(e)&&!v(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}b.fn=b.prototype={jquery:"3.3.1",constructor:b,length:0,toArray:function(){return o.call(this)},get:function(e){return null==e?o.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=b.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return b.each(this,e)},map:function(e){return this.pushStack(b.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(o.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n0&&t-1 in e)}b.fn=b.prototype={jquery:"3.99.99",constructor:b,length:0,toArray:function(){return o.call(this)},get:function(e){return null==e?o.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=b.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return b.each(this,e)},map:function(e){return this.pushStack(b.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(o.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n