Skip to content

Commit 7432384

Browse files
Bump eslint-plugin-import from 2.22.1 to 2.23.3 (#329)
* Bump eslint-plugin-import from 2.22.1 to 2.23.3 Bumps [eslint-plugin-import](https://github.com/benmosher/eslint-plugin-import) from 2.22.1 to 2.23.3. - [Release notes](https://github.com/benmosher/eslint-plugin-import/releases) - [Changelog](https://github.com/benmosher/eslint-plugin-import/blob/master/CHANGELOG.md) - [Commits](import-js/eslint-plugin-import@v2.22.1...v2.23.3) Signed-off-by: dependabot-preview[bot] <[email protected]> * Remove file extensions from imports * Add file extension to json import Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> Co-authored-by: Brian Surowiec <[email protected]>
1 parent d6a960a commit 7432384

File tree

8 files changed

+602
-97
lines changed

8 files changed

+602
-97
lines changed

devserver.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
const http = require('http');
2-
const handler = require('./src/handler.js');
2+
const handler = require('./src/handler');
33

44
http.createServer((req, res) => handler(req, res))
55
.listen(3000);

functional.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
const http = require('http');
22
const got = require('got');
33

4-
const handler = require('./src/handler.js');
4+
const handler = require('./src/handler');
55

66
describe('functional', () => {
77
let server;

package-lock.json

Lines changed: 593 additions & 88 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"jsdom": "^16.6.0",
3131
"eslint": "^7.27.0",
3232
"eslint-config-airbnb-base": "^14.2.1",
33-
"eslint-plugin-import": "^2.22.1",
33+
"eslint-plugin-import": "^2.23.3",
3434
"eslint-plugin-jest": "^24.3.6",
3535
"got": "^9.5.1",
3636
"jest": "^26.6.3",

src/java/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
const findReachableUrls = require('find-reachable-urls');
2-
const flatMappingList = require('./mapping');
2+
const flatMappingList = require('./mapping.json');
33
const cache = require('../utils/cache');
44

55
const SUPPORTED_JAVA_VERSIONS = [9, 8, 7];

src/registries/xpath-helper.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
const jpath = require('json-path');
2-
const xpathHelper = require('./xpath-helper.js');
2+
const xpathHelper = require('./xpath-helper');
33

44
jest.mock('json-path');
55

src/utils/cache.spec.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
const redis = require('ioredis');
2-
const cache = require('./cache.js');
3-
require('./log.js');
2+
const cache = require('./cache');
3+
require('./log');
44

5-
jest.mock('./log.js');
5+
jest.mock('./log');
66
jest.mock('ioredis');
77

88
describe('cache', () => {

src/utils/url.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const { prioritiesHost } = require('./url.js');
1+
const { prioritiesHost } = require('./url');
22

33
const inputUrls = [
44
'https://foo.com',

0 commit comments

Comments
 (0)