chore: upgrade various dependencies (#5138)

* chore: upgrade various dependencies

- upgrade syncpack from v6 to v8
- set syncpack workspace option to false to avoid changing workspace:* to exact version

* - remove deprecated @types/json5
- upgrade eslint-config-standard-with-typescript to v22
- install eslint-plugin-n which is now a required peer dependency
- upgrade eslint-plugin-promise to v6
- bump minimum node version to >=12.22.0 in @pnpm/eslint-config

* sync various @types/* packages to be at the same major version as the dep they provide types for

* fix new reported lint issues

* add changeset

* docs: update changesets

Co-authored-by: Zoltan Kochan <z@kochan.io>
This commit is contained in:
MCMXC
2022-08-02 10:36:06 +02:00
committed by GitHub
parent 29a81598ac
commit 39c0401277
17 changed files with 161 additions and 238 deletions

View File

@@ -0,0 +1,17 @@
---
"@pnpm/build-modules": patch
"@pnpm/cafs": patch
"@pnpm/default-reporter": patch
"@pnpm/directory-fetcher": patch
"@pnpm/git-resolver": patch
"@pnpm/mount-modules": patch
"@pnpm/plugin-commands-installation": patch
"@pnpm/plugin-commands-publishing": patch
"@pnpm/plugin-commands-server": patch
"@pnpm/read-project-manifest": patch
"@pnpm/server": patch
"@pnpm/write-project-manifest": patch
"@pnpm/eslint-config": patch
---
upgrade various dependencies

View File

@@ -7,7 +7,7 @@
"preinstall": "npx only-allow pnpm",
"prepare": "husky install",
"pretest": "pnpm run compile-only && pnpm --dir=fixtures run prepareFixtures",
"lint": "pnpm lint:meta && syncpack list-mismatches && pnpm run lint:ts",
"lint": "pnpm lint:meta && syncpack list-mismatches --workspace false && pnpm run lint:ts",
"lint:ts": "eslint **/src/**/*.ts **/test/**/*.ts",
"test-main": "pnpm pretest && pnpm lint --quiet && run-p -r verdaccio test-pkgs-main",
"remove-temp-dir": "shx rm -rf ../pnpm_tmp",
@@ -41,7 +41,7 @@
"@pnpm/meta-updater": "0.0.6",
"@pnpm/registry-mock": "2.20.0",
"@pnpm/tsconfig": "workspace:*",
"@types/jest": "^27.5.2",
"@types/jest": "^28.1.6",
"@types/node": "^14.18.22",
"c8": "^7.12.0",
"cross-env": "^7.0.3",
@@ -53,7 +53,7 @@
"publish-packed": "^4.1.1",
"rimraf": "^3.0.2",
"shx": "^0.3.4",
"syncpack": "^6.2.1",
"syncpack": "^8.2.4",
"ts-jest": "28.0.5",
"ts-node": "^10.9.1",
"typescript": "4.7.4",

View File

@@ -156,7 +156,7 @@ function applyPatchToDep (patchDir: string, patchFilePath: string) {
process.chdir(patchDir)
const success = applyPatch({
patchFilePath,
patchDir: patchDir,
patchDir,
})
process.chdir(cwd)
if (!success) {

View File

@@ -33,7 +33,7 @@
"devDependencies": {
"@pnpm/cafs": "workspace:*",
"@pnpm/types": "workspace:*",
"@types/concat-stream": "^1.6.1",
"@types/concat-stream": "^2.0.0",
"@types/node": "^14.18.22",
"@types/ssri": "^7.1.1",
"@types/tar-stream": "^2.2.2",

View File

@@ -665,7 +665,7 @@ test('output of failed optional dependency is not shown', (done) => {
optional: true,
script: 'node foo',
stage: 'install',
wd: wd,
wd,
})
lifecycleLogger.debug({
depPath: 'registry.npmjs.org/foo/1.0.0',
@@ -707,7 +707,7 @@ test('output of failed non-optional dependency is printed', (done) => {
optional: false,
script: 'node foo',
stage: 'install',
wd: wd,
wd,
})
lifecycleLogger.debug({
depPath: 'registry.npmjs.org/foo/1.0.0',

View File

@@ -271,11 +271,11 @@ test('moves fixed line to the end', (done) => {
logger.warn({ message: 'foo', prefix })
stageLogger.debug({
prefix: prefix,
prefix,
stage: 'resolution_done',
})
stageLogger.debug({
prefix: prefix,
prefix,
stage: 'importing_done',
})
})

View File

@@ -40,7 +40,7 @@
"devDependencies": {
"@pnpm/directory-fetcher": "workspace:*",
"@pnpm/test-fixtures": "workspace:*",
"@types/npm-packlist": "^1.1.2",
"@types/npm-packlist": "^3.0.0",
"@types/ramda": "0.28.14"
},
"exports": {

View File

@@ -4,7 +4,7 @@ import fetch from '@pnpm/fetch'
import git from 'graceful-git'
import HostedGit from 'hosted-git-info'
export type HostedPackageSpec = ({
export interface HostedPackageSpec {
fetchSpec: string
hosted?: {
type: string
@@ -16,7 +16,7 @@ export type HostedPackageSpec = ({
normalizedPref: string
gitCommittish: string | null
gitRange?: string
})
}
const gitProtocols = new Set([
'git',

View File

@@ -26,7 +26,6 @@ export default async function createFuseHandlers (lockfileDir: string, cafsDir:
return createFuseHandlersFromLockfile(lockfile, cafsDir)
}
/* eslint-disable node/no-callback-literal */
export function createFuseHandlersFromLockfile (lockfile: Lockfile, cafsDir: string) {
const pkgSnapshotCache = new Map<string, { name: string, version: string, pkgSnapshot: PackageSnapshot, index: PackageFilesIndex }>()
const virtualNodeModules = makeVirtualNodeModules(lockfile)
@@ -34,29 +33,35 @@ export function createFuseHandlersFromLockfile (lockfile: Lockfile, cafsDir: str
open (p: string, flags: string | number, cb: (exitCode: number, fd?: number) => void) {
const dirEnt = getDirEnt(p)
if (dirEnt?.entryType !== 'index') {
// eslint-disable-next-line n/no-callback-literal
cb(-1)
return
}
const fileInfo = dirEnt.index.files[dirEnt.subPath]
if (!fileInfo) {
// eslint-disable-next-line n/no-callback-literal
cb(-1)
return
}
const filePathInStore = getFilePathByModeInCafs(cafsDir, fileInfo.integrity, fileInfo.mode)
fs.open(filePathInStore, flags, (err, fd) => {
if (err != null) {
// eslint-disable-next-line n/no-callback-literal
cb(-1)
return
}
// eslint-disable-next-line n/no-callback-literal
cb(0, fd)
})
},
release (p: string, fd: number, cb: (exitCode: number) => void) {
// eslint-disable-next-line n/no-callback-literal
fs.close(fd, (err) => cb((err != null) ? -1 : 0))
},
read (p: string, fd: number, buffer: Buffer, length: number, position: number, cb: (readBytes: number) => void) {
fs.read(fd, buffer, position, length, position, (err, bytesRead) => {
if (err != null) {
// eslint-disable-next-line n/no-callback-literal
cb(-1)
return
}
@@ -69,6 +74,7 @@ export function createFuseHandlersFromLockfile (lockfile: Lockfile, cafsDir: str
cb(Fuse.ENOENT)
return
}
// eslint-disable-next-line n/no-callback-literal
cb(0, dirEnt.target)
},
/* eslint-disable-next-line @typescript-eslint/no-explicit-any */
@@ -79,6 +85,7 @@ export function createFuseHandlersFromLockfile (lockfile: Lockfile, cafsDir: str
return
}
if (dirEnt.entryType === 'directory' || dirEnt.entryType === 'index' && !dirEnt.subPath) {
// eslint-disable-next-line n/no-callback-literal
cb(0, schemas.Stat.directory({
...STAT_DEFAULT,
size: 1,
@@ -86,6 +93,7 @@ export function createFuseHandlersFromLockfile (lockfile: Lockfile, cafsDir: str
return
}
if (dirEnt.entryType === 'symlink') {
// eslint-disable-next-line n/no-callback-literal
cb(0, schemas.Stat.symlink({
...STAT_DEFAULT,
size: 1,
@@ -95,12 +103,14 @@ export function createFuseHandlersFromLockfile (lockfile: Lockfile, cafsDir: str
if (dirEnt.entryType === 'index') {
switch (cafsExplorer.dirEntityType(dirEnt.index, dirEnt.subPath)) {
case 'file':
// eslint-disable-next-line n/no-callback-literal
cb(0, schemas.Stat.file({
...STAT_DEFAULT,
size: dirEnt.index.files[dirEnt.subPath].size,
}))
return
case 'directory':
// eslint-disable-next-line n/no-callback-literal
cb(0, schemas.Stat.directory({
...STAT_DEFAULT,
size: 1,
@@ -123,6 +133,7 @@ export function createFuseHandlersFromLockfile (lockfile: Lockfile, cafsDir: str
cb(Fuse.ENOENT)
return
}
// eslint-disable-next-line n/no-callback-literal
cb(0, dirEnts)
return
}
@@ -130,6 +141,7 @@ export function createFuseHandlersFromLockfile (lockfile: Lockfile, cafsDir: str
cb(Fuse.ENOENT)
return
}
// eslint-disable-next-line n/no-callback-literal
cb(0, Object.keys(dirEnt.entries))
}
function getDirEnt (p: string) {

View File

@@ -129,7 +129,7 @@ export async function handler (
pkgPaths.map(async (dir) => installLimit(async () => {
const s = await createOrConnectStoreControllerCached(storeControllerCache, opts)
const config = await getConfig(
{ ...opts.cliOptions, dir: dir },
{ ...opts.cliOptions, dir },
{
excludeReporter: true,
rcOptionsTypes: installCommand.rcOptionsTypes(),

View File

@@ -43,11 +43,11 @@
"@types/cross-spawn": "^6.0.2",
"@types/is-ci": "^3.0.0",
"@types/is-windows": "^1.0.0",
"@types/npm-packlist": "^1.1.2",
"@types/npm-packlist": "^3.0.0",
"@types/proxyquire": "^1.3.28",
"@types/ramda": "0.28.14",
"@types/sinon": "^10.0.13",
"@types/tar": "^4.0.5",
"@types/tar": "^6.1.1",
"@types/tar-stream": "^2.2.2",
"cross-spawn": "^7.0.3",
"is-ci": "^3.0.1",

View File

@@ -64,7 +64,7 @@ export default async (
}
throw new PnpmError('SERVER_MANIFEST_LOCKED', `Canceling startup of server (pid ${process.pid}) because another process got exclusive access to server.json`)
}
let server: null|{close: () => Promise<void>} = null
let server: null | {close: () => Promise<void>} = null
onExit(() => {
if (server !== null) {
// Note that server.close returns a Promise, but we cannot wait for it because we may be

View File

@@ -45,7 +45,6 @@
"devDependencies": {
"@pnpm/read-project-manifest": "workspace:*",
"@types/is-windows": "^1.0.0",
"@types/json5": "^2.2.0",
"@types/parse-json": "^4.0.0",
"tempy": "^1.0.1"
},

View File

@@ -290,7 +290,7 @@ test('server should only allow POST', async () => {
for (const method of methods) {
// Ensure 405 error is received
const response = await fetch(`${remotePrefix}/a-random-endpoint`, { method: method })
const response = await fetch(`${remotePrefix}/a-random-endpoint`, { method })
expect(response.status).toBe(405)
expect((await response.json() as any).error).toBeTruthy() // eslint-disable-line
}

View File

@@ -36,7 +36,6 @@
},
"devDependencies": {
"@pnpm/write-project-manifest": "workspace:*",
"@types/json5": "^2.2.0",
"@types/write-file-atomic": "^3.0.3",
"tempy": "^1.0.1"
},

325
pnpm-lock.yaml generated
View File

@@ -77,8 +77,8 @@ importers:
specifier: workspace:*
version: link:utils/tsconfig
'@types/jest':
specifier: ^27.5.2
version: 27.5.2
specifier: ^28.1.6
version: 28.1.6
'@types/node':
specifier: ^14.18.22
version: 14.18.22
@@ -113,8 +113,8 @@ importers:
specifier: ^0.3.4
version: 0.3.4
syncpack:
specifier: ^6.2.1
version: 6.2.1
specifier: ^8.2.4
version: 8.2.4
ts-jest:
specifier: 28.0.5
version: 28.0.5_qfrsgica3z6cdgxy6jhs4zk72q
@@ -324,8 +324,8 @@ importers:
specifier: workspace:*
version: link:../types
'@types/concat-stream':
specifier: ^1.6.1
version: 1.6.1
specifier: ^2.0.0
version: 2.0.0
'@types/node':
specifier: ^14.18.22
version: 14.18.22
@@ -1058,8 +1058,8 @@ importers:
specifier: workspace:*
version: link:../../privatePackages/test-fixtures
'@types/npm-packlist':
specifier: ^1.1.2
version: 1.1.2
specifier: ^3.0.0
version: 3.0.0
'@types/ramda':
specifier: 0.28.14
version: 0.28.14
@@ -3646,8 +3646,8 @@ importers:
specifier: ^1.0.0
version: 1.0.0
'@types/npm-packlist':
specifier: ^1.1.2
version: 1.1.2
specifier: ^3.0.0
version: 3.0.0
'@types/proxyquire':
specifier: ^1.3.28
version: 1.3.28
@@ -3658,8 +3658,8 @@ importers:
specifier: ^10.0.13
version: 10.0.13
'@types/tar':
specifier: ^4.0.5
version: 4.0.5
specifier: ^6.1.1
version: 6.1.1
'@types/tar-stream':
specifier: ^2.2.2
version: 2.2.2
@@ -4530,9 +4530,6 @@ importers:
'@types/is-windows':
specifier: ^1.0.0
version: 1.0.0
'@types/json5':
specifier: ^2.2.0
version: 2.2.0
'@types/parse-json':
specifier: ^4.0.0
version: 4.0.0
@@ -5094,9 +5091,6 @@ importers:
'@pnpm/write-project-manifest':
specifier: workspace:*
version: 'link:'
'@types/json5':
specifier: ^2.2.0
version: 2.2.0
'@types/write-file-atomic':
specifier: ^3.0.3
version: 3.0.3
@@ -5244,17 +5238,20 @@ importers:
specifier: ^8.20.0
version: 8.20.0
eslint-config-standard-with-typescript:
specifier: ^21.0.1
version: 21.0.1_gw7kgwob7bebii76gbacxaift4
specifier: ^22.0.0
version: 22.0.0_qqroupqu4mqdlgtm3j3hvt32yu
eslint-plugin-import:
specifier: ^2.26.0
version: 2.26.0_ficupzxy3q6nk56ibvavehtzue
eslint-plugin-n:
specifier: ^15.2.4
version: 15.2.4_eslint@8.20.0
eslint-plugin-node:
specifier: ^11.1.0
version: 11.1.0_eslint@8.20.0
eslint-plugin-promise:
specifier: ^5.2.0
version: 5.2.0_eslint@8.20.0
specifier: ^6.0.0
version: 6.0.0_eslint@8.20.0
typescript:
specifier: 4.7.4
version: 4.7.4
@@ -7046,10 +7043,10 @@ packages:
'@types/node': 18.6.2
'@types/responselike': 1.0.0
/@types/concat-stream/1.6.1:
resolution: {integrity: sha512-eHE4cQPoj6ngxBZMvVf6Hw7Mh4jMW4U9lpGmS5GBPB9RYxlFg+CHaVN7ErNY4W9XfLIEn20b4VDYaIrbq0q4uA==}
/@types/concat-stream/2.0.0:
resolution: {integrity: sha512-t3YCerNM7NTVjLuICZo5gYAXYoDvpuuTceCcFQWcDQz26kxUR5uIWolxbIR5jRNIXpMqhOpW/b8imCR1LEmuJw==}
dependencies:
'@types/node': 14.18.22
'@types/node': 18.6.2
dev: true
/@types/cross-spawn/6.0.2:
@@ -7119,11 +7116,11 @@ packages:
'@types/istanbul-lib-report': 3.0.0
dev: true
/@types/jest/27.5.2:
resolution: {integrity: sha512-mpT8LJJ4CMeeahobofYWIjFo0xonRS/HfxnVEPMPFSQdGUt1uHCnoPT7Zhb+sjDU2wz0oKV0OLUR0WzrHNgfeA==}
/@types/jest/28.1.6:
resolution: {integrity: sha512-0RbGAFMfcBJKOmqRazM8L98uokwuwD5F8rHrv/ZMbrZBwVOWZUyPG6VFNscjYr/vjM3Vu4fRrCPbOs42AfemaQ==}
dependencies:
jest-matcher-utils: 27.5.1
pretty-format: 27.5.1
jest-matcher-utils: 28.1.3
pretty-format: 28.1.3
dev: true
/@types/js-yaml/4.0.5:
@@ -7141,13 +7138,6 @@ packages:
resolution: {integrity: sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==}
dev: false
/@types/json5/2.2.0:
resolution: {integrity: sha512-NrVug5woqbvNZ0WX+Gv4R+L4TGddtmFek2u8RtccAgFZWtS9QXF2xCXY22/M4nzkaKF0q9Fc6M/5rxLDhfwc/A==}
deprecated: This is a stub types definition. json5 provides its own type definitions, so you do not need this installed.
dependencies:
json5: 2.2.1
dev: true
/@types/keyv/3.1.4:
resolution: {integrity: sha512-BQ5aZNSCpj7D6K2ksrRCTmKRLEpnPvWDiLPfoGyhZ++8YtiK9d/3DBKPJgry359X/P1PfruyYwvnvwFjuEiEIg==}
dependencies:
@@ -7177,7 +7167,7 @@ packages:
/@types/minipass/3.1.2:
resolution: {integrity: sha512-foLGjgrJkUjLG/o2t2ymlZGEoBNBa/TfoUZ7oCTkOjP1T43UGBJspovJou/l3ZuHvye2ewR5cZNtp2zyWgILMA==}
dependencies:
'@types/node': 18.6.2
'@types/node': 18.6.3
dev: true
/@types/mz/2.7.4:
@@ -7200,6 +7190,10 @@ packages:
/@types/node/18.6.2:
resolution: {integrity: sha512-KcfkBq9H4PI6Vpu5B/KoPeuVDAbmi+2mDBqGPGUgoL7yXQtcWGu2vJWmmRkneWK3Rh0nIAX192Aa87AqKHYChQ==}
/@types/node/18.6.3:
resolution: {integrity: sha512-6qKpDtoaYLM+5+AFChLhHermMQxc3TOEFIDzrZLPRGHPrLEwqFkkT5Kx3ju05g6X7uDPazz3jHbKPX0KzCjntg==}
dev: true
/@types/normalize-package-data/2.4.1:
resolution: {integrity: sha512-Gj7cI7z+98M282Tqmp2K5EIsoouUEzbBJhQQzDE3jSIRk6r9gsz0oUokqIUR4u1R3dMHo0pDHM7sNOHyhulypw==}
dev: true
@@ -7207,8 +7201,8 @@ packages:
/@types/normalize-path/3.0.0:
resolution: {integrity: sha512-Nd8y/5t/7CRakPYiyPzr/IAfYusy1FkcZYFEAcoMZkwpJv2n4Wm+olW+e7xBdHEXhOnWdG9ddbar0gqZWS4x5Q==}
/@types/npm-packlist/1.1.2:
resolution: {integrity: sha512-9NYoEH87t90e6dkaQOuUTY/R1xUE0a67sXzJBuAB+b+/z4FysHFD19g/O154ToGjyWqKYkezVUtuBdtfd4hyfw==}
/@types/npm-packlist/3.0.0:
resolution: {integrity: sha512-IdiQ2SAR2NZgAUhdpwICaL8CWKrhRg0R2awttMKewoALrBb9cYPW67IZjnkEGdhkSp6uimAFLfoCdERYJyMaAg==}
dev: true
/@types/parse-json/4.0.0:
@@ -7284,11 +7278,11 @@ packages:
'@types/node': 14.18.22
dev: true
/@types/tar/4.0.5:
resolution: {integrity: sha512-cgwPhNEabHaZcYIy5xeMtux2EmYBitfqEceBUi2t5+ETy4dW6kswt6WX4+HqLeiiKOo42EXbGiDmVJ2x+vi37Q==}
/@types/tar/6.1.1:
resolution: {integrity: sha512-8mto3YZfVpqB1CHMaYz1TUYIQfZFbh/QbEq5Hsn6D0ilCfqRVCdalmc89B7vi3jhl9UYIk+dWDABShNfOkv5HA==}
dependencies:
'@types/minipass': 3.1.2
'@types/node': 18.6.2
'@types/node': 18.6.3
dev: true
/@types/touch/3.1.2:
@@ -7367,26 +7361,6 @@ packages:
- supports-color
dev: false
/@typescript-eslint/parser/4.33.0_he2ccbldppg44uulnyq4rwocfa:
resolution: {integrity: sha512-ZohdsbXadjGBSK0/r+d87X0SBmKzOq4/S5nzK6SBgJspFo9/CUDJ7hjayuze+JK7CZQLDMroqytp7pOcFKTxZA==}
engines: {node: ^10.12.0 || >=12.0.0}
peerDependencies:
eslint: '*'
typescript: '*'
peerDependenciesMeta:
typescript:
optional: true
dependencies:
'@typescript-eslint/scope-manager': 4.33.0
'@typescript-eslint/types': 4.33.0
'@typescript-eslint/typescript-estree': 4.33.0_typescript@4.7.4
debug: 4.3.4
eslint: 8.20.0
typescript: 4.7.4
transitivePeerDependencies:
- supports-color
dev: false
/@typescript-eslint/parser/5.31.0_he2ccbldppg44uulnyq4rwocfa:
resolution: {integrity: sha512-UStjQiZ9OFTFReTrN+iGrC6O/ko9LVDhreEK5S3edmXgR396JGq7CoX2TWIptqt/ESzU2iRKXAHfSF2WJFcWHw==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
@@ -7407,14 +7381,6 @@ packages:
- supports-color
dev: false
/@typescript-eslint/scope-manager/4.33.0:
resolution: {integrity: sha512-5IfJHpgTsTZuONKbODctL4kKuQje/bzBRkwHE8UOZ4f89Zeddg+EGZs8PD8NcN4LdM3ygHWYB3ukPAYjvl/qbQ==}
engines: {node: ^8.10.0 || ^10.13.0 || >=11.10.1}
dependencies:
'@typescript-eslint/types': 4.33.0
'@typescript-eslint/visitor-keys': 4.33.0
dev: false
/@typescript-eslint/scope-manager/5.31.0:
resolution: {integrity: sha512-8jfEzBYDBG88rcXFxajdVavGxb5/XKXyvWgvD8Qix3EEJLCFIdVloJw+r9ww0wbyNLOTYyBsR+4ALNGdlalLLg==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
@@ -7442,37 +7408,11 @@ packages:
- supports-color
dev: false
/@typescript-eslint/types/4.33.0:
resolution: {integrity: sha512-zKp7CjQzLQImXEpLt2BUw1tvOMPfNoTAfb8l51evhYbOEEzdWyQNmHWWGPR6hwKJDAi+1VXSBmnhL9kyVTTOuQ==}
engines: {node: ^8.10.0 || ^10.13.0 || >=11.10.1}
dev: false
/@typescript-eslint/types/5.31.0:
resolution: {integrity: sha512-/f/rMaEseux+I4wmR6mfpM2wvtNZb1p9hAV77hWfuKc3pmaANp5dLAZSiE3/8oXTYTt3uV9KW5yZKJsMievp6g==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
dev: false
/@typescript-eslint/typescript-estree/4.33.0_typescript@4.7.4:
resolution: {integrity: sha512-rkWRY1MPFzjwnEVHsxGemDzqqddw2QbTJlICPD9p9I9LfsO8fdmfQPOX3uKfUaGRDFJbfrtm/sXhVXN4E+bzCA==}
engines: {node: ^10.12.0 || >=12.0.0}
peerDependencies:
typescript: '*'
peerDependenciesMeta:
typescript:
optional: true
dependencies:
'@typescript-eslint/types': 4.33.0
'@typescript-eslint/visitor-keys': 4.33.0
debug: 4.3.4
globby: 11.1.0
is-glob: 4.0.3
semver: 7.3.7
tsutils: 3.21.0_typescript@4.7.4
typescript: 4.7.4
transitivePeerDependencies:
- supports-color
dev: false
/@typescript-eslint/typescript-estree/5.31.0_typescript@4.7.4:
resolution: {integrity: sha512-3S625TMcARX71wBc2qubHaoUwMEn+l9TCsaIzYI/ET31Xm2c9YQ+zhGgpydjorwQO9pLfR/6peTzS/0G3J/hDw==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
@@ -7512,14 +7452,6 @@ packages:
- typescript
dev: false
/@typescript-eslint/visitor-keys/4.33.0:
resolution: {integrity: sha512-uqi/2aSz9g2ftcHWf8uLPJA70rUv6yuMW5Bohw+bwcuzaxQIHaKFZCKGoGXIrc9vkTJ3+0txM73K0Hq3d5wgIg==}
engines: {node: ^8.10.0 || ^10.13.0 || >=11.10.1}
dependencies:
'@typescript-eslint/types': 4.33.0
eslint-visitor-keys: 2.1.0
dev: false
/@typescript-eslint/visitor-keys/5.31.0:
resolution: {integrity: sha512-ZK0jVxSjS4gnPirpVjXHz7mgdOsZUHzNYSfTw2yPa3agfbt9YfqaBiBZFSSxeBWnpWkzCxTfUpnzA3Vily/CSg==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
@@ -8745,9 +8677,9 @@ packages:
graceful-readlink: 1.0.1
dev: true
/commander/8.3.0:
resolution: {integrity: sha512-OkTL9umf+He2DZkUq8f8J9of7yL6RJKI24dVITBmNfZBmri9zYZQrKkuXiKhyfPSu8tUhnVBB1iKXevvnlR4Ww==}
engines: {node: '>= 12'}
/commander/9.3.0:
resolution: {integrity: sha512-hv95iU5uXPbK83mjrJKuZyFM/LBAoCV/XhVGkS5Je6tl7sxr6A0ITMw5WoRV46/UaJ46Nllm3Xt7IaJhXTIkzw==}
engines: {node: ^12.20.0 || >=14}
dev: true
/compare-func/2.0.0:
@@ -9256,11 +9188,6 @@ packages:
lodash.deburr: 4.1.0
dev: false
/diff-sequences/27.5.1:
resolution: {integrity: sha512-k1gCAXAsNgLwEL+Y8Wvl+M6oEFj5bgazfZULpS5CneoPPXRaCCW7dm+q21Ky2VEE5X+VeRDBVg1Pcvvsr4TtNQ==}
engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0}
dev: true
/diff-sequences/28.1.1:
resolution: {integrity: sha512-FU0iFaH/E23a+a718l8Qa/19bF9p06kgE0KipMOMadwa3SjnaElKzPaUC0vnibs6/B/9ni97s61mcejk8W1fQw==}
engines: {node: ^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0}
@@ -9728,40 +9655,40 @@ packages:
optionalDependencies:
source-map: 0.6.1
/eslint-config-standard-with-typescript/21.0.1_gw7kgwob7bebii76gbacxaift4:
resolution: {integrity: sha512-FeiMHljEJ346Y0I/HpAymNKdrgKEpHpcg/D93FvPHWfCzbT4QyUJba/0FwntZeGLXfUiWDSeKmdJD597d9wwiw==}
/eslint-config-standard-with-typescript/22.0.0_qqroupqu4mqdlgtm3j3hvt32yu:
resolution: {integrity: sha512-VA36U7UlFpwULvkdnh6MQj5GAV2Q+tT68ALLAwJP0ZuNXU2m0wX07uxX4qyLRdHgSzH4QJ73CveKBuSOYvh7vQ==}
peerDependencies:
'@typescript-eslint/eslint-plugin': ^4.0.1 || ^5.6.0
'@typescript-eslint/eslint-plugin': ^5.0.0 || ^5.6.0
eslint: '*'
eslint-plugin-import: ^2.22.1
eslint-plugin-node: ^11.1.0
eslint-plugin-promise: ^4.2.1 || ^5.0.0
typescript: ^3.9 || ^4.0.0
eslint-plugin-import: ^2.25.2
eslint-plugin-n: ^15.0.0
eslint-plugin-promise: ^6.0.0
typescript: '*'
dependencies:
'@typescript-eslint/eslint-plugin': 5.31.0_d5zwcxr4bwkhmuo464cb3a2puu
'@typescript-eslint/parser': 4.33.0_he2ccbldppg44uulnyq4rwocfa
'@typescript-eslint/parser': 5.31.0_he2ccbldppg44uulnyq4rwocfa
eslint: 8.20.0
eslint-config-standard: 16.0.3_zf4w2zzbid56p5dmunhzdr334m
eslint-config-standard: 17.0.0_aabay5xq26dqolh67bnodxi5n4
eslint-plugin-import: 2.26.0_ficupzxy3q6nk56ibvavehtzue
eslint-plugin-node: 11.1.0_eslint@8.20.0
eslint-plugin-promise: 5.2.0_eslint@8.20.0
eslint-plugin-n: 15.2.4_eslint@8.20.0
eslint-plugin-promise: 6.0.0_eslint@8.20.0
typescript: 4.7.4
transitivePeerDependencies:
- supports-color
dev: false
/eslint-config-standard/16.0.3_zf4w2zzbid56p5dmunhzdr334m:
resolution: {integrity: sha512-x4fmJL5hGqNJKGHSjnLdgA6U6h1YW/G2dW9fA+cyVur4SK6lyue8+UgNKWlZtUDTXvgKDD/Oa3GQjmB5kjtVvg==}
/eslint-config-standard/17.0.0_aabay5xq26dqolh67bnodxi5n4:
resolution: {integrity: sha512-/2ks1GKyqSOkH7JFvXJicu0iMpoojkwB+f5Du/1SC0PtBL+s8v30k9njRZ21pm2drKYm2342jFnGWzttxPmZVg==}
peerDependencies:
eslint: '*'
eslint-plugin-import: ^2.22.1
eslint-plugin-node: ^11.1.0
eslint-plugin-promise: ^4.2.1 || ^5.0.0
eslint-plugin-import: ^2.25.2
eslint-plugin-n: ^15.0.0
eslint-plugin-promise: ^6.0.0
dependencies:
eslint: 8.20.0
eslint-plugin-import: 2.26.0_ficupzxy3q6nk56ibvavehtzue
eslint-plugin-node: 11.1.0_eslint@8.20.0
eslint-plugin-promise: 5.2.0_eslint@8.20.0
eslint-plugin-n: 15.2.4_eslint@8.20.0
eslint-plugin-promise: 6.0.0_eslint@8.20.0
dev: false
/eslint-import-resolver-node/0.3.6:
@@ -9809,6 +9736,17 @@ packages:
regexpp: 3.2.0
dev: false
/eslint-plugin-es/4.1.0_eslint@8.20.0:
resolution: {integrity: sha512-GILhQTnjYE2WorX5Jyi5i4dz5ALWxBIdQECVQavL6s7cI76IZTDWleTHkxz/QT3kvcs2QlGHvKLYsSlPOlPXnQ==}
engines: {node: '>=8.10.0'}
peerDependencies:
eslint: '*'
dependencies:
eslint: 8.20.0
eslint-utils: 2.1.0
regexpp: 3.2.0
dev: false
/eslint-plugin-import/2.26.0_ficupzxy3q6nk56ibvavehtzue:
resolution: {integrity: sha512-hYfi3FXaM8WPLf4S1cikh/r4IxnO6zrhZbEGz2b660EJRbuxgpDS5gkCuYgGWg2xxh2rBuIr4Pvhve/7c31koA==}
engines: {node: '>=4'}
@@ -9840,6 +9778,23 @@ packages:
- supports-color
dev: false
/eslint-plugin-n/15.2.4_eslint@8.20.0:
resolution: {integrity: sha512-tjnVMv2fiXYMnuiIFI8QMtyUFI42SckEEWvi8h68SWGWshfqO6SSCASy24dGMGAiy7NUk6DZt90DM0iNUsmQ5w==}
engines: {node: '>=12.22.0'}
peerDependencies:
eslint: '*'
dependencies:
builtins: 5.0.1
eslint: 8.20.0
eslint-plugin-es: 4.1.0_eslint@8.20.0
eslint-utils: 3.0.0_eslint@8.20.0
ignore: 5.2.0
is-core-module: 2.9.0
minimatch: 3.1.2
resolve: 1.22.1
semver: 7.3.7
dev: false
/eslint-plugin-node/11.1.0_eslint@8.20.0:
resolution: {integrity: sha512-oUwtPJ1W0SKD0Tr+wqu92c5xuCeQqB3hSCHasn/ZgjFdA9iDGNkNf2Zi9ztY7X+hNuMib23LNGRm6+uN+KLE3g==}
engines: {node: '>=8.10.0'}
@@ -9855,9 +9810,9 @@ packages:
semver: 6.3.0
dev: false
/eslint-plugin-promise/5.2.0_eslint@8.20.0:
resolution: {integrity: sha512-SftLb1pUG01QYq2A/hGAWfDRXqYD82zE7j7TopDOyNdU+7SvvoXREls/+PRTY17vUXzXnZA/zfnyKgRH6x4JJw==}
engines: {node: ^10.12.0 || >=12.0.0}
/eslint-plugin-promise/6.0.0_eslint@8.20.0:
resolution: {integrity: sha512-7GPezalm5Bfi/E22PnQxDWH2iW9GTvAlUNTztemeHb6c1BniSyoeTrM87JkC0wYdi6aQrZX9p2qEiAno8aTcbw==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies:
eslint: '*'
dependencies:
@@ -10331,8 +10286,8 @@ packages:
resolution: {integrity: sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==}
engines: {node: '>= 0.6'}
/fp-ts/2.11.5:
resolution: {integrity: sha512-OqlwJq1BdpB83BZXTqI+dNcA6uYk6qk4u9Cgnt64Y+XS7dwdbp/mobx8S2KXf2AXH+scNmA/UVK3SEFHR3vHZA==}
/fp-ts/2.12.1:
resolution: {integrity: sha512-oxvgqUYR6O9VkKXrxkJ0NOyU0FrE705MeqgBUMEPWyTu6Pwn768cJbHChw2XOBlgFLKfIHxjr2OOBFpv2mUGZw==}
dev: true
/fresh/0.5.2:
@@ -10349,15 +10304,6 @@ packages:
/fs-constants/1.0.0:
resolution: {integrity: sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==}
/fs-extra/10.0.0:
resolution: {integrity: sha512-C5owb14u9eJwizKGdchcDUQeFtlSHHthBk8pbX9Vc1PFZrLombudjDnNns88aYslCyF6IY5SUw3Roz6xShcEIQ==}
engines: {node: '>=12'}
dependencies:
graceful-fs: 4.2.10
jsonfile: 6.1.0
universalify: 2.0.0
dev: true
/fs-extra/10.1.0:
resolution: {integrity: sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==}
engines: {node: '>=12'}
@@ -10630,17 +10576,6 @@ packages:
unique-stream: 2.3.1
dev: true
/glob/7.2.0:
resolution: {integrity: sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q==}
dependencies:
fs.realpath: 1.0.0
inflight: 1.0.6
inherits: 2.0.4
minimatch: 3.0.4
once: 1.4.0
path-is-absolute: 1.0.1
dev: true
/glob/7.2.3:
resolution: {integrity: sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==}
dependencies:
@@ -10651,6 +10586,17 @@ packages:
once: 1.4.0
path-is-absolute: 1.0.1
/glob/8.0.3:
resolution: {integrity: sha512-ull455NHSHI/Y1FqGaaYFaLGkNMMJbavMrEGFXG/PGrg6y7sutWHUHrz6gy6WEBH6akM1M414dWKCNs+IhKdiQ==}
engines: {node: '>=12'}
dependencies:
fs.realpath: 1.0.0
inflight: 1.0.6
inherits: 2.0.4
minimatch: 5.1.0
once: 1.4.0
dev: true
/global-dirs/0.1.1:
resolution: {integrity: sha512-NknMLn7F2J7aflwFOlGdNIuCDpN3VGoSoB+aap3KABFWbHVn1TCgFC+np23J8W2BiZbjfEw3BFBycSMv1AFblg==}
engines: {node: '>=4'}
@@ -11482,16 +11428,6 @@ packages:
- supports-color
dev: true
/jest-diff/27.5.1:
resolution: {integrity: sha512-m0NvkX55LDt9T4mctTEgnZk3fmEg3NRYutvMPWM/0iPnkFj2wIeF45O1718cMSOFO1vINkqmxqD8vE37uTEbqw==}
engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0}
dependencies:
chalk: 4.1.2
diff-sequences: 27.5.1
jest-get-type: 27.5.1
pretty-format: 27.5.1
dev: true
/jest-diff/28.1.3:
resolution: {integrity: sha512-8RqP1B/OXzjjTWkqMX67iqgwBVJRgCyKD3L9nq+6ZqJMdvjE8RgHktqZ6jNrkdMT+dJuYNI3rhQpxaz7drJHfw==}
engines: {node: ^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0}
@@ -11532,11 +11468,6 @@ packages:
jest-util: 28.1.3
dev: true
/jest-get-type/27.5.1:
resolution: {integrity: sha512-2KY95ksYSaK7DMBWQn6dQz3kqAf3BB64y2udeG+hv4KfSOb9qwcYQstTJc1KCbsix+wLZWZYN8t7nwX3GOBLRw==}
engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0}
dev: true
/jest-get-type/28.0.2:
resolution: {integrity: sha512-ioj2w9/DxSYHfOm5lJKCdcAmPJzQXmbM/Url3rhlghrPvT3tt+7a/+oXc9azkKmLvoiXjtV83bEWqi+vs5nlPA==}
engines: {node: ^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0}
@@ -11569,16 +11500,6 @@ packages:
pretty-format: 28.1.3
dev: true
/jest-matcher-utils/27.5.1:
resolution: {integrity: sha512-z2uTx/T6LBaCoNWNFWwChLBKYxTMcGBRjAt+2SbP929/Fflb9aa5LGma654Rz8z9HLxsrUaYzxE9T/EFIL/PAw==}
engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0}
dependencies:
chalk: 4.1.2
jest-diff: 27.5.1
jest-get-type: 27.5.1
pretty-format: 27.5.1
dev: true
/jest-matcher-utils/28.1.3:
resolution: {integrity: sha512-kQeJ7qHemKfbzKoGjHHrRKH6atgxMk8Enkk2iPQ3XwO6oE/KYD8lMYOziCkeSB9G4adPM4nR1DE8Tf5JeWH6Bw==}
engines: {node: ^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0}
@@ -12537,12 +12458,6 @@ packages:
engines: {node: '>=4'}
dev: true
/minimatch/3.0.4:
resolution: {integrity: sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==}
dependencies:
brace-expansion: 1.1.11
dev: true
/minimatch/3.1.2:
resolution: {integrity: sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==}
dependencies:
@@ -12943,6 +12858,7 @@ packages:
/npmlog/4.1.2:
resolution: {integrity: sha512-2uUqazuKlTaSI/dC8AzicUck7+IrEaOnN/e0jd3Xtt1KcGpwx30v50mL7oPyr/h9bL3E4aZccVwpwP+5W9Vjkg==}
requiresBuild: true
dependencies:
are-we-there-yet: 1.1.7
console-control-strings: 1.1.0
@@ -13548,15 +13464,6 @@ packages:
resolution: {integrity: sha512-FFw039TmrBqFK8ma/7OL3sDz/VytdtJr044/QUJtH0wK9lb9jLq9tJyIxUwtQJHwar2BqtiA4iCWSwo9JLkzFg==}
engines: {node: '>=6'}
/pretty-format/27.5.1:
resolution: {integrity: sha512-Qb1gy5OrP5+zDf2Bvnzdl3jsTf1qXVMazbvCoKhtKqVs4/YK4ozX4gKQJJVyNe+cajNPn0KoC0MC3FUmaHWEmQ==}
engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0}
dependencies:
ansi-regex: 5.0.1
ansi-styles: 5.2.0
react-is: 17.0.2
dev: true
/pretty-format/28.1.3:
resolution: {integrity: sha512-8gFb/To0OmxHR9+ZTb14Df2vNxdGCX8g1xWGUTqUw5TiZvcQf5sHKObd5UcPyLLyowNwDAMTF3XWOG1B6mxl1Q==}
engines: {node: ^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0}
@@ -13803,10 +13710,6 @@ packages:
strip-json-comments: 2.0.1
dev: true
/react-is/17.0.2:
resolution: {integrity: sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==}
dev: true
/react-is/18.2.0:
resolution: {integrity: sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w==}
dev: true
@@ -14314,14 +14217,6 @@ packages:
resolution: {integrity: sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==}
hasBin: true
/semver/7.3.5:
resolution: {integrity: sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==}
engines: {node: '>=10'}
hasBin: true
dependencies:
lru-cache: 6.0.0
dev: true
/semver/7.3.7:
resolution: {integrity: sha512-QlYTucUYOews+WeEujDoEGziz4K6c47V/Bd+LjSSYcA94p+DmINdf7ncaUinThfvZyu13lN9OY1XDxt8C0Tw0g==}
engines: {node: '>=10'}
@@ -14879,21 +14774,21 @@ packages:
better-path-resolve: 1.0.0
rename-overwrite: 4.0.2
/syncpack/6.2.1:
resolution: {integrity: sha512-qqpPLHvNX8LEKswETyM/JFuSfDU9sov2r0zDAoXfnZfOrrSEtF5sLNSjxqn0DVylCGzC3HMnMb/T7RI6AYAKOg==}
/syncpack/8.2.4:
resolution: {integrity: sha512-Tq1RzTqQwGCe8htWqJPHcA55LqGLO4wG1F2DCGMFflfX3ujbRoiXq2MYd7XFvm3mzxv1BPVQQp8DU2ZkY14e2A==}
engines: {node: '>=10'}
hasBin: true
dependencies:
chalk: 4.1.2
commander: 8.3.0
commander: 9.3.0
cosmiconfig: 7.0.1
expect-more: 1.2.0
fp-ts: 2.11.5
fs-extra: 10.0.0
glob: 7.2.0
minimatch: 3.0.4
fp-ts: 2.12.1
fs-extra: 10.1.0
glob: 8.0.3
minimatch: 5.1.0
read-yaml-file: 2.1.0
semver: 7.3.5
semver: 7.3.7
dev: true
/table/6.0.4:

View File

@@ -18,7 +18,7 @@
"keywords": [],
"license": "MIT",
"engines": {
"node": ">=10"
"node": ">=12.22.0"
},
"repository": "https://github.com/pnpm/pnpm/blob/master/utils/eslint-config",
"scripts": {},
@@ -26,10 +26,11 @@
"@typescript-eslint/eslint-plugin": "^5.31.0",
"@typescript-eslint/parser": "^5.31.0",
"eslint": "^8.20.0",
"eslint-config-standard-with-typescript": "^21.0.1",
"eslint-config-standard-with-typescript": "^22.0.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-n": "^15.2.4",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^5.2.0",
"eslint-plugin-promise": "^6.0.0",
"typescript": "4.7.4"
},
"devDependencies": {