{ "name": "@swagger-api/apidom-reference", "version": "1.0.0-beta.11", "description": "Advanced algorithms for semantic ApiDOM manipulations like dereferencing or resolution.", "publishConfig": { "access": "public", "registry": "https://registry.npmjs.org" }, "type": "module", "sideEffects": [ "./src/configuration/saturated.mjs", "./src/configuration/saturated.cjs" ], "unpkg": "./dist/apidom-reference.browser.min.js", "browser": { "./src/parse/parsers/binary/index-node.cjs": "./src/parse/parsers/binary/index-browser.cjs", "./src/resolve/resolvers/file/index-node.cjs": "./src/resolve/resolvers/file/index-browser.cjs", "./src/parse/parsers/binary/index-node.mjs": "./src/parse/parsers/binary/index-browser.mjs", "./src/resolve/resolvers/file/index-node.mjs": "./src/resolve/resolvers/file/index-browser.mjs" }, "main": "./src/configuration/saturated.cjs", "types": "./types/apidom-reference.d.ts", "exports": { ".": { "import": "./src/configuration/saturated.mjs", "require": "./src/configuration/saturated.cjs", "types": "./types/apidom-reference.d.ts" }, "./configuration/saturated": { "import": "./src/configuration/saturated.mjs", "require": "./src/configuration/saturated.cjs", "types": "./types/apidom-reference.d.ts" }, "./configuration/empty": { "import": "./src/configuration/empty.mjs", "require": "./src/configuration/empty.cjs", "types": "./types/apidom-reference.d.ts" }, "./resolve/resolvers/file": { "browser": { "import": "./src/resolve/resolvers/file/index-browser.mjs", "require": "./src/resolve/resolvers/file/index-browser.cjs", "types": "./types/resolve/resolvers/file/index-browser.d.ts" }, "default": { "import": "./src/resolve/resolvers/file/index-node.mjs", "require": "./src/resolve/resolvers/file/index-node.cjs", "types": "./types/resolve/resolvers/file/index-node.d.ts" } }, "./resolve/resolvers/http-axios": { "import": "./src/resolve/resolvers/http-axios/index.mjs", "require": "./src/resolve/resolvers/http-axios/index.cjs", "types": "./types/resolve/resolvers/http-axios/index.d.ts" }, "./resolve/strategies/apidom": { "import": "./src/resolve/strategies/apidom/index.mjs", "require": "./src/resolve/strategies/apidom/index.cjs", "types": "./types/resolve/strategies/apidom/index.d.ts" }, "./resolve/strategies/asyncapi-2": { "import": "./src/resolve/strategies/asyncapi-2/index.mjs", "require": "./src/resolve/strategies/asyncapi-2/index.cjs", "types": "./types/resolve/strategies/asyncapi-2/index.d.ts" }, "./resolve/strategies/openapi-2": { "import": "./src/resolve/strategies/openapi-2/index.mjs", "require": "./src/resolve/strategies/openapi-2/index.cjs", "types": "./types/resolve/strategies/openapi-2/index.d.ts" }, "./resolve/strategies/openapi-3-0": { "import": "./src/resolve/strategies/openapi-3-0/index.mjs", "require": "./src/resolve/strategies/openapi-3-0/index.cjs", "types": "./types/resolve/strategies/openapi-3-0/index.d.ts" }, "./resolve/strategies/openapi-3-1": { "import": "./src/resolve/strategies/openapi-3-1/index.mjs", "require": "./src/resolve/strategies/openapi-3-1/index.cjs", "types": "./types/resolve/strategies/openapi-3-1/index.d.ts" }, "./parse/parsers/api-design-systems-json": { "import": "./src/parse/parsers/api-design-systems-json/index.mjs", "require": "./src/parse/parsers/api-design-systems-json/index.cjs", "types": "./types/parse/parsers/api-design-systems-json/index.d.ts" }, "./parse/parsers/api-design-systems-yaml": { "import": "./src/parse/parsers/api-design-systems-yaml/index.mjs", "require": "./src/parse/parsers/api-design-systems-yaml/index.cjs", "types": "./types/parse/parsers/api-design-systems-yaml/index.d.ts" }, "./parse/parsers/asyncapi-json-2": { "import": "./src/parse/parsers/asyncapi-json-2/index.mjs", "require": "./src/parse/parsers/asyncapi-json-2/index.cjs", "types": "./types/parse/parsers/asyncapi-json-2/index.d.ts" }, "./parse/parsers/asyncapi-yaml-2": { "import": "./src/parse/parsers/asyncapi-yaml-2/index.mjs", "require": "./src/parse/parsers/asyncapi-yaml-2/index.cjs", "types": "./types/parse/parsers/asyncapi-yaml-2/index.d.ts" }, "./parse/parsers/workflows-json-1": { "import": "./src/parse/parsers/workflows-json-1/index.mjs", "require": "./src/parse/parsers/workflows-json-1/index.cjs", "types": "./types/parse/parsers/workflows-json-1/index.d.ts" }, "./parse/parsers/workflows-yaml-1": { "import": "./src/parse/parsers/workflows-yaml-1/index.mjs", "require": "./src/parse/parsers/workflows-yaml-1/index.cjs", "types": "./types/parse/parsers/workflows-yaml-1/index.d.ts" }, "./parse/parsers/apidom-json": { "import": "./src/parse/parsers/apidom-json/index.mjs", "require": "./src/parse/parsers/apidom-json/index.cjs", "types": "./types/parse/parsers/apidom-json/index.d.ts" }, "./parse/parsers/binary": { "browser": { "import": "./src/parse/parsers/binary/index-browser.mjs", "require": "./src/parse/parsers/binary/index-browser.cjs", "types": "./types/parse/parsers/binary/index-browser.d.ts" }, "default": { "import": "./src/parse/parsers/binary/index-node.mjs", "require": "./src/parse/parsers/binary/index-node.cjs", "types": "./types/parse/parsers/binary/index-node.d.ts" } }, "./parse/parsers/json": { "import": "./src/parse/parsers/json/index.mjs", "require": "./src/parse/parsers/json/index.cjs", "types": "./types/parse/parsers/json/index.d.ts" }, "./parse/parsers/openapi-json-2": { "import": "./src/parse/parsers/openapi-json-2/index.mjs", "require": "./src/parse/parsers/openapi-json-2/index.cjs", "types": "./types/parse/parsers/openapi-json-2/index.d.ts" }, "./parse/parsers/openapi-yaml-2": { "import": "./src/parse/parsers/openapi-yaml-2/index.mjs", "require": "./src/parse/parsers/openapi-yaml-2/index.cjs", "types": "./types/parse/parsers/openapi-yaml-2/index.d.ts" }, "./parse/parsers/openapi-json-3-0": { "import": "./src/parse/parsers/openapi-json-3-0/index.mjs", "require": "./src/parse/parsers/openapi-json-3-0/index.cjs", "types": "./types/parse/parsers/openapi-json-3-0/index.d.ts" }, "./parse/parsers/openapi-json-3-1": { "import": "./src/parse/parsers/openapi-json-3-1/index.mjs", "require": "./src/parse/parsers/openapi-json-3-1/index.cjs", "types": "./types/parse/parsers/openapi-json-3-1/index.d.ts" }, "./parse/parsers/openapi-yaml-3-0": { "import": "./src/parse/parsers/openapi-yaml-3-0/index.mjs", "require": "./src/parse/parsers/openapi-yaml-3-0/index.cjs", "types": "./types/parse/parsers/openapi-yaml-3-0/index.d.ts" }, "./parse/parsers/openapi-yaml-3-1": { "import": "./src/parse/parsers/openapi-yaml-3-1/index.mjs", "require": "./src/parse/parsers/openapi-yaml-3-1/index.cjs", "types": "./types/parse/parsers/openapi-yaml-3-1/index.d.ts" }, "./parse/parsers/yaml-1-2": { "import": "./src/parse/parsers/yaml-1-2/index.mjs", "require": "./src/parse/parsers/yaml-1-2/index.cjs", "types": "./types/parse/parsers/yaml-1-2/index.d.ts" }, "./dereference/strategies/apidom": { "import": "./src/dereference/strategies/apidom/index.mjs", "require": "./src/dereference/strategies/apidom/index.cjs", "types": "./types/dereference/strategies/apidom/index.d.ts" }, "./dereference/strategies/apidom/selectors/element-id": { "import": "./src/dereference/strategies/apidom/selectors/element-id.mjs", "require": "./src/dereference/strategies/apidom/selectors/element-id.cjs", "types": "./types/dereference/strategies/apidom/selectors/element-id.d.ts" }, "./dereference/strategies/asyncapi-2": { "import": "./src/dereference/strategies/asyncapi-2/index.mjs", "require": "./src/dereference/strategies/asyncapi-2/index.cjs", "types": "./types/dereference/strategies/asyncapi-2/index.d.ts" }, "./dereference/strategies/openapi-2": { "import": "./src/dereference/strategies/openapi-2/index.mjs", "require": "./src/dereference/strategies/openapi-2/index.cjs", "types": "./types/dereference/strategies/openapi-2/index.d.ts" }, "./dereference/strategies/openapi-3-0": { "import": "./src/dereference/strategies/openapi-3-0/index.mjs", "require": "./src/dereference/strategies/openapi-3-0/index.cjs", "types": "./types/dereference/strategies/openapi-3-0/index.d.ts" }, "./dereference/strategies/openapi-3-1": { "import": "./src/dereference/strategies/openapi-3-1/index.mjs", "require": "./src/dereference/strategies/openapi-3-1/index.cjs", "types": "./types/dereference/strategies/openapi-3-1/index.d.ts" }, "./dereference/strategies/openapi-3-1/selectors/$anchor": { "import": "./src/dereference/strategies/openapi-3-1/selectors/$anchor.mjs", "require": "./src/dereference/strategies/openapi-3-1/selectors/$anchor.cjs", "types": "./types/dereference/strategies/openapi-3-1/selectors/$anchor.d.ts" }, "./dereference/strategies/openapi-3-1/selectors/uri": { "import": "./src/dereference/strategies/openapi-3-1/selectors/uri.mjs", "require": "./src/dereference/strategies/openapi-3-1/selectors/uri.cjs", "types": "./types/dereference/strategies/openapi-3-1/selectors/uri.d.ts" }, "./bundle/strategies/openapi-3-1": { "import": "./src/bundle/strategies/openapi-3-1/index.mjs", "require": "./src/bundle/strategies/openapi-3-1/index.cjs", "types": "./types/bundle/strategies/openapi-3-1/index.d.ts" } }, "imports": { "#buffer": { "node": { "import": "./src/util/polyfills/buffer/protocol-import.mjs", "require": "./src/util/polyfills/buffer/standard-import.cjs" }, "default": "./src/util/polyfills/buffer/standard-import.cjs" }, "#fs": { "node": { "import": "./src/util/polyfills/fs/protocol-import.mjs", "require": "./src/util/polyfills/fs/standard-import.cjs" }, "default": "./src/util/polyfills/fs/standard-import.cjs" }, "#util": { "node": { "import": "./src/util/polyfills/util/protocol-import.mjs", "require": "./src/util/polyfills/util/standard-import.cjs" }, "default": "./src/util/polyfills/util/standard-import.cjs" } }, "scripts": { "build": "npm run clean && run-p --max-parallel ${CPU_CORES:-2} typescript:declaration build:es build:cjs build:umd:browser", "build:es": "cross-env BABEL_ENV=es babel src --out-dir src --extensions '.ts' --out-file-extension '.mjs' --root-mode 'upward'", "build:cjs": "cross-env BABEL_ENV=cjs babel src --out-dir src --extensions '.ts' --out-file-extension '.cjs' --root-mode 'upward'", "build:umd:browser": "cross-env BABEL_ENV=browser webpack --config config/webpack/browser.config.js --progress", "lint": "eslint ./", "lint:fix": "eslint ./ --fix", "clean": "rimraf --glob 'src/**/*.mjs' 'src/**/*.cjs' 'test/**/*.mjs' ./dist ./types", "test": "npm run build:es && cross-env BABEL_ENV=es babel test --out-dir test --extensions '.ts' --out-file-extension '.mjs' --root-mode 'upward' && cross-env NODE_ENV=test mocha", "perf": "cross-env BABEL_ENV=es babel ./test/perf/index.ts --out-file ./test/perf/index.mjs --root-mode 'upward' && cross-env NODE_ENV=test node ./test/perf/index.mjs", "perf:openapi-3-1-dereference": "cross-env BABEL_ENV=es babel ./test/perf/openapi-3-1-dereference.ts --out-file ./test/perf/openapi-3-1-dereference.mjs --root-mode 'upward' && cross-env NODE_ENV=test node ./test/perf/openapi-3-1-dereference.mjs", "typescript:check-types": "tsc --noEmit && tsc -p ./test/tsconfig.json --noEmit", "typescript:declaration": "tsc -p tsconfig.declaration.json && api-extractor run -l -c ./config/api-extractor/api-extractor.json", "prepack": "copyfiles -u 3 ../../LICENSES/* LICENSES && copyfiles -u 2 ../../NOTICE .", "postpack": "rimraf NOTICE LICENSES" }, "repository": { "type": "git", "url": "git+https://github.com/swagger-api/apidom.git" }, "author": "Vladimir Gorej", "license": "Apache-2.0", "dependencies": { "@babel/runtime-corejs3": "^7.20.7", "@swagger-api/apidom-core": "^1.0.0-beta.11", "@swagger-api/apidom-error": "^1.0.0-beta.11", "@types/ramda": "~0.30.0", "axios": "^1.7.4", "minimatch": "^7.4.3", "process": "^0.11.10", "ramda": "~0.30.0", "ramda-adjunct": "^5.0.0" }, "optionalDependencies": { "@swagger-api/apidom-error": "^1.0.0-beta.3 <1.0.0-rc.0", "@swagger-api/apidom-json-pointer": "^1.0.0-beta.3 <1.0.0-rc.0", "@swagger-api/apidom-ns-asyncapi-2": "^1.0.0-beta.3 <1.0.0-rc.0", "@swagger-api/apidom-ns-openapi-2": "^1.0.0-beta.3 <1.0.0-rc.0", "@swagger-api/apidom-ns-openapi-3-0": "^1.0.0-beta.3 <1.0.0-rc.0", "@swagger-api/apidom-ns-openapi-3-1": "^1.0.0-beta.3 <1.0.0-rc.0", "@swagger-api/apidom-ns-workflows-1": "^1.0.0-beta.3 <1.0.0-rc.0", "@swagger-api/apidom-parser-adapter-api-design-systems-json": "^1.0.0-beta.3 <1.0.0-rc.0", "@swagger-api/apidom-parser-adapter-api-design-systems-yaml": "^1.0.0-beta.3 <1.0.0-rc.0", "@swagger-api/apidom-parser-adapter-asyncapi-json-2": "^1.0.0-beta.3 <1.0.0-rc.0", "@swagger-api/apidom-parser-adapter-asyncapi-yaml-2": "^1.0.0-beta.3 <1.0.0-rc.0", "@swagger-api/apidom-parser-adapter-json": "^1.0.0-beta.3 <1.0.0-rc.0", "@swagger-api/apidom-parser-adapter-openapi-json-2": "^1.0.0-beta.3 <1.0.0-rc.0", "@swagger-api/apidom-parser-adapter-openapi-json-3-0": "^1.0.0-beta.3 <1.0.0-rc.0", "@swagger-api/apidom-parser-adapter-openapi-json-3-1": "^1.0.0-beta.3 <1.0.0-rc.0", "@swagger-api/apidom-parser-adapter-openapi-yaml-2": "^1.0.0-beta.3 <1.0.0-rc.0", "@swagger-api/apidom-parser-adapter-openapi-yaml-3-0": "^1.0.0-beta.3 <1.0.0-rc.0", "@swagger-api/apidom-parser-adapter-openapi-yaml-3-1": "^1.0.0-beta.3 <1.0.0-rc.0", "@swagger-api/apidom-parser-adapter-workflows-json-1": "^1.0.0-beta.3 <1.0.0-rc.0", "@swagger-api/apidom-parser-adapter-workflows-yaml-1": "^1.0.0-beta.3 <1.0.0-rc.0", "@swagger-api/apidom-parser-adapter-yaml-1-2": "^1.0.0-beta.3 <1.0.0-rc.0" }, "devDependencies": { "@swagger-api/apidom-error": "*", "@swagger-api/apidom-json-pointer": "*", "@swagger-api/apidom-ns-asyncapi-2": "*", "@swagger-api/apidom-ns-openapi-2": "*", "@swagger-api/apidom-ns-openapi-3-0": "*", "@swagger-api/apidom-ns-openapi-3-1": "*", "@swagger-api/apidom-ns-workflows-1": "*", "@swagger-api/apidom-parser-adapter-api-design-systems-json": "*", "@swagger-api/apidom-parser-adapter-api-design-systems-yaml": "*", "@swagger-api/apidom-parser-adapter-asyncapi-json-2": "*", "@swagger-api/apidom-parser-adapter-asyncapi-yaml-2": "*", "@swagger-api/apidom-parser-adapter-json": "*", "@swagger-api/apidom-parser-adapter-openapi-json-2": "*", "@swagger-api/apidom-parser-adapter-openapi-json-3-0": "*", "@swagger-api/apidom-parser-adapter-openapi-json-3-1": "*", "@swagger-api/apidom-parser-adapter-openapi-yaml-2": "*", "@swagger-api/apidom-parser-adapter-openapi-yaml-3-0": "*", "@swagger-api/apidom-parser-adapter-openapi-yaml-3-1": "*", "@swagger-api/apidom-parser-adapter-workflows-json-1": "*", "@swagger-api/apidom-parser-adapter-workflows-yaml-1": "*", "@swagger-api/apidom-parser-adapter-yaml-1-2": "*", "axios-mock-adapter": "^2.0.0" }, "files": [ "src/**/*.mjs", "src/**/*.cjs", "dist/", "types/", "LICENSES", "NOTICE", "README.md", "CHANGELOG.md" ], "gitHead": "2923c19f907b5d88a92eb3f297069dd3af78cd96" }