swagger-client 3.9.1 → 3.9.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "swagger-client",
3
- "version": "3.9.1",
3
+ "version": "3.9.5",
4
4
  "description": "SwaggerJS - a collection of interfaces for OAI specs",
5
5
  "main": "dist/index.js",
6
6
  "unpkg": "browser/index.js",
@@ -26,19 +26,19 @@
26
26
  "scripts": {
27
27
  "automated-release": "release-it --config ./release/.release-it.json",
28
28
  "build": "run-s build:umd build:bundle",
29
- "build:umd": "cross-env NODE_ENV=production webpack -p --config ./webpack.config.js",
30
- "build:umd:dev": "cross-env NODE_ENV=development webpack --config ./webpack.config.js",
31
- "build:umd:dev:watch": "npm run build:dev -- --watch --progress",
32
- "build:bundle": "cross-env NODE_ENV=production webpack -p --config ./webpack.bundle.config.js",
33
- "build:bundle:dev": "cross-env NODE_ENV=development webpack --config ./webpack.bundle.config.js",
29
+ "build:umd": "webpack --config webpack/core.babel.js",
30
+ "build:bundle": "webpack --config webpack/bundle.babel.js",
34
31
  "deps": "run-s deps:license deps:size",
35
32
  "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",
36
- "deps:size": "webpack -p --config webpack.check.js --json | webpack-bundle-size-analyzer >| $npm_package_config_deps_check_dir/sizes.txt",
33
+ "deps:size": "webpack --config webpack/test_size.babel.js --json | webpack-bundle-size-analyzer >| $npm_package_config_deps_check_dir/sizes.txt",
34
+ "security-audit": "run-s -sc security-audit:all security-audit:prod",
35
+ "security-audit:prod": "npm-audit-ci-wrapper -p -t low",
36
+ "security-audit:all": "npm-audit-ci-wrapper -t moderate",
37
37
  "test": "run-s test:unit test:lint test:size",
38
38
  "test:lint": "eslint src/ test/",
39
39
  "test:size": "npm run build:bundle && bundlesize",
40
40
  "test:unit": "run-s test:unit:setup test:unit:run test:unit:teardown",
41
- "test:unit:setup": "webpack --config webpack.test.config.js --output-path ./test/webpack-bundle/.tmp",
41
+ "test:unit:setup": "webpack --config webpack/test_webpack_build.babel.js",
42
42
  "test:unit:run": "jest --runInBand",
43
43
  "test:unit:teardown": "rm -rf ./test-webpack/.tmp",
44
44
  "test:unit:watch": "jest --watch"
@@ -53,17 +53,22 @@
53
53
  ],
54
54
  "license": "Apache-2.0",
55
55
  "devDependencies": {
56
- "babel-core": "^6.26.3",
57
- "babel-eslint": "^6.0.2",
58
- "babel-loader": "^6.3.2",
59
- "babel-plugin-add-module-exports": "^0.2.1",
60
- "babel-plugin-transform-async-to-generator": "^6.24.1",
61
- "babel-plugin-transform-es2015-destructuring": "^6.23.0",
62
- "babel-plugin-transform-object-rest-spread": "6.16.0",
63
- "babel-plugin-transform-runtime": "6.15.0",
64
- "babel-preset-env": "^1.6.1",
65
- "babel-preset-es2015": "^6.22.0",
66
- "babel-preset-stage-3": "^6.24.1",
56
+ "@babel/core": "^7.0.0",
57
+ "@babel/plugin-proposal-class-properties": "^7.0.0",
58
+ "@babel/plugin-proposal-json-strings": "^7.0.0",
59
+ "@babel/plugin-proposal-object-rest-spread": "^7.0.0",
60
+ "@babel/plugin-syntax-dynamic-import": "^7.0.0",
61
+ "@babel/plugin-syntax-import-meta": "^7.0.0",
62
+ "@babel/plugin-transform-async-to-generator": "^7.0.0",
63
+ "@babel/plugin-transform-destructuring": "^7.0.0",
64
+ "@babel/plugin-transform-runtime": "^7.0.0",
65
+ "@babel/preset-env": "^7.0.0",
66
+ "@babel/register": "^7.5.5",
67
+ "@release-it/conventional-changelog": "^1.1.0",
68
+ "babel-core": "^7.0.0-bridge.0",
69
+ "babel-eslint": "^9.0.0",
70
+ "babel-jest": "^24.8.0",
71
+ "babel-loader": "^8.0.0",
67
72
  "bundlesize": "^0.17.2",
68
73
  "clone": "^2.1.2",
69
74
  "conventional-changelog-angular": "^5.0.0",
@@ -76,20 +81,23 @@
76
81
  "expect": "^24.8.0",
77
82
  "fetch-mock": "^5.12.0",
78
83
  "glob": "^7.1.1",
79
- "jest": "^23.6.0",
84
+ "jest": "^24.8.0",
80
85
  "json-loader": "^0.5.4",
81
86
  "license-checker": "^8.0.3",
82
87
  "nock": "^10.0.6",
88
+ "npm-audit-ci-wrapper": "^2.3.0",
83
89
  "npm-run-all": "^4.1.3",
84
- "release-it": "^7.4.8",
85
- "webpack": "^3.11.0",
90
+ "release-it": "^12.3.3",
91
+ "terser-webpack-plugin": "^1.3.0",
92
+ "webpack": "^4.36.1",
86
93
  "webpack-bundle-size-analyzer": "^2.2.0",
94
+ "webpack-cli": "^3.3.6",
95
+ "webpack-node-externals": "^1.7.2",
87
96
  "xmock": "^0.3.0"
88
97
  },
89
98
  "dependencies": {
90
- "@kyleshockey/js-yaml": "^1.0.1",
99
+ "@babel/runtime-corejs2": "^7.0.0",
91
100
  "@kyleshockey/object-assign-deep": "^0.4.0",
92
- "babel-runtime": "^6.26.0",
93
101
  "btoa": "1.1.2",
94
102
  "buffer": "^5.1.0",
95
103
  "cookie": "^0.3.1",
@@ -98,7 +106,8 @@
98
106
  "encode-3986": "^1.0.0",
99
107
  "fast-json-patch": "~2.1.0",
100
108
  "isomorphic-form-data": "0.0.1",
101
- "lodash": "^4.16.2",
109
+ "js-yaml": "^3.13.1",
110
+ "lodash": "^4.17.14",
102
111
  "qs": "^6.3.0",
103
112
  "querystring-browser": "^1.0.4",
104
113
  "traverse": "^0.6.6",