Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

swagger-client

Package Overview
Dependencies
Maintainers
1
Versions
295
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

swagger-client - npm Package Compare versions

Comparing version 3.10.9 to 3.10.10

dist/swagger-client.browser.js

88

package.json
{
"name": "swagger-client",
"version": "3.10.9",
"version": "3.10.10",
"description": "SwaggerJS - a collection of interfaces for OAI specs",
"engines": {
"node": ">=10.13.0",
"npm": ">=6.4.1"
"node": ">=10.21.0",
"npm": ">=6.14.5"
},
"main": "dist/index.js",
"unpkg": "browser/index.js",
"main": "lib/index.js",
"module": "es/index.js",
"jsnext:main": "es/index.js",
"unpkg": "dist/swagger-client.browser.min.js",
"repository": "git@github.com:swagger-api/swagger-js.git",

@@ -24,5 +26,7 @@ "contributors": [

"package.json",
"dist/index.js",
"browser/index.js",
"browser/index.js.map"
"lib",
"es",
"dist/swagger-client.browser.js",
"dist/swagger-client.browser.min.js",
"dist/swagger-client.browser.min.js.map"
],

@@ -34,21 +38,21 @@ "config": {

"automated-release": "release-it --config ./release/.release-it.json",
"build": "run-s build:browser build:node",
"build:browser": "webpack --config config/webpack/browser.config.babel.js",
"build:node": "webpack --config config/webpack/node.config.babel.js",
"build:bundlesize": "bundlesize --config ./bundlesize.config.json",
"build": "run-s build:umd:browser build:commonjs build:es",
"build:umd:browser": "cross-env BABEL_ENV=browser webpack --progress --config config/webpack/browser.config.babel.js",
"build:commonjs": "cross-env BABEL_ENV=commonjs babel src --out-dir lib",
"build:es": "cross-env BABEL_ENV=es babel src --out-dir es",
"lint": "eslint src/ test/",
"lint:fix": "npm run lint -- --fix",
"test": "run-s test:unit:coverage test:bundle",
"test:unit": "jest --runInBand --config ./config/jest/jest.unit.config.js",
"test:unit:coverage": "jest --runInBand --config ./config/jest/jest.unit.coverage.config.js",
"test:unit:watch": "jest --runInBand --watch --config ./config/jest/jest.unit.config.js",
"test:bundle": "run-s test:bundle:browser test:bundle:node",
"test:bundle:browser": "npm run build:browser && jest --config ./config/jest/jest.bundle-browser.config.js",
"test:bundle:node": "npm run build:node && jest --config ./config/jest/jest.bundle-node.config.js",
"test": "run-s test:unit:coverage test:artifact",
"test:unit": "cross-env BABEL_ENV=commonjs jest --runInBand --config ./config/jest/jest.unit.config.js",
"test:unit:coverage": "cross-env BABEL_ENV=commonjs jest --runInBand --config ./config/jest/jest.unit.coverage.config.js",
"test:unit:watch": "cross-env BABEL_ENV=commonjs jest --runInBand --watch --config ./config/jest/jest.unit.config.js",
"test:artifact": "run-s test:artifact:umd:browser test:artifact:es test:artifact:commonjs",
"test:artifact:umd:browser": "npm run build:umd:browser && cross-env BABEL_ENV=commonjs jest --config ./config/jest/jest.artifact-umd-browser.config.js",
"test:artifact:es": "npm run build:es && cross-env BABEL_ENV=commonjs jest --config ./config/jest/jest.artifact-es.config.js",
"test:artifact:commonjs": "npm run build:commonjs && cross-env BABEL_ENV=commonjs jest --config ./config/jest/jest.artifact-commonjs.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",
"deps:size": "webpack --config config/webpack/browser.config.babel.js --json | webpack-bundle-size-analyzer >| $npm_package_config_deps_check_dir/sizes.txt",
"security-audit": "run-s -sc security-audit:all security-audit:prod",
"security-audit:prod": "npm audit --production --audit-level=low",
"security-audit:all": "npm audit --audit-level=moderate",
"clean": "rimraf ./browser ./dist ./.deps_check ./coverage"
"security-audit": "run-s -sc security-audit:prod security-audit:dev",
"security-audit:prod": "node scripts/npm-audit.js --production --only=prod --audit-level=low",
"security-audit:dev": "node scripts/npm-audit.js --only=dev --audit-level=moderate",
"clean": "rimraf ./dist ./lib ./es ./.deps_check ./coverage"
},

@@ -65,25 +69,31 @@ "keywords": [

"devDependencies": {
"@babel/core": "=7.10.3",
"@babel/plugin-transform-runtime": "=7.10.3",
"@babel/preset-env": "=7.10.3",
"@babel/register": "=7.10.3",
"@commitlint/cli": "=8.3.5",
"@commitlint/config-conventional": "=8.3.4",
"@babel/cli": "=7.10.4",
"@babel/core": "=7.10.4",
"@babel/plugin-transform-runtime": "=7.10.4",
"@babel/preset-env": "=7.10.4",
"@babel/register": "=7.10.4",
"@commitlint/cli": "=9.0.1",
"@commitlint/config-conventional": "=9.0.1",
"@release-it/conventional-changelog": "=1.1.0",
"babel-loader": "=8.1.0",
"bundlesize": "=0.18.0",
"eslint": "=7.2.0",
"babel-plugin-add-module-exports": "=1.0.2",
"babel-plugin-lodash": "=3.3.4",
"cross-env": "=7.0.2",
"eslint": "=7.4.0",
"eslint-config-airbnb-base": "=14.2.0",
"eslint-config-prettier": "=6.11.0",
"eslint-plugin-import": "=2.21.2",
"eslint-plugin-import": "=2.22.0",
"eslint-plugin-prettier": "=3.1.4",
"expect": "=26.0.1",
"fetch-mock": "=9.10.1",
"expect": "=26.1.0",
"fetch-mock": "=9.10.3",
"glob": "=7.1.6",
"husky": "=4.2.5",
"jest": "=24.8.0",
"inspectpack": "=4.5.2",
"install": "=0.13.0",
"jest": "=26.1.0",
"json-loader": "=0.5.7",
"license-checker": "=25.0.1",
"lint-staged": "=10.2.11",
"nock": "=12.0.3",
"lodash-webpack-plugin": "=0.11.5",
"nock": "=13.0.2",
"node-fetch": "=2.6.0",

@@ -98,7 +108,7 @@ "npm-run-all": "=4.1.5",

"webpack-cli": "=3.3.12",
"webpack-node-externals": "=1.7.2",
"webpack-stats-plugin": "=0.3.2",
"xmock": "=0.3.0"
},
"dependencies": {
"@babel/runtime-corejs2": "=7.10.2",
"@babel/runtime-corejs2": "=7.10.4",
"btoa": "=1.2.1",

@@ -105,0 +115,0 @@ "buffer": "=5.6.0",

@@ -18,6 +18,14 @@ # Swagger Client <img src="https://raw.githubusercontent.com/swagger-api/swagger.io/wordpress/images/assets/SW-logo-clr.png" height="50" align="right">

> *The npm package is called `swagger-client` and the GitHub repository is `swagger-js`.
We'll be consolidating that soon. Just giving you the heads up. You may see references to both names.*
## Compatibility
The OpenAPI Specification has undergone multiple revisions since initial creation in 2010.
Compatibility between Swagger Client and the OpenAPI Specification is as follows:
Swagger Client Version | Release Date | OpenAPI Spec compatibility | Notes
------------------ | ------------ | -------------------------- | -----
3.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)
2.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.
## Documentation

@@ -42,4 +50,4 @@

- [Migration guide](docs/migration/migration-2-x-to-3-x.md)
- [Graveyard](docs/migration/graveyard-3-x.md)
- [Migration guide](docs/migration/migration-2-x-to-3-x.md)

@@ -46,0 +54,0 @@ ### Runtime

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc