oas-truth 0.6.0 → 0.6.1
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/LICENSE +1 -1
- package/README.md +2 -2
- package/dist/index.d.ts +0 -0
- package/dist/index.js +0 -0
- package/package.json +11 -7
package/LICENSE
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
MIT License
|
|
2
2
|
|
|
3
|
-
Copyright (c)
|
|
3
|
+
Copyright (c) 2025 - present, Truth Contributors
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
package/README.md
CHANGED
|
@@ -37,7 +37,7 @@ dependency order. `makeSchemaDeclarations` returns the same declarations one by
|
|
|
37
37
|
Recursive `$ref` cycles keep a helper type so the const can be annotated (`z.ZodType<NodeType>`,
|
|
38
38
|
`v.GenericSchema<NodeType>`, `Schema.Codec<NodeType>`). That helper matches what the library
|
|
39
39
|
infers — `| undefined` on Valibot optionals, `readonly` arrays on Effect — so it
|
|
40
|
-
type-checks under `exactOptionalPropertyTypes`.
|
|
40
|
+
type-checks under `exactOptionalPropertyTypes`. ArkType cycles become
|
|
41
41
|
`scope({...}).export().Member`; that declaration's `importLine` is then
|
|
42
42
|
`import { type, scope } from 'arktype'`. `schemaImportLine` is the same function
|
|
43
43
|
`makeSchemasCode` uses when the declarations stay in one file.
|
|
@@ -71,4 +71,4 @@ const source = `${declarations[0]?.importLine}\n\n${declarations[0]?.code}`
|
|
|
71
71
|
|
|
72
72
|
## License
|
|
73
73
|
|
|
74
|
-
[MIT](https://github.com/nakita628/
|
|
74
|
+
[MIT](https://github.com/nakita628/truth/blob/main/LICENSE)
|
package/dist/index.d.ts
CHANGED
|
File without changes
|
package/dist/index.js
CHANGED
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "oas-truth",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.1",
|
|
4
4
|
"description": "oas-truth is a parser from OpenAPI and TypeSpec to a typed OpenAPI document",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"openapi",
|
|
7
7
|
"typespec"
|
|
8
8
|
],
|
|
9
|
-
"homepage": "https://github.com/nakita628/oas-truth",
|
|
9
|
+
"homepage": "https://github.com/nakita628/truth/tree/main/npm/oas-truth#readme",
|
|
10
10
|
"bugs": {
|
|
11
|
-
"url": "https://github.com/nakita628/
|
|
11
|
+
"url": "https://github.com/nakita628/truth/issues"
|
|
12
12
|
},
|
|
13
13
|
"license": "MIT",
|
|
14
14
|
"repository": {
|
|
15
15
|
"type": "git",
|
|
16
|
-
"url": "git+https://github.com/nakita628/
|
|
17
|
-
"directory": "
|
|
16
|
+
"url": "git+https://github.com/nakita628/truth.git",
|
|
17
|
+
"directory": "npm/oas-truth"
|
|
18
18
|
},
|
|
19
19
|
"files": [
|
|
20
20
|
"dist"
|
|
@@ -27,8 +27,12 @@
|
|
|
27
27
|
"import": "./dist/index.js"
|
|
28
28
|
}
|
|
29
29
|
},
|
|
30
|
+
"publishConfig": {
|
|
31
|
+
"access": "public",
|
|
32
|
+
"provenance": true
|
|
33
|
+
},
|
|
30
34
|
"dependencies": {
|
|
31
|
-
"schema-truth": "^0.8.
|
|
35
|
+
"schema-truth": "^0.8.4"
|
|
32
36
|
},
|
|
33
37
|
"devDependencies": {
|
|
34
38
|
"@apidevtools/swagger-parser": "^13.1.0",
|
|
@@ -40,7 +44,7 @@
|
|
|
40
44
|
"@typespec/rest": "0.87.0",
|
|
41
45
|
"@typespec/versioning": "0.87.0",
|
|
42
46
|
"arktype": "^2.2.9",
|
|
43
|
-
"effect": "4.1.
|
|
47
|
+
"effect": "4.1.2",
|
|
44
48
|
"typebox": "^1.4.3",
|
|
45
49
|
"typescript": "^7.0.2",
|
|
46
50
|
"valibot": "^1.5.0",
|