jquery-rails 4.6.0 → 4.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ab13d042048cc568bf3c47322a53992a86c26e153beb4298008a61b1bf26b772
4
- data.tar.gz: 2e1b815b3f09adc49539628fe5331222f71dcbb7101a3a3e4591fca79241087b
3
+ metadata.gz: aec69fba390c8f18171f492bd99d8dc2a6cf6e3e8c124beae74ac6420e98e2dd
4
+ data.tar.gz: 18a8be95db572fe6c5c219c556862a2d04d6cd024ce06c28801d367bb5a8009f
5
5
  SHA512:
6
- metadata.gz: 51c887d6c520f1366d0982280c6516825b1cb9561a8a310661e984e1d6d47806edeff197d085e5edf704b9754e8d57c9f8fb449446032f9e6e429e9c40986aa4
7
- data.tar.gz: 9bf9832f9a1ba125d7a36aef545c84b692284a586c7aa50c64ea4dc75f25dce69d762749fcb7bbba1612cf9c1a5483d317ab4a36d9a59717007089ee1c7dac18
6
+ metadata.gz: c83564699021f023a06e88221a3a9feb06070ba40709493dbd358af558f29a8ef96a79d063080ad8cef864d680731f3aecb4d01a74a5c384e731124c10145a8a
7
+ data.tar.gz: 6d89ffac1ce80f8d5c2765621220ec5b3d90bf80ba9a22ce2acbb6f13cfab285b096b2314175ccd5a96a348482d4b67b4bb19395e945814f3e9dc0a416a93aef
data/CHANGELOG.md CHANGED
@@ -1,4 +1,6 @@
1
- ## unreleased
1
+ ## 4.6.1
2
+
3
+ - update jquery to 3.7.1
2
4
 
3
5
  ## 4.6.0
4
6
 
data/VERSIONS.md CHANGED
@@ -2,6 +2,7 @@
2
2
 
3
3
  | Gem | jQuery | jQuery UJS | jQuery UI |
4
4
  |--------|--------|------------| ----------|
5
+ | 4.6.1 | 1.12.4 & 2.2.4 & 3.7.1 | 1.2.3 | - |
5
6
  | 4.6.0 | 1.12.4 & 2.2.4 & 3.7.0 | 1.2.3 | - |
6
7
  | 4.5.1 | 1.12.4 & 2.2.4 & 3.6.1 | 1.2.3 | - |
7
8
  | 4.5.0 | 1.12.4 & 2.2.4 & 3.6.0 | 1.2.2 | - |
@@ -1,9 +1,9 @@
1
1
  module Jquery
2
2
  module Rails
3
- VERSION = "4.6.0"
3
+ VERSION = "4.6.1"
4
4
  JQUERY_VERSION = "1.12.4"
5
5
  JQUERY_2_VERSION = "2.2.4"
6
- JQUERY_3_VERSION = "3.7.0"
6
+ JQUERY_3_VERSION = "3.7.1"
7
7
  JQUERY_UJS_VERSION = "1.2.3"
8
8
  end
9
9
  end
@@ -1,12 +1,12 @@
1
1
  /*!
2
- * jQuery JavaScript Library v3.7.0
2
+ * jQuery JavaScript Library v3.7.1
3
3
  * https://jquery.com/
4
4
  *
5
5
  * Copyright OpenJS Foundation and other contributors
6
6
  * Released under the MIT license
7
7
  * https://jquery.org/license
8
8
  *
9
- * Date: 2023-05-11T18:29Z
9
+ * Date: 2023-08-28T13:37Z
10
10
  */
11
11
  ( function( global, factory ) {
12
12
 
@@ -147,7 +147,7 @@ function toType( obj ) {
147
147
 
148
148
 
149
149
 
150
- var version = "3.7.0",
150
+ var version = "3.7.1",
151
151
 
152
152
  rhtmlSuffix = /HTML$/i,
153
153
 
@@ -411,9 +411,14 @@ jQuery.extend( {
411
411
  // Do not traverse comment nodes
412
412
  ret += jQuery.text( node );
413
413
  }
414
- } else if ( nodeType === 1 || nodeType === 9 || nodeType === 11 ) {
414
+ }
415
+ if ( nodeType === 1 || nodeType === 11 ) {
415
416
  return elem.textContent;
416
- } else if ( nodeType === 3 || nodeType === 4 ) {
417
+ }
418
+ if ( nodeType === 9 ) {
419
+ return elem.documentElement.textContent;
420
+ }
421
+ if ( nodeType === 3 || nodeType === 4 ) {
417
422
  return elem.nodeValue;
418
423
  }
419
424
 
@@ -1126,12 +1131,17 @@ function setDocument( node ) {
1126
1131
  documentElement.msMatchesSelector;
1127
1132
 
1128
1133
  // Support: IE 9 - 11+, Edge 12 - 18+
1129
- // Accessing iframe documents after unload throws "permission denied" errors (see trac-13936)
1130
- // Support: IE 11+, Edge 17 - 18+
1131
- // IE/Edge sometimes throw a "Permission denied" error when strict-comparing
1132
- // two documents; shallow comparisons work.
1133
- // eslint-disable-next-line eqeqeq
1134
- if ( preferredDoc != document &&
1134
+ // Accessing iframe documents after unload throws "permission denied" errors
1135
+ // (see trac-13936).
1136
+ // Limit the fix to IE & Edge Legacy; despite Edge 15+ implementing `matches`,
1137
+ // all IE 9+ and Edge Legacy versions implement `msMatchesSelector` as well.
1138
+ if ( documentElement.msMatchesSelector &&
1139
+
1140
+ // Support: IE 11+, Edge 17 - 18+
1141
+ // IE/Edge sometimes throw a "Permission denied" error when strict-comparing
1142
+ // two documents; shallow comparisons work.
1143
+ // eslint-disable-next-line eqeqeq
1144
+ preferredDoc != document &&
1135
1145
  ( subWindow = document.defaultView ) && subWindow.top !== subWindow ) {
1136
1146
 
1137
1147
  // Support: IE 9 - 11+, Edge 12 - 18+
@@ -2694,12 +2704,12 @@ jQuery.find = find;
2694
2704
  jQuery.expr[ ":" ] = jQuery.expr.pseudos;
2695
2705
  jQuery.unique = jQuery.uniqueSort;
2696
2706
 
2697
- // These have always been private, but they used to be documented
2698
- // as part of Sizzle so let's maintain them in the 3.x line
2699
- // for backwards compatibility purposes.
2707
+ // These have always been private, but they used to be documented as part of
2708
+ // Sizzle so let's maintain them for now for backwards compatibility purposes.
2700
2709
  find.compile = compile;
2701
2710
  find.select = select;
2702
2711
  find.setDocument = setDocument;
2712
+ find.tokenize = tokenize;
2703
2713
 
2704
2714
  find.escape = jQuery.escapeSelector;
2705
2715
  find.getText = jQuery.text;
@@ -5913,7 +5923,7 @@ function domManip( collection, args, callback, ignored ) {
5913
5923
  if ( hasScripts ) {
5914
5924
  doc = scripts[ scripts.length - 1 ].ownerDocument;
5915
5925
 
5916
- // Reenable scripts
5926
+ // Re-enable scripts
5917
5927
  jQuery.map( scripts, restoreScript );
5918
5928
 
5919
5929
  // Evaluate executable scripts on first document insertion
@@ -6370,7 +6380,7 @@ var rboxStyle = new RegExp( cssExpand.join( "|" ), "i" );
6370
6380
  trChild = document.createElement( "div" );
6371
6381
 
6372
6382
  table.style.cssText = "position:absolute;left:-11111px;border-collapse:separate";
6373
- tr.style.cssText = "border:1px solid";
6383
+ tr.style.cssText = "box-sizing:content-box;border:1px solid";
6374
6384
 
6375
6385
  // Support: Chrome 86+
6376
6386
  // Height set through cssText does not get applied.
@@ -6382,7 +6392,7 @@ var rboxStyle = new RegExp( cssExpand.join( "|" ), "i" );
6382
6392
  // In our bodyBackground.html iframe,
6383
6393
  // display for all div elements is set to "inline",
6384
6394
  // which causes a problem only in Android 8 Chrome 86.
6385
- // Ensuring the div is display: block
6395
+ // Ensuring the div is `display: block`
6386
6396
  // gets around this issue.
6387
6397
  trChild.style.display = "block";
6388
6398
 
@@ -10550,7 +10560,9 @@ jQuery.fn.extend( {
10550
10560
  },
10551
10561
 
10552
10562
  hover: function( fnOver, fnOut ) {
10553
- return this.mouseenter( fnOver ).mouseleave( fnOut || fnOver );
10563
+ return this
10564
+ .on( "mouseenter", fnOver )
10565
+ .on( "mouseleave", fnOut || fnOver );
10554
10566
  }
10555
10567
  } );
10556
10568