Skip to content

Commit

Permalink
[Dev Deps] update eslint, @ljharb/eslint-config
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Oct 12, 2020
1 parent b293878 commit 1cc931e
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
1 change: 1 addition & 0 deletions .eslintrc
Expand Up @@ -37,6 +37,7 @@
}],
"no-invalid-this": [0],
"no-invalid-regexp": [2, { "allowConstructorFlags": ["u", "y"] }],
"no-loss-of-precision": [1],
"no-magic-numbers": [0],
"no-native-reassign": [2, { "exceptions": ["Number", "Promise", "RegExp"] }],
"no-negated-condition": [1],
Expand Down
3 changes: 2 additions & 1 deletion es6-shim.js
Expand Up @@ -1057,7 +1057,8 @@
}
if (typeof array !== 'undefined') {
var len = ES.ToLength(array.length);
for (; i < len; i++) {
if (i < len) {
//for (; i < len; i++) {
var kind = this.kind;
var retval;
if (kind === 'key') {
Expand Down
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -60,10 +60,10 @@
},
"dependencies": {},
"devDependencies": {
"@ljharb/eslint-config": "^17.1.0",
"@ljharb/eslint-config": "^17.2.0",
"chai": "^3.5.0",
"es5-shim": "^4.5.14",
"eslint": "^7.2.0",
"eslint": "^7.11.0",
"evalmd": "0.0.19",
"grunt": "^0.4.5",
"grunt-contrib-connect": "^1.0.2",
Expand Down
2 changes: 1 addition & 1 deletion test/promise/all.js
Expand Up @@ -162,7 +162,7 @@ describe('Promise.all', function () {
if (hijack) {
hijack = false;
self = new Promise(function (resolve, reject) {
return resolver(function (values) {
resolver(function (values) {
// record arguments & # of times resolve function is called
actualArguments.push(values.slice());
return resolve(values);
Expand Down

0 comments on commit 1cc931e

Please sign in to comment.