cdk-real-drift 0.12.59 → 0.12.60
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.js +1 -0
- package/dist/cli.js.map +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -5986,6 +5986,7 @@ function matchesPropertyTransform(transformExpr, declaredValue, parentObject, ro
|
|
|
5986
5986
|
for (const scope of scopes) try {
|
|
5987
5987
|
const out = compiled.evaluate(scope);
|
|
5988
5988
|
if (out !== void 0 && deepEqual(out, liveValue)) return true;
|
|
5989
|
+
if (typeof out === "string" && typeof liveValue === "string" && typeof declaredValue === "string" && out !== declaredValue && new RegExp("^(?:" + out + ")$").test(liveValue)) return true;
|
|
5989
5990
|
} catch {}
|
|
5990
5991
|
}
|
|
5991
5992
|
return false;
|