@rspack-canary/core 1.6.0-canary-17d2172b-20251016033144 → 1.6.0-canary-c1ffd5c5-20251016085846

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.
@@ -1,5 +1,5 @@
1
1
  // @ts-ignore
2
- import * as z from "zod/v4";
2
+ import * as z from "zod";
3
3
  import type * as t from "../config/types";
4
4
  export declare const getExternalsTypeSchema: () => z.ZodEnum<{
5
5
  module: "module";
@@ -1,5 +1,5 @@
1
1
  // @ts-ignore
2
- import * as z from "zod/v4";
2
+ import * as z from "zod";
3
3
  export declare const getZodSwcLoaderOptionsSchema: () => z.ZodObject<{
4
4
  $schema: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5
5
  test: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString>]>>>;
@@ -1,6 +1,6 @@
1
1
  import type { JsBuildMeta } from "@rspack/binding";
2
2
  // @ts-ignore
3
- import * as z from "zod/v4";
3
+ import * as z from "zod";
4
4
  export declare const getIgnorePluginOptionsSchema: () => z.ZodUnion<readonly [z.ZodObject<{
5
5
  contextRegExp: z.ZodOptional<z.ZodCustom<RegExp, RegExp>>;
6
6
  resourceRegExp: z.ZodCustom<RegExp, RegExp>;
@@ -1,5 +1,5 @@
1
1
  // @ts-ignore
2
- import * as z from "zod/v4";
2
+ import * as z from "zod";
3
3
  export declare const numberOrInfinity: z.ZodUnion<[z.ZodNumber, z.ZodLiteral<number>]>;
4
4
  export declare const intOrInfinity: z.ZodUnion<[z.ZodInt, z.ZodLiteral<number>]>;
5
5
  export declare const anyFunction: z.ZodCustom<(...args: unknown[]) => any, (...args: unknown[]) => any>;
@@ -1,5 +1,5 @@
1
1
  // @ts-ignore
2
- import type { z } from "zod/v4";
2
+ import type { z } from "zod";
3
3
  export declare class ValidationError extends Error {
4
4
  constructor(message: string);
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rspack-canary/core",
3
- "version": "1.6.0-canary-17d2172b-20251016033144",
3
+ "version": "1.6.0-canary-c1ffd5c5-20251016085846",
4
4
  "webpackVersion": "5.75.0",
5
5
  "license": "MIT",
6
6
  "description": "The fast Rust-based web bundler with webpack-compatible API",
@@ -54,13 +54,13 @@
54
54
  "typescript": "^5.9.3",
55
55
  "watchpack": "^2.4.4",
56
56
  "webpack-sources": "3.3.3",
57
- "zod": "^3.25.76",
58
- "zod-validation-error": "3.5.3"
57
+ "zod": "^4.1.12",
58
+ "zod-validation-error": "^4.0.2"
59
59
  },
60
60
  "dependencies": {
61
61
  "@module-federation/runtime-tools": "0.20.0",
62
62
  "@rspack/lite-tapable": "1.0.1",
63
- "@rspack/binding": "npm:@rspack-canary/binding@1.6.0-canary-17d2172b-20251016033144"
63
+ "@rspack/binding": "npm:@rspack-canary/binding@1.6.0-canary-c1ffd5c5-20251016085846"
64
64
  },
65
65
  "peerDependencies": {
66
66
  "@swc/helpers": ">=0.5.1"