renovate
Version:
Automated dependency updates. Flexible so you don't need to be.
19 lines (18 loc) • 634 B
JavaScript
import { AbstractMigration } from "./abstract-migration.js";
//#region lib/config/migrations/base/rename-property-migration.ts
var RenamePropertyMigration = class extends AbstractMigration {
deprecated = true;
propertyName;
newPropertyName;
constructor(deprecatedPropertyName, newPropertyName, originalConfig, migratedConfig) {
super(originalConfig, migratedConfig);
this.propertyName = deprecatedPropertyName;
this.newPropertyName = newPropertyName;
}
run(value) {
this.setSafely(this.newPropertyName, value);
}
};
//#endregion
export { RenamePropertyMigration };
//# sourceMappingURL=rename-property-migration.js.map