@apidevtools/json-schema-ref-parser
Advanced tools
Comparing version 11.7.0 to 11.7.1
import $Refs from "./refs.js"; | ||
import normalizeArgs from "./normalize-args.js"; | ||
import _dereference from "./dereference.js"; | ||
import { JSONParserError, InvalidPointerError, MissingPointerError, ResolverError, ParserError, UnmatchedParserError, UnmatchedResolverError, isHandledError, JSONParserErrorGroup } from "./util/errors.js"; | ||
import type { ParserOptions } from "./options.js"; | ||
import { getJsonSchemaRefParserDefaultOptions } from "./options.js"; | ||
import type { $RefsCallback, JSONSchema, SchemaCallback, FileInfo, Plugin, ResolverOptions, HTTPResolverOptions } from "./types/index.js"; | ||
@@ -159,2 +162,2 @@ export type RefParserSchema = string | JSONSchema; | ||
export declare const dereference: typeof $RefParser.dereference; | ||
export { UnmatchedResolverError, JSONParserError, JSONSchema, InvalidPointerError, MissingPointerError, ResolverError, ParserError, UnmatchedParserError, ParserOptions, $RefsCallback, isHandledError, JSONParserErrorGroup, SchemaCallback, FileInfo, Plugin, ResolverOptions, HTTPResolverOptions, }; | ||
export { UnmatchedResolverError, JSONParserError, JSONSchema, InvalidPointerError, MissingPointerError, ResolverError, ParserError, UnmatchedParserError, ParserOptions, $RefsCallback, isHandledError, JSONParserErrorGroup, SchemaCallback, FileInfo, Plugin, ResolverOptions, HTTPResolverOptions, _dereference as dereferenceInternal, normalizeArgs as jsonSchemaParserNormalizeArgs, getJsonSchemaRefParserDefaultOptions, }; |
@@ -29,9 +29,11 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.JSONParserErrorGroup = exports.isHandledError = exports.UnmatchedParserError = exports.ParserError = exports.ResolverError = exports.MissingPointerError = exports.InvalidPointerError = exports.JSONParserError = exports.UnmatchedResolverError = exports.dereference = exports.bundle = exports.resolve = exports.parse = exports.$RefParser = void 0; | ||
exports.getJsonSchemaRefParserDefaultOptions = exports.jsonSchemaParserNormalizeArgs = exports.dereferenceInternal = exports.JSONParserErrorGroup = exports.isHandledError = exports.UnmatchedParserError = exports.ParserError = exports.ResolverError = exports.MissingPointerError = exports.InvalidPointerError = exports.JSONParserError = exports.UnmatchedResolverError = exports.dereference = exports.bundle = exports.resolve = exports.parse = exports.$RefParser = void 0; | ||
const refs_js_1 = __importDefault(require("./refs.js")); | ||
const parse_js_1 = __importDefault(require("./parse.js")); | ||
const normalize_args_js_1 = __importDefault(require("./normalize-args.js")); | ||
exports.jsonSchemaParserNormalizeArgs = normalize_args_js_1.default; | ||
const resolve_external_js_1 = __importDefault(require("./resolve-external.js")); | ||
const bundle_js_1 = __importDefault(require("./bundle.js")); | ||
const dereference_js_1 = __importDefault(require("./dereference.js")); | ||
exports.dereferenceInternal = dereference_js_1.default; | ||
const url = __importStar(require("./util/url.js")); | ||
@@ -50,2 +52,4 @@ const errors_js_1 = require("./util/errors.js"); | ||
const maybe_js_1 = __importDefault(require("./util/maybe.js")); | ||
const options_js_1 = require("./options.js"); | ||
Object.defineProperty(exports, "getJsonSchemaRefParserDefaultOptions", { enumerable: true, get: function () { return options_js_1.getJsonSchemaRefParserDefaultOptions; } }); | ||
/** | ||
@@ -52,0 +56,0 @@ * This class parses a JSON schema, builds a map of its JSON references and their resolved values, |
@@ -22,2 +22,3 @@ import $Refs from "./refs.js"; | ||
import type { ParserOptions } from "./options.js"; | ||
import { getJsonSchemaRefParserDefaultOptions } from "./options.js"; | ||
import type { | ||
@@ -450,2 +451,5 @@ $RefsCallback, | ||
HTTPResolverOptions, | ||
_dereference as dereferenceInternal, | ||
normalizeArgs as jsonSchemaParserNormalizeArgs, | ||
getJsonSchemaRefParserDefaultOptions, | ||
}; |
{ | ||
"name": "@apidevtools/json-schema-ref-parser", | ||
"version": "11.7.0", | ||
"version": "11.7.1", | ||
"description": "Parse, Resolve, and Dereference JSON Schema $ref pointers", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
324663
7690