MCPcopy
hub / github.com/vercel/hyper / constructor

Method constructor

bin/yarn-standalone.js:76545–76558  ·  view source on GitHub ↗
(config, lockfile, resolutionMap = new (_resolutionMap || _load_resolutionMap()).default(config))

Source from the content-addressed store, hash-verified

76543
76544class PackageResolver {
76545 constructor(config, lockfile, resolutionMap = new (_resolutionMap || _load_resolutionMap()).default(config)) {
76546 this.patternsByPackage = (0, (_map || _load_map()).default)();
76547 this.fetchingPatterns = new Set();
76548 this.fetchingQueue = new (_blockingQueue || _load_blockingQueue()).default('resolver fetching');
76549 this.patterns = (0, (_map || _load_map()).default)();
76550 this.resolutionMap = resolutionMap;
76551 this.usedRegistries = new Set();
76552 this.flat = false;
76553
76554 this.reporter = config.reporter;
76555 this.lockfile = lockfile;
76556 this.config = config;
76557 this.delayedResolveQueue = [];
76558 }
76559
76560 // whether the dependency graph will be flattened
76561

Callers

nothing calls this directly

Calls 3

_load_resolutionMapFunction · 0.85
_load_mapFunction · 0.85
_load_blockingQueueFunction · 0.85

Tested by

no test coverage detected