mirror of
https://github.com/pnpm/pnpm.git
synced 2026-05-18 22:02:53 -04:00
fix(deps): update dependency eslint-config-standard-with-typescript to v20
close #3236
This commit is contained in:
@@ -30,7 +30,7 @@
|
||||
"@types/node": "^14.14.33",
|
||||
"c8": "^7.3.5",
|
||||
"cross-env": "^7.0.3",
|
||||
"eslint": "^7.16.0",
|
||||
"eslint": "^7.22.0",
|
||||
"husky": "^4.3.6",
|
||||
"jest": "^26.6.3",
|
||||
"lcov-result-merger": "^3.1.0",
|
||||
|
||||
@@ -14,7 +14,8 @@ export function packageIsInstallable (
|
||||
}
|
||||
) {
|
||||
const pnpmVersion = packageManager.name === 'pnpm'
|
||||
? packageManager.stableVersion : undefined
|
||||
? packageManager.stableVersion
|
||||
: undefined
|
||||
const err = checkPackage(pkgPath, pkg, { pnpmVersion })
|
||||
if (err === null) return
|
||||
if (
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
import path from 'path'
|
||||
import fs from 'fs'
|
||||
import os from 'os'
|
||||
import { LAYOUT_VERSION } from '@pnpm/constants'
|
||||
import PnpmError from '@pnpm/error'
|
||||
import globalBinDir from '@pnpm/global-bin-dir'
|
||||
import camelcase from 'camelcase'
|
||||
import fs from 'fs'
|
||||
import loadNpmConf from '@zkochan/npm-conf'
|
||||
import npmTypes from '@zkochan/npm-conf/lib/types'
|
||||
import { sync as canWriteToDir } from 'can-write-to-dir'
|
||||
import os from 'os'
|
||||
import * as R from 'ramda'
|
||||
import realpathMissing from 'realpath-missing'
|
||||
import whichcb from 'which'
|
||||
@@ -247,7 +247,8 @@ export default async (
|
||||
if (cliOptions['global']) {
|
||||
const npmGlobalPrefix: string = findBestGlobalPrefix(npmConfig.globalPrefix, process.env)
|
||||
const globalDirRoot = pnpmConfig['globalDir']
|
||||
? pnpmConfig['globalDir'] : path.join(firstWithWriteAccess([npmGlobalPrefix, os.homedir()]), 'pnpm-global')
|
||||
? pnpmConfig['globalDir']
|
||||
: path.join(firstWithWriteAccess([npmGlobalPrefix, os.homedir()]), 'pnpm-global')
|
||||
pnpmConfig.dir = path.join(globalDirRoot, LAYOUT_VERSION.toString())
|
||||
|
||||
const npmGlobalBinDir = process.platform === 'win32'
|
||||
@@ -256,7 +257,8 @@ export default async (
|
||||
pnpmConfig.bin = cliOptions.dir
|
||||
? (
|
||||
process.platform === 'win32'
|
||||
? cliOptions.dir : path.resolve(cliOptions.dir, 'bin')
|
||||
? cliOptions.dir
|
||||
: path.resolve(cliOptions.dir, 'bin')
|
||||
)
|
||||
: globalBinDir([npmGlobalBinDir], { shouldAllowWrite: opts.globalDirShouldAllowWrite === true })
|
||||
pnpmConfig.save = true
|
||||
|
||||
@@ -33,7 +33,8 @@ export class FetchError extends PnpmError {
|
||||
) {
|
||||
const message = `GET ${request.url}: ${response.statusText} - ${response.status}`
|
||||
const authHeaderValue = request.authHeaderValue
|
||||
? hideAuthInformation(request.authHeaderValue) : undefined
|
||||
? hideAuthInformation(request.authHeaderValue)
|
||||
: undefined
|
||||
// NOTE: For security reasons, some registries respond with 404 on authentication errors as well.
|
||||
// So we print authorization info on 404 errors as well.
|
||||
if (response.status === 401 || response.status === 403 || response.status === 404) {
|
||||
|
||||
@@ -71,7 +71,8 @@ async function getChangedDirsSinceCommit (commit: string, workingDir: string, te
|
||||
if (changedDirs.get(dir) === 'source') continue
|
||||
|
||||
const changeType: ChangeType = testPattern.some(pattern => micromatch.isMatch(changedFile, pattern))
|
||||
? 'test' : 'source'
|
||||
? 'test'
|
||||
: 'source'
|
||||
changedDirs.set(dir, changeType)
|
||||
}
|
||||
|
||||
|
||||
@@ -405,7 +405,8 @@ export default async (opts: HeadlessOptions) => {
|
||||
pendingBuilds: opts.pendingBuilds,
|
||||
publicHoistPattern: opts.publicHoistPattern,
|
||||
prunedAt: opts.pruneVirtualStore === true || opts.prunedAt == null
|
||||
? new Date().toUTCString() : opts.prunedAt,
|
||||
? new Date().toUTCString()
|
||||
: opts.prunedAt,
|
||||
registries: opts.registries,
|
||||
skipped: Array.from(skipped),
|
||||
storeDir: opts.storeDir,
|
||||
@@ -622,7 +623,8 @@ async function lockfileToDepGraph (
|
||||
packageId,
|
||||
requester: opts.lockfileDir,
|
||||
status: fromStore
|
||||
? 'found_in_store' : 'fetched',
|
||||
? 'found_in_store'
|
||||
: 'fetched',
|
||||
})
|
||||
})
|
||||
.catch(() => {
|
||||
|
||||
@@ -63,9 +63,11 @@ export default async function testDefaults (
|
||||
version: '1.0.0',
|
||||
},
|
||||
pendingBuilds,
|
||||
projects: opts.projects ? opts.projects : await Promise.all(
|
||||
projects.map(async (project) => ({ ...project, manifest: await readPackageJsonFromDir(project.rootDir) }))
|
||||
),
|
||||
projects: opts.projects
|
||||
? opts.projects
|
||||
: await Promise.all(
|
||||
projects.map(async (project) => ({ ...project, manifest: await readPackageJsonFromDir(project.rootDir) }))
|
||||
),
|
||||
rawConfig: {},
|
||||
registries: registries ?? {
|
||||
default: registry,
|
||||
|
||||
@@ -202,7 +202,8 @@ async function symlinkHoistedDependencies (
|
||||
const depLocation = path.join(modules, pkgName)
|
||||
await Promise.all(Object.entries(pkgAliases).map(async ([pkgAlias, hoistType]) => {
|
||||
const targetDir = hoistType === 'public'
|
||||
? opts.publicHoistedModulesDir : opts.privateHoistedModulesDir
|
||||
? opts.publicHoistedModulesDir
|
||||
: opts.privateHoistedModulesDir
|
||||
await symlinkDependency(depLocation, targetDir, pkgAlias)
|
||||
}))
|
||||
}
|
||||
|
||||
@@ -50,7 +50,8 @@ export default async function runLifecycleHook (
|
||||
})
|
||||
}
|
||||
const logLevel = (opts.stdio !== 'inherit' || opts.silent)
|
||||
? 'silent' : undefined
|
||||
? 'silent'
|
||||
: undefined
|
||||
await lifecycle(m, stage, opts.pkgRoot, {
|
||||
config: opts.rawConfig,
|
||||
dir: opts.rootModulesDir,
|
||||
|
||||
@@ -128,7 +128,8 @@ async function getPackageBins (
|
||||
target: string
|
||||
): Promise<CommandInfo[]> {
|
||||
const manifest = opts.allowExoticManifests
|
||||
? (await safeReadProjectManifestOnly(target) as DependencyManifest) : await safeReadPkgJson(target)
|
||||
? (await safeReadProjectManifestOnly(target) as DependencyManifest)
|
||||
: await safeReadPkgJson(target)
|
||||
|
||||
if (!manifest) {
|
||||
// There's a directory in node_modules without package.json: ${target}.
|
||||
|
||||
@@ -127,8 +127,9 @@ export default async function prune (
|
||||
if (opts.hoistedDependencies[orphanDepPath]) {
|
||||
await Promise.all(Object.entries(opts.hoistedDependencies[orphanDepPath]).map(([alias, hoistType]) => {
|
||||
const modulesDir = hoistType === 'public'
|
||||
? opts.publicHoistedModulesDir! : opts.hoistedModulesDir!
|
||||
if (!modulesDir) return
|
||||
? opts.publicHoistedModulesDir!
|
||||
: opts.hoistedModulesDir!
|
||||
if (!modulesDir) return undefined
|
||||
return removeDirectDependency({
|
||||
name: alias,
|
||||
}, {
|
||||
|
||||
@@ -26,7 +26,7 @@ export default async function createFuseHandlers (lockfileDir: string, cafsDir:
|
||||
return createFuseHandlersFromLockfile(lockfile, lockfileDir, cafsDir)
|
||||
}
|
||||
|
||||
/* eslint-disable standard/no-callback-literal */
|
||||
/* eslint-disable node/no-callback-literal */
|
||||
export function createFuseHandlersFromLockfile (lockfile: Lockfile, lockfileDir: string, cafsDir: string) {
|
||||
const pkgSnapshotCache = new Map<string, { name: string, version: string, pkgSnapshot: PackageSnapshot, index: PackageFilesIndex }>()
|
||||
const virtualNodeModules = makeVirtualNodeModules(lockfile, lockfileDir)
|
||||
|
||||
@@ -16,7 +16,7 @@ interface RegistryResponse {
|
||||
}
|
||||
|
||||
// https://semver.org/#is-there-a-suggested-regular-expression-regex-to-check-a-semver-string
|
||||
const semverRegex = new RegExp(/(.*)(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$/)
|
||||
const semverRegex = /(.*)(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$/
|
||||
|
||||
export class RegistryResponseError extends FetchError {
|
||||
public readonly pkgName: string
|
||||
|
||||
@@ -246,7 +246,8 @@ async function update (
|
||||
includeDirect,
|
||||
update: true,
|
||||
updateMatching: dependencies.length && dependencies.every(dep => !dep.substring(1).includes('@')) && depth > 0 && !opts.latest
|
||||
? matcher(dependencies) : undefined,
|
||||
? matcher(dependencies)
|
||||
: undefined,
|
||||
updatePackageManifest: opts.save !== false,
|
||||
}, dependencies)
|
||||
}
|
||||
|
||||
@@ -222,7 +222,8 @@ export async function fakeRegularManifest (
|
||||
// If a workspace package has no License of its own,
|
||||
// license files from the root of the workspace are used
|
||||
const copiedLicenses: string[] = opts.dir !== opts.workspaceDir && (await findLicenses({ cwd: opts.dir })).length === 0
|
||||
? await copyLicenses(opts.workspaceDir, opts.dir) : []
|
||||
? await copyLicenses(opts.workspaceDir, opts.dir)
|
||||
: []
|
||||
|
||||
const { fileName, manifest, writeProjectManifest } = await readProjectManifest(opts.dir, opts)
|
||||
const publishManifest = await exportableManifest(opts.dir, manifest)
|
||||
|
||||
@@ -47,7 +47,9 @@ export default async (
|
||||
const stdio = (
|
||||
opts.workspaceConcurrency === 1 ||
|
||||
packageChunks.length === 1 && packageChunks[0].length === 1
|
||||
) ? 'inherit' : 'pipe'
|
||||
)
|
||||
? 'inherit'
|
||||
: 'pipe'
|
||||
const existsPnp = existsInDir.bind(null, '.pnp.cjs')
|
||||
const workspacePnpPath = opts.workspaceDir && await existsPnp(opts.workspaceDir)
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import path from 'path'
|
||||
import { promises as fs } from 'fs'
|
||||
import { LAYOUT_VERSION } from '@pnpm/constants'
|
||||
import prepare from '@pnpm/prepare'
|
||||
import { promises as fs } from 'fs'
|
||||
import isWindows from 'is-windows'
|
||||
import exists from 'path-exists'
|
||||
import {
|
||||
|
||||
@@ -17,12 +17,14 @@ export function pruneSharedLockfile (
|
||||
warn?: (msg: string) => void
|
||||
}
|
||||
) {
|
||||
const copiedPackages = !lockfile.packages ? {} : copyPackageSnapshots(lockfile.packages, {
|
||||
devDepPaths: R.unnest(R.values(lockfile.importers).map((deps) => resolvedDepsToDepPaths(deps.devDependencies ?? {}))),
|
||||
optionalDepPaths: R.unnest(R.values(lockfile.importers).map((deps) => resolvedDepsToDepPaths(deps.optionalDependencies ?? {}))),
|
||||
prodDepPaths: R.unnest(R.values(lockfile.importers).map((deps) => resolvedDepsToDepPaths(deps.dependencies ?? {}))),
|
||||
warn: opts?.warn ?? ((msg: string) => undefined),
|
||||
})
|
||||
const copiedPackages = (lockfile.packages == null)
|
||||
? {}
|
||||
: copyPackageSnapshots(lockfile.packages, {
|
||||
devDepPaths: R.unnest(R.values(lockfile.importers).map((deps) => resolvedDepsToDepPaths(deps.devDependencies ?? {}))),
|
||||
optionalDepPaths: R.unnest(R.values(lockfile.importers).map((deps) => resolvedDepsToDepPaths(deps.optionalDependencies ?? {}))),
|
||||
prodDepPaths: R.unnest(R.values(lockfile.importers).map((deps) => resolvedDepsToDepPaths(deps.dependencies ?? {}))),
|
||||
warn: opts?.warn ?? ((msg: string) => undefined),
|
||||
})
|
||||
|
||||
const prunnedLockfile: Lockfile = {
|
||||
...lockfile,
|
||||
|
||||
@@ -269,7 +269,8 @@ async function resolveDependenciesOfDependency (
|
||||
extendedWantedDep: ExtendedWantedDependency
|
||||
) {
|
||||
const updateDepth = typeof extendedWantedDep.wantedDependency.updateDepth === 'number'
|
||||
? extendedWantedDep.wantedDependency.updateDepth : options.updateDepth
|
||||
? extendedWantedDep.wantedDependency.updateDepth
|
||||
: options.updateDepth
|
||||
const updateShouldContinue = options.currentDepth <= updateDepth
|
||||
const update = (
|
||||
updateShouldContinue && (
|
||||
@@ -336,10 +337,12 @@ async function resolveChildren (
|
||||
updateDepth: number,
|
||||
preferredVersions: PreferredVersions
|
||||
) {
|
||||
const currentResolvedDependencies = dependencyLockfile ? {
|
||||
...dependencyLockfile.dependencies,
|
||||
...dependencyLockfile.optionalDependencies,
|
||||
} : undefined
|
||||
const currentResolvedDependencies = dependencyLockfile
|
||||
? {
|
||||
...dependencyLockfile.dependencies,
|
||||
...dependencyLockfile.optionalDependencies,
|
||||
}
|
||||
: undefined
|
||||
const resolvedDependencies = parentPkg.updated
|
||||
? undefined
|
||||
: currentResolvedDependencies
|
||||
@@ -573,7 +576,8 @@ async function resolveDependency (
|
||||
const currentPkg = options.currentPkg ?? {}
|
||||
|
||||
const currentLockfileContainsTheDep = currentPkg.depPath
|
||||
? Boolean(ctx.currentLockfile.packages?.[currentPkg.depPath]) : undefined
|
||||
? Boolean(ctx.currentLockfile.packages?.[currentPkg.depPath])
|
||||
: undefined
|
||||
const depIsLinked = Boolean(
|
||||
// if package is not in `node_modules/.pnpm-lock.yaml`
|
||||
// we can safely assume that it doesn't exist in `node_modules`
|
||||
@@ -599,12 +603,14 @@ async function resolveDependency (
|
||||
try {
|
||||
pkgResponse = await ctx.storeController.requestPackage(wantedDependency, {
|
||||
alwaysTryWorkspacePackages: ctx.linkWorkspacePackagesDepth >= options.currentDepth,
|
||||
currentPkg: currentPkg ? {
|
||||
name: currentPkg.name,
|
||||
version: currentPkg.version,
|
||||
id: currentPkg.pkgId,
|
||||
resolution: currentPkg.resolution,
|
||||
} : undefined,
|
||||
currentPkg: currentPkg
|
||||
? {
|
||||
name: currentPkg.name,
|
||||
version: currentPkg.version,
|
||||
id: currentPkg.pkgId,
|
||||
resolution: currentPkg.resolution,
|
||||
}
|
||||
: undefined,
|
||||
defaultTag: ctx.defaultTag,
|
||||
downloadPriority: -options.currentDepth,
|
||||
lockfileDir: ctx.lockfileDir,
|
||||
@@ -789,7 +795,8 @@ async function resolveDependency (
|
||||
packageId: pkgResponse.body.id,
|
||||
requester: ctx.lockfileDir,
|
||||
status: fetchResult.fromStore
|
||||
? 'found_in_store' : 'fetched',
|
||||
? 'found_in_store'
|
||||
: 'fetched',
|
||||
})
|
||||
})
|
||||
.catch(() => {
|
||||
@@ -890,7 +897,8 @@ function getResolvedPackage (
|
||||
prepare: options.prepare,
|
||||
prod: !options.wantedDependency.dev && !options.wantedDependency.optional,
|
||||
requiresBuild: options.neverBuiltDependencies.has(options.pkg.name)
|
||||
? false : (options.dependencyLockfile && Boolean(options.dependencyLockfile.requiresBuild)),
|
||||
? false
|
||||
: (options.dependencyLockfile && Boolean(options.dependencyLockfile.requiresBuild)),
|
||||
resolution: options.pkgResponse.body.resolution,
|
||||
version: options.pkg.version,
|
||||
}
|
||||
|
||||
@@ -59,7 +59,8 @@ export default async (
|
||||
strictSSL: opts.strictSsl ?? true,
|
||||
userAgent: opts.userAgent,
|
||||
maxSockets: opts.networkConcurrency != null
|
||||
? (opts.networkConcurrency * 3) : undefined,
|
||||
? (opts.networkConcurrency * 3)
|
||||
: undefined,
|
||||
})
|
||||
await fs.mkdir(opts.storeDir, { recursive: true })
|
||||
return {
|
||||
@@ -69,7 +70,8 @@ export default async (
|
||||
packageImportMethod: opts.packageImportMethod,
|
||||
storeDir: opts.storeDir,
|
||||
verifyStoreIntegrity: typeof opts.verifyStoreIntegrity === 'boolean'
|
||||
? opts.verifyStoreIntegrity : true,
|
||||
? opts.verifyStoreIntegrity
|
||||
: true,
|
||||
}),
|
||||
dir: opts.storeDir,
|
||||
}
|
||||
|
||||
@@ -661,7 +661,9 @@ const _installInContext: InstallFunction = async (projects, ctx, opts) => {
|
||||
!opts.update &&
|
||||
ctx.wantedLockfile.packages &&
|
||||
!R.isEmpty(ctx.wantedLockfile.packages)
|
||||
) ? getPreferredVersionsFromLockfile(ctx.wantedLockfile.packages) : undefined
|
||||
)
|
||||
? getPreferredVersionsFromLockfile(ctx.wantedLockfile.packages)
|
||||
: undefined
|
||||
)
|
||||
const forceFullResolution = ctx.wantedLockfile.lockfileVersion !== LOCKFILE_VERSION ||
|
||||
!opts.currentLockfileIsUpToDate ||
|
||||
@@ -971,7 +973,8 @@ async function toResolveImporter (
|
||||
const updateLocalTarballs = (dep: WantedDependency) => ({
|
||||
...dep,
|
||||
updateDepth: opts.updateAll
|
||||
? opts.defaultUpdateDepth : (prefIsLocalTarball(dep.pref) ? 0 : -1),
|
||||
? opts.defaultUpdateDepth
|
||||
: (prefIsLocalTarball(dep.pref) ? 0 : -1),
|
||||
})
|
||||
wantedDependencies = [
|
||||
...project.wantedDependencies.map(
|
||||
|
||||
@@ -30,7 +30,8 @@ export default function parseWantedDependencies (
|
||||
if (alias && opts.currentPrefs[alias]) {
|
||||
if (!pref) {
|
||||
pref = (opts.currentPrefs[alias].startsWith('workspace:') && opts.updateWorkspaceDependencies === true)
|
||||
? 'workspace:*' : opts.currentPrefs[alias]
|
||||
? 'workspace:*'
|
||||
: opts.currentPrefs[alias]
|
||||
}
|
||||
pinnedVersion = guessPinnedVersionFromExistingSpec(opts.currentPrefs[alias])
|
||||
}
|
||||
|
||||
@@ -157,7 +157,8 @@ export default (
|
||||
}
|
||||
// In order to reduce the amount of logs, we only report the download progress of big tarballs
|
||||
const onProgress = size != null && size >= BIG_TARBALL_SIZE
|
||||
? opts.onProgress : undefined
|
||||
? opts.onProgress
|
||||
: undefined
|
||||
let downloaded = 0
|
||||
res.body.on('data', (chunk: Buffer) => {
|
||||
downloaded += chunk.length
|
||||
|
||||
51
pnpm-lock.yaml
generated
51
pnpm-lock.yaml
generated
@@ -14,7 +14,7 @@ importers:
|
||||
'@types/node': 14.14.33
|
||||
c8: 7.6.0
|
||||
cross-env: 7.0.3
|
||||
eslint: 7.21.0
|
||||
eslint: 7.22.0
|
||||
husky: 4.3.8
|
||||
jest: 26.6.3_ts-node@9.1.1
|
||||
lcov-result-merger: 3.1.0
|
||||
@@ -41,7 +41,7 @@ importers:
|
||||
'@types/node': ^14.14.33
|
||||
c8: ^7.3.5
|
||||
cross-env: ^7.0.3
|
||||
eslint: ^7.16.0
|
||||
eslint: ^7.22.0
|
||||
husky: ^4.3.6
|
||||
jest: ^26.6.3
|
||||
lcov-result-merger: ^3.1.0
|
||||
@@ -3107,14 +3107,14 @@ importers:
|
||||
utils/eslint-config:
|
||||
dependencies:
|
||||
'@typescript-eslint/eslint-plugin': 4.17.0
|
||||
eslint-config-standard-with-typescript: 19.0.1_5504f766ddc9fd128551e1e6f422252a
|
||||
eslint-config-standard-with-typescript: 20.0.0_1c77e2750328318addf34231f71a2c67
|
||||
eslint-plugin-import: 2.22.1
|
||||
eslint-plugin-node: 11.1.0
|
||||
eslint-plugin-promise: 4.3.1
|
||||
eslint-plugin-standard: 4.1.0
|
||||
specifiers:
|
||||
'@typescript-eslint/eslint-plugin': ^4.17.0
|
||||
eslint-config-standard-with-typescript: ^19.0.1
|
||||
eslint-config-standard-with-typescript: ^20.0.0
|
||||
eslint-plugin-import: ^2.22.1
|
||||
eslint-plugin-node: ^11.1.0
|
||||
eslint-plugin-promise: ^4.2.1
|
||||
@@ -7238,42 +7238,38 @@ packages:
|
||||
optionalDependencies:
|
||||
source-map: 0.6.1
|
||||
|
||||
/eslint-config-standard-with-typescript/19.0.1_5504f766ddc9fd128551e1e6f422252a:
|
||||
resolution: {integrity: sha512-hAKj81+f4a+9lnvpHwZ4XSL672CbwSe5UJ7fTdL/RsQdqs4IjHudMETZuNQwwU7NlYpBTF9se7FRf5Pp7CVdag==}
|
||||
/eslint-config-standard-with-typescript/20.0.0_1c77e2750328318addf34231f71a2c67:
|
||||
resolution: {integrity: sha512-IoySf3r0a2+P3Z6GMjv8p1HuOQ6GWQbMpdt9G8uEbkGpnNWAGBXpgaiutbZHbaQAvG5pkVtYepCfHUxYbVDLCA==}
|
||||
dependencies:
|
||||
'@typescript-eslint/eslint-plugin': 4.17.0
|
||||
'@typescript-eslint/parser': 4.17.0
|
||||
eslint-config-standard: 14.1.1_783d82be56f3d23aa30c2a5bdd353f2f
|
||||
eslint-config-standard: 16.0.2_e6401c7705d8729573cd1e8b5611bac2
|
||||
eslint-plugin-import: 2.22.1
|
||||
eslint-plugin-node: 11.1.0
|
||||
eslint-plugin-promise: 4.3.1
|
||||
eslint-plugin-standard: 4.1.0
|
||||
dev: false
|
||||
peerDependencies:
|
||||
'@typescript-eslint/eslint-plugin': '>=4.0.1'
|
||||
eslint: '>=6.2.2'
|
||||
eslint-plugin-import: '>=2.18.0'
|
||||
eslint-plugin-node: '>=9.1.0'
|
||||
eslint: '>=7.12.1'
|
||||
eslint-plugin-import: '>=2.22.1'
|
||||
eslint-plugin-node: '>=11.1.0'
|
||||
eslint-plugin-promise: '>=4.2.1'
|
||||
eslint-plugin-standard: '>=4.0.0'
|
||||
typescript: '>=3.9'
|
||||
transitivePeerDependencies:
|
||||
- supports-color
|
||||
|
||||
/eslint-config-standard/14.1.1_783d82be56f3d23aa30c2a5bdd353f2f:
|
||||
resolution: {integrity: sha512-Z9B+VR+JIXRxz21udPTL9HpFMyoMUEeX1G251EQ6e05WD9aPVtVBn09XUmZ259wCMlCDmYDSZG62Hhm+ZTJcUg==}
|
||||
/eslint-config-standard/16.0.2_e6401c7705d8729573cd1e8b5611bac2:
|
||||
resolution: {integrity: sha512-fx3f1rJDsl9bY7qzyX8SAtP8GBSk6MfXFaTfaGgk12aAYW4gJSyRm7dM790L6cbXv63fvjY4XeSzXnb4WM+SKw==}
|
||||
dependencies:
|
||||
eslint-plugin-import: 2.22.1
|
||||
eslint-plugin-node: 11.1.0
|
||||
eslint-plugin-promise: 4.3.1
|
||||
eslint-plugin-standard: 4.1.0
|
||||
dev: false
|
||||
peerDependencies:
|
||||
eslint: '>=6.2.2'
|
||||
eslint-plugin-import: '>=2.18.0'
|
||||
eslint-plugin-node: '>=9.1.0'
|
||||
eslint-plugin-promise: '>=4.2.1'
|
||||
eslint-plugin-standard: '>=4.0.0'
|
||||
eslint: ^7.12.1
|
||||
eslint-plugin-import: ^2.22.1
|
||||
eslint-plugin-node: ^11.1.0
|
||||
eslint-plugin-promise: ^4.2.1
|
||||
|
||||
/eslint-import-resolver-node/0.3.4:
|
||||
resolution: {integrity: sha512-ogtf+5AB/O+nM6DIeBUNr2fuT7ot9Qg/1harBfBtaP13ekEWFQEEMP94BCB7zaNW3gyY+8SHYF00rnqYwXKWOA==}
|
||||
@@ -7367,8 +7363,8 @@ packages:
|
||||
resolution: {integrity: sha512-QudtT6av5WXels9WjIM7qz1XD1cWGvX4gGXvp/zBn9nXG02D0utdU3Em2m/QjTnrsk6bBjmCygl3rmj118msQQ==}
|
||||
engines: {node: '>=10'}
|
||||
|
||||
/eslint/7.21.0:
|
||||
resolution: {integrity: sha512-W2aJbXpMNofUp0ztQaF40fveSsJBjlSCSWpy//gzfTvwC+USs/nceBrKmlJOiM8r1bLwP2EuYkCqArn/6QTIgg==}
|
||||
/eslint/7.22.0:
|
||||
resolution: {integrity: sha512-3VawOtjSJUQiiqac8MQc+w457iGLfuNGLFn8JmF051tTKbh5/x/0vlcEj8OgDCaw7Ysa2Jn8paGshV7x2abKXg==}
|
||||
engines: {node: ^10.12.0 || >=12.0.0}
|
||||
dependencies:
|
||||
'@babel/code-frame': 7.12.11
|
||||
@@ -7388,7 +7384,7 @@ packages:
|
||||
file-entry-cache: 6.0.1
|
||||
functional-red-black-tree: 1.0.1
|
||||
glob-parent: 5.1.2
|
||||
globals: 12.4.0
|
||||
globals: 13.6.0
|
||||
ignore: 4.0.6
|
||||
import-fresh: 3.3.0
|
||||
imurmurhash: 0.1.4
|
||||
@@ -8246,6 +8242,13 @@ packages:
|
||||
type-fest: 0.8.1
|
||||
dev: true
|
||||
|
||||
/globals/13.6.0:
|
||||
resolution: {integrity: sha512-YFKCX0SiPg7l5oKYCJ2zZGxcXprVXHcSnVuvzrT3oSENQonVLqM5pf9fN5dLGZGyCjhw8TN8Btwe/jKnZ0pjvQ==}
|
||||
engines: {node: '>=8'}
|
||||
dependencies:
|
||||
type-fest: 0.20.2
|
||||
dev: true
|
||||
|
||||
/globby/11.0.2:
|
||||
resolution: {integrity: sha512-2ZThXDvvV8fYFRVIxnrMQBipZQDr7MxKAmQK1vujaj9/7eF0efG7BPUKJ7jP7G5SLF37xKDXvO4S/KKLj/Z0og==}
|
||||
engines: {node: '>=10'}
|
||||
@@ -13453,8 +13456,6 @@ packages:
|
||||
/type-fest/0.20.2:
|
||||
resolution: {integrity: sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==}
|
||||
engines: {node: '>=10'}
|
||||
dev: false
|
||||
optional: true
|
||||
|
||||
/type-fest/0.4.1:
|
||||
resolution: {integrity: sha512-IwzA/LSfD2vC1/YDYMv/zHP4rDF1usCwllsDpbolT3D4fUepIO7f9K70jjmUewU/LmGUKJcwcVtDCpnKk4BPMw==}
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
"scripts": {},
|
||||
"dependencies": {
|
||||
"@typescript-eslint/eslint-plugin": "^4.17.0",
|
||||
"eslint-config-standard-with-typescript": "^19.0.1",
|
||||
"eslint-config-standard-with-typescript": "^20.0.0",
|
||||
"eslint-plugin-import": "^2.22.1",
|
||||
"eslint-plugin-node": "^11.1.0",
|
||||
"eslint-plugin-promise": "^4.2.1",
|
||||
|
||||
Reference in New Issue
Block a user