@usearazzo/parser 1.0.1-alpha.1 → 1.0.1-alpha.10
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 +48 -0
- package/README.md +7 -2
- package/dist/arazzo-parser.browser.js +1776 -1978
- package/dist/arazzo-parser.browser.min.js +1 -1
- package/package.json +20 -18
- package/src/parse-arazzo.cjs +16 -2
- package/src/parse-arazzo.mjs +16 -2
- package/src/parse-openapi.cjs +14 -2
- package/src/parse-openapi.mjs +15 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,54 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [1.0.1-alpha.10](https://github.com/usearazzo/arazzo-toolkit/compare/v1.0.1-alpha.9...v1.0.1-alpha.10) (2026-10-23)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @usearazzo/parser
|
|
9
|
+
|
|
10
|
+
## [1.0.1-alpha.9](https://github.com/usearazzo/arazzo-toolkit/compare/v1.0.1-alpha.8...v1.0.1-alpha.9) (2026-10-22)
|
|
11
|
+
|
|
12
|
+
### Bug Fixes
|
|
13
|
+
|
|
14
|
+
- **release:** publish serially with a longer sigstore timeout ([ea02ce2](https://github.com/usearazzo/arazzo-toolkit/commit/ea02ce2e69871b5580c86f50aacb20cf45746a04))
|
|
15
|
+
|
|
16
|
+
## [1.0.1-alpha.8](https://github.com/usearazzo/arazzo-toolkit/compare/v1.0.1-alpha.7...v1.0.1-alpha.8) (2026-10-22)
|
|
17
|
+
|
|
18
|
+
**Note:** Version bump only for package @usearazzo/parser
|
|
19
|
+
|
|
20
|
+
## [1.0.1-alpha.7](https://github.com/usearazzo/arazzo-toolkit/compare/v1.0.1-alpha.6...v1.0.1-alpha.7) (2026-10-10)
|
|
21
|
+
|
|
22
|
+
**Note:** Version bump only for package @usearazzo/parser
|
|
23
|
+
|
|
24
|
+
## [1.0.1-alpha.6](https://github.com/usearazzo/arazzo-toolkit/compare/v1.0.1-alpha.5...v1.0.1-alpha.6) (2026-10-04)
|
|
25
|
+
|
|
26
|
+
**Note:** Version bump only for package @usearazzo/parser
|
|
27
|
+
|
|
28
|
+
## [1.0.1-alpha.5](https://github.com/usearazzo/arazzo-toolkit/compare/v1.0.1-alpha.4...v1.0.1-alpha.5) (2026-09-24)
|
|
29
|
+
|
|
30
|
+
### Bug Fixes
|
|
31
|
+
|
|
32
|
+
- **docs:** add documentation section to parser and resolver READMEs ([#184](https://github.com/usearazzo/arazzo-toolkit/issues/184)) ([f3a7f89](https://github.com/usearazzo/arazzo-toolkit/commit/f3a7f89900c5a002116c91c0c628ca120dc4f97a))
|
|
33
|
+
|
|
34
|
+
## [1.0.1-alpha.4](https://github.com/usearazzo/arazzo-toolkit/compare/v1.0.1-alpha.3...v1.0.1-alpha.4) (2026-09-19)
|
|
35
|
+
|
|
36
|
+
**Note:** Version bump only for package @usearazzo/parser
|
|
37
|
+
|
|
38
|
+
## [1.0.1-alpha.3](https://github.com/usearazzo/arazzo-toolkit/compare/v1.0.1-alpha.2...v1.0.1-alpha.3) (2026-09-19)
|
|
39
|
+
|
|
40
|
+
### Bug Fixes
|
|
41
|
+
|
|
42
|
+
- **resolver:** bump apidom to 5.2.5 to rebase bundled schema $ref ([#167](https://github.com/usearazzo/arazzo-toolkit/issues/167)) ([189bdf5](https://github.com/usearazzo/arazzo-toolkit/commit/189bdf512ed74f6bc80e3fc4dc1f2b83049688e8)), closes [#158](https://github.com/usearazzo/arazzo-toolkit/issues/158)
|
|
43
|
+
|
|
44
|
+
### Features
|
|
45
|
+
|
|
46
|
+
- release @usearazzo/resolver ([#171](https://github.com/usearazzo/arazzo-toolkit/issues/171)) ([7fe7597](https://github.com/usearazzo/arazzo-toolkit/commit/7fe759757436416562c47d1d7f7dd6b26d945b05))
|
|
47
|
+
|
|
48
|
+
## [1.0.1-alpha.2](https://github.com/usearazzo/arazzo-toolkit/compare/v1.0.1-alpha.1...v1.0.1-alpha.2) (2026-09-08)
|
|
49
|
+
|
|
50
|
+
### Bug Fixes
|
|
51
|
+
|
|
52
|
+
- **parser:** resolve relative file paths against working directory ([#148](https://github.com/usearazzo/arazzo-toolkit/issues/148)) ([41b5b22](https://github.com/usearazzo/arazzo-toolkit/commit/41b5b22ff1940b13b5c6419ac8787c1d722483b2)), closes [#147](https://github.com/usearazzo/arazzo-toolkit/issues/147)
|
|
53
|
+
|
|
6
54
|
## 1.0.1-alpha.1 (2026-09-08)
|
|
7
55
|
|
|
8
56
|
- refactor(validator)!: remove CLI layer and fix URI resolution (#11) ([76f8556](https://github.com/usearazzo/arazzo-toolkit/commit/76f8556bbece403c38dc8f68e020ab359fee563c)), closes [#11](https://github.com/usearazzo/arazzo-toolkit/issues/11)
|
package/README.md
CHANGED
|
@@ -37,6 +37,8 @@ The expression and condition parsers are pure syntax parsers: a string in, an AS
|
|
|
37
37
|
|
|
38
38
|
Documents come back as ApiDOM, so source positions for editor tooling, formatting-preserving round trips, and one-call parsing of every source description an Arazzo document points at are all options away.
|
|
39
39
|
|
|
40
|
+
A relative file system path resolves against the current working directory, so `./samples/onboarding.arazzo.yaml` and `path.resolve('samples/onboarding.arazzo.yaml')` are equivalent.
|
|
41
|
+
|
|
40
42
|
## Installation
|
|
41
43
|
|
|
42
44
|
```sh
|
|
@@ -71,9 +73,12 @@ parseCriterionCondition('$statusCode == 200').result.success; // true
|
|
|
71
73
|
parseCriterionCondition('$statusCode ===').result.success; // false, and nothing thrown
|
|
72
74
|
```
|
|
73
75
|
|
|
74
|
-
|
|
76
|
+
## Documentation
|
|
77
|
+
|
|
78
|
+
The examples above are the happy path. Everything else is in the docs at [usearazzo.com/docs](https://usearazzo.com/docs/):
|
|
75
79
|
|
|
76
|
-
**[API
|
|
80
|
+
- **[Parser API Reference](https://usearazzo.com/docs/parser/)** covers every exported function: its options, from source maps to parsing source descriptions, the shape of what it returns, and the errors it can throw. Start here when you know what you want to call.
|
|
81
|
+
- **[Parsing Arazzo Documents](https://usearazzo.com/docs/guides/arazzo-document-parsing/)** explains what makes an Arazzo document hard to parse, what a parsed document should look like, and what a good parser gives you. Start here when you want to understand why the package is shaped the way it is.
|
|
77
82
|
|
|
78
83
|
## Supported versions
|
|
79
84
|
|