chore: regenerate package-lock.json (#8411)

package-lock.json was regenerated using Node@16.13.2
and npm@8.1.2. Along with that, these Node.js and npm
versions were set to .nvmrc file.

Given that the dependency tree now changed,
webpack config resolve aliases needed to be
amended to reflect the current dependency tree.
This commit is contained in:
Vladimír Gorej
2023-02-23 16:34:17 +01:00
committed by GitHub
parent 21cfda392f
commit 11957fb868
5 changed files with 8232 additions and 8439 deletions

2
.nvmrc
View File

@@ -1 +1 @@
16.8 16.13.2

View File

@@ -5,10 +5,7 @@ Swagger UI includes a development server that provides hot module reloading and
### Prerequisites ### Prerequisites
- git, any version - git, any version
- **Node.js >=16.13.2** and **npm >=8.1.2** are the minimum required versions that this repo runs on, but we recommend using the latest version of Node.js@16
SwaggerUI Node.js support closely follows [Node.js Release Statuses](https://nodejs.org/en/about/releases/)
and is only expected to work on `Current`, `Active LTS` and `Maintanenace LTS` versions of Node.js.
SwaggerUI may also work on `Pending` or `EOL` versions of Node.js, but it's not guaranteed.
### Steps ### Steps

View File

@@ -4,9 +4,11 @@
### NPM Registry ### NPM Registry
We publish two modules to npm: **`swagger-ui`** and **`swagger-ui-dist`**. We publish three modules to npm: **`swagger-ui`**, **`swagger-ui-dist`** and **`swagger-ui-react`**.
**`swagger-ui`** is meant for consumption by JavaScript web projects that include module bundlers, such as Webpack, Browserify, and Rollup. Its main file exports Swagger UI's main function, and the module also includes a namespaced stylesheet at `swagger-ui/dist/swagger-ui.css`. Here's an example: **`swagger-ui`** is meant for consumption by JavaScript web projects that include module bundlers,
such as Webpack, Browserify, and Rollup. Its main file exports Swagger UI's main function,
and the module also includes a namespaced stylesheet at `swagger-ui/dist/swagger-ui.css`. Here's an example:
```javascript ```javascript
import SwaggerUI from 'swagger-ui' import SwaggerUI from 'swagger-ui'

16645
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -105,9 +105,8 @@ export default function buildConfig(
"@babel/runtime-corejs3": path.resolve(__dirname, "..", "node_modules/@babel/runtime-corejs3"), "@babel/runtime-corejs3": path.resolve(__dirname, "..", "node_modules/@babel/runtime-corejs3"),
"js-yaml": path.resolve(__dirname, "..", "node_modules/js-yaml"), "js-yaml": path.resolve(__dirname, "..", "node_modules/js-yaml"),
"lodash": path.resolve(__dirname, "..", "node_modules/lodash"), "lodash": path.resolve(__dirname, "..", "node_modules/lodash"),
"isarray": path.resolve(__dirname, "..", "node_modules/stream-browserify/node_modules/isarray"), "react-is": path.resolve(__dirname, "..", "node_modules/react-is"),
"react-is": path.resolve(__dirname, "..", "node_modules/react-redux/node_modules/react-is"), "safe-buffer": path.resolve(__dirname, "..", "node_modules/safe-buffer"),
"safe-buffer": path.resolve(__dirname, "..", "node_modules/string_decoder/node_modules/safe-buffer"),
}, },
fallback: { fallback: {
fs: false, fs: false,