| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Ref gh-5440
|
|
|
|
| |
Fixes gh-5411
Close gh-5412
|
|
|
|
|
|
|
|
| |
- also add the ability to pass VERSION in env to test final builds
- adjust sha regex to account for lack of shas
- set the version on the dist package.json
Close gh-5408
|
|
|
| |
Close gh-5406
|
|
|
| |
Close gh-5399
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary of the changes:
* define the `exports` field in `package.json`; `jQuery` & `$` are also
exported as named exports in ESM builds now
* declare `"type": "module"` globally except for the `build` folder
* add the `--esm` option to `grunt custom`, generating jQuery as an ECMAScript
module into the `dist-module` folder
* expand `node_smoke_tests` to test the slim & ESM builds and their various
combinations; also, test both jQuery loaded via a path to the file as well
as from module specifiers that should be parsed via the `exports` feature
* add details about ESM usage to the release package README
* run `compare_size` on all built minified files; don't run it anymore on
unminified files where they don't provide lots of value
* remove the remove_map_comment task; SWC doesn't insert the
`//# sourceMappingURL=` pragma by default so there's nothing to strip
Fixes gh-4592
Closes gh-5255
|
|
|
|
|
|
|
|
|
|
| |
With this change, jQuery build no longer generates the `amd` directory with
AMD modules transpiled from source `src` ECMAScript Modules. To use individual
jQuery modules from source, ESM is now required.
Note that this DOES NOT affect the main `"jquery"` AMD module defined by built
jQuery files; those remain supported.
Closes gh-5276
|
| |
|
|
|
|
| |
- Remove unused npm dependency
|
|
|
|
|
| |
Chalk was used for a Sizzle version check that's no longer there on `master`.
Closes gh-4712
|
|
|
|
|
|
|
|
|
|
| |
Use a dist README fixture kept in the jQuery repository instead of modifying
an existing one. This makes the jQuery repository the single source of truth
when it comes to jQuery releases and it makes it easier to make changes to
README without worrying how it will affect older jQuery lines.
The commit also ES6ifies build/release.js & build/release/dist.js
Closes gh-4614
|
|
|
| |
Closes gh-4578
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
jQuery source has been migrated in gh-4541 from AMD to ES modules. To maintain
support for consumers of our AMD modules, this commits adds a task transpiling
the ES modules sources in `src/` to AMD in `amd/`.
A "Load with AMD" checkbox was also restored to the QUnit setup. Note that,
contrary to jQuery 3.x, AMD files need to be generated via `grunt amd` or
`grunt` as sources are not authored in ECMAScript modules. To achieve a similar
no-compile experience during jQuery 4.x testing, use the new "Load as modules"
checkbox which works in all supported browsers except for IE & Edge (the
legacy, EdgeHTML-based one).
Ref gh-4541
Closes gh-4554
|
|
|
|
|
|
|
|
| |
So far, only browser-based JS files were required to be in strict mode (in the
function form). This commit adds such a requirement to Node.js scripts where
the global form is preferred. All Node.js scripts in sloppy mode were
converted to strict mode.
Closes gh-4499
|
|
|
|
|
|
|
|
| |
File `src/core.js` has started erroneously being copied to `dist/` in gh-2981.
Fixes gh-4489
Closes gh-4492
Ref gh-2979
Ref gh-2981
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This commit removes Sizzle from jQuery, inlining its code & removing obsolete
workarounds where applicable.
The selector-native module has been removed. Further work on the selector
module may decrease the size enough that it will no longer be necessary. If
it turns out it's still useful, we'll reinstate it but the code will look
different anyway as we'll want to share as much code as possible with
the existing selector module.
The Sizzle AUTHORS.txt file has been merged with the jQuery one - people are
sorted by their first contributions to either of the two repositories.
The commit reduces the gzipped jQuery size by 1460 bytes compared to master.
Closes gh-4395
|
| |
|
|
|
|
|
| |
Fixes gh-3237
Close gh-3533
|
|
|
|
|
|
| |
Use eslint pragmas, fix new errors, etc
Closes gh-3148
|
|
|
|
|
| |
Fixes gh-3094
Close gh-3116
|
|
|
|
|
| |
Fixes gh-2979
Close gh-2981
|
|
|
|
|
| |
Fixes gh-2653
Close gh-2711
|
| |
|
|
|
|
| |
Fixes gh-2056
|
|
|
|
| |
Fixes gh-1940
|
| |
|
| |
|
|
|
|
|
|
| |
Fixes gh-1869
Fixes gh-1673
Fixes gh-2045
|
| |
|
| |
|
|
|
|
| |
Fixes #14915
|
|
|
|
| |
Closes gh-1544
|
| |
|
|
|
|
| |
Closes gh-1479
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Tracked bower dependencies are located at "src/sizzle" and "test/libs".
The source-destination mapping is in the Gruntfile.
When updating a bower dependency, update the version in bower.json, run
`grunt bower`, and then commit the result. When adding a dependency,
update the bowercopy task accordingly.
Fixes #14615.
Closes gh-1452.
|
|
|
|
| |
with a small diff
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
Per the discussion here:
https://code.google.com/p/chromium/issues/detail?id=256636
Thanks to the Chrome team for the quick response!
This reverts commit d53ddc90c1f119fb9148a553443ef3fbc3f3cc99.
|
|
|
|
|
| |
Normally we'd avoid doing this on a patch release, but Chrome Canary is
spewing deprecation warnings already and that's generating bug tickets.
|
| |
|
|
|
|
| |
(cherry picked from commit ebc7899ba1ba6e8306066b5bd4d3e14f0d2d8aad)
|