Shim repository for the jQuery.
If you're looking for jquery-migrate: It got its own repository since jQuery v3.0.0.
Shim repository for jQuery.
Home Page: http://jquery.com
Shim repository for the jQuery.
If you're looking for jquery-migrate: It got its own repository since jQuery v3.0.0.
Was just looking at my install of jquery to figure out the version (3.4.1, which is the latest, yeah!) but noticed it was not minimized.
I would submit a PR for this, but I don't really have a stack set up for JavaScript to do the min and create a correct map file. Anyway, you probably want to do it yourself to insure you have a legitimate version rather than trust a rando PR with a min version. Who knows what that would be.
Thanks for maintaining this repo. I use it my my PHP projects using composer, and this is is big help.
Now jQuery 1.11.3 & 2.1.4 has released, any plan to update it?
According to the CVE report, jquery version < 3.4.0 with a security risk.
You could check https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-11358
Could you update the package to 3.4.0 or 3.4.1?
Thank you.
When i install jquery with composer the file jquery.min.map is not copied into the component-dir.
Hi!
Because of this update, I haven't been able to install this shim component of Jquery, even with the lowercase name "jquery".
I had to update my "bower.json" file with this
"jquery": "components/jquery#2.0.3"
instead of
jquery": "~2.0.0"
, then clean my Bower local cache, in order to install your jQuery version.
Have you planned to choose a more explicit Bower name for this "component" version of jQuery, like "component-jquery"? This would avoid this type of issue :-)
Hi Guys,
The jQuery 1.12.0 was released, could we have a new branch for this version?
Thanks,
Eduardo Leggiero
It would be useful to add jQuery's source maps within the repository. The minified jQuery versions refer to their respective source maps anyway so I don't really see a reason why not to include them in the component.
Also I haven't found any discussion about that.
Add the file to the files directives of all meta-data.
Please update the Bower link to http://bower.io/
https://github.com/bower/bower
.
Try to execute https://github.com/components/jquery/blob/46977563948f37b5d37cc86e11a2540d9e58f5db/jquery.min.js in strict mode, and it will fail with a Syntax error: FunctionDeclaration in Statement context
. (If you're not sure what that means, have a look at this StackOverflow question).
Since I'm not familiar with the build process of this file, this might either be a bug in the minifier, or wrong usage of the minifier, and might not originate in this repositiory at all; however this is to where I could track it down.
The first case actually seems likely, since the non-minified file as well as the original source are fine.
I'm looking forward to your expertise about where this bug stems from!
Version 1.1.1 has security vulnerabilities: http://blog.jquery.com/2013/05/01/jquery-migrate-1-2-0-released/
when I use composer to install jQuery using this package, 2 copies are created of the components folder one in the project root & the other in the vendor folder.
Please fix this.
Hi,
I've installed the repo today and recognized that the minified version are stored under ./vendor/.. and only the jquery.js is under ./compnents. Is this right?
Chris
Source Maps such as the one on 1.10.2 reference jquery.js as jquery-1.10.2.js but provide it as jquery.js (this seems to be correct in the 2.x release though)
I've met a problem while using components/jquery
and I am not sure whether is caused by the version of jquery. So I want to try to install different version of jquery to test.
But I don't know how to install different version of jquery with component?
I've added that to my component.json
and it looks like this:
"dependencies": {
"necolas/normalize.css": "*",
"component/jquery": "1.10.1"
}
But it returned me
error : failed to fetch https://raw.github.com/component/jquery/1.10.1/component.json, got 404 "Not Found"
Can anyone help? Thanks.
jQuery 2.2.1 is released, will this package update to that version?
Thanks.
Both the 1.12.4 and 2.2.1 releases point at the same commit (jquery 2.2.1).
As far as I can tell, it is impossible to install both the latest 2.1.4 version and 1.11.3 version of jQuery, although both are necessary if one wants to be backwards compatible and use 2.1.4 for "good" browsers and 1.11.3 for IE8 and below.
Because composer does not support installing multiple versions of the same package, ideally there would be a package for jQuery 1 and another package for jQuery 2 - the legacy jQuery 1 could also be named "jquery-legacy", "jquery-old-ie" or something like that. I would really welcome some kind of solution like this - right now I am using this package for 2.1.4, and still manually updating 1.11.3 within my own source files, and I guess other users of this package are doing the same - or they just use 2.1 and are not supporting old IEs anymore, or they are using 1.11 with new browsers to support all browsers, which slows down all new browsers.
Can you change this comment:
//@ sourceMappingURL=dist/jquery-migrate.min.map
using a block comment?
I have a problem when I import the jquery-migrate file in an php gzip
Any way to get the 1.11.0 code/tag in the latest components push? cc @josh
Refs: http://blog.jquery.com/2014/01/24/jquery-1-11-and-2-1-released/comment-page-1/#comment-545270
In minified file there is a reference to .map
file, but the file is not in repo's branch.
According to the CVE report, jquery version < 3.5.0 with a security risk.
https://www.cvedetails.com/cve/CVE-2020-11022/
https://www.cvedetails.com/cve/CVE-2020-11023/
Could we please have an update to 3.6.0?
Thank you.
@Nami-Doc Any dire need for jquery-migrate.js? We could move it to components/jquery-migrate, or similar.
This is fixed on the 2.0 branch...but is not on the 1.* branches
Hi, can you add the minified file for at least jQuery 1.7.2? Thanks.
Seems jQuery 1.10.0 is missing :(
According to jQuery's official position, referencing non-specific versions of javascript libraries is considered harmful and they reference this article on the matter.
Therefore we should probably add the version numbers to the source file names. The benefits seem to outweigh any disadvantages.
/cc @RobLoach
Shouldnt the minified file be the main version?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.