renovate
Version:
Automated dependency updates. Flexible so you don't need to be.
18 lines (17 loc) • 568 B
JavaScript
import { AbstractMigration } from "../base/abstract-migration.js";
//#region lib/config/migrations/custom/trust-level-migration.ts
var TrustLevelMigration = class extends AbstractMigration {
deprecated = true;
propertyName = "trustLevel";
run(value) {
// v8 ignore else -- TODO: add test #40625
if (value === "high") {
this.setSafely("allowCustomCrateRegistries", true);
this.setSafely("allowScripts", true);
this.setSafely("exposeAllEnv", true);
}
}
};
//#endregion
export { TrustLevelMigration };
//# sourceMappingURL=trust-level-migration.js.map