Release 3.5.1

parent 1fd78cd7
Pipeline #281 failed with stages
Authors ordered by first contribution.
John Resig <jeresig@gmail.com> John Resig <jeresig@gmail.com>
Gilles van den Hoven <gilles0181@gmail.com> Gilles van den Hoven <gilles0181@gmail.com>
Michael Geary <mike@geary.com> Michael Geary <mike@geary.com>
...@@ -325,3 +323,5 @@ Wonseop Kim <wonseop.kim@samsung.com> ...@@ -325,3 +323,5 @@ Wonseop Kim <wonseop.kim@samsung.com>
Christian Oliff <christianoliff@pm.me> Christian Oliff <christianoliff@pm.me>
Christian Wenz <christian@wenz.org> Christian Wenz <christian@wenz.org>
Sean Robinson <sean.robinson@scottsdalecc.edu> Sean Robinson <sean.robinson@scottsdalecc.edu>
Jonathan <vanillajonathan@users.noreply.github.com>
Pierre Grimaud <grimaud.pierre@gmail.com>
...@@ -2,10 +2,10 @@ ...@@ -2,10 +2,10 @@
> jQuery is a fast, small, and feature-rich JavaScript library. > jQuery is a fast, small, and feature-rich JavaScript library.
For information on how to get started and how to use jQuery, please see [jQuery's documentation](http://api.jquery.com/). For information on how to get started and how to use jQuery, please see [jQuery's documentation](https://api.jquery.com/).
For source files and issues, please visit the [jQuery repo](https://github.com/jquery/jquery). For source files and issues, please visit the [jQuery repo](https://github.com/jquery/jquery).
If upgrading, please see the [blog post for 3.5.0](https://blog.jquery.com/2020/04/10/jquery-3-5-0-released/). This includes notable differences from the previous version and a more readable changelog. If upgrading, please see the [blog post for 3.5.1](https://blog.jquery.com/2020/05/04/jquery-3-5-1-released-fixing-a-regression/). This includes notable differences from the previous version and a more readable changelog.
## Including jQuery ## Including jQuery
...@@ -16,12 +16,12 @@ Below are some of the most common ways to include jQuery. ...@@ -16,12 +16,12 @@ Below are some of the most common ways to include jQuery.
#### Script tag #### Script tag
```html ```html
<script src="https://code.jquery.com/jquery-3.5.0.min.js"></script> <script src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
``` ```
#### Babel #### Babel
[Babel](http://babeljs.io/) is a next generation JavaScript compiler. One of the features is the ability to use ES6/ES2015 modules now, even though browsers do not yet support this feature natively. [Babel](https://babeljs.io/) is a next generation JavaScript compiler. One of the features is the ability to use ES6/ES2015 modules now, even though browsers do not yet support this feature natively.
```js ```js
import $ from "jquery"; import $ from "jquery";
...@@ -29,7 +29,7 @@ import $ from "jquery"; ...@@ -29,7 +29,7 @@ import $ from "jquery";
#### Browserify/Webpack #### Browserify/Webpack
There are several ways to use [Browserify](http://browserify.org/) and [Webpack](https://webpack.github.io/). For more information on using these tools, please refer to the corresponding project's documention. In the script, including jQuery will usually look like this... There are several ways to use [Browserify](http://browserify.org/) and [Webpack](https://webpack.github.io/). For more information on using these tools, please refer to the corresponding project's documentation. In the script, including jQuery will usually look like this...
```js ```js
var $ = require( "jquery" ); var $ = require( "jquery" );
...@@ -37,7 +37,7 @@ var $ = require( "jquery" ); ...@@ -37,7 +37,7 @@ var $ = require( "jquery" );
#### AMD (Asynchronous Module Definition) #### AMD (Asynchronous Module Definition)
AMD is a module format built for the browser. For more information, we recommend [require.js' documentation](http://requirejs.org/docs/whyamd.html). AMD is a module format built for the browser. For more information, we recommend [require.js' documentation](https://requirejs.org/docs/whyamd.html).
```js ```js
define( [ "jquery" ], function( $ ) { define( [ "jquery" ], function( $ ) {
...@@ -47,13 +47,13 @@ define( [ "jquery" ], function( $ ) { ...@@ -47,13 +47,13 @@ define( [ "jquery" ], function( $ ) {
### Node ### Node
To include jQuery in [Node](nodejs.org), first install with npm. To include jQuery in [Node](https://nodejs.org/), first install with npm.
```sh ```sh
npm install jquery npm install jquery
``` ```
For jQuery to work in Node, a window with a document is required. Since no such window exists natively in Node, one can be mocked by tools such as [jsdom](https://github.com/tmpvar/jsdom). This can be useful for testing purposes. For jQuery to work in Node, a window with a document is required. Since no such window exists natively in Node, one can be mocked by tools such as [jsdom](https://github.com/jsdom/jsdom). This can be useful for testing purposes.
```js ```js
const { JSDOM } = require( "jsdom" ); const { JSDOM } = require( "jsdom" );
......
/*! /*!
* jQuery JavaScript Library v3.5.0 * jQuery JavaScript Library v3.5.1
* https://jquery.com/ * https://jquery.com/
* *
* Includes Sizzle.js * Includes Sizzle.js
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
* Released under the MIT license * Released under the MIT license
* https://jquery.org/license * https://jquery.org/license
* *
* Date: 2020-04-10T15:07Z * Date: 2020-05-04T22:49Z
*/ */
( function( global, factory ) { ( function( global, factory ) {
...@@ -147,7 +147,7 @@ function toType( obj ) { ...@@ -147,7 +147,7 @@ function toType( obj ) {
var var
version = "3.5.0", version = "3.5.1",
// Define a local copy of jQuery // Define a local copy of jQuery
jQuery = function( selector, context ) { jQuery = function( selector, context ) {
...@@ -4244,7 +4244,7 @@ Data.prototype = { ...@@ -4244,7 +4244,7 @@ Data.prototype = {
// If not, create one // If not, create one
if ( !value ) { if ( !value ) {
value = Object.create( null ); value = {};
// We can accept data for non-element nodes in modern browsers, // We can accept data for non-element nodes in modern browsers,
// but we should not, see #8335. // but we should not, see #8335.
......
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
/*! /*!
* jQuery JavaScript Library v3.5.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/Tween,-effects/animatedSelector * jQuery JavaScript Library v3.5.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/Tween,-effects/animatedSelector
* https://jquery.com/ * https://jquery.com/
* *
* Includes Sizzle.js * Includes Sizzle.js
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
* Released under the MIT license * Released under the MIT license
* https://jquery.org/license * https://jquery.org/license
* *
* Date: 2020-04-10T15:07Z * Date: 2020-05-04T22:49Z
*/ */
( function( global, factory ) { ( function( global, factory ) {
...@@ -147,7 +147,7 @@ function toType( obj ) { ...@@ -147,7 +147,7 @@ function toType( obj ) {
var var
version = "3.5.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/Tween,-effects/animatedSelector", version = "3.5.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/Tween,-effects/animatedSelector",
// Define a local copy of jQuery // Define a local copy of jQuery
jQuery = function( selector, context ) { jQuery = function( selector, context ) {
...@@ -4244,7 +4244,7 @@ Data.prototype = { ...@@ -4244,7 +4244,7 @@ Data.prototype = {
// If not, create one // If not, create one
if ( !value ) { if ( !value ) {
value = Object.create( null ); value = {};
// We can accept data for non-element nodes in modern browsers, // We can accept data for non-element nodes in modern browsers,
// but we should not, see #8335. // but we should not, see #8335.
......
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -2,12 +2,12 @@ ...@@ -2,12 +2,12 @@
"name": "jquery", "name": "jquery",
"title": "jQuery", "title": "jQuery",
"description": "JavaScript library for DOM operations", "description": "JavaScript library for DOM operations",
"version": "3.5.0", "version": "3.5.1",
"main": "dist/jquery.js", "main": "dist/jquery.js",
"homepage": "https://jquery.com", "homepage": "https://jquery.com",
"author": { "author": {
"name": "JS Foundation and other contributors", "name": "JS Foundation and other contributors",
"url": "https://github.com/jquery/jquery/blob/3.5.0/AUTHORS.txt" "url": "https://github.com/jquery/jquery/blob/3.5.1/AUTHORS.txt"
}, },
"repository": { "repository": {
"type": "git", "type": "git",
......
...@@ -26,7 +26,7 @@ define( [ ...@@ -26,7 +26,7 @@ define( [
"use strict"; "use strict";
var var
version = "3.5.0", version = "3.5.1",
// Define a local copy of jQuery // Define a local copy of jQuery
jQuery = function( selector, context ) { jQuery = function( selector, context ) {
......
...@@ -22,7 +22,7 @@ Data.prototype = { ...@@ -22,7 +22,7 @@ Data.prototype = {
// If not, create one // If not, create one
if ( !value ) { if ( !value ) {
value = Object.create( null ); value = {};
// We can accept data for non-element nodes in modern browsers, // We can accept data for non-element nodes in modern browsers,
// but we should not, see #8335. // but we should not, see #8335.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment