Skip to content

Commit 38dba0b

Browse files
committed
chore: bump (dev)Dependencies
1 parent 9b34271 commit 38dba0b

File tree

5 files changed

+3301
-3029
lines changed

5 files changed

+3301
-3029
lines changed

.renovaterc

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
{
2-
"extends": "@1stg"
2+
"extends": [
3+
"@1stg"
4+
]
35
}

package.json

+14-13
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717
"fesm5": "lib/esm",
1818
"types": "lib",
1919
"files": [
20-
"lib/*.{js,js.map,d.ts}"
20+
"!*.tsbuildinfo",
21+
"lib"
2122
],
2223
"keywords": [
2324
"typescript",
@@ -52,34 +53,34 @@
5253
"eslint-plugin-import": "*"
5354
},
5455
"dependencies": {
55-
"debug": "^4.1.1",
56+
"debug": "^4.3.1",
5657
"glob": "^7.1.6",
5758
"is-glob": "^4.0.1",
58-
"resolve": "^1.17.0",
59+
"resolve": "^1.20.0",
5960
"tsconfig-paths": "^3.9.0"
6061
},
6162
"devDependencies": {
62-
"@1stg/lib-config": "^0.5.5",
63+
"@1stg/lib-config": "^1.0.1",
6364
"@types/debug": "^4.1.5",
6465
"@types/glob": "^7.1.3",
6566
"@types/is-glob": "^4.0.1",
66-
"@types/node": "^14.6.2",
67-
"@types/resolve": "^1.17.1",
67+
"@types/node": "^14.14.28",
68+
"@types/resolve": "^1.19.0",
6869
"@types/unist": "^2.0.3",
6970
"dummy.js": "link:dummy.js",
7071
"eslint-import-resolver-typescript": "link:.",
7172
"npm-run-all": "^4.1.5",
72-
"react": "^16.13.1",
73-
"standard-version": "^8.0.2",
74-
"type-coverage": "^2.9.0",
75-
"typescript": "^4.0.2",
76-
"yarn-deduplicate": "^3.0.0"
73+
"react": "^17.0.1",
74+
"standard-version": "^9.1.0",
75+
"type-coverage": "^2.14.9",
76+
"typescript": "^4.1.5",
77+
"yarn-deduplicate": "^3.1.0"
7778
},
7879
"resolutions": {
7980
"eslint-import-resolver-typescript": "link:.",
80-
"prettier": "^2.1.1"
81+
"prettier": "^2.2.1"
8182
},
8283
"typeCoverage": {
83-
"atLeast": 99.27
84+
"atLeast": 99.28
8485
}
8586
}

src/index.ts

+7-4
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,14 @@ const IMPORTER_NAME = 'eslint-import-resolver-typescript'
1515

1616
const log = debug(IMPORTER_NAME)
1717

18-
const defaultExtensions = ['.ts', '.tsx', '.d.ts'].concat(
18+
const defaultExtensions = [
19+
'.ts',
20+
'.tsx',
21+
'.d.ts',
1922
// eslint-disable-next-line node/no-deprecated-api
20-
Object.keys(require.extensions),
23+
...Object.keys(require.extensions),
2124
'.jsx',
22-
)
25+
]
2326

2427
export const interfaceVersion = 2
2528

@@ -213,7 +216,7 @@ function initMappers(options: TsResolverOptions) {
213216
mappers = configPaths
214217
// turn glob patterns into paths
215218
.reduce<string[]>(
216-
(paths, path) => paths.concat(isGlob(path) ? globSync(path) : path),
219+
(paths, path) => [...paths, ...(isGlob(path) ? globSync(path) : [path])],
217220
[],
218221
)
219222
// eslint-disable-next-line unicorn/no-fn-reference-in-iterator

tsconfig.json

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"extends": "./node_modules/@1stg/tsconfig/lib.json",
33
"compilerOptions": {
44
"baseUrl": ".",
5+
"declarationMap": false,
56
"outDir": "lib"
67
},
78
"include": ["src"]

0 commit comments

Comments
 (0)