npm package diff
Package: @forge/manifest
Versions: 7.7.0-next.12 - 7.5.2-next.0-experimental-204139e
File: package/out/interpolator/manifest-interpolator-manager.js
Index: package/out/interpolator/manifest-interpolator-manager.js
===================================================================
--- package/out/interpolator/manifest-interpolator-manager.js
+++ package/out/interpolator/manifest-interpolator-manager.js
@@ -1,21 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.ManifestInterpolatorManager = void 0;
-const yaml_1 = require("yaml");
-class ManifestInterpolatorManager {
- interpolators;
- constructor() {
- this.interpolators = new Map();
- }
- addInterpolator(interpolator) {
- this.interpolators.set(interpolator.type, interpolator);
- }
- interpolate(manifest) {
- let interpolatedManifest = (0, yaml_1.parse)(manifest);
- for (const interpolator of this.interpolators.values()) {
- interpolatedManifest = interpolator.interpolate(interpolatedManifest);
- }
- return interpolatedManifest;
- }
-}
-exports.ManifestInterpolatorManager = ManifestInterpolatorManager;