Commit Graph

180 Commits

Author SHA1 Message Date
Reed Loden
835e9218be Build: Update grunt-contrib-uglify because of a security issue in uglify
Update grunt-contrib-uglify dependency to v0.9.2 in order to
avoid a security issue fixed in uglify-js v2.4.24.

https://github.com/mishoo/UglifyJS2/issues/751
https://zyan.scripts.mit.edu/blog/backdooring-js/

Closes gh-2556
2015-09-07 22:19:47 +02:00
Oleg Gaidarenko
10fdad742a Build: Update jscs and lint files
Fixes gh-2056
2015-09-07 20:03:50 +03:00
Michał Gołębiowski
669cb16d76 Build: Add a comment explaining why the es3 option is needed
It might not be obvious to everyone that IE 9 & Android 4.0 are not
ES5-compliant browsers (by a large margin) so it's better to add a support
comment. This requires slight changes in parsing the config file
as it's not a pure JSON anymore. JSHint understands such files without
problems.

Closes gh-2520
2015-08-03 18:51:18 +02:00
Michał Gołębiowski
bb026fc12c Core: Make jQuery objects iterable
Make iterating over jQuery objects possible using ES 2015 for-of:

    for ( node of $( "<div id=narwhal>" ) ) {
        console.log( node.id ); // "narwhal"
    }

Fixes gh-1693
2015-06-13 23:14:36 +02:00
Michał Gołębiowski
1556c4661a Build: Update grunt-contrib-jshint 2015-06-13 22:45:52 +02:00
Gilad Peleg
8e92e1ea3c Build: Update the license attribute
Specifying the type and URL is deprecated:

https://docs.npmjs.com/files/package.json#license
http://npm1k.org/

Fixes gh-2331
Closes gh-2330
2015-06-01 19:32:51 +02:00
Oleg Gaidarenko
a644101ed0 Build: update requirejs dependency to 2.1.17
Fixes gh-2290
2015-05-19 18:45:14 +03:00
Timmy Willison
5c3101fee6 Build: use different versions of jsdom for Node and iojs testing
Fixes gh-2266
2015-05-07 09:57:59 -07:00
Calvin Metcalf
b92acf7237 Build: Remove npm from dependencies
Close gh-2254
2015-05-05 10:19:42 -07:00
Michał Gołębiowski
ab40725879 Core: Test all factory use cases from intro.js
There is a lot of logic in intro.js; now we test four cases:
1. (implicitly, via QUnit tests) A real browser with window being the global
2. Browserify where there are both global & window variables.
3. Node with jsdom where window is passed manually to the jQuery factory.
4. Pure Node with incorrect window passed; jQuery should throw then.

Previously the second & fourth case was not tested and the third was tested
in a way that interfered with the main test environment.

We now also test if in the Browserify case we're not creating a jQuery global
by default.

Fixes gh-2181
Closes gh-2234
2015-04-27 22:44:47 +02:00
Timmy Willison
3a0dd5a3d3 Build: update Sizzle
Fixes gh-2042
Fixes gh-1969
Closes gh-1709
2015-04-13 11:30:18 -04:00
Michał Gołębiowski
06f6cd1ffd Core: Update tested jsdom, drop obsolete workarounds
The latest version supporting Node.js is 3.1.2; some workarounds are not needed
for this version. For example, in jsdom 3.1.2 a document created via
document.implementation.createHTMLDocument( "" ) has a body.

Fixes gh-2153
Closes gh-2154
2015-03-30 18:58:09 +02:00
Michał Gołębiowski
f5aa89af70 Build: Update native-promise-only (again)
This should fix Android 4.0 jQuery.when tests issues, for reals this time.
2015-03-28 16:43:06 +01:00
Michał Gołębiowski
0065e1f3e3 Build: Update native-promise-only
This should fix Android 4.0 jQuery.when tests issues.

Closes gh-2159
2015-03-25 18:59:05 +01:00
Timmy Willison
98c25b7c80 Build: save sinon update for later
Fixes gh-2160
2015-03-24 11:44:55 -04:00
Richard Gibson
555a50d340 Deferred: Backwards-compatible standards interoperability
Fixes gh-1722
Closes gh-1996
2015-03-20 02:00:17 -04:00
Jörn Zaefferer
2d5c5d213f Build: Update QUnit to latest (1.17.1)
Closes gh-2038
2015-02-15 01:14:41 +03:00
Timmy Willison
a76c781236 Release: remove sourcemap comment from all copies of minified file
Fixes gh-1707
2015-01-30 12:22:31 -08:00
Timmy Willison
26eca143c2 Release: Distribute files to distribution repo
Fixes gh-1869
Fixes gh-1673
Fixes gh-2045
2015-01-29 12:03:40 -08:00
Dave Methvin
a4133ffafa Build: Sanctify the component name status of Wrap 2015-01-11 22:24:02 -05:00
Richard Gibson
bb928bde7e Build: Rearrange grunt/npm tasks into a build/dist/test pattern
Ref 76df9e4e38
Closes gh-1980
2015-01-11 10:28:18 -05:00
Richard Gibson
0c9d018889 Build: Specify valid components for commit messages
Closes gh-1909
2015-01-10 21:11:50 -05:00
Michał Gołębiowski
76df9e4e38 Build: Don't assume the browser environment; smoke test on Node w/ jsdom
Fixes gh-1950
Closes gh-1949
2014-12-26 13:26:46 +01:00
Timmy Willison
91017047fc Build: update node dependencies 2014-12-17 10:42:29 -05:00
Timmy Willison
7602dc708d Sizzle: update to 2.1.1 2014-12-15 12:30:43 -05:00
Richard Gibson
6748ba3496 Tests: Update QUnit 2014-12-05 09:55:12 -05:00
Timmy Willison
7a607c5673 Build: update version to 3.0.0-pre 2014-11-03 12:29:16 -05:00
Jörn Zaefferer
5bc1ddc5cc Build: Upgrade to commitplease 2.0.0
commitplease now accepts "[tmp]:" and similar to temporary commits,
useful while updating pull requests that are squashed later.
2014-10-22 17:57:23 +02:00
Arthur Verschaeve
3e89a53265 Misc: Update all references to bugs.jquery.com
Fixes gh-1681
Closes gh-1716
2014-10-19 23:51:04 +01:00
Timmy Willison
269a27c702 Build: update source map options for the new grunt jshint 2014-07-17 11:15:19 -07:00
Timmy Willison
c869a1ef8a Build: update grunt-jscs-checker and pass with the new rules 2014-07-17 10:25:59 -07:00
Timmy Willison
8e3a0ceafa Build: update node dependencies barring jscs 2014-07-17 10:24:37 -07:00
Timmy Willison
e1949f4371 Build: drop bower; use npm for front-end deps
Fixes #15186
Closes gh-1620
2014-07-17 09:02:59 -07:00
Scott González
4f776e5ff9 Build: Update license
Closes gh-1587
2014-06-27 11:10:45 -04:00
Timmy Willison
712e78c47f Build: update grunt-bowercopy 2014-06-25 13:51:39 -04:00
Scott González
323e82c09f Build: Upgrade to grunt-bowercopy 1.0.0 2014-06-24 10:16:55 -04:00
Oleg Gaidarenko
39b76064d9 Build: Update commitplease dev dependency 2014-06-16 03:08:46 +04:00
Timmy Willison
1d931068d3 Release: ensure Sizzle is the latest tag
Fixes #14915
2014-05-23 13:49:57 -04:00
Dave Methvin
568f3dd846 Build: Updating the master version to 2.1.2-pre. 2014-05-01 13:15:13 -04:00
Oleg Gaidarenko
bbace100a3 Build: Spaces vs tabs
* Use tabs instead of spaces in jscs config

* Always use spaces in package.json (really hope this is temporary)
2014-04-24 23:42:18 +04:00
Dave Methvin
04ddc4a44b Build: Add "browser" keyword for npm 2014-04-23 12:05:12 -04:00
Scott González
4bd2830636 Build: Update version from pre to -pre
Ref jquery/jquery-release#61
Fixes #15020
Closes gh-1561
2014-04-17 15:15:51 -04:00
Oleg Gaidarenko
b7283d738e Build: Update jscsrc
* Update "grunt-jscs-checker" package

* Use ".jscsrc" file instead of old ".jscs.json"

* Use jquery preset instead of explicitly defining all the jscs rules
2014-04-15 18:08:18 +04:00
Scott González
5265cdac3d Build: Update release script for new jquery-release API
Closes gh-1544
2014-03-21 12:33:10 -04:00
Jörn Zaefferer
d3c1ce9c24 Build: Add commitplease for commit msg checking
Closes gh-1523
2014-03-20 12:33:07 -04:00
Jörn Zaefferer
3ffd95bdb1 Package: Sort devDependencies 2014-03-20 12:33:06 -04:00
Michał Gołębiowski
d63243d085 Build: Upgrade npm devDependencies 2014-01-26 04:01:57 +01:00
Timmy Willison
4655c3de5f Updating the master version to 2.1.1pre. 2014-01-23 16:12:48 -05:00
Timmy Willison
7d758aca35 Update grunt-bowercopy to 0.5.0 2013-12-31 17:39:58 -05:00
Timmy Willison
f3062f96e0 Release script: jquery-release integration 2013-12-20 17:25:03 -05:00
Timmy Willison
bae117445b Remove hyphen from pre versions
- It is intentionally invalid semver as pre versions should never be released
- UI and Mobile already do this
2013-12-20 17:25:03 -05:00
Oleg
09ede3d33b Use the exact versions dependencies
And remove unused "which" package

Closes gh-1458
2013-12-19 08:34:49 +04:00
Michał Gołębiowski
7deee6af72 Build: Upgrade to grunt-contrib-jshint 0.7.1 and squash subtasks
grunt-contrib-jshint 0.7.1 allows the jshintrc option to be set to true to have
it read the appropriate config file based on the file being checked. The only
place where we can’t use it is the check for dist/jquery.js that has the onevar
option removed.

Fixes #14504
2013-12-18 15:24:29 +01:00
Timmy Willison
f9ad13c9ec Manage bower dependencies with grunt-bowercopy
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.
2013-12-06 16:04:35 -05:00
Timmy Willison
6fde975259 Fixes #14548. Add main property to package.json 2013-11-15 17:07:12 -05:00
Dave Methvin
6f74abb7bf Updating the source version to 2.1.0-pre✓™ 2013-11-15 09:55:16 -05:00
Dave Methvin
1f7661f519 Updating version to 2.1.0-beta2. 2013-11-15 09:54:53 -05:00
Timmy Willison
ac7ff97f8b Use grunt and bower packages as local dependencies. Close gh-1433. 2013-11-14 10:17:18 -05:00
Michał Gołębiowski
d0fadbba9f Remove workarounds for the uglify task mishandling banners when used with source maps.
The issue was fixed in grunt-contrib-uglify:
https://github.com/gruntjs/grunt-contrib-uglify/issues/22
2013-11-09 23:12:06 +01:00
Sindre Sorhus
abfa210adf Add load-grunt-tasks package dependency
Close gh-1405
2013-11-07 21:38:38 +01:00
Oleg
5ce0b34257 Fix #12757 - use jscs to check the style guide
Close gh-1396
2013-11-07 20:58:27 +01:00
Michał Gołębiowski
95d1192d53 No ticket. Update npm devDependencies. 2013-10-25 21:26:44 +02:00
Timmy Willison
310b8f5b6e Update requirejs to compatible version, remove r.js 2013-10-15 09:51:09 -04:00
Timmy Willison
fea6904d46 Edit bower install script based on comments. Close gh-1392. 2013-10-07 17:19:04 -04:00
Scott González
4d818ab12c Warn on npm install if Bower isn't installed. 2013-10-07 17:17:04 -04:00
Dave Methvin
210cbcf520 Updating the source version to 2.1.0-pre✓™ 2013-09-19 16:15:47 -04:00
Dave Methvin
1185427c4c Tagging the 2.1.0-beta1 release. 2013-09-19 16:15:38 -04:00
Jörn Zaefferer
dab011e26d Add Travis CI config for PR testing 2013-09-12 18:08:37 +02:00
Michał Gołębiowski
58a504093c No ticket. Update packages, make the devDependencies list alphabetic. 2013-09-05 18:18:48 +02:00
Timmy Willison
6318ae6ab9 AMD-ify jQuery sourcegit s! Woo! Fixes #14113, #14163. 2013-08-15 14:15:49 -04:00
Oleg
806b0230cd Install bower packages with npm install 2013-07-22 22:04:48 +04:00
Timmy Willison
07b5f126e2 Lint JSON manifests during development 2013-07-19 09:54:15 -04:00
Michał Gołębiowski
c33108cad1 Update devDependencies, adjust .jshintrc to jsHint 2.x, use .jshintignore. Close gh-1283. 2013-07-11 12:52:48 -04:00
Timmy Willison
b13d8229ae Include Sizzle and Qunit with bower. Fixes #14118. 2013-07-10 12:00:26 -04:00
Dave Methvin
0dd88061a2 Updating the source version to 2.0.4-pre✓™ 2013-07-03 09:30:49 -04:00
Dave Methvin
f576d00d9f Tagging the 2.0.3 release. 2013-07-03 09:30:16 -04:00
Jörn Zaefferer
8643ac77fb Build: Update testswarm task to node-testswarm 1.x API 2013-06-05 15:58:33 +02:00
Dave Methvin
86fe6eea50 Updating the source version to 2.0.3-pre✓™ 2013-05-30 17:25:29 -04:00
Dave Methvin
b21c88ff0c Tagging the 2.0.2 release. 2013-05-30 17:25:21 -04:00
Dave Methvin
bd36ea22b6 Updating the source version to 2.0.2-pre✓™ 2013-05-24 12:44:52 -04:00
Dave Methvin
6190370ab7 Tagging the 2.0.1 release. 2013-05-24 12:44:44 -04:00
Chris Talkington
eaee6eae0f build: update release script to use nodejs archiver. 2013-05-12 16:40:49 -05:00
Dave Methvin
ebecdac242 Updating the source version to 2.0.1-pre 2013-04-18 16:52:15 -04:00
Dave Methvin
6aaa8a113f Tagging the 2.0.0 release. 2013-04-18 16:52:00 -04:00
Richard Gibson
9d16fe6283 Fix #13776: Add banner before generating source map. Close gh-1246. 2013-04-18 13:35:37 -04:00
Dave Methvin
0afc92bd73 Updating the source version to 2.0.0-pre 2013-04-09 08:10:23 -04:00
Dave Methvin
baa50b5e17 Tagging the 2.0.0-beta3 release. 2013-04-09 08:10:08 -04:00
Michał Gołębiowski
1205103a72 Update grunt-contrib-jshint to 0.3.0, close gh-1204.
(cherry picked from 4adde5d145)

Conflicts:
	src/data.js
	src/effects.js
2013-04-03 20:51:30 -04:00
Tom Fuertes
1f530e2867 No ticker: grunt_compare_size options. Close gh-1210. 2013-03-26 20:50:30 -04:00
Timmy Willison
f319f42db0 Use semver versions for our in-between versions as well.
http://semver.org
2013-03-23 15:20:46 -04:00
Michał Gołębiowski
c5fc953d19 updated Grunt to 0.4.1 (needed for node 0.10.0 compatibility). Closes gh-1202 2013-03-18 12:51:04 -04:00
Richard Gibson
91d57647e9 No ticket: compare_size returns!
(remember to `npm install`)
2013-03-11 10:09:10 -04:00
Dave Methvin
9f981c84a5 Updating the source version to 2.0.0pre 2013-03-01 13:50:16 -05:00
Dave Methvin
4cbc235c0d Tagging the 2.0.0b2 release. 2013-03-01 13:50:10 -05:00
Dave Methvin
a30785a4dd Fix version; we are not at 2.0.0 yet! 2013-02-04 10:13:09 -05:00
Dave Methvin
b594673a42 Choose a lovely set of matching grunt dependencies.
Stylish yet functional, this set of grunt plugins should provide hours of trouble-free operation until rc6 comes out.
2013-01-26 20:56:11 -05:00
Dave Methvin
47a6f52dc9 Fix build until next grunt rc, disable compare_size. 2013-01-26 15:05:42 -05:00
Dave Methvin
86278d40ae Updating the source version to 2.0.0pre 2013-01-14 23:19:45 -05:00
Dave Methvin
2cc06af007 Tagging the 2.0.0b1 release. 2013-01-14 23:19:18 -05:00
adam j. sontag
5aba2102b2 Revert grunt, grunt-contrib-jshint, and grunt-contrib-uglify versions used in build until we can adapt Gruntfile to support grunt 0.4.0rc5 changes 2013-01-10 23:47:48 -05:00