Arborist) { throw new Error('DirFetcher requires either a tree or an Arborist constructor to pack') } @@ -68,7 +65,7 @@ class DirFetcher extends Fetcher { // run the prepare script, get the list of files, and ta
const arb = new Arborist(opts) const tree = packageLockOnly ? await arb.loadVirtual(opts).catch(() => { /* eslint-disable-next-line max-len */ throw this.usageError('A package lock or shrinkwrap file is required in package-lock-only mode') }) : await arb.loadActual(opts) 2 chang...
02fcbb6 #5634 ensure Arborist constructor gets passed around everywhere for pacote (#5634) (@nlf)Documentationf37caad #5606 accurately describe install-links effect on relative paths (#5606) (@lukekarrys) 97c32ed #5637 remove link to cache command (#5637) (@wraithgar) 130bc9f #5626 Remove...
20 + constructor (host) { 25 21 super(`Idle timeout reached for host \`${host}\``) 26 22 this.code = 'EIDLETIMEOUT' 27 23 this.host = host There was a problem loading the remainder of the diff. 0 commit comments Comments0 (0) Please sign in to comment....
constructor (base = {}) { this._mockOutputs = [] this.isMockNpm = true this.base = base const config = base.config || {} for (const attr in base) { if (attr !== 'config') { this[attr] = base[attr] } } this.flatOptions = base.flatOptions || {} this.config = { // ...