fix: deprecation warnings on Node.js 16 (#5150)

This commit is contained in:
Zoltan Kochan
2022-08-03 17:42:00 +03:00
committed by GitHub
parent 0321ca32a4
commit 8103f92bd6
118 changed files with 291 additions and 249 deletions

View File

@@ -0,0 +1,42 @@
---
"@pnpm/build-modules": patch
"@pnpm/config": patch
"@pnpm/core": patch
"@pnpm/default-reporter": patch
"@pnpm/directory-fetcher": patch
"@pnpm/exportable-manifest": patch
"@pnpm/filter-lockfile": patch
"@pnpm/filter-workspace-packages": patch
"@pnpm/get-context": patch
"@pnpm/headless": patch
"@pnpm/hoist": patch
"@pnpm/link-bins": patch
"@pnpm/list": patch
"@pnpm/lockfile-file": patch
"@pnpm/lockfile-to-pnp": patch
"@pnpm/lockfile-utils": patch
"@pnpm/lockfile-walker": patch
"@pnpm/make-dedicated-lockfile": patch
"@pnpm/merge-lockfile-changes": patch
"@pnpm/modules-cleaner": patch
"@pnpm/outdated": patch
"@pnpm/package-requester": patch
"@pnpm/package-store": patch
"pkgs-graph": patch
"@pnpm/plugin-commands-audit": patch
"@pnpm/plugin-commands-installation": patch
"@pnpm/plugin-commands-listing": patch
"@pnpm/plugin-commands-outdated": patch
"@pnpm/plugin-commands-patching": patch
"@pnpm/plugin-commands-publishing": patch
"@pnpm/plugin-commands-rebuild": patch
"@pnpm/plugin-commands-script-runners": patch
"@pnpm/plugin-commands-server": patch
"@pnpm/plugin-commands-store": patch
"pnpm": patch
"@pnpm/prune-lockfile": patch
"@pnpm/resolve-dependencies": patch
"@pnpm/tarball-fetcher": patch
---
Use a patched version of ramda to fix deprecation warnings on Node.js 16. Related issue: https://github.com/ramda/ramda/pull/3270

View File

@@ -44,7 +44,7 @@
"@pnpm/store-controller-types": "workspace:*",
"@pnpm/types": "workspace:*",
"patch-package": "^6.4.7",
"ramda": "^0.28.0",
"ramda": "npm:@pnpm/ramda@0.28.1",
"run-groups": "^3.0.1"
},
"devDependencies": {

View File

@@ -1,6 +1,6 @@
import graphSequencer from '@pnpm/graph-sequencer'
import { PackageManifest, PatchFile } from '@pnpm/types'
import filter from 'ramda/src/filter.js'
import filter from 'ramda/src/filter'
export interface DependenciesGraphNode {
children: {[alias: string]: string}

View File

@@ -45,7 +45,7 @@
"is-subdir": "^1.2.0",
"normalize-registry-url": "2.0.0",
"path-name": "^1.0.0",
"ramda": "^0.28.0",
"ramda": "npm:@pnpm/ramda@0.28.1",
"realpath-missing": "^1.1.0",
"which": "^2.0.2"
},

View File

@@ -10,7 +10,7 @@ import { getCurrentBranch } from '@pnpm/git-utils'
import matcher from '@pnpm/matcher'
import camelcase from 'camelcase'
import normalizeRegistryUrl from 'normalize-registry-url'
import fromPairs from 'ramda/src/fromPairs.js'
import fromPairs from 'ramda/src/fromPairs'
import realpathMissing from 'realpath-missing'
import whichcb from 'which'
import { checkGlobalBinDir } from './checkGlobalBinDir'

View File

@@ -62,7 +62,7 @@
"p-filter": "^2.1.0",
"p-limit": "^3.1.0",
"path-exists": "^4.0.0",
"ramda": "^0.28.0",
"ramda": "npm:@pnpm/ramda@0.28.1",
"run-groups": "^3.0.1",
"semver": "^7.3.7",
"version-selector-type": "^3.0.0"

View File

@@ -13,7 +13,7 @@ import {
ProjectManifest,
} from '@pnpm/types'
import pEvery from 'p-every'
import any from 'ramda/src/any.js'
import any from 'ramda/src/any'
import semver from 'semver'
export default async function allProjectsAreUpToDate (

View File

@@ -1,6 +1,6 @@
import { PeerDependencyRules, ReadPackageHook } from '@pnpm/types'
import matcher from '@pnpm/matcher'
import isEmpty from 'ramda/src/isEmpty.js'
import isEmpty from 'ramda/src/isEmpty'
export default function (
peerDependencyRules: PeerDependencyRules

View File

@@ -1,5 +1,5 @@
import path from 'path'
import partition from 'ramda/src/partition.js'
import partition from 'ramda/src/partition'
import { Dependencies, PackageManifest, ReadPackageHook } from '@pnpm/types'
import parseOverrides from '@pnpm/parse-overrides'
import normalizePath from 'normalize-path'

View File

@@ -61,13 +61,13 @@ import rimraf from '@zkochan/rimraf'
import isInnerLink from 'is-inner-link'
import pFilter from 'p-filter'
import pLimit from 'p-limit'
import flatten from 'ramda/src/flatten.js'
import fromPairs from 'ramda/src/fromPairs.js'
import equals from 'ramda/src/equals.js'
import isEmpty from 'ramda/src/isEmpty.js'
import pipeWith from 'ramda/src/pipeWith.js'
import props from 'ramda/src/props.js'
import unnest from 'ramda/src/unnest.js'
import flatten from 'ramda/src/flatten'
import fromPairs from 'ramda/src/fromPairs'
import equals from 'ramda/src/equals'
import isEmpty from 'ramda/src/isEmpty'
import pipeWith from 'ramda/src/pipeWith'
import props from 'ramda/src/props'
import unnest from 'ramda/src/unnest'
import parseWantedDependencies from '../parseWantedDependencies'
import removeDeps from '../uninstall/removeDeps'
import allProjectsAreUpToDate from './allProjectsAreUpToDate'

View File

@@ -28,12 +28,12 @@ import {
} from '@pnpm/types'
import pLimit from 'p-limit'
import pathExists from 'path-exists'
import fromPairs from 'ramda/src/fromPairs.js'
import equals from 'ramda/src/equals.js'
import isEmpty from 'ramda/src/isEmpty.js'
import difference from 'ramda/src/difference.js'
import omit from 'ramda/src/omit.js'
import props from 'ramda/src/props.js'
import fromPairs from 'ramda/src/fromPairs'
import equals from 'ramda/src/equals'
import isEmpty from 'ramda/src/isEmpty'
import difference from 'ramda/src/difference'
import omit from 'ramda/src/omit'
import props from 'ramda/src/props'
import { ImporterToUpdate } from './index'
const brokenModulesLogger = logger('_broken_node_modules')

View File

@@ -1,7 +1,7 @@
import PnpmError from '@pnpm/error'
import { peerDependencyIssuesLogger } from '@pnpm/core-loggers'
import { PeerDependencyIssuesByProjects } from '@pnpm/types'
import isEmpty from 'ramda/src/isEmpty.js'
import isEmpty from 'ramda/src/isEmpty'
export default function (
peerDependencyIssuesByProjects: PeerDependencyIssuesByProjects,

View File

@@ -2,7 +2,7 @@ import { WANTED_LOCKFILE } from '@pnpm/constants'
import { prepareEmpty } from '@pnpm/prepare'
import { addDistTag } from '@pnpm/registry-mock'
import rimraf from '@zkochan/rimraf'
import clone from 'ramda/src/clone.js'
import clone from 'ramda/src/clone'
import {
addDependenciesToPackage,
mutateModules,

View File

@@ -13,7 +13,7 @@ import {
import rimraf from '@zkochan/rimraf'
import loadJsonFile from 'load-json-file'
import exists from 'path-exists'
import pick from 'ramda/src/pick.js'
import pick from 'ramda/src/pick'
import sinon from 'sinon'
import writeYamlFile from 'write-yaml-file'
import { testDefaults } from '../utils'

View File

@@ -44,7 +44,7 @@
"normalize-path": "^3.0.0",
"pretty-bytes": "^5.6.0",
"pretty-ms": "^7.0.1",
"ramda": "^0.28.0",
"ramda": "npm:@pnpm/ramda@0.28.1",
"right-pad": "^1.0.1",
"rxjs": "^7.5.6",
"semver": "^7.3.7",

View File

@@ -4,7 +4,7 @@ import PnpmError from '@pnpm/error'
import renderPeerIssues from '@pnpm/render-peer-issues'
import { PeerDependencyIssuesByProjects } from '@pnpm/types'
import chalk from 'chalk'
import equals from 'ramda/src/equals.js'
import equals from 'ramda/src/equals'
import StackTracey from 'stacktracey'
import { EOL } from './constants'

View File

@@ -2,8 +2,8 @@ import * as logs from '@pnpm/core-loggers'
import { PackageManifest } from '@pnpm/types'
import * as Rx from 'rxjs'
import { filter, map, mapTo, reduce, scan, startWith, take } from 'rxjs/operators'
import mergeRight from 'ramda/src/mergeRight.js'
import difference from 'ramda/src/difference.js'
import mergeRight from 'ramda/src/mergeRight'
import difference from 'ramda/src/difference'
export interface PackageDiff {
added: boolean

View File

@@ -2,7 +2,7 @@ import { StatsLog } from '@pnpm/core-loggers'
import * as Rx from 'rxjs'
import { filter, take, reduce, map } from 'rxjs/operators'
import chalk from 'chalk'
import repeat from 'ramda/src/repeat.js'
import repeat from 'ramda/src/repeat'
import stringLength from 'string-length'
import { EOL } from '../constants'
import {

View File

@@ -19,7 +19,7 @@ import logger, {
import { map, skip, take } from 'rxjs/operators'
import chalk from 'chalk'
import normalizeNewline from 'normalize-newline'
import repeat from 'ramda/src/repeat.js'
import repeat from 'ramda/src/repeat'
import formatWarn from '../src/reporterForClient/utils/formatWarn'
const formatErrorCode = (code: string) => chalk.bgRed.black(`\u2009${code}\u2009`)

View File

@@ -35,7 +35,7 @@
"@pnpm/read-project-manifest": "workspace:*",
"@pnpm/resolver-base": "workspace:*",
"npm-packlist": "^3.0.0",
"ramda": "^0.28.0"
"ramda": "npm:@pnpm/ramda@0.28.1"
},
"devDependencies": {
"@pnpm/directory-fetcher": "workspace:*",

View File

@@ -3,7 +3,7 @@ import path from 'path'
import { Cafs, DeferredManifestPromise } from '@pnpm/fetcher-base'
import { safeReadProjectManifestOnly } from '@pnpm/read-project-manifest'
import { DirectoryResolution } from '@pnpm/resolver-base'
import fromPairs from 'ramda/src/fromPairs.js'
import fromPairs from 'ramda/src/fromPairs'
import packlist from 'npm-packlist'
export interface DirectoryFetcherOptions {

View File

@@ -36,7 +36,7 @@
"@pnpm/error": "workspace:*",
"@pnpm/read-project-manifest": "workspace:*",
"@pnpm/types": "workspace:*",
"ramda": "^0.28.0"
"ramda": "npm:@pnpm/ramda@0.28.1"
},
"funding": "https://opencollective.com/pnpm",
"exports": {

View File

@@ -2,8 +2,8 @@ import path from 'path'
import PnpmError from '@pnpm/error'
import { tryReadProjectManifest } from '@pnpm/read-project-manifest'
import { Dependencies, ProjectManifest } from '@pnpm/types'
import fromPairs from 'ramda/src/fromPairs.js'
import omit from 'ramda/src/omit.js'
import fromPairs from 'ramda/src/fromPairs'
import omit from 'ramda/src/omit'
import { overridePublishConfig } from './overridePublishConfig'
const PREPUBLISH_SCRIPTS = [

View File

@@ -1,5 +1,5 @@
import { ProjectManifest } from '@pnpm/types'
import isEmpty from 'ramda/src/isEmpty.js'
import isEmpty from 'ramda/src/isEmpty'
// property keys that are copied from publishConfig into the manifest
const PUBLISH_CONFIG_WHITELIST = new Set([

View File

@@ -51,7 +51,7 @@
"@pnpm/package-is-installable": "workspace:*",
"@pnpm/types": "workspace:*",
"dependency-path": "workspace:*",
"ramda": "^0.28.0"
"ramda": "npm:@pnpm/ramda@0.28.1"
},
"funding": "https://opencollective.com/pnpm",
"exports": {

View File

@@ -1,6 +1,6 @@
import { Lockfile } from '@pnpm/lockfile-types'
import { DependenciesField } from '@pnpm/types'
import fromPairs from 'ramda/src/fromPairs.js'
import fromPairs from 'ramda/src/fromPairs'
import filterImporter from './filterImporter'
export default function filterLockfile (

View File

@@ -9,7 +9,7 @@ import pnpmLogger from '@pnpm/logger'
import packageIsInstallable from '@pnpm/package-is-installable'
import { DependenciesField } from '@pnpm/types'
import * as dp from 'dependency-path'
import unnest from 'ramda/src/unnest.js'
import unnest from 'ramda/src/unnest'
import filterImporter from './filterImporter'
const logger = pnpmLogger('lockfile')

View File

@@ -37,7 +37,7 @@
"is-subdir": "^1.2.0",
"micromatch": "^4.0.5",
"pkgs-graph": "workspace:*",
"ramda": "^0.28.0"
"ramda": "npm:@pnpm/ramda@0.28.1"
},
"devDependencies": {
"@pnpm/filter-workspace-packages": "workspace:*",

View File

@@ -2,9 +2,9 @@ import findWorkspacePackages from '@pnpm/find-workspace-packages'
import matcher from '@pnpm/matcher'
import createPkgGraph, { Package, PackageNode } from 'pkgs-graph'
import isSubdir from 'is-subdir'
import difference from 'ramda/src/difference.js'
import partition from 'ramda/src/partition.js'
import pick from 'ramda/src/pick.js'
import difference from 'ramda/src/difference'
import partition from 'ramda/src/partition'
import pick from 'ramda/src/pick'
import * as micromatch from 'micromatch'
import getChangedPkgs from './getChangedPackages'
import parsePackageSelector, { PackageSelector } from './parsePackageSelector'

View File

@@ -7,7 +7,7 @@ import execa from 'execa'
import isCI from 'is-ci'
import isWindows from 'is-windows'
import path from 'path'
import omit from 'ramda/src/omit.js'
import omit from 'ramda/src/omit'
import tempy from 'tempy'
import touchCB from 'touch'

View File

@@ -48,7 +48,7 @@
"@zkochan/rimraf": "^2.1.2",
"is-ci": "^3.0.1",
"path-absolute": "^1.0.1",
"ramda": "^0.28.0"
"ramda": "npm:@pnpm/ramda@0.28.1"
},
"funding": "https://opencollective.com/pnpm",
"exports": {

View File

@@ -18,8 +18,8 @@ import {
} from '@pnpm/types'
import rimraf from '@zkochan/rimraf'
import pathAbsolute from 'path-absolute'
import clone from 'ramda/src/clone.js'
import equals from 'ramda/src/equals.js'
import clone from 'ramda/src/clone'
import equals from 'ramda/src/equals'
import checkCompatibility from './checkCompatibility'
import UnexpectedStoreError from './checkCompatibility/UnexpectedStoreError'
import UnexpectedVirtualStoreDirError from './checkCompatibility/UnexpectedVirtualStoreDirError'

View File

@@ -12,8 +12,8 @@ import {
} from '@pnpm/lockfile-file'
import logger from '@pnpm/logger'
import isCI from 'is-ci'
import clone from 'ramda/src/clone.js'
import equals from 'ramda/src/equals.js'
import clone from 'ramda/src/clone'
import equals from 'ramda/src/equals'
export interface PnpmContext {
currentLockfile: Lockfile

View File

@@ -94,7 +94,7 @@
"p-limit": "^3.1.0",
"path-absolute": "^1.0.1",
"path-exists": "^4.0.0",
"ramda": "^0.28.0",
"ramda": "npm:@pnpm/ramda@0.28.1",
"realpath-missing": "^1.1.0"
},
"funding": "https://opencollective.com/pnpm",

View File

@@ -59,12 +59,12 @@ import { DependencyManifest, HoistedDependencies, ProjectManifest, Registries }
import * as dp from 'dependency-path'
import pLimit from 'p-limit'
import pathAbsolute from 'path-absolute'
import equals from 'ramda/src/equals.js'
import fromPairs from 'ramda/src/fromPairs.js'
import isEmpty from 'ramda/src/isEmpty.js'
import omit from 'ramda/src/omit.js'
import props from 'ramda/src/props.js'
import union from 'ramda/src/union.js'
import equals from 'ramda/src/equals'
import fromPairs from 'ramda/src/fromPairs'
import isEmpty from 'ramda/src/isEmpty'
import omit from 'ramda/src/omit'
import props from 'ramda/src/props'
import union from 'ramda/src/union'
import realpathMissing from 'realpath-missing'
import linkHoistedModules from './linkHoistedModules'
import lockfileToDepGraph, {

View File

@@ -11,8 +11,8 @@ import {
PackageFilesResponse,
StoreController,
} from '@pnpm/store-controller-types'
import difference from 'ramda/src/difference.js'
import isEmpty from 'ramda/src/isEmpty.js'
import difference from 'ramda/src/difference'
import isEmpty from 'ramda/src/isEmpty'
import rimraf from '@zkochan/rimraf'
import {
DepHierarchy,

View File

@@ -23,7 +23,7 @@ import {
} from '@pnpm/store-controller-types'
import * as dp from 'dependency-path'
import pathExists from 'path-exists'
import equals from 'ramda/src/equals.js'
import equals from 'ramda/src/equals'
const brokenModulesLogger = logger('_broken_node_modules')

View File

@@ -49,7 +49,7 @@
"@pnpm/symlink-dependency": "workspace:*",
"@pnpm/types": "workspace:*",
"dependency-path": "workspace:*",
"ramda": "^0.28.0"
"ramda": "npm:@pnpm/ramda@0.28.1"
},
"funding": "https://opencollective.com/pnpm",
"exports": {

View File

@@ -44,7 +44,7 @@
"is-windows": "^1.0.2",
"normalize-path": "^3.0.0",
"p-settle": "^4.1.1",
"ramda": "^0.28.0",
"ramda": "npm:@pnpm/ramda@0.28.1",
"symlink-dir": "^5.0.1"
},
"devDependencies": {

View File

@@ -14,10 +14,10 @@ import isWindows from 'is-windows'
import normalizePath from 'normalize-path'
import pSettle from 'p-settle'
import { KeyValuePair } from 'ramda'
import fromPairs from 'ramda/src/fromPairs.js'
import isEmpty from 'ramda/src/isEmpty.js'
import unnest from 'ramda/src/unnest.js'
import partition from 'ramda/src/partition.js'
import fromPairs from 'ramda/src/fromPairs'
import isEmpty from 'ramda/src/isEmpty'
import unnest from 'ramda/src/unnest'
import partition from 'ramda/src/partition'
import symlinkDir from 'symlink-dir'
import fixBin from 'bin-links/lib/fix-bin'

View File

@@ -44,7 +44,7 @@
"cli-columns": "^4.0.0",
"dependencies-hierarchy": "workspace:*",
"p-limit": "^3.1.0",
"ramda": "^0.28.0",
"ramda": "npm:@pnpm/ramda@0.28.1",
"semver": "^7.3.7"
},
"devDependencies": {

View File

@@ -1,7 +1,7 @@
import { DEPENDENCIES_FIELDS } from '@pnpm/types'
import { PackageNode } from 'dependencies-hierarchy'
import sortBy from 'ramda/src/sortBy.js'
import path from 'ramda/src/path.js'
import sortBy from 'ramda/src/sortBy'
import path from 'ramda/src/path'
import { Ord } from 'ramda'
import getPkgInfo from './getPkgInfo'
import { PackageDependencyHierarchy } from './types'

View File

@@ -1,6 +1,6 @@
import { PackageNode } from 'dependencies-hierarchy'
import sortBy from 'ramda/src/sortBy.js'
import prop from 'ramda/src/prop.js'
import sortBy from 'ramda/src/sortBy'
import prop from 'ramda/src/prop'
import { PackageDependencyHierarchy } from './types'
const sortPackages = sortBy(prop('name'))

View File

@@ -4,8 +4,8 @@ import { DEPENDENCIES_FIELDS } from '@pnpm/types'
import archy from 'archy'
import chalk from 'chalk'
import cliColumns from 'cli-columns'
import sortBy from 'ramda/src/sortBy.js'
import rpath from 'ramda/src/path.js'
import sortBy from 'ramda/src/sortBy'
import rpath from 'ramda/src/path'
import { Ord } from 'ramda'
import getPkgInfo from './getPkgInfo'
import { PackageDependencyHierarchy } from './types'

View File

@@ -57,7 +57,7 @@
"comver-to-semver": "^1.0.0",
"js-yaml": "npm:@zkochan/js-yaml@^0.0.6",
"normalize-path": "^3.0.0",
"ramda": "^0.28.0",
"ramda": "npm:@pnpm/ramda@0.28.1",
"semver": "^7.3.7",
"sort-keys": "^4.2.0",
"strip-bom": "^4.0.0",

View File

@@ -5,8 +5,8 @@ import { Lockfile, ProjectSnapshot } from '@pnpm/lockfile-types'
import { WANTED_LOCKFILE } from '@pnpm/constants'
import rimraf from '@zkochan/rimraf'
import yaml from 'js-yaml'
import equals from 'ramda/src/equals.js'
import isEmpty from 'ramda/src/isEmpty.js'
import equals from 'ramda/src/equals'
import isEmpty from 'ramda/src/isEmpty'
import writeFileAtomicCB from 'write-file-atomic'
import logger from './logger'
import { sortLockfileKeys } from './sortLockfileKeys'

View File

@@ -49,7 +49,7 @@
"@yarnpkg/pnp": "^2.3.2",
"dependency-path": "workspace:*",
"normalize-path": "^3.0.0",
"ramda": "^0.28.0"
"ramda": "npm:@pnpm/ramda@0.28.1"
},
"funding": "https://opencollective.com/pnpm",
"exports": {

View File

@@ -44,7 +44,7 @@
"@pnpm/types": "workspace:*",
"dependency-path": "workspace:*",
"get-npm-tarball-url": "^2.0.3",
"ramda": "^0.28.0"
"ramda": "npm:@pnpm/ramda@0.28.1"
},
"funding": "https://opencollective.com/pnpm",
"exports": {

View File

@@ -1,7 +1,7 @@
import path from 'path'
import { Lockfile } from '@pnpm/lockfile-types'
import { depPathToFilename } from 'dependency-path'
import fromPairs from 'ramda/src/fromPairs.js'
import fromPairs from 'ramda/src/fromPairs'
export default function extendProjectsWithTargetDirs<T> (
projects: Array<T & { id: string }>,

View File

@@ -3,8 +3,8 @@ import {
DEPENDENCIES_FIELDS,
ProjectManifest,
} from '@pnpm/types'
import equals from 'ramda/src/equals.js'
import omit from 'ramda/src/omit.js'
import equals from 'ramda/src/equals'
import omit from 'ramda/src/omit'
export default (lockfile: Lockfile, pkg: ProjectManifest, importerId: string, opts?: { autoInstallPeers?: boolean }) => {
const importer = lockfile.importers[importerId]

View File

@@ -38,7 +38,7 @@
"@pnpm/lockfile-types": "workspace:*",
"@pnpm/types": "workspace:*",
"dependency-path": "workspace:*",
"ramda": "^0.28.0"
"ramda": "npm:@pnpm/ramda@0.28.1"
},
"funding": "https://opencollective.com/pnpm",
"exports": {

View File

@@ -41,7 +41,7 @@
"@pnpm/prune-lockfile": "workspace:*",
"@pnpm/read-project-manifest": "workspace:*",
"@pnpm/types": "workspace:*",
"ramda": "^0.28.0",
"ramda": "npm:@pnpm/ramda@0.28.1",
"rename-overwrite": "^4.0.2"
},
"funding": "https://opencollective.com/pnpm",

View File

@@ -10,7 +10,7 @@ import {
import { pruneSharedLockfile } from '@pnpm/prune-lockfile'
import readProjectManifest from '@pnpm/read-project-manifest'
import { DEPENDENCIES_FIELDS } from '@pnpm/types'
import fromPairs from 'ramda/src/fromPairs.js'
import fromPairs from 'ramda/src/fromPairs'
import renameOverwrite from 'rename-overwrite'
export default async function (lockfileDir: string, projectDir: string) {

View File

@@ -33,7 +33,7 @@
"dependencies": {
"@pnpm/lockfile-types": "workspace:*",
"comver-to-semver": "^1.0.0",
"ramda": "^0.28.0",
"ramda": "npm:@pnpm/ramda@0.28.1",
"semver": "^7.3.7"
},
"funding": "https://opencollective.com/pnpm",

View File

@@ -38,7 +38,7 @@
"@pnpm/types": "workspace:*",
"@zkochan/rimraf": "^2.1.2",
"dependency-path": "workspace:*",
"ramda": "^0.28.0"
"ramda": "npm:@pnpm/ramda@0.28.1"
},
"devDependencies": {
"@pnpm/logger": "^4.0.0",

View File

@@ -22,11 +22,11 @@ import {
} from '@pnpm/types'
import { depPathToFilename } from 'dependency-path'
import rimraf from '@zkochan/rimraf'
import difference from 'ramda/src/difference.js'
import equals from 'ramda/src/equals.js'
import mergeAll from 'ramda/src/mergeAll.js'
import pickAll from 'ramda/src/pickAll.js'
import props from 'ramda/src/props.js'
import difference from 'ramda/src/difference'
import equals from 'ramda/src/equals'
import mergeAll from 'ramda/src/mergeAll'
import pickAll from 'ramda/src/pickAll'
import props from 'ramda/src/props'
import removeDirectDependency from './removeDirectDependency'
export default async function prune (

View File

@@ -47,7 +47,7 @@
"@pnpm/pick-registry-for-package": "workspace:*",
"@pnpm/types": "workspace:*",
"dependency-path": "workspace:*",
"ramda": "^0.28.0",
"ramda": "npm:@pnpm/ramda@0.28.1",
"semver": "^7.3.7"
},
"devDependencies": {

View File

@@ -9,7 +9,7 @@ import {
IncludedDependencies,
ProjectManifest,
} from '@pnpm/types'
import unnest from 'ramda/src/unnest.js'
import unnest from 'ramda/src/unnest'
import { createManifestGetter, ManifestGetterOptions } from './createManifestGetter'
import outdated, { OutdatedPackage } from './outdated'

View File

@@ -55,7 +55,7 @@
"p-queue": "^6.6.2",
"path-temp": "^2.0.0",
"promise-share": "^1.0.0",
"ramda": "^0.28.0",
"ramda": "npm:@pnpm/ramda@0.28.1",
"rename-overwrite": "^4.0.2",
"safe-promise-defer": "^1.0.1",
"semver": "^7.3.7",

View File

@@ -46,7 +46,7 @@ import loadJsonFile from 'load-json-file'
import pDefer from 'p-defer'
import pathTemp from 'path-temp'
import pShare from 'promise-share'
import pick from 'ramda/src/pick.js'
import pick from 'ramda/src/pick'
import renameOverwrite from 'rename-overwrite'
import semver from 'semver'
import ssri from 'ssri'

View File

@@ -24,7 +24,7 @@
"@pnpm/types": "workspace:*",
"@zkochan/rimraf": "^2.1.2",
"load-json-file": "^6.2.0",
"ramda": "^0.28.0",
"ramda": "npm:@pnpm/ramda@0.28.1",
"ssri": "^8.0.1",
"write-json-file": "^4.3.0"
},

View File

@@ -32,7 +32,7 @@
"dependencies": {
"@pnpm/npm-package-arg": "^1.0.0",
"@pnpm/resolve-workspace-range": "workspace:*",
"ramda": "^0.28.0"
"ramda": "npm:@pnpm/ramda@0.28.1"
},
"funding": "https://opencollective.com/pnpm",
"keywords": [

View File

@@ -51,7 +51,7 @@
"@pnpm/types": "workspace:*",
"@zkochan/table": "^1.0.0",
"chalk": "^4.1.2",
"ramda": "^0.28.0",
"ramda": "npm:@pnpm/ramda@0.28.1",
"render-help": "^1.0.2",
"credentials-by-uri": "^2.1.0",
"mem": "^8.1.1"

View File

@@ -7,7 +7,7 @@ import { readWantedLockfile } from '@pnpm/lockfile-file'
import { Registries } from '@pnpm/types'
import { table } from '@zkochan/table'
import chalk from 'chalk'
import pick from 'ramda/src/pick.js'
import pick from 'ramda/src/pick'
import renderHelp from 'render-help'
import fix from './fix'
import getCredentialsByURI from 'credentials-by-uri'

View File

@@ -1,6 +1,6 @@
import { AuditReport, AuditAdvisory } from '@pnpm/audit'
import readProjectManifest from '@pnpm/read-project-manifest'
import fromPairs from 'ramda/src/fromPairs.js'
import fromPairs from 'ramda/src/fromPairs'
export default async function fix (dir: string, auditReport: AuditReport) {
const { manifest, writeProjectManifest } = await readProjectManifest(dir)

View File

@@ -101,7 +101,7 @@
"p-limit": "^3.1.0",
"path-absolute": "^1.0.1",
"path-exists": "^4.0.0",
"ramda": "^0.28.0",
"ramda": "npm:@pnpm/ramda@0.28.1",
"read-ini-file": "^3.1.0",
"render-help": "^1.0.2",
"version-selector-type": "^3.0.0"

View File

@@ -2,7 +2,7 @@ import { docsUrl } from '@pnpm/cli-utils'
import { FILTERING, OPTIONS, UNIVERSAL_OPTIONS } from '@pnpm/common-cli-options-help'
import { types as allTypes } from '@pnpm/config'
import PnpmError from '@pnpm/error'
import pick from 'ramda/src/pick.js'
import pick from 'ramda/src/pick'
import renderHelp from 'render-help'
import { InstallCommandOptions } from './install'
import installDeps from './installDeps'

View File

@@ -4,7 +4,7 @@ import { Config, types as allTypes } from '@pnpm/config'
import { WANTED_LOCKFILE } from '@pnpm/constants'
import { CreateStoreControllerOptions } from '@pnpm/store-connection-manager'
import isCI from 'is-ci'
import pick from 'ramda/src/pick.js'
import pick from 'ramda/src/pick'
import renderHelp from 'render-help'
import installDeps from './installDeps'

View File

@@ -23,8 +23,8 @@ import {
} from '@pnpm/core'
import pLimit from 'p-limit'
import pathAbsolute from 'path-absolute'
import pick from 'ramda/src/pick.js'
import partition from 'ramda/src/partition.js'
import pick from 'ramda/src/pick'
import partition from 'ramda/src/partition'
import renderHelp from 'render-help'
import * as installCommand from './install'
import getOptionsFromRootManifest from './getOptionsFromRootManifest'

View File

@@ -1,7 +1,7 @@
import { docsUrl } from '@pnpm/cli-utils'
import { UNIVERSAL_OPTIONS } from '@pnpm/common-cli-options-help'
import { types as allTypes } from '@pnpm/config'
import pick from 'ramda/src/pick.js'
import pick from 'ramda/src/pick'
import renderHelp from 'render-help'
import * as install from './install'

View File

@@ -14,8 +14,8 @@ import { DependenciesField } from '@pnpm/types'
import {
mutateModules,
} from '@pnpm/core'
import pick from 'ramda/src/pick.js'
import without from 'ramda/src/without.js'
import pick from 'ramda/src/pick'
import without from 'ramda/src/without'
import renderHelp from 'render-help'
import getOptionsFromRootManifest from './getOptionsFromRootManifest'
import getSaveType from './getSaveType'

View File

@@ -2,8 +2,8 @@ import colorizeSemverDiff from '@pnpm/colorize-semver-diff'
import { OutdatedPackage } from '@pnpm/outdated'
import semverDiff from '@pnpm/semver-diff'
import { getBorderCharacters, table } from '@zkochan/table'
import isEmpty from 'ramda/src/isEmpty.js'
import unnest from 'ramda/src/unnest.js'
import isEmpty from 'ramda/src/isEmpty'
import unnest from 'ramda/src/unnest'
export default function (outdatedPkgsOfProjects: OutdatedPackage[]) {
const allOutdatedPkgs = mergeOutdatedPkgs(outdatedPkgsOfProjects)

View File

@@ -11,8 +11,8 @@ import matcher from '@pnpm/matcher'
import { outdatedDepsOfProjects } from '@pnpm/outdated'
import { prompt } from 'enquirer'
import chalk from 'chalk'
import pick from 'ramda/src/pick.js'
import unnest from 'ramda/src/unnest.js'
import pick from 'ramda/src/pick'
import unnest from 'ramda/src/unnest'
import renderHelp from 'render-help'
import { InstallCommandOptions } from '../install'
import installDeps from '../installDeps'

View File

@@ -51,7 +51,7 @@
"@pnpm/error": "workspace:*",
"@pnpm/list": "workspace:*",
"@pnpm/types": "workspace:*",
"ramda": "^0.28.0",
"ramda": "npm:@pnpm/ramda@0.28.1",
"render-help": "^1.0.2"
},
"peerDependencies": {

View File

@@ -3,7 +3,7 @@ import { FILTERING, OPTIONS, UNIVERSAL_OPTIONS } from '@pnpm/common-cli-options-
import { Config, types as allTypes } from '@pnpm/config'
import list, { forPackages as listForPackages } from '@pnpm/list'
import { IncludedDependencies } from '@pnpm/types'
import pick from 'ramda/src/pick.js'
import pick from 'ramda/src/pick'
import renderHelp from 'render-help'
import listRecursive from './recursive'

View File

@@ -1,4 +1,4 @@
import omit from 'ramda/src/omit.js'
import omit from 'ramda/src/omit'
import * as list from './list'
export const commandNames = ['ll', 'la']

View File

@@ -2,7 +2,7 @@ import { docsUrl } from '@pnpm/cli-utils'
import { FILTERING, OPTIONS, UNIVERSAL_OPTIONS } from '@pnpm/common-cli-options-help'
import { types as allTypes } from '@pnpm/config'
import PnpmError from '@pnpm/error'
import pick from 'ramda/src/pick.js'
import pick from 'ramda/src/pick'
import renderHelp from 'render-help'
import { handler as list, ListCommandOptions } from './list'

View File

@@ -62,7 +62,7 @@
"@zkochan/table": "^1.0.0",
"chalk": "^4.1.2",
"lru-cache": "^6.0.0",
"ramda": "^0.28.0",
"ramda": "npm:@pnpm/ramda@0.28.1",
"render-help": "^1.0.2",
"strip-ansi": "^6.0.1",
"wrap-ansi": "^7.0.0"

View File

@@ -15,8 +15,8 @@ import {
import semverDiff from '@pnpm/semver-diff'
import { table } from '@zkochan/table'
import chalk from 'chalk'
import pick from 'ramda/src/pick.js'
import sortWith from 'ramda/src/sortWith.js'
import pick from 'ramda/src/pick'
import sortWith from 'ramda/src/sortWith'
import renderHelp from 'render-help'
import stripAnsi from 'strip-ansi'
import wrapAnsi from 'wrap-ansi'

View File

@@ -10,8 +10,8 @@ import {
} from '@pnpm/types'
import { table } from '@zkochan/table'
import chalk from 'chalk'
import isEmpty from 'ramda/src/isEmpty.js'
import sortWith from 'ramda/src/sortWith.js'
import isEmpty from 'ramda/src/isEmpty'
import sortWith from 'ramda/src/sortWith'
import {
getCellWidth,
OutdatedCommandOptions,

View File

@@ -49,7 +49,7 @@
"@pnpm/read-project-manifest": "workspace:*",
"@pnpm/store-connection-manager": "workspace:*",
"escape-string-regexp": "^4.0.0",
"ramda": "^0.28.0",
"ramda": "npm:@pnpm/ramda@0.28.1",
"render-help": "^1.0.2",
"safe-execa": "^0.1.2",
"tempy": "^1.0.1"

View File

@@ -4,7 +4,7 @@ import { Config, types as allTypes } from '@pnpm/config'
import { LogBase } from '@pnpm/logger'
import { createOrConnectStoreController, CreateStoreControllerOptions } from '@pnpm/store-connection-manager'
import parseWantedDependency from '@pnpm/parse-wanted-dependency'
import pick from 'ramda/src/pick.js'
import pick from 'ramda/src/pick'
import pickRegistryForPackage from '@pnpm/pick-registry-for-package'
import renderHelp from 'render-help'
import tempy from 'tempy'

View File

@@ -5,7 +5,7 @@ import { types as allTypes } from '@pnpm/config'
import { install } from '@pnpm/plugin-commands-installation'
import { fromDir as readPackageJsonFromDir } from '@pnpm/read-package-json'
import { tryReadProjectManifest } from '@pnpm/read-project-manifest'
import pick from 'ramda/src/pick.js'
import pick from 'ramda/src/pick'
import execa from 'safe-execa'
import escapeStringRegexp from 'escape-string-regexp'
import renderHelp from 'render-help'

View File

@@ -78,7 +78,7 @@
"fast-glob": "^3.2.11",
"npm-packlist": "^3.0.0",
"p-filter": "^2.1.0",
"ramda": "^0.28.0",
"ramda": "npm:@pnpm/ramda@0.28.1",
"realpath-missing": "^1.1.0",
"render-help": "^1.0.2",
"tar-stream": "^2.2.0",

View File

@@ -8,12 +8,12 @@ import exportableManifest from '@pnpm/exportable-manifest'
import binify from '@pnpm/package-bins'
import { DependencyManifest } from '@pnpm/types'
import fg from 'fast-glob'
import pick from 'ramda/src/pick.js'
import pick from 'ramda/src/pick'
import realpathMissing from 'realpath-missing'
import renderHelp from 'render-help'
import tar from 'tar-stream'
import packlist from 'npm-packlist'
import fromPairs from 'ramda/src/fromPairs.js'
import fromPairs from 'ramda/src/fromPairs'
import { runScriptsIfPresent } from './publish'
const LICENSE_GLOB = 'LICEN{S,C}E{,.*}'

View File

@@ -10,7 +10,7 @@ import { ProjectManifest } from '@pnpm/types'
import { getCurrentBranch, isGitRepo, isRemoteHistoryClean, isWorkingTreeClean } from '@pnpm/git-utils'
import { prompt } from 'enquirer'
import rimraf from '@zkochan/rimraf'
import pick from 'ramda/src/pick.js'
import pick from 'ramda/src/pick'
import realpathMissing from 'realpath-missing'
import renderHelp from 'render-help'
import tempy from 'tempy'

View File

@@ -7,7 +7,7 @@ import { ResolveFunction } from '@pnpm/resolver-base'
import sortPackages from '@pnpm/sort-packages'
import { Registries } from '@pnpm/types'
import pFilter from 'p-filter'
import pick from 'ramda/src/pick.js'
import pick from 'ramda/src/pick'
import writeJsonFile from 'write-json-file'
import { handler as publish } from './publish'

View File

@@ -72,7 +72,7 @@
"load-json-file": "^6.2.0",
"mem": "^8.1.1",
"p-limit": "^3.1.0",
"ramda": "^0.28.0",
"ramda": "npm:@pnpm/ramda@0.28.1",
"read-ini-file": "^3.1.0",
"render-help": "^1.0.2",
"run-groups": "^3.0.1",

View File

@@ -6,7 +6,7 @@ import {
createOrConnectStoreController,
CreateStoreControllerOptions,
} from '@pnpm/store-connection-manager'
import pick from 'ramda/src/pick.js'
import pick from 'ramda/src/pick'
import renderHelp from 'render-help'
import {
rebuildProjects,

View File

@@ -63,7 +63,7 @@
"p-limit": "^3.1.0",
"path-exists": "^4.0.0",
"path-name": "^1.0.0",
"ramda": "^0.28.0",
"ramda": "npm:@pnpm/ramda@0.28.1",
"realpath-missing": "^1.1.0",
"render-help": "^1.0.2"
},

View File

@@ -2,7 +2,7 @@ import renderHelp from 'render-help'
import { docsUrl } from '@pnpm/cli-utils'
import { types } from '@pnpm/config'
import PnpmError from '@pnpm/error'
import pick from 'ramda/src/pick.js'
import pick from 'ramda/src/pick'
import * as dlx from './dlx'
export const commandNames = ['create']

View File

@@ -9,8 +9,8 @@ import { fromDir as readPkgFromDir } from '@pnpm/read-package-json'
import packageBins from '@pnpm/package-bins'
import storePath from '@pnpm/store-path'
import execa from 'execa'
import omit from 'ramda/src/omit.js'
import pick from 'ramda/src/pick.js'
import omit from 'ramda/src/omit'
import pick from 'ramda/src/pick'
import renderHelp from 'render-help'
import { makeEnv } from './makeEnv'

View File

@@ -8,7 +8,7 @@ import sortPackages from '@pnpm/sort-packages'
import { Project } from '@pnpm/types'
import execa from 'execa'
import pLimit from 'p-limit'
import pick from 'ramda/src/pick.js'
import pick from 'ramda/src/pick'
import renderHelp from 'render-help'
import existsInDir from './existsInDir'
import { makeEnv } from './makeEnv'

View File

@@ -1,5 +1,5 @@
import { types as allTypes } from '@pnpm/config'
import pick from 'ramda/src/pick.js'
import pick from 'ramda/src/pick'
import renderHelp from 'render-help'
import {
handler as run,

View File

@@ -13,7 +13,7 @@ import runLifecycleHooks, {
RunLifecycleHookOptions,
} from '@pnpm/lifecycle'
import { ProjectManifest } from '@pnpm/types'
import pick from 'ramda/src/pick.js'
import pick from 'ramda/src/pick'
import realpathMissing from 'realpath-missing'
import renderHelp from 'render-help'
import runRecursive, { RecursiveRunOpts } from './runRecursive'

View File

@@ -49,7 +49,7 @@
"get-port": "^5.1.1",
"is-windows": "^1.0.2",
"process-exists": "^4.1.0",
"ramda": "^0.28.0",
"ramda": "npm:@pnpm/ramda@0.28.1",
"render-help": "^1.0.2",
"signal-exit": "^3.0.7",
"tree-kill": "^1.2.2"

View File

@@ -3,7 +3,7 @@ import { OPTIONS, UNIVERSAL_OPTIONS } from '@pnpm/common-cli-options-help'
import { types as allTypes } from '@pnpm/config'
import PnpmError from '@pnpm/error'
import { CreateStoreControllerOptions } from '@pnpm/store-connection-manager'
import pick from 'ramda/src/pick.js'
import pick from 'ramda/src/pick'
import renderHelp from 'render-help'
import start from './start'
import status from './status'

View File

@@ -67,7 +67,7 @@
"dint": "^5.1.0",
"load-json-file": "^6.2.0",
"p-filter": "^2.1.0",
"ramda": "^0.28.0",
"ramda": "npm:@pnpm/ramda@0.28.1",
"render-help": "^1.0.2"
},
"peerDependencies": {

View File

@@ -4,7 +4,7 @@ import PnpmError from '@pnpm/error'
import logger, { LogBase } from '@pnpm/logger'
import { createOrConnectStoreController, CreateStoreControllerOptions } from '@pnpm/store-connection-manager'
import storePath from '@pnpm/store-path'
import pick from 'ramda/src/pick.js'
import pick from 'ramda/src/pick'
import renderHelp from 'render-help'
import storeAdd from './storeAdd'
import storePrune from './storePrune'

View File

@@ -7,7 +7,7 @@ import prepare from '@pnpm/prepare'
import { REGISTRY_MOCK_PORT } from '@pnpm/registry-mock'
import rimraf from '@zkochan/rimraf'
import execa from 'execa'
import isEmpty from 'ramda/src/isEmpty.js'
import isEmpty from 'ramda/src/isEmpty'
import ssri from 'ssri'
const STORE_VERSION = 'v3'

Some files were not shown because too many files have changed in this diff Show More