Skip to content

Commit 50547dc

Browse files
committed
deploy: 6610af1
1 parent 9f2bbcc commit 50547dc

219 files changed

Lines changed: 11654 additions & 57030 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

dist/jquery/AUTHORS.txt

Lines changed: 21 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
Authors ordered by first contribution.
2-
31
John Resig <jeresig@gmail.com>
42
Gilles van den Hoven <gilles0181@gmail.com>
53
Michael Geary <mike@geary.com>
@@ -31,6 +29,7 @@ Michael Bensoussan <mickey@seesmic.com>
3129
Louis-Rémi Babé <lrbabe@gmail.com>
3230
Robert Katić <robert.katic@gmail.com>
3331
Damian Janowski <damian.janowski@gmail.com>
32+
Anton Kovalyov <anton@kovalyov.net>
3433
Dušan B. Jovanovic <dbjdbj@gmail.com>
3534
Earle Castledine <mrspeaker@gmail.com>
3635
Rich Dougherty <rich@rd.gen.nz>
@@ -68,11 +67,11 @@ temp01 <temp01irc@gmail.com>
6867
Colin Snover <github.com@zetafleet.com>
6968
Jared Grippe <jared@deadlyicon.com>
7069
Ryan W Tenney <ryan@10e.us>
70+
Alex Sexton <AlexSexton@gmail.com>
7171
Pinhook <contact@pinhooklabs.com>
7272
Ron Otten <r.j.g.otten@gmail.com>
7373
Jephte Clain <Jephte.Clain@univ-reunion.fr>
7474
Anton Matzneller <obhvsbypqghgc@gmail.com>
75-
Alex Sexton <AlexSexton@gmail.com>
7675
Dan Heberden <danheberden@gmail.com>
7776
Henri Wiechers <hwiechers@gmail.com>
7877
Russell Holbrook <russell.holbrook@patch.com>
@@ -86,10 +85,9 @@ Sylvester Keil <sylvester@keil.or.at>
8685
Brandon Sterne <bsterne@mozilla.com>
8786
Mathias Bynens <mathias@qiwi.be>
8887
Lee Carpenter <elcarpie@gmail.com>
89-
Timmy Willison <timmywil@users.noreply.github.com>
88+
Timmy Willison <4timmywil@gmail.com>
9089
Corey Frang <gnarf37@gmail.com>
9190
Digitalxero <digitalxero>
92-
Anton Kovalyov <anton@kovalyov.net>
9391
David Murdoch <david@davidmurdoch.com>
9492
Josh Varner <josh.varner@gmail.com>
9593
Charles McNulty <cmcnulty@kznf.com>
@@ -111,7 +109,7 @@ Mike Sherov <mike.sherov@gmail.com>
111109
Greg Hazel <ghazel@gmail.com>
112110
Schalk Neethling <schalk@ossreleasefeed.com>
113111
Denis Knauf <Denis.Knauf@gmail.com>
114-
Timo Tijhof <krinkle@fastmail.com>
112+
Timo Tijhof <krinklemail@gmail.com>
115113
Steen Nielsen <swinedk@gmail.com>
116114
Anton Ryzhov <anton@ryzhov.me>
117115
Shi Chuan <shichuanr@gmail.com>
@@ -151,6 +149,7 @@ Chris Faulkner <thefaulkner@gmail.com>
151149
Marcel Greter <marcel.greter@ocbnet.ch>
152150
Elijah Manor <elijah.manor@gmail.com>
153151
Daniel Chatfield <chatfielddaniel@gmail.com>
152+
Daniel Gálvez <dgalvez@editablething.com>
154153
Nikita Govorov <nikita.govorov@gmail.com>
155154
Wesley Walser <waw325@gmail.com>
156155
Mike Pennisi <mike@mikepennisi.com>
@@ -161,7 +160,9 @@ Dave Riddle <david@joyvuu.com>
161160
Callum Macrae <callum@lynxphp.com>
162161
Jonathan Sampson <jjdsampson@gmail.com>
163162
Benjamin Truyman <bentruyman@gmail.com>
163+
Jay Merrifield <fracmak@gmail.com>
164164
James Huston <james@jameshuston.net>
165+
Sai Lung Wong <sai.wong@huffingtonpost.com>
165166
Erick Ruiz de Chávez <erickrdch@gmail.com>
166167
David Bonner <dbonner@cogolabs.com>
167168
Allen J Schmidt Jr <cobrasoft@gmail.com>
@@ -171,11 +172,8 @@ Ismail Khair <ismail.khair@gmail.com>
171172
Carl Danley <carldanley@gmail.com>
172173
Mike Petrovich <michael.c.petrovich@gmail.com>
173174
Greg Lavallee <greglavallee@wapolabs.com>
174-
Daniel Gálvez <dgalvez@editablething.com>
175-
Sai Lung Wong <sai.wong@huffingtonpost.com>
176175
Tom H Fuertes <TomFuertes@gmail.com>
177176
Roland Eckl <eckl.roland@googlemail.com>
178-
Jay Merrifield <fracmak@gmail.com>
179177
Yiming He <yiminghe@gmail.com>
180178
David Fox <dfoxinator@gmail.com>
181179
Bennett Sorbo <bsorbo@gmail.com>
@@ -185,23 +183,26 @@ Sebastian Burkhard <sebi.burkhard@gmail.com>
185183
Zachary Adam Kaplan <razic@viralkitty.com>
186184
Adam Coulombe <me@adam.co>
187185
nanto_vi <nanto@moon.email.ne.jp>
186+
nanto <nanto@moon.email.ne.jp>
188187
Danil Somsikov <danilasomsikov@gmail.com>
189188
Ryunosuke SATO <tricknotes.rs@gmail.com>
190189
Diego Tres <diegotres@gmail.com>
191190
Jean Boussier <jean.boussier@gmail.com>
192191
Andrew Plummer <plummer.andrew@gmail.com>
193192
Mark Raddatz <mraddatz@gmail.com>
193+
Pascal Borreli <pascal@borreli.com>
194194
Isaac Z. Schlueter <i@izs.me>
195195
Karl Sieburg <ksieburg@yahoo.com>
196-
Pascal Borreli <pascal@borreli.com>
197196
Nguyen Phuc Lam <ruado1987@gmail.com>
198197
Dmitry Gusev <dmitry.gusev@gmail.com>
199198
Steven Benner <admin@stevenbenner.com>
200199
Li Xudong <istonelee@gmail.com>
201200
Michał Gołębiowski-Owczarek <m.goleb@gmail.com>
202201
Renato Oliveira dos Santos <ros3@cin.ufpe.br>
203202
Frederic Junod <frederic.junod@camptocamp.com>
203+
Tom H Fuertes <tomfuertes@gmail.com>
204204
Mitch Foley <mitch@thefoley.net>
205+
ros3cin <ros3@cin.ufpe.br>
205206
Kyle Robinson Young <kyle@dontkry.com>
206207
John Paul <john@johnkpaul.com>
207208
Jason Bedard <jason+jquery@jbedard.ca>
@@ -247,6 +248,7 @@ Dan Hart <danhart@notonthehighstreet.com>
247248
Nazar Mokrynskyi <nazar@mokrynskyi.com>
248249
Benjamin Tan <demoneaux@gmail.com>
249250
Amit Merchant <bullredeyes@gmail.com>
251+
Jason Bedard <jason+github@jbedard.ca>
250252
Veaceslav Grimalschi <grimalschi@yandex.ru>
251253
Richard McDaniel <rm0026@uah.edu>
252254
Arthur Verschaeve <contact@arthurverschaeve.be>
@@ -269,12 +271,12 @@ Jon Hester <jon.d.hester@gmail.com>
269271
Colin Frick <colin@bash.li>
270272
Winston Howes <winstonhowes@gmail.com>
271273
Alexander O'Mara <me@alexomara.com>
274+
Chris Rebert <github@rebertia.com>
272275
Bastian Buchholz <buchholz.bastian@googlemail.com>
273276
Mu Haibao <mhbseal@163.com>
274277
Calvin Metcalf <calvin.metcalf@gmail.com>
275278
Arthur Stolyar <nekr.fabula@gmail.com>
276279
Gabriel Schulhof <gabriel.schulhof@intel.com>
277-
Chris Rebert <github@rebertia.com>
278280
Gilad Peleg <giladp007@gmail.com>
279281
Julian Alexander Murillo <julian.alexander.murillo@gmail.com>
280282
Kevin Kirsche <Kev.Kirsche+GitHub@gmail.com>
@@ -293,14 +295,15 @@ Christian Grete <webmaster@christiangrete.com>
293295
Tom von Clef <thomas.vonclef@gmail.com>
294296
Liza Ramo <liza.h.ramo@gmail.com>
295297
Joelle Fleurantin <joasqueeniebee@gmail.com>
298+
Steve Mao <maochenyan@gmail.com>
296299
Jon Dufresne <jon.dufresne@gmail.com>
297300
Jae Sung Park <alberto.park@gmail.com>
298301
Josh Soref <apache@soref.com>
302+
Saptak Sengupta <saptak013@gmail.com>
299303
Henry Wong <henryw4k@gmail.com>
300304
Jun Sun <klsforever@gmail.com>
301305
Martijn W. van der Lee <martijn@vanderlee.com>
302306
Devin Wilson <dwilson6.github@gmail.com>
303-
Steve Mao <maochenyan@gmail.com>
304307
Damian Senn <jquery@topaxi.codes>
305308
Zack Hall <zackhall@outlook.com>
306309
Vitaliy Terziev <vitaliyterziev@gmail.com>
@@ -331,46 +334,38 @@ Jordan Beland <jordan.beland@gmail.com>
331334
Henry Zhu <hi@henryzoo.com>
332335
Nilton Cesar <niltoncms@gmail.com>
333336
basil.belokon <basil.belokon@gmail.com>
334-
Saptak Sengupta <saptak013@gmail.com>
335337
Andrey Meshkov <ay.meshkov@gmail.com>
336338
tmybr11 <tomas.perone@gmail.com>
337339
Luis Emilio Velasco Sanchez <emibloque@gmail.com>
338-
Ed Sanders <ejsanders@gmail.com>
340+
Ed S <ejsanders@gmail.com>
339341
Bert Zhang <enbo@users.noreply.github.com>
340342
Sébastien Règne <regseb@users.noreply.github.com>
341343
wartmanm <3869625+wartmanm@users.noreply.github.com>
342344
Siddharth Dungarwal <sd5869@gmail.com>
345+
abnud1 <ahmad13932013@hotmail.com>
343346
Andrei Fangli <andrei_fangli@outlook.com>
344347
Marja Hölttä <marja.holtta@gmail.com>
345-
abnud1 <ahmad13932013@hotmail.com>
346348
buddh4 <mail@jharrer.de>
347349
Hoang <dangkyokhoang@gmail.com>
348-
Sean Robinson <sean.robinson@scottsdalecc.edu>
349350
Wonseop Kim <wonseop.kim@samsung.com>
350351
Pat O'Callaghan <patocallaghan@gmail.com>
351352
JuanMa Ruiz <ruizjuanma@gmail.com>
352353
Ahmed.S.ElAfifi <ahmed.s.elafifi@gmail.com>
353354
Christian Oliff <christianoliff@pm.me>
354355
Christian Wenz <christian@wenz.org>
356+
Sean Robinson <sean.robinson@scottsdalecc.edu>
355357
Jonathan <vanillajonathan@users.noreply.github.com>
356358
Pierre Grimaud <grimaud.pierre@gmail.com>
357359
Beatriz Rezener <beatrizrezener@users.noreply.github.com>
358-
Necmettin Karakaya <necmettin.karakaya@gmail.com>
360+
Natalia Sroka <37873210+natipo@users.noreply.github.com>
359361
Wonhyoung Park <wh05.park@samsung.com>
360362
Dallas Fraser <dallas.fraser.waterloo@gmail.com>
361-
高灰 <www@zeroplace.cn>
362363
fecore1 <89127124+fecore1@users.noreply.github.com>
363364
ygj6 <7699524+ygj6@users.noreply.github.com>
364-
Bruno PIERRE <brunopierre4@yahoo.fr>
365365
Simon Legner <Simon.Legner@gmail.com>
366-
Baoshuo Ren <i@baoshuo.ren>
366+
Vladimir Sitnikov <sitnikov.vladimir@gmail.com>
367367
Anders Kaseorg <andersk@mit.edu>
368368
Alex <aleksandrosansan@gmail.com>
369+
Timo Tijhof <krinkle@fastmail.com>
369370
Gabriela Gutierrez <gabigutierrez@google.com>
370371
Dimitri Papadopoulos Orfanos <3234522+DimitriPapadopoulos@users.noreply.github.com>
371-
J.Son <x@x-wx.com>
372-
Liam James <liam@minimaximize.com>
373-
ac-mmi <79802170+ac-mmi@users.noreply.github.com>
374-
neogy-akash <AKASHNEOGY400@GMAIL.COM>
375-
studystill <137779852+studystill@users.noreply.github.com>
376-
Ulises Gascón <ulisesgascongonzalez@gmail.com>

dist/jquery/README.md

Lines changed: 13 additions & 136 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
For information on how to get started and how to use jQuery, please see [jQuery's documentation](https://api.jquery.com/).
66
For source files and issues, please visit the [jQuery repo](https://github.com/jquery/jquery).
77

8-
If upgrading, please see the [blog post for 4.0.0](https://blog.jquery.com/2026/01/17/jquery-4-0-0/). This includes notable differences from the previous version and a more readable changelog.
8+
If upgrading, please see the [blog post for 3.7.1](https://blog.jquery.com/2023/08/28/jquery-3-7-1-released-reliable-table-row-dimensions/). This includes notable differences from the previous version and a more readable changelog.
99

1010
## Including jQuery
1111

@@ -16,133 +16,24 @@ Below are some of the most common ways to include jQuery.
1616
#### Script tag
1717

1818
```html
19-
<script src="https://code.jquery.com/jquery-4.0.0.min.js"></script>
19+
<script src="https://code.jquery.com/jquery-3.7.1.min.js"></script>
2020
```
2121

22-
or, to use the jQuery ECMAScript module:
22+
#### Webpack / Browserify / Babel
2323

24-
```html
25-
<script type="module">
26-
import { $ } from "https://code.jquery.com/jquery-4.0.0.module.min.js";
27-
</script>
28-
```
29-
30-
or:
31-
32-
```html
33-
<script type="module">
34-
import { jQuery } from "https://code.jquery.com/jquery-4.0.0.module.min.js";
35-
</script>
36-
```
37-
38-
All jQuery modules export named `$` & `jQuery` tokens; the further examples will just show `$`. The default import also works:
39-
40-
```html
41-
<script type="module">
42-
import $ from "https://code.jquery.com/jquery-4.0.0.module.min.js";
43-
</script>
44-
```
45-
46-
However, named imports provide better interoperability across tooling and are therefore recommended.
47-
48-
Sometimes you don’t need AJAX, or you prefer to use one of the many standalone libraries that focus on AJAX requests. And often it is simpler to use a combination of CSS, class manipulation or the Web Animations API. Similarly, many projects opt into relying on native browser promises instead of jQuery Deferreds. Along with the regular version of jQuery that includes the `ajax`, `callbacks`, `deferred`, `effects` & `queue` modules, we’ve released a “slim” version that excludes these modules. You can load it as a regular script:
49-
50-
```html
51-
<script src="https://code.jquery.com/jquery-4.0.0.slim.min.js"></script>
52-
```
53-
54-
or as a module:
55-
56-
```html
57-
<script type="module">
58-
import { $ } from "https://code.jquery.com/jquery-4.0.0.module.slim.min.js";
59-
</script>
60-
```
61-
62-
#### Import maps
63-
64-
To avoid repeating long import paths that change on each jQuery release, you can use import maps - they are now supported in every modern browser. Put the following script tag before any `<script type="module">`:
65-
66-
```html
67-
<script type="importmap">
68-
{
69-
"imports": {
70-
"jquery": "https://code.jquery.com/jquery-4.0.0.module.min.js",
71-
"jquery/slim": "https://code.jquery.com/jquery-4.0.0.module.slim.min.js"
72-
}
73-
}
74-
</script>
75-
```
76-
77-
Now, the following will work to get the full version:
78-
79-
```html
80-
<script type="module">
81-
import { $ } from "jquery";
82-
// Use $ here
83-
</script>
84-
```
85-
86-
and the following to get the slim one:
87-
88-
```html
89-
<script type="module">
90-
import { $ } from "jquery/slim";
91-
// Use $ here
92-
</script>
93-
```
94-
95-
The advantage of these specific mappings is they match the ones embedded in the jQuery npm package, providing better interoperability between the environments.
96-
97-
You can also use jQuery from npm even in the browser setup. Read along for more details.
98-
99-
### Using jQuery from npm
100-
101-
There are several ways to use jQuery from npm. One is to use a build tool like [Webpack](https://webpack.js.org/), [Browserify](https://browserify.org/) or [Babel](https://babeljs.io/). For more information on using these tools, please refer to the corresponding project's documentation.
102-
103-
Another way is to use jQuery directly in Node.js. See the [Node.js pre-requisites](#nodejs-pre-requisites) section for more details on the Node.js-specific part of this.
104-
105-
To install the jQuery npm package, invoke:
106-
107-
```sh
108-
npm install jquery
109-
```
110-
111-
In the script, including jQuery will usually look like this:
24+
There are several ways to use [Webpack](https://webpack.js.org/), [Browserify](http://browserify.org/) or [Babel](https://babeljs.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:
11225

11326
```js
114-
import { $ } from "jquery";
27+
import $ from "jquery";
11528
```
11629

11730
If you need to use jQuery in a file that's not an ECMAScript module, you can use the CommonJS syntax:
11831

11932
```js
120-
const $ = require( "jquery" );
33+
var $ = require( "jquery" );
12134
```
12235

123-
The CommonJS module _does not_ expose named `$` & `jQuery` exports.
124-
125-
#### Individual modules
126-
127-
jQuery is authored in ECMAScript modules; it's also possible to use them directly. They are contained in the `src/` folder; inspect the package contents to see what's there. Full file names are required, including the `.js` extension.
128-
129-
Be aware that this is an advanced & low-level interface, and we don't consider it stable, even between minor or patch releases - this is especially the case for modules in subdirectories or `src/`. If you rely on it, verify your setup before updating jQuery.
130-
131-
All top-level modules, i.e. files directly in the `src/` directory export jQuery. Importing multiple modules will all attach to the same jQuery instance.
132-
133-
Remember that some modules have other dependencies (e.g. the `event` module depends on the `selector` one) so in some cases you may get more than you expect.
134-
135-
Example usage:
136-
137-
```js
138-
import { $ } from "jquery/src/css.js"; // adds the `.css()` method
139-
import "jquery/src/event.js"; // adds the `.on()` method; pulls "selector" as a dependency
140-
$( ".toggle" ).on( "click", function() {
141-
$( this ).css( "color", "red" );
142-
} );
143-
```
144-
145-
### AMD (Asynchronous Module Definition)
36+
#### AMD (Asynchronous Module Definition)
14637

14738
AMD is a module format built for the browser. For more information, we recommend [require.js' documentation](https://requirejs.org/docs/whyamd.html).
14839

@@ -152,32 +43,18 @@ define( [ "jquery" ], function( $ ) {
15243
} );
15344
```
15445

155-
Node.js doesn't understand AMD natively so this method is mostly used in a browser setup.
156-
157-
### Node.js pre-requisites
158-
159-
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.
46+
### Node
16047

161-
For Node-based environments that don't have a global `window`, jQuery exposes a dedicated `jquery/factory` entry point.
48+
To include jQuery in [Node](https://nodejs.org/), first install with npm.
16249

163-
To `import` jQuery using this factory, use the following:
164-
165-
```js
166-
import { JSDOM } from "jsdom";
167-
const { window } = new JSDOM( "" );
168-
import { jQueryFactory } from "jquery/factory";
169-
const $ = jQueryFactory( window );
50+
```sh
51+
npm install jquery
17052
```
17153

172-
or, if you use `require`:
54+
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.
17355

17456
```js
17557
const { JSDOM } = require( "jsdom" );
17658
const { window } = new JSDOM( "" );
177-
const { jQueryFactory } = require( "jquery/factory" );
178-
const $ = jQueryFactory( window );
59+
const $ = require( "jquery" )( window );
17960
```
180-
181-
#### Slim build in Node.js
182-
183-
To use the slim build of jQuery in Node.js, use `"jquery/slim"` instead of `"jquery"` in both `require` or `import` calls above. To use the slim build in Node.js with factory mode, use `jquery/factory-slim` instead of `jquery/factory`.

dist/jquery/changelog.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)