{"name":"swagger-client","version":"3.8.2","keywords":["oai","swagger","js","spec","resolver","json-refs"],"license":"Apache-2.0","_id":"swagger-client@3.8.2","maintainers":[{"name":"swagger-api","email":"apiteam@swagger.io"}],"contributors":[{"url":"in alphabetical order"},{"name":"Anna Bodnia","email":"anna.bodnia@gmail.com"},{"name":"Buu Nguyen","email":"buunguyen@gmail.com"},{"name":"Josh Ponelat","email":"jponelat@gmail.com"},{"name":"Kyle Shockey","email":"kyleshockey1@gmail.com"},{"name":"Sahar Jafari","email":"shr.jafari@gmail.com"}],"homepage":"https://github.com/swagger-api/swagger-js#readme","bugs":{"url":"https://github.com/swagger-api/swagger-js/issues"},"dist":{"shasum":"1d224b47cfde1aebfe800b2857ae855e1002c5f6","tarball":"http://registry-npm.ywwl.com/swagger-client/download/swagger-client-3.8.2.tgz","fileCount":4,"integrity":"sha512-MRAC1vcdt0/6ao7fZaBCBkBa3jZd5TJJN7tI+P3YUZR4PejyRTWo+6V1oIC1VlUjh0E7A+6Pwsrg8NQxEGhIUQ==","signatures":[{"sig":"MEYCIQDqGAGkdtt46T2Il0qa585m6iiuuB8PRA3xbifvHMSYxgIhAINazoWxJkt7EcO/+70ntFAYvRv4HtF7+Gov0OHfqeWs","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":64112,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa8P8uCRA9TVsSAnZWagAALzEP/3WBU5BvBdy4cCMrYlIr\nLsuTz/cl0vQqeWUKW120n+GM3N4sDw1+pZxcqhsMK7nBq0KCTcTwecYtuZCi\nTZkKAg+SAJfcNbSVkj38sIhT0nUqe/1h+6CJsgS6zpsSjhAJ7ydJ9bbtmSgt\nQglTBPtdqNWf65qVYOgj85hxyLPtIhYIkdSBfeTfYqbHR7aRaPyHU6j4IbAS\n3vO8babli303gJ+V4X61BMoXi32ID7SUm7hTgMW8ZsKEXAGGf9Bg/Sa2RU27\nM2QmPyQ+N4l/jRrgF3JMO7BVntssEHsHVlrkTIW5y/3HBOhfjzidj93z86bL\nuXqD3WWQ8IUgMnH/v2wWHnbjTUjwkamDK4qEV2ttz9y+I0UQpZzH4tYsaaSq\nppThafvS024McIN9PWbjW9tOJ8BTBM+hy/w6ZvQM67vxi6cX3ntGJ/c9eDt3\n8zqgAPnR+XFNqotpVKqzuchllLFPaPzS0vKE0O1/arTi7rM7HNt+NQcX7+Pn\n8ChfBly2aytkT8dgAeRH9HFhmiE0r2eD16hY64ih28P9NO/3unNMEVjYEaC0\nFCaiAxN6yq4rXrkhGRNPqHao2AkU1RspepT/O2XbzpFrIjuctV1HAvphWhM4\nTPp25GPYj0tKVDqeoGvDi0aU4ItJjJal9sR/5YwNDNgmlL21cnsYvyetQQg4\nCqaM\r\n=ZBu4\r\n-----END PGP SIGNATURE-----\r\n","size":20484,"noattachment":false,"key":"/swagger-client/-/swagger-client-3.8.2.tgz"},"main":"dist/index.js","_from":".","config":{"deps_check_dir":".deps_check"},"_shasum":"1d224b47cfde1aebfe800b2857ae855e1002c5f6","gitHead":"2e3518c67c29cbb87e37195aa07c1f9f9640e6e3","scripts":{"lint":"eslint src/ test/","test":"npm run just-test && npm run lint","build":"cross-env NODE_ENV=production webpack -p --config ./webpack.config.js","watch":"webpack --config webpack.config.js --watch --progress","build-dev":"cross-env NODE_ENV=development webpack --config ./webpack.config.js","deps-size":"webpack -p --config webpack.check.js --json | webpack-bundle-size-analyzer >| $npm_package_config_deps_check_dir/sizes.txt","just-test":"cross-env NODE_ENV=test node ./node_modules/mocha/bin/_mocha --recursive --compilers js:babel-core/register","deps-check":"npm run deps-license && npm run deps-size","test:watch":"npm run test -- -w","build-bundle":"cross-env NODE_ENV=production webpack -p --config ./webpack.bundle.config.js","deps-license":"license-checker --production --csv --out $npm_package_config_deps_check_dir/licenses.csv && license-checker --development --csv --out $npm_package_config_deps_check_dir/licenses-dev.csv","build-dev-bundle":"cross-env NODE_ENV=development webpack --config ./webpack.bundle.config.js"},"_npmUser":{"name":"swagger-api","email":"apiteam@swagger.io"},"repository":{"url":"git+ssh://git@github.com/swagger-api/swagger-js.git","type":"git"},"_npmVersion":"3.10.10","description":"SwaggerJS - a collection of interfaces for OAI specs","directories":{},"_nodeVersion":"6.14.2","dependencies":{"qs":"^6.3.0","url":"^0.11.0","btoa":"1.1.2","cookie":"^0.3.1","lodash":"^4.16.2","js-yaml":"^3.8.1","utfstring":"^2.0.0","utf8-bytes":"0.0.1","cross-fetch":"0.0.8","deep-extend":"^0.5.1","encode-3986":"^1.0.0","babel-runtime":"^6.23.0","fast-json-patch":"^2.0.6","isomorphic-form-data":"0.0.1","@kyleshockey/object-assign-deep":"^0.4.0"},"_hasShrinkwrap":false,"devDependencies":{"glob":"^7.1.1","clone":"^2.1.2","mocha":"^2.4.5","xmock":"^0.3.0","eslint":"^3.18.0","expect":"^1.20.2","webpack":"^3.11.0","traverse":"^0.6.6","cross-env":"^5.1.4","deepmerge":"^1.3.0","babel-core":"^6.26.3","fetch-mock":"^5.12.0","json-loader":"^0.5.4","babel-eslint":"^6.0.2","babel-loader":"^6.3.2","license-checker":"^8.0.3","babel-preset-env":"^1.6.1","babel-preset-es2015":"^6.22.0","babel-preset-stage-3":"^6.24.1","eslint-plugin-import":"^2.11.0","eslint-config-airbnb-base":"^11.1.1","webpack-bundle-size-analyzer":"^2.2.0","babel-plugin-transform-runtime":"6.15.0","babel-plugin-transform-async-to-generator":"^6.24.1","babel-plugin-transform-object-rest-spread":"6.16.0","babel-plugin-transform-es2015-destructuring":"^6.23.0"},"_npmOperationalInternal":{"tmp":"tmp/swagger-client_3.8.2_1525743405553_0.9746583721655886","host":"s3://npm-registry-packages"},"readme":"# Swagger Client <img src=\"https://raw.githubusercontent.com/swagger-api/swagger.io/wordpress/images/assets/SW-logo-clr.png\" height=\"50\" align=\"right\">\n\n[![Build Status](https://github.com/swagger-api/swagger-js/actions/workflows/nodejs.yml/badge.svg)](https://github.com/swagger-api/swagger-js/actions)\n\n**Swagger Client** is a JavaScript module that allows you to fetch, resolve, and interact with Swagger/OpenAPI documents.\n\n## New!\n\n**This is the new version of swagger-js, 3.x.** The new version supports Swagger 2.0 as well as OpenAPI 3.\n\nWant to learn more? Check out our [FAQ](docs/migration/migration-2-x-to-3-x.md).\n\nFor features known to be missing from 3.x please see the [Graveyard](docs/migration/graveyard-3-x.md).\n\n\nFor the older version of swagger-js, refer to the [*2.x branch*](https://github.com/swagger-api/swagger-js/tree/2.x).\n\n> *The npm package is called `swagger-client` and the GitHub repository is `swagger-js`.\nWe'll be consolidating that soon. Just giving you the heads-up. You may see references to both names.*\n\n## Compatibility\nThe OpenAPI Specification has undergone multiple revisions since initial creation in 2010. \nCompatibility between Swagger Client and the OpenAPI Specification is as follows:\n\nSwagger Client Version | Release Date | OpenAPI Spec compatibility             | Notes\n------------------ |--------------|----------------------------------------| -----\n3.19.x | 2023-01-23   | 2.0, 3.0.0, 3.0.1, 3.0.2, 3.0.3, 3.1.0 | [tag v3.19.0-alpha.3](https://github.com/swagger-api/swagger-js/releases/tag/v3.19.0-alpha.3)\n3.10.x | 2020-01-17   | 2.0, 3.0.0, 3.0.1, 3.0.2, 3.0.3        | [tag v3.10.0](https://github.com/swagger-api/swagger-js/tree/v3.10.0)\n2.1.32 | 2017-01-12   | 1.0, 1.1, 1.2                          | [tag v2.1.32](https://github.com/swagger-api/swagger-js/tree/v2.1.32). This [release](https://github.com/swagger-api/swagger-js/releases/tag/v2.1.32) is only available on GitHub.\n\n## Documentation\n\n#### Usage\n\n- [Installation](docs/usage/installation.md)\n- [Tags Interface](docs/usage/tags-interface.md)\n- [HTTP client for OAS operations](docs/usage/http-client-for-oas-operations.md)\n- [OpenAPI Definition Resolver](docs/usage/openapi-definition-resolver.md)\n- [HTTP Client](docs/usage/http-client.md)\n- [Swagger Client API](docs/usage/api.md)\n\n#### Development\n\n- [Contributing](https://github.com/swagger-api/.github/blob/master/CONTRIBUTING.md)\n- [Setting up](docs/development/setting-up.md)\n- [Scripts](docs/development/scripts.md)\n\n#### Migrations \n\n- [Migration guide](docs/migration/migration-2-x-to-3-x.md)\n- [Graveyard](docs/migration/graveyard-3-x.md)\n\n### Runtime \n\n### Node.js\n\n`swagger-client` requires Node.js `>=12.20.0` and uses different `fetch` implementation depending\non Node.js version.\n\n- `>=12.20.0 <18` - [node-fetch@3](https://www.npmjs.com/package/node-fetch) \n- `>=18` - [native Node.js fetch](https://nodejs.org/dist/latest-v18.x/docs/api/globals.html#fetch)\n\n> NOTE: swagger-client minimum Node.js runtime version aligns with [Node.js Releases](https://nodejs.org/en/about/releases/)\n> which means that we can drop support for **EOL** (End Of Life) Node.js versions without doing major version bump.\n\n### Browsers\n\n`swagger-client` works in the latest versions of Chrome, Safari, Firefox, and Edge\nand uses [native fetch](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API) implementation\nprovided by each supported browser.\n\n## Security contact\n\nPlease disclose any security-related issues or vulnerabilities by emailing [security@swagger.io](mailto:security@swagger.io), instead of using the public issue tracker.\n","publish_time":1525743405642,"_cnpm_publish_time":1525743405642,"dist-tags":{"alpha":"3.19.0-alpha.4","beta":"3.19.0-beta.8","latest":"3.39.0"}}