11/*!
2- * jQuery JavaScript Library v2.2.4
2+ * jQuery JavaScript Library v2.2.5-sec
33 * http://jquery.com/
44 *
55 * Includes Sizzle.js
99 * Released under the MIT license
1010 * http://jquery.org/license
1111 *
12- * Date: 2016-05-20T17:23Z
12+ * Date: 2024-02-21T04:25Z
1313 */
1414
1515( function ( global , factory ) {
@@ -65,7 +65,7 @@ var support = {};
6565
6666
6767var
68- version = "2.2.4 " ,
68+ version = "2.2.5-sec " ,
6969
7070 // Define a local copy of jQuery
7171 jQuery = function ( selector , context ) {
@@ -209,8 +209,9 @@ jQuery.extend = jQuery.fn.extend = function() {
209209 src = target [ name ] ;
210210 copy = options [ name ] ;
211211
212+ // Prevent Object.prototype pollution
212213 // Prevent never-ending loop
213- if ( target === copy ) {
214+ if ( name === "__proto__" || target === copy ) {
214215 continue ;
215216 }
216217
@@ -4249,12 +4250,41 @@ var rscriptType = ( /^$|\/(?:java|ecma)script/i );
42494250
42504251
42514252
4253+ ( function ( ) {
4254+ var fragment = document . createDocumentFragment ( ) ,
4255+ div = fragment . appendChild ( document . createElement ( "div" ) ) ,
4256+ input = document . createElement ( "input" ) ;
4257+
4258+ // Support: Android 4.0-4.3, Safari<=5.1
4259+ // Check state lost if the name is set (#11217)
4260+ // Support: Windows Web Apps (WWA)
4261+ // `name` and `type` must use .setAttribute for WWA (#14901)
4262+ input . setAttribute ( "type" , "radio" ) ;
4263+ input . setAttribute ( "checked" , "checked" ) ;
4264+ input . setAttribute ( "name" , "t" ) ;
4265+
4266+ div . appendChild ( input ) ;
4267+
4268+ // Support: Safari<=5.1, Android<4.2
4269+ // Older WebKit doesn't clone checked state correctly in fragments
4270+ support . checkClone = div . cloneNode ( true ) . cloneNode ( true ) . lastChild . checked ;
4271+
4272+ // Support: IE<=11+
4273+ // Make sure textarea (and checkbox) defaultValue is properly cloned
4274+ div . innerHTML = "<textarea>x</textarea>" ;
4275+ support . noCloneChecked = ! ! div . cloneNode ( true ) . lastChild . defaultValue ;
4276+
4277+ // Support: IE <=9 only
4278+ // IE <=9 replaces <option> tags with their contents when inserted outside of
4279+ // the select element.
4280+ div . innerHTML = "<option></option>" ;
4281+ support . option = ! ! div . lastChild ;
4282+ } ) ( ) ;
4283+
4284+
42524285// We have to close these tags to support XHTML (#13200)
42534286var wrapMap = {
42544287
4255- // Support: IE9
4256- option : [ 1 , "<select multiple='multiple'>" , "</select>" ] ,
4257-
42584288 // XHTML parsers do not magically insert elements in the
42594289 // same way that tag soup parsers do. So we cannot shorten
42604290 // this by omitting <tbody> or other required elements.
@@ -4266,12 +4296,14 @@ var wrapMap = {
42664296 _default : [ 0 , "" , "" ]
42674297} ;
42684298
4269- // Support: IE9
4270- wrapMap . optgroup = wrapMap . option ;
4271-
42724299wrapMap . tbody = wrapMap . tfoot = wrapMap . colgroup = wrapMap . caption = wrapMap . thead ;
42734300wrapMap . th = wrapMap . td ;
42744301
4302+ // Support: IE <=9 only
4303+ if ( ! support . option ) {
4304+ wrapMap . optgroup = wrapMap . option = [ 1 , "<select multiple='multiple'>" , "</select>" ] ;
4305+ }
4306+
42754307
42764308function getAll ( context , tag ) {
42774309
@@ -4396,32 +4428,6 @@ function buildFragment( elems, context, scripts, selection, ignored ) {
43964428}
43974429
43984430
4399- ( function ( ) {
4400- var fragment = document . createDocumentFragment ( ) ,
4401- div = fragment . appendChild ( document . createElement ( "div" ) ) ,
4402- input = document . createElement ( "input" ) ;
4403-
4404- // Support: Android 4.0-4.3, Safari<=5.1
4405- // Check state lost if the name is set (#11217)
4406- // Support: Windows Web Apps (WWA)
4407- // `name` and `type` must use .setAttribute for WWA (#14901)
4408- input . setAttribute ( "type" , "radio" ) ;
4409- input . setAttribute ( "checked" , "checked" ) ;
4410- input . setAttribute ( "name" , "t" ) ;
4411-
4412- div . appendChild ( input ) ;
4413-
4414- // Support: Safari<=5.1, Android<4.2
4415- // Older WebKit doesn't clone checked state correctly in fragments
4416- support . checkClone = div . cloneNode ( true ) . cloneNode ( true ) . lastChild . checked ;
4417-
4418- // Support: IE<=11+
4419- // Make sure textarea (and checkbox) defaultValue is properly cloned
4420- div . innerHTML = "<textarea>x</textarea>" ;
4421- support . noCloneChecked = ! ! div . cloneNode ( true ) . lastChild . defaultValue ;
4422- } ) ( ) ;
4423-
4424-
44254431var
44264432 rkeyEvent = / ^ k e y / ,
44274433 rmouseEvent = / ^ (?: m o u s e | p o i n t e r | c o n t e x t m e n u | d r a g | d r o p ) | c l i c k / ,
@@ -5121,13 +5127,10 @@ jQuery.fn.extend( {
51215127} ) ;
51225128
51235129
5124- var
5125- rxhtmlTag = / < (? ! a r e a | b r | c o l | e m b e d | h r | i m g | i n p u t | l i n k | m e t a | p a r a m ) ( ( [ \w : - ] + ) [ ^ > ] * ) \/ > / gi,
5126-
51275130 // Support: IE 10-11, Edge 10240+
51285131 // In IE/Edge using regex groups here causes severe slowdowns.
51295132 // See https://connect.microsoft.com/IE/feedback/details/1736512/
5130- rnoInnerhtml = / < s c r i p t | < s t y l e | < l i n k / i,
5133+ var rnoInnerhtml = / < s c r i p t | < s t y l e | < l i n k / i,
51315134
51325135 // checked="checked" or checked
51335136 rchecked = / c h e c k e d \s * (?: [ ^ = ] | = \s * .c h e c k e d .) / i,
@@ -5322,7 +5325,7 @@ function remove( elem, selector, keepData ) {
53225325
53235326jQuery . extend ( {
53245327 htmlPrefilter : function ( html ) {
5325- return html . replace ( rxhtmlTag , "<$1></$2>" ) ;
5328+ return html ;
53265329 } ,
53275330
53285331 clone : function ( elem , dataAndEvents , deepDataAndEvents ) {
@@ -9194,6 +9197,13 @@ jQuery.ajaxTransport( function( options ) {
91949197
91959198
91969199
9200+ // Prevent auto-execution of scripts when no explicit dataType was provided (See gh-2432)
9201+ jQuery . ajaxPrefilter ( function ( s ) {
9202+ if ( s . crossDomain ) {
9203+ s . contents . script = false ;
9204+ }
9205+ } ) ;
9206+
91979207// Install script dataType
91989208jQuery . ajaxSetup ( {
91999209 accepts : {
0 commit comments