You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@peculiar/json-schema is ESM-only and requires Node.js ^20.19.0 || >=22.12.0. The CommonJS build is removed: build/index.js (CommonJS), build/index.mjs and build/index.d.mts are replaced by unbundled ES modules with build/index.js and build/index.d.ts as the entry point; the exports map still blocks deep imports into build/. The internal types IJsonSchema, IJsonSchemaItem, IJsonNamedSchema and JsonTransform, which the 2.0.0 declarations exposed by accident, are no longer exported. CommonJS code can still require("@peculiar/json-schema") on supported Node.js versions through require(esm), and require() and import now share one schema storage. TypeScript projects that compile to CommonJS need "module": "node20" or "nodenext". See "Breaking Changes In v3" in the README.
Build System
ship ESM-only output for Node.js ^20.19.0 || >=22.12.0 (#26) (1c9476c)