-
Notifications
You must be signed in to change notification settings - Fork 20.6k
jquery.slim.js v2.2.3 has "v3.0.0-beta1" in header comment #3094
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Yikes, thanks for the report! @timmywil This file shouldn't even exist in this version; it seems like the release was done on a non-fresh clone of the repo with files built from Marking it as a blocker so that we don't have extra files from a different beta version in |
The same applies to 1.12.3. |
Oh, I know how it happened. It pushed to dist and ran publish from the dist repo, which had slim files sitting there from previous commits. |
Ah, OK. I guess the fix that would kill similar issues in the future would be to |
Were you using a local clone of jquery for the build? If you were using |
@scottgonzalez It was a fresh clone, but it didn't overwrite the slim files. |
Another solution (probably simpler), would be to add those files to the .npmignore/bower.json ignore on non-master branches. |
That's not future-proof. I think we should ensure |
Ok, perhaps a whilelist instead of a blacklist (files property). |
I don't want to remove the whole dist before copying. This wouldn't work on windows, but rsync has a feature that removes files that aren't being copied over. |
While you are at it, can you fix the versions in the |
@beruic |
Good work you guys 👏🏼🎉
|
On CDNjs the slim files still have |
@beruic if you mean the 2.2.3 files, we don't remove and republish files that have already been published elsewhere. Think of something like that as a force-push to a public repo here at Github, it's pretty disruptive. In many cases it would not even work, CDNs set long expiration dates for the cached files so browsers and proxies will pull from their cache regardless of whether the file has been updated or removed. The fix committed here was for our release process to be sure the problem did not happen in the future. We've got a new release coming in the next couple of days. |
Description:
jQuery v2.2.3 has
v3.0.0-beta1
in header comment for the following files:dist/jquery.slim.js
dist/jquery.slim.min.js
.Steps to reproduce:
npm install jquery@2.2.3
head ./node_modules/jquery/dist/jquery.slim.js
Browser Information:
The text was updated successfully, but these errors were encountered: