"use strict";varutils=require('./utils');varOldValue=/*#__PURE__*/function(){functionOldValue(unprefixed,prefixed,string,regexp){this.unprefixed=unprefixed;this.prefixed=prefixed;this.string=string||prefixed;this.regexp=regexp||utils.regexp(prefixed);}/** * Check, that value contain old value */var_proto=OldValue.prototype;_proto.check=functioncheck(value){if(value.indexOf(this.string)!==-1){return!!value.match(this.regexp);}returnfalse;};returnOldValue;}();module.exports=OldValue;