1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-10-18 20:09:08 +02:00
unleash.unleash/frontend
renovate[bot] cbfeedf489
chore(deps): update node.js to v14.21.1 (#2385)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [node](https://togithub.com/nodejs/node) | minor | `14.20` -> `14.21`
|
| [node](https://togithub.com/nodejs/node) | minor | `14.20.1` ->
`14.21.1` |

---

### Release Notes

<details>
<summary>nodejs/node</summary>

###
[`v14.21.1`](https://togithub.com/nodejs/node/releases/tag/v14.21.1):
2022-11-04, Version 14.21.1 &#x27;Fermium&#x27; (LTS),
@&#8203;BethGriggs

[Compare
Source](https://togithub.com/nodejs/node/compare/v14.21.0...v14.21.1)

This is a security release.

##### Notable changes

The following CVEs are fixed in this release:

-
**[CVE-2022-43548](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-43548)**:
DNS rebinding in --inspect via invalid octal IP address (Medium)

More detailed information on each of the vulnerabilities can be found in
[November 2022 Security
Releases](https://nodejs.org/en/blog/vulnerability/november-2022-security-releases/)
blog post.

##### Commits

- \[[`2b433af094`](https://togithub.com/nodejs/node/commit/2b433af094)]
- **inspector**: harden IP address validation again (Tobias Nießen)
[nodejs-private/node-private#&#8203;354](https://togithub.com/nodejs-private/node-private/pull/354)

###
[`v14.21.0`](https://togithub.com/nodejs/node/releases/tag/v14.21.0):
2022-11-01, Version 14.21.0 &#x27;Fermium&#x27; (LTS),
@&#8203;danielleadams

[Compare
Source](https://togithub.com/nodejs/node/compare/v14.20.1...v14.21.0)

##### Notable changes

-   **deps**:
- update corepack to 0.14.2 (Node.js GitHub Bot)
[#&#8203;44775](https://togithub.com/nodejs/node/pull/44775)
-   **src**:
- add --openssl-shared-config option (Daniel Bevenius)
[#&#8203;43124](https://togithub.com/nodejs/node/pull/43124)

##### Commits

- \[[`773f587912`](https://togithub.com/nodejs/node/commit/773f587912)]
- **deps**: cherry-pick
[libuv/libuv@`3a7b955`](https://togithub.com/libuv/libuv/commit/3a7b955)
(Ben Noordhuis)
[#&#8203;43950](https://togithub.com/nodejs/node/pull/43950)
- \[[`a1dea66956`](https://togithub.com/nodejs/node/commit/a1dea66956)]
- **deps**: cherry-pick
[libuv/libuv@`abb109f`](https://togithub.com/libuv/libuv/commit/abb109f)
(Ben Noordhuis)
[#&#8203;43950](https://togithub.com/nodejs/node/pull/43950)
- \[[`98c49d81f5`](https://togithub.com/nodejs/node/commit/98c49d81f5)]
- **deps**: update corepack to 0.14.2 (Node.js GitHub Bot)
[#&#8203;44775](https://togithub.com/nodejs/node/pull/44775)
- \[[`18c43c8518`](https://togithub.com/nodejs/node/commit/18c43c8518)]
- **deps**: update timezone to tz2022e (Richard Lau)
[#&#8203;45094](https://togithub.com/nodejs/node/pull/45094)
- \[[`a1f8e4db48`](https://togithub.com/nodejs/node/commit/a1f8e4db48)]
- **deps**: update corepack to 0.14.1 (Node.js GitHub Bot)
[#&#8203;44704](https://togithub.com/nodejs/node/pull/44704)
- \[[`e55389ca86`](https://togithub.com/nodejs/node/commit/e55389ca86)]
- **deps**: update corepack to 0.14.0 (Node.js GitHub Bot)
[#&#8203;44509](https://togithub.com/nodejs/node/pull/44509)
- \[[`0227462418`](https://togithub.com/nodejs/node/commit/0227462418)]
- **deps**: update corepack to 0.13.0 (Node.js GitHub Bot)
[#&#8203;44318](https://togithub.com/nodejs/node/pull/44318)
- \[[`ee24c320ea`](https://togithub.com/nodejs/node/commit/ee24c320ea)]
- **deps**: update corepack to 0.12.3 (Node.js GitHub Bot)
[#&#8203;44229](https://togithub.com/nodejs/node/pull/44229)
- \[[`28e9891449`](https://togithub.com/nodejs/node/commit/28e9891449)]
- **deps**: update corepack to 0.12.2 (Node.js GitHub Bot)
[#&#8203;44159](https://togithub.com/nodejs/node/pull/44159)
- \[[`b6972c9df2`](https://togithub.com/nodejs/node/commit/b6972c9df2)]
- **deps**: update corepack to 0.12.1 (Node.js GitHub Bot)
[#&#8203;43965](https://togithub.com/nodejs/node/pull/43965)
- \[[`9d6cb3b5f1`](https://togithub.com/nodejs/node/commit/9d6cb3b5f1)]
- **deps**: update corepack to 0.12.0 (Node.js GitHub Bot)
[#&#8203;43748](https://togithub.com/nodejs/node/pull/43748)
- \[[`fa6c276b4f`](https://togithub.com/nodejs/node/commit/fa6c276b4f)]
- **deps**: update Corepack to 0.11.2 (Maël Nison)
[#&#8203;43402](https://togithub.com/nodejs/node/pull/43402)
- \[[`4f83d75626`](https://togithub.com/nodejs/node/commit/4f83d75626)]
- **(SEMVER-MAJOR)** **src,doc,test**: add --openssl-shared-config
option (Daniel Bevenius)
[#&#8203;43124](https://togithub.com/nodejs/node/pull/43124)
- \[[`9487028043`](https://togithub.com/nodejs/node/commit/9487028043)]
- **test**: fix intl tests on small-icu builds (Antoine du Hamel)
[#&#8203;41939](https://togithub.com/nodejs/node/pull/41939)
- \[[`a1d52097f8`](https://togithub.com/nodejs/node/commit/a1d52097f8)]
- **tools**: add more options to track flaky tests (Antoine du Hamel)
[#&#8203;43954](https://togithub.com/nodejs/node/pull/43954)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these
updates again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4xOS4wIiwidXBkYXRlZEluVmVyIjoiMzQuMTkuMCJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-10 15:58:42 +01:00
..
cypress
public
scripts
src Feat/change request permissions (#2382) 2022-11-10 11:08:58 +01:00
.editorconfig
.gitignore Feat/grouping fixes (#1146) 2022-07-25 10:14:02 +00:00
.nvmrc chore(deps): update node.js to v14.21.1 (#2385) 2022-11-10 15:58:42 +01:00
.prettierignore
.prettierrc refactor: format files (#719) 2022-02-18 09:51:10 +01:00
cypress.json
index.html
index.js
package.json chore(deps): update dependency vitest to v0.25.1 (#2384) 2022-11-10 15:58:27 +01:00
README.md
tsconfig.json
tsconfig.node.json
vercel.json
vite.config.ts Feat/invite user (#2061) 2022-09-30 13:01:32 +02:00
yarn
yarn.lock chore(deps): update dependency vitest to v0.25.1 (#2384) 2022-11-10 15:58:27 +01:00

frontend

This directory contains the Unleash Admin UI frontend app.

Run with a local instance of the unleash-api

First, start the unleash-api backend on port 4242. Then, start the frontend dev server:

cd ~/frontend
yarn install
yarn run start

Run with a sandbox instance of the Unleash API

Alternatively, instead of running unleash-api on localhost, you can use a remote instance:

cd ~/frontend
yarn install
yarn run start:sandbox

Running end-to-end tests

We have a set of Cypress tests that run on the build before a PR can be merged so it's important that you check these yourself before submitting a PR. On the server the tests will run against the deployed Heroku app so this is what you probably want to test against:

yarn run start:sandbox

In a different shell, you can run the tests themselves:

yarn run e2e:heroku

If you need to test against patches against a local server instance, you'll need to run that, and then run the end to end tests using:

yarn run e2e

You may also need to test that a feature works against the enterprise version of unleash. Assuming the Heroku instance is still running, this can be done by:

yarn run start:enterprise
yarn run e2e

Generating the OpenAPI client

The frontend uses an OpenAPI client generated from the backend's OpenAPI spec. Whenever there are changes to the backend API, the client should be regenerated:

./scripts/generate-openapi.sh

This script assumes that you have a running instance of the enterprise backend at http://localhost:4242. The new OpenAPI client will be generated from the runtime schema of this instance. The target URL can be changed by setting the UNLEASH_OPENAPI_URL env var.