[d24f17c] | 1 | {
|
---|
| 2 | "name": "@swagger-api/apidom-reference",
|
---|
| 3 | "version": "0.95.0",
|
---|
| 4 | "description": "Advanced algorithms for semantic ApiDOM manipulations like dereferencing or resolution.",
|
---|
| 5 | "publishConfig": {
|
---|
| 6 | "access": "public",
|
---|
| 7 | "registry": "https://registry.npmjs.org"
|
---|
| 8 | },
|
---|
| 9 | "type": "module",
|
---|
| 10 | "sideEffects": [
|
---|
| 11 | "./es/configuration/saturated.mjs",
|
---|
| 12 | "./cjs/configuration/saturated.cjs"
|
---|
| 13 | ],
|
---|
| 14 | "unpkg": "./dist/apidom-reference.browser.min.js",
|
---|
| 15 | "browser": {
|
---|
| 16 | "./cjs/parse/parsers/binary/index-node.cjs": "./cjs/parse/parsers/binary/index-browser.cjs",
|
---|
| 17 | "./cjs/resolve/resolvers/file/index-node.cjs": "./cjs/resolve/resolvers/file/index-browser.cjs",
|
---|
| 18 | "./es/parse/parsers/binary/index-node.mjs": "./es/parse/parsers/binary/index-browser.mjs",
|
---|
| 19 | "./es/resolve/resolvers/file/index-node.mjs": "./es/resolve/resolvers/file/index-browser.mjs"
|
---|
| 20 | },
|
---|
| 21 | "main": "./cjs/configuration/saturated.cjs",
|
---|
| 22 | "types": "./types/dist.d.ts",
|
---|
| 23 | "exports": {
|
---|
| 24 | ".": {
|
---|
| 25 | "import": "./es/configuration/saturated.mjs",
|
---|
| 26 | "require": "./cjs/configuration/saturated.cjs",
|
---|
| 27 | "types": "./types/dist.d.ts"
|
---|
| 28 | },
|
---|
| 29 | "./configuration/saturated": {
|
---|
| 30 | "import": "./es/configuration/saturated.mjs",
|
---|
| 31 | "require": "./cjs/configuration/saturated.cjs",
|
---|
| 32 | "types": "./types/dist.d.ts"
|
---|
| 33 | },
|
---|
| 34 | "./configuration/empty": {
|
---|
| 35 | "import": "./es/configuration/empty.mjs",
|
---|
| 36 | "require": "./cjs/configuration/empty.cjs",
|
---|
| 37 | "types": "./types/dist.d.ts"
|
---|
| 38 | },
|
---|
| 39 | "./resolve/resolvers/file": {
|
---|
| 40 | "browser": {
|
---|
| 41 | "import": "./es/resolve/resolvers/file/index-browser.mjs",
|
---|
| 42 | "require": "./cjs/resolve/resolvers/file/index-browser.cjs",
|
---|
| 43 | "types": "./types/resolve/resolvers/file/index-browser.d.ts"
|
---|
| 44 | },
|
---|
| 45 | "default": {
|
---|
| 46 | "import": "./es/resolve/resolvers/file/index-node.mjs",
|
---|
| 47 | "require": "./cjs/resolve/resolvers/file/index-node.cjs",
|
---|
| 48 | "types": "./types/resolve/resolvers/file/index-node.d.ts"
|
---|
| 49 | }
|
---|
| 50 | },
|
---|
| 51 | "./resolve/resolvers/http-axios": {
|
---|
| 52 | "import": "./es/resolve/resolvers/http-axios/index.mjs",
|
---|
| 53 | "require": "./cjs/resolve/resolvers/http-axios/index.cjs",
|
---|
| 54 | "types": "./types/resolve/resolvers/http-axios/index.d.ts"
|
---|
| 55 | },
|
---|
| 56 | "./resolve/strategies/asyncapi-2": {
|
---|
| 57 | "import": "./es/resolve/strategies/asyncapi-2/index.mjs",
|
---|
| 58 | "require": "./cjs/resolve/strategies/asyncapi-2/index.cjs",
|
---|
| 59 | "types": "./types/resolve/strategies/asyncapi-2/index.d.ts"
|
---|
| 60 | },
|
---|
| 61 | "./resolve/strategies/openapi-2": {
|
---|
| 62 | "import": "./es/resolve/strategies/openapi-2/index.mjs",
|
---|
| 63 | "require": "./cjs/resolve/strategies/openapi-2/index.cjs",
|
---|
| 64 | "types": "./types/resolve/strategies/openapi-2/index.d.ts"
|
---|
| 65 | },
|
---|
| 66 | "./resolve/strategies/openapi-3-0": {
|
---|
| 67 | "import": "./es/resolve/strategies/openapi-3-0/index.mjs",
|
---|
| 68 | "require": "./cjs/resolve/strategies/openapi-3-0/index.cjs",
|
---|
| 69 | "types": "./types/resolve/strategies/openapi-3-0/index.d.ts"
|
---|
| 70 | },
|
---|
| 71 | "./resolve/strategies/openapi-3-1": {
|
---|
| 72 | "import": "./es/resolve/strategies/openapi-3-1/index.mjs",
|
---|
| 73 | "require": "./cjs/resolve/strategies/openapi-3-1/index.cjs",
|
---|
| 74 | "types": "./types/resolve/strategies/openapi-3-1/index.d.ts"
|
---|
| 75 | },
|
---|
| 76 | "./parse/parsers/api-design-systems-json": {
|
---|
| 77 | "import": "./es/parse/parsers/api-design-systems-json/index.mjs",
|
---|
| 78 | "require": "./cjs/parse/parsers/api-design-systems-json/index.cjs",
|
---|
| 79 | "types": "./types/parse/parsers/api-design-systems-json/index.d.ts"
|
---|
| 80 | },
|
---|
| 81 | "./parse/parsers/api-design-systems-yaml": {
|
---|
| 82 | "import": "./es/parse/parsers/api-design-systems-yaml/index.mjs",
|
---|
| 83 | "require": "./cjs/parse/parsers/api-design-systems-yaml/index.cjs",
|
---|
| 84 | "types": "./types/parse/parsers/api-design-systems-yaml/index.d.ts"
|
---|
| 85 | },
|
---|
| 86 | "./parse/parsers/asyncapi-json-2": {
|
---|
| 87 | "import": "./es/parse/parsers/asyncapi-json-2/index.mjs",
|
---|
| 88 | "require": "./cjs/parse/parsers/asyncapi-json-2/index.cjs",
|
---|
| 89 | "types": "./types/parse/parsers/asyncapi-json-2/index.d.ts"
|
---|
| 90 | },
|
---|
| 91 | "./parse/parsers/asyncapi-yaml-2": {
|
---|
| 92 | "import": "./es/parse/parsers/asyncapi-yaml-2/index.mjs",
|
---|
| 93 | "require": "./cjs/parse/parsers/asyncapi-yaml-2/index.cjs",
|
---|
| 94 | "types": "./types/parse/parsers/asyncapi-yaml-2/index.d.ts"
|
---|
| 95 | },
|
---|
| 96 | "./parse/parsers/workflows-json-1": {
|
---|
| 97 | "import": "./es/parse/parsers/workflows-json-1/index.mjs",
|
---|
| 98 | "require": "./cjs/parse/parsers/workflows-json-1/index.cjs",
|
---|
| 99 | "types": "./types/parse/parsers/workflows-json-1/index.d.ts"
|
---|
| 100 | },
|
---|
| 101 | "./parse/parsers/workflows-yaml-1": {
|
---|
| 102 | "import": "./es/parse/parsers/workflows-yaml-1/index.mjs",
|
---|
| 103 | "require": "./cjs/parse/parsers/workflows-yaml-1/index.cjs",
|
---|
| 104 | "types": "./types/parse/parsers/workflows-yaml-1/index.d.ts"
|
---|
| 105 | },
|
---|
| 106 | "./parse/parsers/binary": {
|
---|
| 107 | "browser": {
|
---|
| 108 | "import": "./es/parse/parsers/binary/index-browser.mjs",
|
---|
| 109 | "require": "./cjs/parse/parsers/binary/index-browser.cjs",
|
---|
| 110 | "types": "./types/parse/parsers/binary/index-browser.d.ts"
|
---|
| 111 | },
|
---|
| 112 | "default": {
|
---|
| 113 | "import": "./es/parse/parsers/binary/index-node.mjs",
|
---|
| 114 | "require": "./cjs/parse/parsers/binary/index-node.cjs",
|
---|
| 115 | "types": "./types/parse/parsers/binary/index-node.d.ts"
|
---|
| 116 | }
|
---|
| 117 | },
|
---|
| 118 | "./parse/parsers/json": {
|
---|
| 119 | "import": "./es/parse/parsers/json/index.mjs",
|
---|
| 120 | "require": "./cjs/parse/parsers/json/index.cjs",
|
---|
| 121 | "types": "./types/parse/parsers/json/index.d.ts"
|
---|
| 122 | },
|
---|
| 123 | "./parse/parsers/openapi-json-2": {
|
---|
| 124 | "import": "./es/parse/parsers/openapi-json-2/index.mjs",
|
---|
| 125 | "require": "./cjs/parse/parsers/openapi-json-2/index.cjs",
|
---|
| 126 | "types": "./types/parse/parsers/openapi-json-2/index.d.ts"
|
---|
| 127 | },
|
---|
| 128 | "./parse/parsers/openapi-yaml-2": {
|
---|
| 129 | "import": "./es/parse/parsers/openapi-yaml-2/index.mjs",
|
---|
| 130 | "require": "./cjs/parse/parsers/openapi-yaml-2/index.cjs",
|
---|
| 131 | "types": "./types/parse/parsers/openapi-yaml-2/index.d.ts"
|
---|
| 132 | },
|
---|
| 133 | "./parse/parsers/openapi-json-3-0": {
|
---|
| 134 | "import": "./es/parse/parsers/openapi-json-3-0/index.mjs",
|
---|
| 135 | "require": "./cjs/parse/parsers/openapi-json-3-0/index.cjs",
|
---|
| 136 | "types": "./types/parse/parsers/openapi-json-3-0/index.d.ts"
|
---|
| 137 | },
|
---|
| 138 | "./parse/parsers/openapi-json-3-1": {
|
---|
| 139 | "import": "./es/parse/parsers/openapi-json-3-1/index.mjs",
|
---|
| 140 | "require": "./cjs/parse/parsers/openapi-json-3-1/index.cjs",
|
---|
| 141 | "types": "./types/parse/parsers/openapi-json-3-1/index.d.ts"
|
---|
| 142 | },
|
---|
| 143 | "./parse/parsers/openapi-yaml-3-0": {
|
---|
| 144 | "import": "./es/parse/parsers/openapi-yaml-3-0/index.mjs",
|
---|
| 145 | "require": "./cjs/parse/parsers/openapi-yaml-3-0/index.cjs",
|
---|
| 146 | "types": "./types/parse/parsers/openapi-yaml-3-0/index.d.ts"
|
---|
| 147 | },
|
---|
| 148 | "./parse/parsers/openapi-yaml-3-1": {
|
---|
| 149 | "import": "./es/parse/parsers/openapi-yaml-3-1/index.mjs",
|
---|
| 150 | "require": "./cjs/parse/parsers/openapi-yaml-3-1/index.cjs",
|
---|
| 151 | "types": "./types/parse/parsers/openapi-yaml-3-1/index.d.ts"
|
---|
| 152 | },
|
---|
| 153 | "./parse/parsers/yaml-1-2": {
|
---|
| 154 | "import": "./es/parse/parsers/yaml-1-2/index.mjs",
|
---|
| 155 | "require": "./cjs/parse/parsers/yaml-1-2/index.cjs",
|
---|
| 156 | "types": "./types/parse/parsers/yaml-1-2/index.d.ts"
|
---|
| 157 | },
|
---|
| 158 | "./dereference/strategies/asyncapi-2": {
|
---|
| 159 | "import": "./es/dereference/strategies/asyncapi-2/index.mjs",
|
---|
| 160 | "require": "./cjs/dereference/strategies/asyncapi-2/index.cjs",
|
---|
| 161 | "types": "./types/dereference/strategies/asyncapi-2/index.d.ts"
|
---|
| 162 | },
|
---|
| 163 | "./dereference/strategies/openapi-2": {
|
---|
| 164 | "import": "./es/dereference/strategies/openapi-2/index.mjs",
|
---|
| 165 | "require": "./cjs/dereference/strategies/openapi-2/index.cjs",
|
---|
| 166 | "types": "./types/dereference/strategies/openapi-2/index.d.ts"
|
---|
| 167 | },
|
---|
| 168 | "./dereference/strategies/openapi-3-0": {
|
---|
| 169 | "import": "./es/dereference/strategies/openapi-3-0/index.mjs",
|
---|
| 170 | "require": "./cjs/dereference/strategies/openapi-3-0/index.cjs",
|
---|
| 171 | "types": "./types/dereference/strategies/openapi-3-0/index.d.ts"
|
---|
| 172 | },
|
---|
| 173 | "./dereference/strategies/openapi-3-1": {
|
---|
| 174 | "import": "./es/dereference/strategies/openapi-3-1/index.mjs",
|
---|
| 175 | "require": "./cjs/dereference/strategies/openapi-3-1/index.cjs",
|
---|
| 176 | "types": "./types/dereference/strategies/openapi-3-1/index.d.ts"
|
---|
| 177 | },
|
---|
| 178 | "./dereference/strategies/openapi-3-1/selectors/$anchor": {
|
---|
| 179 | "import": "./es/dereference/strategies/openapi-3-1/selectors/$anchor.mjs",
|
---|
| 180 | "require": "./cjs/dereference/strategies/openapi-3-1/selectors/$anchor.cjs",
|
---|
| 181 | "types": "./types/dereference/strategies/openapi-3-1/selectors/$anchor.d.ts"
|
---|
| 182 | },
|
---|
| 183 | "./dereference/strategies/openapi-3-1/selectors/uri": {
|
---|
| 184 | "import": "./es/dereference/strategies/openapi-3-1/selectors/uri.mjs",
|
---|
| 185 | "require": "./cjs/dereference/strategies/openapi-3-1/selectors/uri.cjs",
|
---|
| 186 | "types": "./types/dereference/strategies/openapi-3-1/selectors/uri.d.ts"
|
---|
| 187 | },
|
---|
| 188 | "./bundle/strategies/openapi-3-1": {
|
---|
| 189 | "import": "./es/bundle/strategies/openapi-3-1/index.mjs",
|
---|
| 190 | "require": "./cjs/bundle/strategies/openapi-3-1/index.cjs",
|
---|
| 191 | "types": "./types/bundle/strategies/openapi-3-1/index.d.ts"
|
---|
| 192 | }
|
---|
| 193 | },
|
---|
| 194 | "imports": {
|
---|
| 195 | "#buffer": {
|
---|
| 196 | "node": {
|
---|
| 197 | "import": "./es/util/polyfills/buffer/protocol-import.mjs",
|
---|
| 198 | "require": "./cjs/util/polyfills/buffer/standard-import.cjs"
|
---|
| 199 | },
|
---|
| 200 | "default": "./cjs/util/polyfills/buffer/standard-import.cjs"
|
---|
| 201 | },
|
---|
| 202 | "#fs": {
|
---|
| 203 | "node": {
|
---|
| 204 | "import": "./es/util/polyfills/fs/protocol-import.mjs",
|
---|
| 205 | "require": "./cjs/util/polyfills/fs/standard-import.cjs"
|
---|
| 206 | },
|
---|
| 207 | "default": "./cjs/util/polyfills/fs/standard-import.cjs"
|
---|
| 208 | },
|
---|
| 209 | "#util": {
|
---|
| 210 | "node": {
|
---|
| 211 | "import": "./es/util/polyfills/util/protocol-import.mjs",
|
---|
| 212 | "require": "./cjs/util/polyfills/util/standard-import.cjs"
|
---|
| 213 | },
|
---|
| 214 | "default": "./cjs/util/polyfills/util/standard-import.cjs"
|
---|
| 215 | }
|
---|
| 216 | },
|
---|
| 217 | "scripts": {
|
---|
| 218 | "build": "npm run clean && run-p --max-parallel ${CPU_CORES:-2} typescript:declaration build:es build:cjs build:umd:browser",
|
---|
| 219 | "build:es": "cross-env BABEL_ENV=es babel src --out-dir es --extensions '.ts' --out-file-extension '.mjs' --root-mode 'upward'",
|
---|
| 220 | "build:cjs": "cross-env BABEL_ENV=cjs babel src --out-dir cjs --extensions '.ts' --out-file-extension '.cjs' --root-mode 'upward'",
|
---|
| 221 | "build:umd:browser": "cross-env BABEL_ENV=browser webpack --config config/webpack/browser.config.js --progress",
|
---|
| 222 | "lint": "eslint ./",
|
---|
| 223 | "lint:fix": "eslint ./ --fix",
|
---|
| 224 | "clean": "rimraf ./es ./cjs ./dist ./types",
|
---|
| 225 | "test": "cross-env NODE_ENV=test BABEL_ENV=cjs mocha",
|
---|
| 226 | "perf": "cross-env NODE_ENV=test BABEL_ENV=cjs node ./test/perf/index.cjs",
|
---|
| 227 | "perf:openapi-3-1-dereference": "cross-env NODE_ENV=test BABEL_ENV=cjs node ./test/perf/openapi-3-1-dereference.cjs",
|
---|
| 228 | "typescript:check-types": "tsc --noEmit",
|
---|
| 229 | "typescript:declaration": "tsc -p declaration.tsconfig.json && rollup -c config/rollup/types.dist.js",
|
---|
| 230 | "prepack": "copyfiles -u 3 ../../LICENSES/* LICENSES && copyfiles -u 2 ../../NOTICE .",
|
---|
| 231 | "postpack": "rimraf NOTICE LICENSES"
|
---|
| 232 | },
|
---|
| 233 | "repository": {
|
---|
| 234 | "type": "git",
|
---|
| 235 | "url": "git+https://github.com/swagger-api/apidom.git"
|
---|
| 236 | },
|
---|
| 237 | "author": "Vladimir Gorej",
|
---|
| 238 | "license": "Apache-2.0",
|
---|
| 239 | "dependencies": {
|
---|
| 240 | "@babel/runtime-corejs3": "^7.20.7",
|
---|
| 241 | "@swagger-api/apidom-core": "^0.95.0",
|
---|
| 242 | "@types/ramda": "~0.29.6",
|
---|
| 243 | "axios": "^1.4.0",
|
---|
| 244 | "minimatch": "^7.4.3",
|
---|
| 245 | "process": "^0.11.10",
|
---|
| 246 | "ramda": "~0.29.1",
|
---|
| 247 | "ramda-adjunct": "^4.1.1",
|
---|
| 248 | "stampit": "^4.3.2"
|
---|
| 249 | },
|
---|
| 250 | "optionalDependencies": {
|
---|
| 251 | "@swagger-api/apidom-error": "^0.95.0",
|
---|
| 252 | "@swagger-api/apidom-json-pointer": "^0.95.0",
|
---|
| 253 | "@swagger-api/apidom-ns-asyncapi-2": "^0.95.0",
|
---|
| 254 | "@swagger-api/apidom-ns-openapi-2": "^0.95.0",
|
---|
| 255 | "@swagger-api/apidom-ns-openapi-3-0": "^0.95.0",
|
---|
| 256 | "@swagger-api/apidom-ns-openapi-3-1": "^0.95.0",
|
---|
| 257 | "@swagger-api/apidom-ns-workflows-1": "^0.95.0",
|
---|
| 258 | "@swagger-api/apidom-parser-adapter-api-design-systems-json": "^0.95.0",
|
---|
| 259 | "@swagger-api/apidom-parser-adapter-api-design-systems-yaml": "^0.95.0",
|
---|
| 260 | "@swagger-api/apidom-parser-adapter-asyncapi-json-2": "^0.95.0",
|
---|
| 261 | "@swagger-api/apidom-parser-adapter-asyncapi-yaml-2": "^0.95.0",
|
---|
| 262 | "@swagger-api/apidom-parser-adapter-json": "^0.95.0",
|
---|
| 263 | "@swagger-api/apidom-parser-adapter-openapi-json-2": "^0.95.0",
|
---|
| 264 | "@swagger-api/apidom-parser-adapter-openapi-json-3-0": "^0.95.0",
|
---|
| 265 | "@swagger-api/apidom-parser-adapter-openapi-json-3-1": "^0.95.0",
|
---|
| 266 | "@swagger-api/apidom-parser-adapter-openapi-yaml-2": "^0.95.0",
|
---|
| 267 | "@swagger-api/apidom-parser-adapter-openapi-yaml-3-0": "^0.95.0",
|
---|
| 268 | "@swagger-api/apidom-parser-adapter-openapi-yaml-3-1": "^0.95.0",
|
---|
| 269 | "@swagger-api/apidom-parser-adapter-workflows-json-1": "^0.95.0",
|
---|
| 270 | "@swagger-api/apidom-parser-adapter-workflows-yaml-1": "^0.95.0",
|
---|
| 271 | "@swagger-api/apidom-parser-adapter-yaml-1-2": "^0.95.0"
|
---|
| 272 | },
|
---|
| 273 | "devDependencies": {
|
---|
| 274 | "@swagger-api/apidom-error": "*",
|
---|
| 275 | "@swagger-api/apidom-json-pointer": "*",
|
---|
| 276 | "@swagger-api/apidom-ns-asyncapi-2": "*",
|
---|
| 277 | "@swagger-api/apidom-ns-openapi-2": "*",
|
---|
| 278 | "@swagger-api/apidom-ns-openapi-3-0": "*",
|
---|
| 279 | "@swagger-api/apidom-ns-openapi-3-1": "*",
|
---|
| 280 | "@swagger-api/apidom-ns-workflows-1": "*",
|
---|
| 281 | "@swagger-api/apidom-parser-adapter-api-design-systems-json": "*",
|
---|
| 282 | "@swagger-api/apidom-parser-adapter-api-design-systems-yaml": "*",
|
---|
| 283 | "@swagger-api/apidom-parser-adapter-asyncapi-json-2": "*",
|
---|
| 284 | "@swagger-api/apidom-parser-adapter-asyncapi-yaml-2": "*",
|
---|
| 285 | "@swagger-api/apidom-parser-adapter-json": "*",
|
---|
| 286 | "@swagger-api/apidom-parser-adapter-openapi-json-2": "*",
|
---|
| 287 | "@swagger-api/apidom-parser-adapter-openapi-json-3-0": "*",
|
---|
| 288 | "@swagger-api/apidom-parser-adapter-openapi-json-3-1": "*",
|
---|
| 289 | "@swagger-api/apidom-parser-adapter-openapi-yaml-2": "*",
|
---|
| 290 | "@swagger-api/apidom-parser-adapter-openapi-yaml-3-0": "*",
|
---|
| 291 | "@swagger-api/apidom-parser-adapter-openapi-yaml-3-1": "*",
|
---|
| 292 | "@swagger-api/apidom-parser-adapter-workflows-json-1": "*",
|
---|
| 293 | "@swagger-api/apidom-parser-adapter-workflows-yaml-1": "*",
|
---|
| 294 | "@swagger-api/apidom-parser-adapter-yaml-1-2": "*",
|
---|
| 295 | "axios-mock-adapter": "^1.21.4"
|
---|
| 296 | },
|
---|
| 297 | "files": [
|
---|
| 298 | "cjs/",
|
---|
| 299 | "dist/",
|
---|
| 300 | "es/",
|
---|
| 301 | "types/",
|
---|
| 302 | "LICENSES",
|
---|
| 303 | "NOTICE",
|
---|
| 304 | "README.md",
|
---|
| 305 | "CHANGELOG.md"
|
---|
| 306 | ],
|
---|
| 307 | "gitHead": "c56f672154649ce4b6236e4f5e12e05e34867fd7"
|
---|
| 308 | }
|
---|