@ark/schema
Advanced tools
@@ -179,4 +179,5 @@ import { ReadonlyPath, stringifyPath } from "@ark/util"; | ||
| } | ||
| this.path = [...path]; | ||
| for (const morph of morphs) { | ||
| // applyMorphsAtPath may be called recursively, so we need to reset the path here | ||
| this.path = [...path]; | ||
| const morphIsNode = isNode(morph); | ||
@@ -183,0 +184,0 @@ const result = morph(parent === undefined ? this.root : parent[key], this); |
+2
-2
| { | ||
| "name": "@ark/schema", | ||
| "version": "0.47.0", | ||
| "version": "0.49.0", | ||
| "license": "MIT", | ||
@@ -32,3 +32,3 @@ "author": { | ||
| "dependencies": { | ||
| "@ark/util": "0.47.0" | ||
| "@ark/util": "0.49.0" | ||
| }, | ||
@@ -35,0 +35,0 @@ "publishConfig": { |
426572
0.02%9994
0.01%+ Added
- Removed
Updated