swagger-ui 4.0.1 → 4.1.3
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/dist/swagger-ui-es-bundle-core.js +1 -1
- package/dist/swagger-ui-es-bundle-core.js.map +1 -1
- package/dist/swagger-ui-es-bundle.js +1 -1
- package/dist/swagger-ui-es-bundle.js.map +1 -1
- package/dist/swagger-ui-standalone-preset.js +1 -1
- package/dist/swagger-ui-standalone-preset.js.map +1 -1
- package/dist/swagger-ui.js +1 -1
- package/dist/swagger-ui.js.map +1 -1
- package/package.json +34 -35
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "swagger-ui",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.1.3",
|
|
4
4
|
"main": "dist/swagger-ui.js",
|
|
5
5
|
"module": "dist/swagger-ui-es-bundle.js",
|
|
6
6
|
"homepage": "https://github.com/swagger-api/swagger-ui",
|
|
@@ -32,20 +32,18 @@
|
|
|
32
32
|
"lint": "eslint --ext \".js,.jsx\" src test",
|
|
33
33
|
"lint-errors": "eslint --quiet --ext \".js,.jsx\" src test",
|
|
34
34
|
"lint-fix": "eslint --ext \".js,.jsx\" src test --fix",
|
|
35
|
-
"test": "run-s just-test-in-node test:unit-jest
|
|
35
|
+
"test": "run-s lint-errors just-test-in-node test:unit-jest cy:ci",
|
|
36
36
|
"test-in-node": "run-s lint-errors just-test-in-node",
|
|
37
37
|
"just-test-in-node": "cross-env BABEL_ENV=test mocha \"test/mocha/**/*.{js,jsx}\"",
|
|
38
|
-
"test
|
|
39
|
-
"test:artifact": "run-s test:artifact:umd:bundle test:artifact:es:bundle test:artifact:es:bundle:core",
|
|
40
|
-
"test:artifact:umd:bundle": "npm run build-bundle && cross-env BABEL_ENV=commonjs jest --config ./config/jest/jest.artifact-umd-bundle.config.js",
|
|
41
|
-
"test:artifact:es:bundle": "npm run build:es:bundle && cross-env BABEL_ENV=commonjs jest --config ./config/jest/jest.artifact-es-bundle.config.js",
|
|
42
|
-
"test:artifact:es:bundle:core": "npm run build:es:bundle:core && cross-env BABEL_ENV=commonjs jest --config ./config/jest/jest.artifact-es-bundle-core.config.js",
|
|
38
|
+
"test:artifact": "jest --config ./config/jest/jest.artifact.config.js",
|
|
43
39
|
"test:unit-jest": "cross-env BABEL_ENV=test jest --config ./config/jest/jest.unit.config.js",
|
|
44
|
-
"mock-api": "json-server --watch test/e2e-selenium/db.json --port 3204",
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"
|
|
40
|
+
"cy:mock-api": "json-server --watch test/e2e-selenium/db.json --port 3204",
|
|
41
|
+
"cy:server": "webpack serve --config webpack/dev-e2e.babel.js --content-base test/e2e-cypress/static",
|
|
42
|
+
"cy:start": "run-p -r cy:server cy:mock-api",
|
|
43
|
+
"cy:open": "cypress open",
|
|
44
|
+
"cy:run": "cypress run",
|
|
45
|
+
"cy:ci": "start-server-and-test cy:start http://localhost:3204 cy:run",
|
|
46
|
+
"cy:dev": "start-server-and-test cy:start http://localhost:3204 cy:open",
|
|
49
47
|
"open-static": "node -e \"require('open')('http://localhost:3002')\"",
|
|
50
48
|
"security-audit": "run-s -sc security-audit:all security-audit:prod",
|
|
51
49
|
"security-audit:prod": "npm-audit-ci-wrapper -p -t low",
|
|
@@ -54,7 +52,7 @@
|
|
|
54
52
|
"start": "npm-run-all --parallel serve-static open-static"
|
|
55
53
|
},
|
|
56
54
|
"dependencies": {
|
|
57
|
-
"@babel/runtime-corejs3": "^7.
|
|
55
|
+
"@babel/runtime-corejs3": "^7.16.3",
|
|
58
56
|
"@braintree/sanitize-url": "^5.0.2",
|
|
59
57
|
"base64-js": "^1.5.1",
|
|
60
58
|
"classnames": "^2.3.1",
|
|
@@ -70,15 +68,15 @@
|
|
|
70
68
|
"prop-types": "^15.7.2",
|
|
71
69
|
"randombytes": "^2.1.0",
|
|
72
70
|
"react": "=17.0.2",
|
|
73
|
-
"react-copy-to-clipboard": "5.0.
|
|
71
|
+
"react-copy-to-clipboard": "5.0.4",
|
|
74
72
|
"react-debounce-input": "=3.2.4",
|
|
75
73
|
"react-dom": "=17.0.2",
|
|
76
74
|
"react-immutable-proptypes": "2.2.0",
|
|
77
75
|
"react-immutable-pure-component": "^2.2.0",
|
|
78
76
|
"react-inspector": "^5.1.1",
|
|
79
77
|
"react-redux": "^7.2.4",
|
|
80
|
-
"react-syntax-highlighter": "^15.4.
|
|
81
|
-
"redux": "^4.1.
|
|
78
|
+
"react-syntax-highlighter": "^15.4.5",
|
|
79
|
+
"redux": "^4.1.2",
|
|
82
80
|
"redux-immutable": "^4.0.0",
|
|
83
81
|
"remarkable": "^2.0.1",
|
|
84
82
|
"reselect": "^4.0.0",
|
|
@@ -93,20 +91,20 @@
|
|
|
93
91
|
"devDependencies": {
|
|
94
92
|
"@babel/cli": "=7.14.5",
|
|
95
93
|
"@babel/core": "=7.14.6",
|
|
96
|
-
"@babel/eslint-parser": "=7.
|
|
97
|
-
"@babel/plugin-proposal-class-properties": "=7.
|
|
98
|
-
"@babel/plugin-proposal-nullish-coalescing-operator": "=7.
|
|
99
|
-
"@babel/plugin-proposal-optional-chaining": "=7.
|
|
100
|
-
"@babel/plugin-transform-runtime": "=7.
|
|
94
|
+
"@babel/eslint-parser": "=7.16.3",
|
|
95
|
+
"@babel/plugin-proposal-class-properties": "=7.16.0",
|
|
96
|
+
"@babel/plugin-proposal-nullish-coalescing-operator": "=7.16.0",
|
|
97
|
+
"@babel/plugin-proposal-optional-chaining": "=7.16.0",
|
|
98
|
+
"@babel/plugin-transform-runtime": "=7.16.4",
|
|
101
99
|
"@babel/preset-env": "=7.14.7",
|
|
102
100
|
"@babel/preset-react": "=7.14.5",
|
|
103
101
|
"@babel/register": "=7.16.0",
|
|
104
|
-
"@commitlint/cli": "^
|
|
105
|
-
"@commitlint/config-conventional": "^
|
|
102
|
+
"@commitlint/cli": "^15.0.0",
|
|
103
|
+
"@commitlint/config-conventional": "^15.0.0",
|
|
106
104
|
"@jest/globals": "=27.0.6",
|
|
107
105
|
"@release-it/conventional-changelog": "=3.0.1",
|
|
108
|
-
"@wojtekmaj/enzyme-adapter-react-17": "=0.6.
|
|
109
|
-
"autoprefixer": "^10.
|
|
106
|
+
"@wojtekmaj/enzyme-adapter-react-17": "=0.6.5",
|
|
107
|
+
"autoprefixer": "^10.4.0",
|
|
110
108
|
"babel-loader": "^8.2.3",
|
|
111
109
|
"babel-plugin-lodash": "=3.3.4",
|
|
112
110
|
"babel-plugin-module-resolver": "=4.1.0",
|
|
@@ -115,30 +113,30 @@
|
|
|
115
113
|
"cors": "^2.8.5",
|
|
116
114
|
"cross-env": "=7.0.3",
|
|
117
115
|
"css-loader": "=5.2.7",
|
|
118
|
-
"cssnano": "=5.0.
|
|
119
|
-
"cypress": "=
|
|
116
|
+
"cssnano": "=5.0.11",
|
|
117
|
+
"cypress": "=9.0.0",
|
|
120
118
|
"dedent": "^0.7.0",
|
|
121
119
|
"deepmerge": "^4.0.0",
|
|
122
120
|
"enzyme": "=3.11.0",
|
|
123
121
|
"eslint": "^7.29.0",
|
|
124
|
-
"eslint-plugin-import": "^2.25.
|
|
125
|
-
"eslint-plugin-jest": "^
|
|
122
|
+
"eslint-plugin-import": "^2.25.3",
|
|
123
|
+
"eslint-plugin-jest": "^25.2.4",
|
|
126
124
|
"eslint-plugin-mocha": "^9.0.0",
|
|
127
|
-
"eslint-plugin-react": "^7.
|
|
125
|
+
"eslint-plugin-react": "^7.27.0",
|
|
128
126
|
"esm": "=3.2.25",
|
|
129
127
|
"expect": "=27.3.1",
|
|
130
128
|
"express": "^4.17.1",
|
|
131
129
|
"file-loader": "^6.0.0",
|
|
132
130
|
"git-describe": "^4.1.0",
|
|
133
|
-
"husky": "=7.0.
|
|
131
|
+
"husky": "=7.0.4",
|
|
134
132
|
"ignore-assets-webpack-plugin": "^2.0.1",
|
|
135
133
|
"inspectpack": "=4.7.1",
|
|
136
134
|
"jest": "=27.0.6",
|
|
137
135
|
"jsdom": "=16.6.0",
|
|
138
136
|
"json-loader": "^0.5.7",
|
|
139
137
|
"json-merger": "^1.1.6",
|
|
140
|
-
"json-server": "=0.
|
|
141
|
-
"less": "^4.1.
|
|
138
|
+
"json-server": "=0.17.0",
|
|
139
|
+
"less": "^4.1.2",
|
|
142
140
|
"license-checker": "^25.0.0",
|
|
143
141
|
"lint-staged": "=11.2.6",
|
|
144
142
|
"local-web-server": "^4.2.1",
|
|
@@ -158,8 +156,9 @@
|
|
|
158
156
|
"rimraf": "^3.0.0",
|
|
159
157
|
"sass": "^1.35.1",
|
|
160
158
|
"sass-loader": "^9.0.3",
|
|
161
|
-
"sinon": "=12.0.
|
|
162
|
-
"source-map-support": "^0.5.
|
|
159
|
+
"sinon": "=12.0.1",
|
|
160
|
+
"source-map-support": "^0.5.21",
|
|
161
|
+
"start-server-and-test": "=1.14.0",
|
|
163
162
|
"tachyons-sass": "^4.9.5",
|
|
164
163
|
"terser-webpack-plugin": "^4.2.3",
|
|
165
164
|
"url-loader": "^4.1.1",
|