13 lines
525 B
Plaintext
13 lines
525 B
Plaintext
import { n as AjvJsonSchemaValidator } from "./ajvProvider-97rDpkRx.mjs";
|
|
|
|
//#region src/shimsNode.ts
|
|
/**
|
|
* Whether `fetch()` may throw `TypeError` due to CORS. CORS is a browser-only concept —
|
|
* in Node.js, a `TypeError` from `fetch` is always a real network/configuration error
|
|
* (DNS resolution, connection refused, invalid URL), never a CORS error.
|
|
*/
|
|
const CORS_IS_POSSIBLE = false;
|
|
|
|
//#endregion
|
|
export { CORS_IS_POSSIBLE, AjvJsonSchemaValidator as DefaultJsonSchemaValidator };
|
|
//# sourceMappingURL=shimsNode.mjs.map |