Skip to content

Commit 8751e9e

Browse files
abnud1mgol
authored andcommitted
Build: Update most dependencies
The only packages not fully updated are: - qunitjs & karma-qunit as that's a QUnit 2.x update that will require some changes and we'll do that later - jsdom as we need to first rewrite the test with the Symbol polyfill - newer jsdom versions don't work with such a hacked Symbol instance - sinon as the v2 -> v7 upgrade requires to update our unit tests - uglify-js & grunt-contrib-uglify as latest uglify-js versions slightly worsen the minified gzipped size Closes jquerygh-4227 Closes jquerygh-4228 Closes jquerygh-4230 Closes jquerygh-4232
1 parent c349818 commit 8751e9e

File tree

3 files changed

+24
-20
lines changed

3 files changed

+24
-20
lines changed

Gruntfile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ module.exports = function( grunt ) {
3838
options: {
3939
sourceMap: "inline",
4040
retainLines: true,
41-
plugins: [ "transform-es2015-for-of" ]
41+
plugins: [ "@babel/transform-for-of" ]
4242
},
4343
nodeSmokeTests: {
4444
files: {

external/requirejs/require.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/** vim: et:ts=4:sw=4:sts=4
2-
* @license RequireJS 2.3.5 Copyright jQuery Foundation and other contributors.
2+
* @license RequireJS 2.3.6 Copyright jQuery Foundation and other contributors.
33
* Released under MIT license, https://github.com/requirejs/requirejs/blob/master/LICENSE
44
*/
55
//Not using strict: uneven strict support in browsers, #392, and causes
@@ -11,7 +11,7 @@ var requirejs, require, define;
1111
(function (global, setTimeout) {
1212
var req, s, head, baseElement, dataMain, src,
1313
interactiveScript, currentlyAddingScript, mainScript, subPath,
14-
version = '2.3.5',
14+
version = '2.3.6',
1515
commentRegExp = /\/\*[\s\S]*?\*\/|([^:"'=]|^)\/\/.*$/mg,
1616
cjsRequireRegExp = /[^.]\s*require\s*\(\s*["']([^'"\s]+)["']\s*\)/g,
1717
jsSuffixRegExp = /\.js$/,
@@ -165,7 +165,7 @@ var requirejs, require, define;
165165
* @returns {Error}
166166
*/
167167
function makeError(id, msg, err, requireModules) {
168-
var e = new Error(msg + '\nhttp://requirejs.org/docs/errors.html#' + id);
168+
var e = new Error(msg + '\nhttps://requirejs.org/docs/errors.html#' + id);
169169
e.requireType = id;
170170
e.requireModules = requireModules;
171171
if (err) {

package.json

Lines changed: 20 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -25,29 +25,29 @@
2525
"license": "MIT",
2626
"dependencies": {},
2727
"devDependencies": {
28-
"babel-core": "7.0.0-beta.0",
29-
"babel-plugin-transform-es2015-for-of": "7.0.0-beta.0",
28+
"@babel/core": "7.3.3",
29+
"@babel/plugin-transform-for-of": "7.2.0",
3030
"commitplease": "3.2.0",
31-
"core-js": "2.5.7",
31+
"core-js": "2.6.5",
3232
"eslint-config-jquery": "1.0.1",
3333
"grunt": "1.0.3",
34-
"grunt-babel": "7.0.0",
35-
"grunt-cli": "1.2.0",
34+
"grunt-babel": "8.0.0",
35+
"grunt-cli": "1.3.2",
3636
"grunt-compare-size": "0.4.2",
37-
"grunt-contrib-uglify": "3.3.0",
37+
"grunt-contrib-uglify": "3.4.0",
3838
"grunt-contrib-watch": "1.1.0",
39-
"grunt-eslint": "20.2.0",
39+
"grunt-eslint": "21.0.0",
4040
"grunt-git-authors": "3.2.0",
4141
"grunt-jsonlint": "1.1.0",
42-
"grunt-karma": "2.0.0",
42+
"grunt-karma": "3.0.1",
4343
"grunt-newer": "1.3.0",
4444
"grunt-npmcopy": "0.1.0",
4545
"gzip-js": "0.3.2",
46-
"husky": "0.14.3",
46+
"husky": "1.3.1",
4747
"insight": "0.10.1",
4848
"jsdom": "5.6.1",
49-
"karma": "2.0.3",
50-
"karma-browserstack-launcher": "1.3.0",
49+
"karma": "4.0.0",
50+
"karma-browserstack-launcher": "1.4.0",
5151
"karma-chrome-launcher": "2.2.0",
5252
"karma-firefox-launcher": "1.1.0",
5353
"karma-ie-launcher": "1.0.0",
@@ -59,22 +59,20 @@
5959
"qunit-assert-step": "1.1.1",
6060
"qunitjs": "1.23.1",
6161
"raw-body": "2.3.3",
62-
"requirejs": "2.3.5",
62+
"requirejs": "2.3.6",
6363
"sinon": "2.3.7",
6464
"sizzle": "2.3.3",
6565
"strip-json-comments": "2.0.1",
6666
"testswarm": "1.1.0",
67-
"uglify-js": "3.4.0"
67+
"uglify-js": "3.4.7"
6868
},
6969
"scripts": {
7070
"build": "npm install && grunt",
7171
"start": "grunt watch",
7272
"test:browserless": "grunt && grunt test:slow",
7373
"test:browser": "grunt && grunt karma:main",
7474
"test": "grunt && grunt test:slow && grunt karma:main",
75-
"jenkins": "npm run test:browserless",
76-
"precommit": "grunt lint:newer qunit_fixture",
77-
"commitmsg": "node node_modules/commitplease"
75+
"jenkins": "npm run test:browserless"
7876
},
7977
"commitplease": {
8078
"nohook": true,
@@ -105,5 +103,11 @@
105103
],
106104
"markerPattern": "^((clos|fix|resolv)(e[sd]|ing))|^(refs?)",
107105
"ticketPattern": "^((Closes|Fixes) ([a-zA-Z]{2,}-)[0-9]+)|^(Refs? [^#])"
106+
},
107+
"husky": {
108+
"hooks": {
109+
"commit-msg": "node node_modules/commitplease",
110+
"pre-commit": "grunt lint:newer qunit_fixture"
111+
}
108112
}
109113
}

0 commit comments

Comments
 (0)