@speclynx/apidom-traverse 2.1.0 → 2.2.0
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/CHANGELOG.md +6 -0
- package/dist/apidom-traverse.browser.js +9039 -6459
- package/dist/apidom-traverse.browser.min.js +1 -1
- package/package.json +6 -6
- package/src/Path.cjs +2 -2
- package/src/Path.mjs +2 -2
package/src/Path.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { compile as compileJSONPointer } from '@speclynx/apidom-json-pointer';
|
|
2
|
-
import {
|
|
2
|
+
import { NormalizedPath } from '@speclynx/apidom-json-path';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Possible return values from a visitor function.
|
|
@@ -182,7 +182,7 @@ export class Path {
|
|
|
182
182
|
}
|
|
183
183
|
if (pathFormat === 'jsonpath') {
|
|
184
184
|
// RFC 9535 Normalized JSONPath
|
|
185
|
-
return
|
|
185
|
+
return NormalizedPath.from(parts);
|
|
186
186
|
}
|
|
187
187
|
|
|
188
188
|
// RFC 6901 JSON Pointer
|