Skip to content

Commit ad6d13d

Browse files
committed
Upgrade dependencies
1 parent b68d534 commit ad6d13d

File tree

9 files changed

+18
-10
lines changed

9 files changed

+18
-10
lines changed

package.json

+10-10
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"xo"
3838
],
3939
"dependencies": {
40-
"@babel/helper-validator-identifier": "^7.14.5",
40+
"@babel/helper-validator-identifier": "^7.14.9",
4141
"ci-info": "^3.2.0",
4242
"clean-regexp": "^1.0.0",
4343
"eslint-template-visitor": "^2.3.2",
@@ -51,28 +51,28 @@
5151
"semver": "^7.3.5"
5252
},
5353
"devDependencies": {
54-
"@babel/code-frame": "7.12.13",
55-
"@babel/core": "7.14.6",
56-
"@babel/eslint-parser": "7.14.7",
54+
"@babel/code-frame": "7.14.5",
55+
"@babel/core": "7.14.8",
56+
"@babel/eslint-parser": "7.14.9",
5757
"@lubien/fixture-beta-package": "^1.0.0-beta.1",
58-
"@typescript-eslint/parser": "^4.26.1",
58+
"@typescript-eslint/parser": "^4.29.0",
5959
"ava": "^3.15.0",
60-
"chalk": "^4.1.1",
60+
"chalk": "^4.1.2",
6161
"enquirer": "2.3.6",
6262
"eslint": "^7.28.0",
6363
"eslint-ava-rule-tester": "^4.0.0",
6464
"eslint-plugin-eslint-plugin": "^3.5.3",
65-
"eslint-remote-tester": "^1.2.0",
65+
"eslint-remote-tester": "^1.3.0",
6666
"execa": "^5.1.1",
6767
"listr": "^0.14.3",
6868
"lodash-es": "4.17.21",
6969
"mem": "8.1.1",
7070
"nyc": "^15.1.0",
7171
"outdent": "^0.8.0",
7272
"pify": "^5.0.0",
73-
"typescript": "^4.3.2",
74-
"vue-eslint-parser": "^7.6.0",
75-
"xo": "^0.41.0"
73+
"typescript": "^4.3.5",
74+
"vue-eslint-parser": "^7.10.0",
75+
"xo": "^0.43.0"
7676
},
7777
"peerDependencies": {
7878
"eslint": ">=7.28.0"

rules/fix/rename-variable.js

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
'use strict';
22
const getVariableIdentifiers = require('../utils/get-variable-identifiers.js');
33
const replaceReferenceIdentifier = require('./replace-reference-identifier.js');
4+
45
const renameVariable = (variable, name, fixer) =>
56
getVariableIdentifiers(variable)
67
.map(identifier => replaceReferenceIdentifier(identifier, name, fixer));

rules/utils/create-deprecated-rules.js

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
'use strict';
22
const packageJson = require('../../package.json');
3+
34
const repoUrl = 'https://github.com/sindresorhus/eslint-plugin-unicorn';
45

56
function createDeprecatedRules(data) {

rules/utils/is-shorthand-property-assignment-pattern-left.js

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
'use strict';
22

33
const isShorthandPropertyValue = require('./is-shorthand-property-value.js');
4+
45
const isShorthandPropertyAssignmentPatternLeft = identifier =>
56
identifier.parent.type === 'AssignmentPattern' &&
67
identifier.parent.left === identifier &&

scripts/create-rule.mjs

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/usr/bin/env node
2+
import process from 'node:process';
23
import fs from 'node:fs';
34
import path from 'node:path';
45
import {fileURLToPath} from 'node:url';

scripts/rename-rule.mjs

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/usr/bin/env node
2+
import process from 'node:process';
23
import fs, {promises as fsAsync} from 'node:fs';
34
import enquirer from 'enquirer';
45
import unicorn from '../index.js';

test/integration/test.mjs

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/usr/bin/env node
2+
import process from 'node:process';
23
import fs from 'node:fs';
34
import path from 'node:path';
45
import {fileURLToPath} from 'node:url';

test/run-rules-on-codebase/lint.mjs

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/usr/bin/env node
2+
import process from 'node:process';
23
import {ESLint} from 'eslint';
34
import unicorn from '../../index.js';
45

test/unit/get-documentation-url.mjs

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import getDocumentationUrl from '../../rules/utils/get-documentation-url.js';
55

66
const require = createRequire(import.meta.url);
77
const packageJson = require('../../package.json');
8+
89
const filename = url.fileURLToPath(import.meta.url).replace(/\.mjs$/, '.js');
910

1011
test('returns the URL of the a named rule\'s documentation', t => {

0 commit comments

Comments
 (0)