1 | "use strict";
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | exports.RunInstallPleaseResolver = void 0;
|
4 | const MessageName_1 = require("./MessageName");
|
5 | const Report_1 = require("./Report");
|
6 | class RunInstallPleaseResolver {
|
7 | constructor(resolver) {
|
8 | this.resolver = resolver;
|
9 | }
|
10 | supportsDescriptor(descriptor, opts) {
|
11 | return this.resolver.supportsDescriptor(descriptor, opts);
|
12 | }
|
13 | supportsLocator(locator, opts) {
|
14 | return this.resolver.supportsLocator(locator, opts);
|
15 | }
|
16 | shouldPersistResolution(locator, opts) {
|
17 | return this.resolver.shouldPersistResolution(locator, opts);
|
18 | }
|
19 | bindDescriptor(descriptor, fromLocator, opts) {
|
20 | return this.resolver.bindDescriptor(descriptor, fromLocator, opts);
|
21 | }
|
22 | getResolutionDependencies(descriptor, opts) {
|
23 | return this.resolver.getResolutionDependencies(descriptor, opts);
|
24 | }
|
25 | async getCandidates(descriptor, dependencies, opts) {
|
26 | throw new Report_1.ReportError(MessageName_1.MessageName.MISSING_LOCKFILE_ENTRY, `This package doesn't seem to be present in your lockfile; try to make an install to update your resolutions`);
|
27 | }
|
28 | async getSatisfying(descriptor, references, opts) {
|
29 | throw new Report_1.ReportError(MessageName_1.MessageName.MISSING_LOCKFILE_ENTRY, `This package doesn't seem to be present in your lockfile; try to make an install to update your resolutions`);
|
30 | }
|
31 | async resolve(locator, opts) {
|
32 | throw new Report_1.ReportError(MessageName_1.MessageName.MISSING_LOCKFILE_ENTRY, `This package doesn't seem to be present in your lockfile; try to make an install to update your resolutions`);
|
33 | }
|
34 | }
|
35 | exports.RunInstallPleaseResolver = RunInstallPleaseResolver;
|