@temporary-name/zod 1.9.3-alpha.9f176ca3f9388d51e8dffa98a15fcf9f14f6a75e → 1.9.3-alpha.a4e1987475e417f5730b8308ee8130974a74d8a1
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/README.md +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +1 -1
- package/dist/zod4/index.d.mts +1 -1
- package/dist/zod4/index.d.ts +1 -1
- package/dist/zod4/index.mjs +1 -1
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -24,7 +24,7 @@ const Example = z.object({
|
|
|
24
24
|
### Generate OpenAPI Spec
|
|
25
25
|
|
|
26
26
|
```ts
|
|
27
|
-
import { OpenAPIGenerator } from '@temporary-name/openapi'
|
|
27
|
+
import { OpenAPIGenerator } from '@temporary-name/server/openapi'
|
|
28
28
|
import { ZodToJsonSchemaConverter } from '@temporary-name/zod/zod4'
|
|
29
29
|
|
|
30
30
|
const openAPIGenerator = new OpenAPIGenerator({
|
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { JSONSchema, ConditionalSchemaConverter, SchemaConvertOptions } from '@temporary-name/openapi';
|
|
1
|
+
import { JSONSchema, ConditionalSchemaConverter, SchemaConvertOptions } from '@temporary-name/server/openapi';
|
|
2
2
|
import { ZodTypeAny, input, output, ZodTypeDef, CustomErrorParams, ZodType, ZodEffects } from 'zod/v3';
|
|
3
3
|
import { Context } from '@temporary-name/server';
|
|
4
4
|
import { StandardHandlerPlugin, StandardHandlerOptions } from '@temporary-name/server/standard';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { JSONSchema, ConditionalSchemaConverter, SchemaConvertOptions } from '@temporary-name/openapi';
|
|
1
|
+
import { JSONSchema, ConditionalSchemaConverter, SchemaConvertOptions } from '@temporary-name/server/openapi';
|
|
2
2
|
import { ZodTypeAny, input, output, ZodTypeDef, CustomErrorParams, ZodType, ZodEffects } from 'zod/v3';
|
|
3
3
|
import { Context } from '@temporary-name/server';
|
|
4
4
|
import { StandardHandlerPlugin, StandardHandlerOptions } from '@temporary-name/server/standard';
|
package/dist/index.mjs
CHANGED
|
@@ -2,7 +2,7 @@ import { custom, ZodFirstPartyTypeKind } from 'zod/v3';
|
|
|
2
2
|
import wcmatch from 'wildcard-match';
|
|
3
3
|
import { isObject, guard, toArray } from '@temporary-name/shared';
|
|
4
4
|
import { JsonSchemaXNativeType } from '@temporary-name/json-schema';
|
|
5
|
-
import { JSONSchemaFormat } from '@temporary-name/openapi';
|
|
5
|
+
import { JSONSchemaFormat } from '@temporary-name/server/openapi';
|
|
6
6
|
import escapeStringRegexp from 'escape-string-regexp';
|
|
7
7
|
|
|
8
8
|
const CUSTOM_JSON_SCHEMA_SYMBOL = Symbol("ORPC_CUSTOM_JSON_SCHEMA");
|
package/dist/zod4/index.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Context } from '@temporary-name/server';
|
|
2
2
|
import { StandardHandlerPlugin, StandardHandlerOptions } from '@temporary-name/server/standard';
|
|
3
3
|
import { AnySchema } from '@temporary-name/contract';
|
|
4
|
-
import { JSONSchema, SchemaConvertOptions, ConditionalSchemaConverter } from '@temporary-name/openapi';
|
|
4
|
+
import { JSONSchema, SchemaConvertOptions, ConditionalSchemaConverter } from '@temporary-name/server/openapi';
|
|
5
5
|
import { Interceptor } from '@temporary-name/shared';
|
|
6
6
|
import * as zod_v4_core from 'zod/v4/core';
|
|
7
7
|
import { $ZodType, $input, $output } from 'zod/v4/core';
|
package/dist/zod4/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Context } from '@temporary-name/server';
|
|
2
2
|
import { StandardHandlerPlugin, StandardHandlerOptions } from '@temporary-name/server/standard';
|
|
3
3
|
import { AnySchema } from '@temporary-name/contract';
|
|
4
|
-
import { JSONSchema, SchemaConvertOptions, ConditionalSchemaConverter } from '@temporary-name/openapi';
|
|
4
|
+
import { JSONSchema, SchemaConvertOptions, ConditionalSchemaConverter } from '@temporary-name/server/openapi';
|
|
5
5
|
import { Interceptor } from '@temporary-name/shared';
|
|
6
6
|
import * as zod_v4_core from 'zod/v4/core';
|
|
7
7
|
import { $ZodType, $input, $output } from 'zod/v4/core';
|
package/dist/zod4/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { isObject, guard, intercept, toArray } from '@temporary-name/shared';
|
|
2
2
|
import { JsonSchemaXNativeType } from '@temporary-name/json-schema';
|
|
3
|
-
import { JSONSchemaFormat, JSONSchemaContentEncoding } from '@temporary-name/openapi';
|
|
3
|
+
import { JSONSchemaFormat, JSONSchemaContentEncoding } from '@temporary-name/server/openapi';
|
|
4
4
|
import { registry, globalRegistry } from 'zod/v4/core';
|
|
5
5
|
|
|
6
6
|
class experimental_ZodSmartCoercionPlugin {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@temporary-name/zod",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.9.3-alpha.
|
|
4
|
+
"version": "1.9.3-alpha.a4e1987475e417f5730b8308ee8130974a74d8a1",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://www.stainless.com/",
|
|
7
7
|
"repository": {
|
|
@@ -29,17 +29,17 @@
|
|
|
29
29
|
],
|
|
30
30
|
"peerDependencies": {
|
|
31
31
|
"zod": ">=3.25.0",
|
|
32
|
-
"@temporary-name/contract": "1.9.3-alpha.
|
|
33
|
-
"@temporary-name/server": "1.9.3-alpha.
|
|
32
|
+
"@temporary-name/contract": "1.9.3-alpha.a4e1987475e417f5730b8308ee8130974a74d8a1",
|
|
33
|
+
"@temporary-name/server": "1.9.3-alpha.a4e1987475e417f5730b8308ee8130974a74d8a1"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"escape-string-regexp": "^5.0.0",
|
|
37
37
|
"wildcard-match": "^5.1.3",
|
|
38
|
-
"@temporary-name/json-schema": "1.9.3-alpha.
|
|
39
|
-
"@temporary-name/shared": "1.9.3-alpha.
|
|
40
|
-
"@temporary-name/openapi": "1.9.3-alpha.9f176ca3f9388d51e8dffa98a15fcf9f14f6a75e"
|
|
38
|
+
"@temporary-name/json-schema": "1.9.3-alpha.a4e1987475e417f5730b8308ee8130974a74d8a1",
|
|
39
|
+
"@temporary-name/shared": "1.9.3-alpha.a4e1987475e417f5730b8308ee8130974a74d8a1"
|
|
41
40
|
},
|
|
42
41
|
"devDependencies": {
|
|
42
|
+
"valibot": "^1.1.0",
|
|
43
43
|
"zod": "^4.1.11"
|
|
44
44
|
},
|
|
45
45
|
"scripts": {
|