swagger-editor 4.2.8 → 4.3.0

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,7 +1,7 @@
1
1
  {
2
2
  "name": "swagger-editor",
3
3
  "description": "Swagger Editor",
4
- "version": "4.2.8",
4
+ "version": "4.3.0",
5
5
  "main": "dist/swagger-editor.js",
6
6
  "module": "dist/swagger-editor-es-bundle.js",
7
7
  "repository": "git@github.com:swagger-api/swagger-editor.git",
@@ -36,13 +36,14 @@
36
36
  "lint": "eslint --cache --ext '.js,.jsx' src test",
37
37
  "lint-errors": "eslint --cache --quiet --ext '.js,.jsx' src test",
38
38
  "lint-fix": "eslint --cache --ext '.js,.jsx' src test --fix",
39
- "cy:start": "webpack serve --port 3260 --host 0.0.0.0 --config webpack/dev.babel.js --inline --hot --progress --content-base test/e2e/static",
39
+ "cy:start": "webpack serve --port 3260 --host 0.0.0.0 --config webpack/dev.babel.js --hot --progress --static test/e2e/static",
40
+ "cy:start:ci": "webpack serve --port 3261 --host 0.0.0.0 --config webpack/e2e.babel.js --hot --progress --static test/e2e/static",
40
41
  "cy:open": "cypress open",
41
42
  "cy:run:chrome": "cypress run --browser chrome",
42
43
  "cy:run:firefox": "cypress run --browser firefox",
43
44
  "cy:run:electron": "cypress run --browser electron",
44
45
  "cy:dev": "cross-env CYPRESS_BASE_URL=http://localhost:3260/ start-server-and-test cy:start http://localhost:3260 cy:open",
45
- "cy:ci": "cross-env CYPRESS_BASE_URL=http://localhost:3001/ start-server-and-test build:serve http://localhost:3001 cy:run:electron",
46
+ "cy:ci": "cross-env CYPRESS_BASE_URL=http://localhost:3261/ start-server-and-test cy:start:ci http://localhost:3261 cy:run:electron",
46
47
  "test": "run-s test:unit-mocha test:unit-jest cy:ci lint-errors",
47
48
  "test-in-node": "run-s lint-errors test:unit-mocha test:unit-jest",
48
49
  "test:unit-jest": "cross-env BABEL_ENV=test jest --config ./config/jest/jest.unit.config.js",
@@ -88,7 +89,7 @@
88
89
  "redux": "=4.2.0",
89
90
  "reselect": "^4.0.0",
90
91
  "swagger-client": "^3.18.5",
91
- "swagger-ui": "^4.12.0",
92
+ "swagger-ui": "^4.13.2",
92
93
  "traverse": "^0.6.6",
93
94
  "validator": "=13.7.0",
94
95
  "yaml-js": "^0.3.1"
@@ -96,7 +97,7 @@
96
97
  "devDependencies": {
97
98
  "@babel/cli": "^7.15.7",
98
99
  "@babel/core": "^7.14.2",
99
- "@babel/eslint-parser": "=7.17.0",
100
+ "@babel/eslint-parser": "=7.18.9",
100
101
  "@babel/plugin-proposal-class-properties": "^7.13.0",
101
102
  "@babel/plugin-proposal-optional-chaining": "^7.14.2",
102
103
  "@babel/plugin-transform-runtime": "^7.14.2",
@@ -104,8 +105,8 @@
104
105
  "@babel/preset-react": "^7.13.13",
105
106
  "@babel/register": "^7.13.16",
106
107
  "@babel/runtime-corejs3": "^7.11.2",
107
- "@commitlint/cli": "^16.2.1",
108
- "@commitlint/config-conventional": "=17.0.0",
108
+ "@commitlint/cli": "^17.0.2",
109
+ "@commitlint/config-conventional": "=17.0.3",
109
110
  "@jest/globals": "^28.0.3",
110
111
  "@pmmmwh/react-refresh-webpack-plugin": "^0.5.4",
111
112
  "@release-it/conventional-changelog": "^4.1.0",
@@ -118,7 +119,7 @@
118
119
  "cross-env": "^7.0.3",
119
120
  "css-loader": "^6.7.1",
120
121
  "cssnano": "^5.0.6",
121
- "cypress": "^9.5.1",
122
+ "cypress": "=10.3.1",
122
123
  "cypress-file-upload": "^5.0.8",
123
124
  "dedent": "^0.7.0",
124
125
  "deep-extend": "^0.6.0",
@@ -128,7 +129,7 @@
128
129
  "eslint-plugin-jest": "^26.1.5",
129
130
  "eslint-plugin-mocha": "^10.0.3",
130
131
  "eslint-plugin-react": "^7.20.0",
131
- "expect": "=28.1.0",
132
+ "expect": "=28.1.3",
132
133
  "git-describe": "^4.0.1",
133
134
  "html-webpack-plugin": "^5.5.0",
134
135
  "html-webpack-skip-assets-plugin": "^1.0.3",
@@ -139,28 +140,28 @@
139
140
  "jsdom": "=19.0.0",
140
141
  "jsdom-global": "3.0.2",
141
142
  "json-loader": "0.5.7",
142
- "less": "^3.11.2",
143
- "less-loader": "^10.2.0",
143
+ "less": "^4.1.3",
144
+ "less-loader": "^11.0.0",
144
145
  "license-checker": "^25.0.0",
145
- "lint-staged": "^12.1.2",
146
- "local-web-server": "=4.2.1",
146
+ "lint-staged": "^13.0.1",
147
+ "local-web-server": "=5.2.1",
147
148
  "mini-css-extract-plugin": "^2.6.0",
148
- "mocha": "=9.2.2",
149
+ "mocha": "=10.0.0",
149
150
  "npm-audit-ci-wrapper": "^3.0.1",
150
151
  "npm-run-all": "^4.1.5",
151
152
  "null-loader": "4.0.1",
152
153
  "open": "^8.0.2",
153
154
  "path-browserify": "^1.0.1",
154
155
  "postcss": "^8.4.5",
155
- "postcss-loader": "^6.2.1",
156
+ "postcss-loader": "^7.0.0",
156
157
  "postcss-preset-env": "^7.2.3",
157
158
  "react-hot-loader": "^1.3.1",
158
- "react-refresh": "^0.12.0",
159
+ "react-refresh": "^0.14.0",
159
160
  "react-test-renderer": "=17.0.2",
160
161
  "release-it": "^14.12.3",
161
162
  "rewiremock": "^3.7.4",
162
163
  "rimraf": "^3.0.2",
163
- "sinon": "=13.0.2",
164
+ "sinon": "=14.0.0",
164
165
  "source-map-explorer": "^2.5.2",
165
166
  "start-server-and-test": "=1.14.0",
166
167
  "terser-webpack-plugin": "^5.3.1",