1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-10-18 20:09:08 +02:00
unleash.unleash/package.json

222 lines
8.0 KiB
JSON
Raw Normal View History

{
2016-11-10 15:52:49 +01:00
"name": "unleash-server",
2017-02-15 22:23:08 +01:00
"description": "Unleash is an enterprise ready feature toggles service. It provides different strategies for handling feature toggles.",
"version": "5.7.0+main",
"keywords": ["unleash", "feature toggle", "feature", "toggle"],
2016-11-10 15:52:49 +01:00
"files": [
"dist",
"docs",
"frontend/build",
"frontend/build/*",
"frontend/index.js",
"frontend/package.json"
2016-11-10 15:52:49 +01:00
],
2016-05-01 15:43:25 +02:00
"repository": {
"type": "git",
2016-11-13 15:31:10 +01:00
"url": "ssh://git@github.com:unleash/unleash.git"
2016-05-01 15:43:25 +02:00
},
"bugs": {
2016-11-13 15:31:10 +01:00
"url": "https://github.com/unleash/unleash/issues"
2016-05-01 15:43:25 +02:00
},
2021-08-13 13:51:29 +02:00
"types": "./dist/lib/server-impl.d.ts",
2016-05-01 15:43:25 +02:00
"engines": {
"node": ">=18 <21"
2016-05-01 15:43:25 +02:00
},
"license": "Apache-2.0",
"main": "./dist/lib/server-impl.js",
2016-05-01 15:43:25 +02:00
"scripts": {
2023-05-03 09:25:56 +02:00
"start": "TZ=UTC node ./dist/server.js",
"copy-templates": "copyfiles -u 1 src/mailtemplates/**/*.mustache dist/",
"build:backend": "tsc --pretty --strictNullChecks false",
"build:frontend": "yarn --cwd ./frontend run build",
"build:frontend:if-needed": "if [ ! -d ./frontend/build ]; then yarn install --cwd ./frontend --frozen-lockfile --ignore-scripts && yarn build:frontend; fi",
"build": "concurrently \"yarn:copy-templates\" \"yarn:build:frontend\" \"yarn:build:backend\"",
chore: simplify package scripts (#3736) # Simplify package scripts This PR's purpose is to raise a discussion surrounding our current package scripts. It includes some suggestions that aim to simplify the scripts and hopefully bring a much more straightforward approach to developing and contributing to Unleash. Building (prod) should only happen **explicitly** and when needed. ## Before PR (current behavior) - Clone the project; - Open 2 terminals: One for `unleash` and another for `unleash/frontend`; - On `unleash`: - Run `yarn` (which will also build, for some reason?); - Run `yarn start:dev` to start backend in dev mode (`tsc-watch`); - On `unleash/frontend`: - Run `yarn` (which will also build, for some reason?); - Run `yarn start` to start frontend in dev mode (`vite`); So it seems to me like we build unnecessarily every time we install dependencies. Neither dev scripts need to build the project, as backend uses `tsc-watch` and frontend uses `vite`. I'm unsure why this is the case, as building can take a very long time. ![image](https://github.com/Unleash/unleash/assets/14320932/5ecb7df1-e5b4-4d70-ba7e-97119f5d1116) There's also some complexity in the way we need to split the terminal to `cd` into `frontend` and treat it as a different project. The fact that we have different script names is also confusing (`yarn start`, `yarn start:dev`, etc). ## After PR - Clone the project; - Run `yarn` to install all dependencies; - Run `yarn dev` to get started developing Unleash; Running `yarn` should take care of everything needed to start developing. This includes installing dependencies for frontend as well. It should not build projects if we are not being explicit about it, especially since we don't need to build them at this stage. ![image](https://github.com/Unleash/unleash/assets/14320932/614e42fc-3467-432f-91fc-624b1b35c7c1) Running `yarn dev` should start the project in dev mode. This means running both projects in `dev` mode, which for `backend` means running `tsc-watch` and for `frontend` means running `vite`. Here this PR attempts to provide a better DX by using [concurrently](https://www.npmjs.com/package/concurrently) and [wait-on](https://www.npmjs.com/package/wait-on) - This means both tasks are ran simultaneously, stdout is labeled accordingly, and are stopped together. It also means that `frontend` waits for `backend` to be serving at `4242` before starting, since `frontend` starts pretty much immediately with `vite` and `backend` takes a bit longer. Of course, when the `backend` is hot-reloading you may still find some `ECONNREFUSED`s on `frontend` stdout while it recompiles. ![image](https://github.com/Unleash/unleash/assets/14320932/8bde8ee2-3cad-4e3f-a0db-9eed60cfb04d) No more splitting your terminal and treating `frontend` as a separate project. ## Discussion points Maybe there's a better alternative to `tsc-watch`? I briefly explored some alternatives and while they had a much faster starting speed, hot-reload was sometimes slower. IMO we should aspire to run `src/server-dev.ts` directly and only compile when needed. Running `dev:backend` still serves a version of the frontend (at 4242). **Why? Can we remove that behavior?** I can't imagine a scenario in dev where we wouldn't want to run the latest version of the frontend with `vite`. ~~**Note:** This PR removes all other out-of-scope scripts to focus on this revamp. If we decide to merge it, we should evaluate what other existing scripts we still want to include. May be a good opportunity to clean up unused ones and only include the ones we really use. This includes scripts that our GH actions rely on.~~ **Update:** In an effort to minimize impact surface of this PR and make it a bit more ready for merging: - It updates some docs in https://github.com/Unleash/unleash/pull/3736/commits/2a4ff805e87b65d9c1256effaa189ddcccba15fb and https://github.com/Unleash/unleash/pull/3736/commits/1bbc4882519b5a82e3116f0be255ad24a6f3ce53 to reflect our new simplified flow; - It includes the old package scripts for now in https://github.com/Unleash/unleash/pull/3736/commits/039bc04699ac880e491fd3ce01f9bcd6f97a94b9; - It updates some of our GH actions to reflect the new scripts in https://github.com/Unleash/unleash/pull/3736/commits/7782cb9b12e37ee844507e41ef2b7137eaf55666; Given its current status I'll promote the PR to "ready for review". I still think we should have a second look at our existing scripts and GH actions to see what we really need and/or should adapt, but it should be a team effort so we have a broader context. Maybe on a follow-up PR. Does this require any changes to related projects (e.g. Enterprise)? --------- Co-authored-by: Gastón Fournier <gaston@getunleash.io>
2023-05-12 12:23:22 +02:00
"dev:backend": "TZ=UTC NODE_ENV=development tsc-watch --strictNullChecks false --onSuccess \"node dist/server-dev.js\"",
"dev:frontend": "wait-on tcp:4242 && yarn --cwd ./frontend run dev",
"dev": "concurrently \"yarn:dev:backend\" \"yarn:dev:frontend\"",
"prepare": "node scripts/husky-install && yarn --cwd ./frontend install && if [ ! -d ./dist ]; then yarn build; fi",
chore: Optimize docker build oss (#3951) ## About the changes Reduce the build time of OSS docker image from [~30m](https://github.com/Unleash/unleash/actions/workflows/docker_publish.yaml) to [under 15m](https://github.com/Unleash/unleash/actions/runs/5222180536/jobs/9427342758) 1. Build frontend outside docker multiplatform. 2. Allow `frontend/build` to be copied to the image by removing this from `.dockerignore` 3. Run with `--ignore-scripts` to avoid building the frontend on the `prepare` script, but this requires us to run all the prepare scripts manually (except the frontend build). **Note:** we need to build frontend in the `prepare` script to be able to have source code dependencies ## Manual Testing Manually downloaded from https://hub.docker.com/r/unleashorg/unleash-server/tags?page=1 and compared both `unleash` folders from main and the version built with the new process https://github.com/Unleash/unleash/actions/runs/5223078089/jobs/9429430190#step:5:48 ![Screenshot from 2023-06-10 21-11-33](https://github.com/Unleash/unleash/assets/455064/60a41739-904d-480d-8d80-bf17b7a70432) No major difference was spotted (only expected changes due to development done in main) **Command used to extract the contents:** ``` cd /tmp mkdir main && cd main docker pull unleashorg/unleash-server:main-edge-18-alpine docker export $(docker create unleashorg/unleash-server:main-edge-18-alpine) > container.tar && tar xvf container.tar mkdir ../new-process && cd ../new-process docker pull unleashorg/unleash-server:sha-ccac902-18-alpine docker export $(docker create unleashorg/unleash-server:sha-ccac902-18-alpine) > container.tar && tar xvf container.tar meld ./unleash ../main/unleash ```
2023-06-12 09:15:09 +02:00
"prepare:backend": "concurrently \"yarn:copy-templates\" \"yarn:build:backend\"",
2021-08-09 13:34:40 +02:00
"prestart:dev": "yarn run clean",
2023-05-03 09:25:56 +02:00
"start:dev": "TZ=UTC NODE_ENV=development tsc-watch --strictNullChecks false --onSuccess \"node dist/server-dev.js\"",
"db-migrate": "db-migrate --migrations-dir ./src/migrations",
"lint": "biome check .",
"lint:fix": "biome check . --apply",
"local:package": "del-cli --force build && mkdir build && cp -r dist docs CHANGELOG.md LICENSE README.md package.json build",
2021-08-09 13:34:40 +02:00
"prebuild:watch": "yarn run clean",
"build:watch": "tsc -w --strictNullChecks false",
2021-08-09 13:34:40 +02:00
"prebuild": "yarn run clean",
"test": "NODE_ENV=test PORT=4243 jest",
"test:unit": "NODE_ENV=test PORT=4243 jest --testPathIgnorePatterns=src/test/e2e --testPathIgnorePatterns=dist",
2016-11-10 15:52:49 +01:00
"test:docker": "./scripts/docker-postgres.sh",
"test:report": "NODE_ENV=test PORT=4243 jest --reporters=\"default\" --reporters=\"jest-junit\"",
2021-10-26 23:20:36 +02:00
"test:docker:cleanup": "docker rm -f unleash-postgres",
2021-01-26 10:10:37 +01:00
"test:watch": "yarn test --watch",
2022-05-20 11:14:41 +02:00
"test:coverage": "NODE_ENV=test PORT=4243 jest --coverage --testLocationInResults --outputFile=\"coverage/report.json\" --forceExit --testTimeout=10000",
2022-02-11 19:17:25 +01:00
"test:coverage:jest": "NODE_ENV=test PORT=4243 jest --silent --ci --json --coverage --testLocationInResults --outputFile=\"report.json\" --forceExit --testTimeout=10000",
"seed:setup": "ts-node --compilerOptions '{\"strictNullChecks\": false}' src/test/e2e/seed/segment.seed.ts",
"seed:serve": "UNLEASH_DATABASE_NAME=unleash_test UNLEASH_DATABASE_SCHEMA=seed yarn run start:dev",
"clean": "del-cli --force dist",
2022-10-18 21:24:12 +02:00
"preversion": "./scripts/check-release.sh",
"heroku-postbuild": "cd frontend && yarn && yarn build"
2016-11-10 15:52:49 +01:00
},
"jest-junit": {
"suiteName": "Unleash Unit Tests",
"outputDirectory": "./reports",
"outputName": "jest-junit.xml",
"uniqueOutputName": "false",
"classNameTemplate": "{classname}-{title}",
"titleTemplate": "{classname}-{title}",
"ancestorSeparator": " ",
"usePathForSuiteName": "true"
},
"jest": {
"automock": false,
"maxWorkers": 4,
"testTimeout": 10000,
2022-09-01 21:22:15 +02:00
"globalSetup": "./scripts/jest-setup.js",
"transform": {
"^.+\\.tsx?$": ["@swc/jest"]
},
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
"testPathIgnorePatterns": ["/dist/", "/node_modules/", "/frontend/"],
"moduleFileExtensions": ["ts", "tsx", "js", "jsx", "json"],
"coveragePathIgnorePatterns": [
"/node_modules/",
"/dist/",
"/src/migrations",
"/src/test"
]
2019-06-06 08:10:58 +02:00
},
2016-11-10 15:52:49 +01:00
"dependencies": {
2023-11-23 13:41:49 +01:00
"@slack/web-api": "^6.10.0",
"@wesleytodd/openapi": "^0.3.0",
"ajv": "^8.12.0",
"ajv-formats": "^2.1.1",
"async": "^3.2.4",
2022-01-06 20:43:57 +01:00
"bcryptjs": "^2.4.3",
"compression": "^1.7.4",
"connect-session-knex": "^3.0.0",
"cookie-parser": "^1.4.6",
2020-10-02 16:38:51 +02:00
"cookie-session": "^2.0.0-rc.1",
"cors": "^2.8.5",
"date-fns": "^2.25.0",
fix(deps): update dependency db-migrate to v0.11.14 (#4724) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [db-migrate](https://togithub.com/db-migrate/node-db-migrate) | [`0.11.13` -> `0.11.14`](https://renovatebot.com/diffs/npm/db-migrate/0.11.13/0.11.14) | [![age](https://developer.mend.io/api/mc/badges/age/npm/db-migrate/0.11.14?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/db-migrate/0.11.14?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/db-migrate/0.11.13/0.11.14?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/db-migrate/0.11.13/0.11.14?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>db-migrate/node-db-migrate (db-migrate)</summary> ### [`v0.11.14`](https://togithub.com/db-migrate/node-db-migrate/compare/v0.11.13...v0.11.14) [Compare Source](https://togithub.com/db-migrate/node-db-migrate/compare/v0.11.13...v0.11.14) </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 this update 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://developer.mend.io/github/Unleash/unleash). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi44My4wIiwidXBkYXRlZEluVmVyIjoiMzYuODMuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-14 16:05:15 +02:00
"db-migrate": "0.11.14",
fix(deps): update dependency db-migrate-pg to v1.5.2 (#4894) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [db-migrate-pg](https://togithub.com/db-migrate/pg) | [`1.4.2` -> `1.5.2`](https://renovatebot.com/diffs/npm/db-migrate-pg/1.4.2/1.5.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/db-migrate-pg/1.5.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/db-migrate-pg/1.5.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/db-migrate-pg/1.4.2/1.5.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/db-migrate-pg/1.4.2/1.5.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>db-migrate/pg (db-migrate-pg)</summary> ### [`v1.5.2`](https://togithub.com/db-migrate/pg/blob/HEAD/CHANGELOG.md#152-2023-09-12) [Compare Source](https://togithub.com/db-migrate/pg/compare/v1.5.1...v1.5.2) ##### Bug Fixes - **\_getKV:** error: type "string" does not exist due to ::STRING cast ([ec66452](https://togithub.com/db-migrate/pg/commit/ec66452e9efbb6d133a9c19870aeadbb49a2441d)), closes [#&#8203;83](https://togithub.com/db-migrate/pg/issues/83) ### [`v1.5.1`](https://togithub.com/db-migrate/pg/blob/HEAD/CHANGELOG.md#151-2023-09-11) [Compare Source](https://togithub.com/db-migrate/pg/compare/v1.5.0...v1.5.1) ##### Bug Fixes - **createMigrationsTable:** Fix bug where already-quoted search path components could get double-quoted when creating the mirations table. ([79436f3](https://togithub.com/db-migrate/pg/commit/79436f3d261206c5b26c2fa56a69305d8eabbe12)) - **searchPath:** escaping of search ([13e956b](https://togithub.com/db-migrate/pg/commit/13e956bf619b1ec283aa26e32377d2d48c96e074)), closes [#&#8203;46](https://togithub.com/db-migrate/pg/issues/46) ##### Features - support ifNotExists when creating a postgres db ([b554d2b](https://togithub.com/db-migrate/pg/commit/b554d2bb6718fdde29c7a7bd7a642a98251e6d77)) ### [`v1.5.0`](https://togithub.com/db-migrate/pg/blob/HEAD/CHANGELOG.md#150-2023-09-10) [Compare Source](https://togithub.com/db-migrate/pg/compare/v1.4.2...v1.5.0) ##### Bug Fixes - Add check for rules object ([54ed736](https://togithub.com/db-migrate/pg/commit/54ed736bbcdfe11c4211c86c47d7d4c4597976a6)) - **deps:** upgrade semver because of vulnerability ([de3c2ce](https://togithub.com/db-migrate/pg/commit/de3c2ceb9de1806fb8efe84aae4b24184ad13f7a)) ##### Features - **bigserial:** support BIGSERIAL when using autoIncrement with bigint type ([6fcd36d](https://togithub.com/db-migrate/pg/commit/6fcd36d6dc4ce727f5f4c584f60f82e20e392b06)) #### [1.4.2](https://togithub.com/db-migrate/pg/compare/v1.4.1...v1.4.2) (2023-09-07) #### [1.4.1](https://togithub.com/db-migrate/pg/compare/v1.4.0...v1.4.1) (2023-09-07) </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 this update 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://developer.mend.io/github/Unleash/unleash). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4wLjMiLCJ1cGRhdGVkSW5WZXIiOiIzNy4wLjMiLCJ0YXJnZXRCcmFuY2giOiJtYWluIn0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-01 06:33:03 +02:00
"db-migrate-pg": "1.5.2",
"db-migrate-shared": "1.2.0",
"deep-object-diff": "^1.1.9",
"deepmerge": "^4.3.1",
2019-10-03 15:32:48 +02:00
"errorhandler": "^1.5.1",
2022-12-06 12:46:42 +01:00
"express": "^4.18.2",
"express-rate-limit": "^7.1.2",
"express-session": "^1.17.3",
"fast-json-patch": "^3.1.0",
"hash-sum": "^2.0.0",
fix(deps): update dependency helmet to v6 (#2295) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [helmet](https://helmetjs.github.io/) ([source](https://togithub.com/helmetjs/helmet)) | [`^5.0.0` -> `^6.0.0`](https://renovatebot.com/diffs/npm/helmet/5.0.0/6.0.0) | [![age](https://badges.renovateapi.com/packages/npm/helmet/6.0.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/helmet/6.0.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/helmet/6.0.0/compatibility-slim/5.0.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/helmet/6.0.0/confidence-slim/5.0.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>helmetjs/helmet</summary> ### [`v6.0.0`](https://togithub.com/helmetjs/helmet/blob/HEAD/CHANGELOG.md#&#8203;600---2022-08-26) [Compare Source](https://togithub.com/helmetjs/helmet/compare/v5.1.1...v6.0.0) ##### Changed - **Breaking:** `helmet.contentSecurityPolicy` no longer sets `block-all-mixed-content` directive by default - **Breaking:** `helmet.expectCt` is no longer set by default. It can, however, be explicitly enabled. It will be removed in Helmet 7. See [#&#8203;310](https://togithub.com/helmetjs/helmet/issues/310) - **Breaking:** Increase TypeScript strictness around some arguments. Only affects TypeScript users, and may not require any code changes. See [#&#8203;369](https://togithub.com/helmetjs/helmet/issues/369) - `helmet.frameguard` no longer offers a specific error when trying to use `ALLOW-FROM`; it just says that it is unsupported. Only the error message has changed ##### Removed - **Breaking:** Dropped support for Node 12 and 13. Node 14+ is now required ### [`v5.1.1`](https://togithub.com/helmetjs/helmet/blob/HEAD/CHANGELOG.md#&#8203;511---2022-07-23) [Compare Source](https://togithub.com/helmetjs/helmet/compare/v5.1.0...v5.1.1) ##### Changed - Fix TypeScript bug with some TypeScript configurations. See [#&#8203;375](https://togithub.com/helmetjs/helmet/pull/375) and [#&#8203;359](https://togithub.com/helmetjs/helmet/issues/359) ### [`v5.1.0`](https://togithub.com/helmetjs/helmet/blob/HEAD/CHANGELOG.md#&#8203;510---2022-05-17) [Compare Source](https://togithub.com/helmetjs/helmet/compare/v5.0.2...v5.1.0) ##### Added - `Cross-Origin-Embedder-Policy`: support `credentialless` policy. See [#&#8203;365](https://togithub.com/helmetjs/helmet/pull/365) - Documented how to set both `Content-Security-Policy` and `Content-Security-Policy-Report-Only` ##### Changed - Cleaned up some documentation around `Origin-Agent-Cluster` ### [`v5.0.2`](https://togithub.com/helmetjs/helmet/blob/HEAD/CHANGELOG.md#&#8203;502---2022-01-22) [Compare Source](https://togithub.com/helmetjs/helmet/compare/v5.0.1...v5.0.2) ##### Changed - Improve imports for CommonJS and ECMAScript modules. See [#&#8203;345](https://togithub.com/helmetjs/helmet/pull/345) - Fixed some documentation ### [`v5.0.1`](https://togithub.com/helmetjs/helmet/blob/HEAD/CHANGELOG.md#&#8203;501---2022-01-03) [Compare Source](https://togithub.com/helmetjs/helmet/compare/v5.0.0...v5.0.1) ##### Changed - Fixed some documentation ##### Removed - Removed some unused internal code </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update 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:eyJjcmVhdGVkSW5WZXIiOiIzNC42LjEiLCJ1cGRhdGVkSW5WZXIiOiIzNC45LjEifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-09 23:07:20 +01:00
"helmet": "^6.0.0",
"http-errors": "^2.0.0",
feat(#1873/playground): Return detailed information on feature toggle evaluation (#1839) * Feat: return reasons why a feature evaluated to true or false Note: this is very rough and just straight ripped from the nodejs client. It will need a lot of work, but is a good place to start * Feat: add suggested shape for new payload * Chore: minor cleanup * Wip: make server compile again * Remove unused schema ref * Export new schemas * Chore: fix some tests to use sub property * Fix: fix some tests * Refactor: rename some variables, uncomment some stuff * Add segments type to bootstrap options * Add segments capability to offline feature evaluator * Fix function calls after turning params into an option abject * Feat: test strategy order, etc * Feat: add test to check that all strats are returned correctly * Feat: allow you to include strategy ids in clients * Wip: hook up segments in the offline client. Note: compared to regular clients, they still fail * Feat: add segments validation * Fix: fix test case invariant. * Chore: revert to returning only `boolean` from strategies. This _should_ make it work with custom strategies too 🤞 * Feat: make more properties of the returned feature required * Wip: add some comments and unfinished tests for edge cases * Feat: add `isEnabledInCurrentEnvironment` prop * Feat: consider more strategy failure cases * Feat: test that isenabledinenvironment matches expectations * Feat: add unknown strategies * Fix: fix property access typo * Feat: add unknown strategy for fallback purposes * Feat: test edge case: all unknown strategies * Feat: add custom strategy to arbitrary * Feat: test that features can be true, even if not enabled in env * Chore: add some comments * Wip: fix sdk tests * Remove comments, improve test logging * Feat: add descriptions and examples to playground feature schema * Switch `examples` for `example` * Update schemas with descriptions and examples * Fix: update snapshot * Fix: openapi example * Fix: merge issues * Fix: fix issue where feature evaluation state was wrong * Chore: update openapi spec * Fix: fix broken offline client tests * Refactor: move schemas into separate files * Refactor: remove "reason" for incomplete evaluation. The only instances where evaluation is incomplete is when we don't know what the strategy is. * Refactor: move unleash node client into test and dev dependencies * Wip: further removal of stuff * Chore: remove a bunch of code that we don't use * Chore: remove comment * Chore: remove unused code * Fix: fix some prettier errors * Type parameters in strategies to avoid `any` * Fix: remove commented out code * Feat: make `id` required on playground strategies * Chore: remove redundant type * Fix: remove redundant if and fix fallback evaluation * Refactor: reduce nesting and remove duplication * Fix: remove unused helper function * Refactor: type `parameters` as `unknown` * Chore: remove redundant comment * Refactor: move constraint code into a separate file * Refactor: rename `unleash` -> `feature-evaluator` * Rename class `Unleash` -> `FeatureEvaluator` * Refactor: remove this.ready and sync logic from feature evaluator * Refactor: remove unused code, rename config type * Refactor: remove event emission from the Unleash client * Remove unlistened-for events in feature evaluator * Refactor: make offline client synchronous; remove code * Fix: update openapi snapshot after adding required strategy ids * Feat: change `strategies` format. This commit changes the format of a playground feature's `strategies` properties from a list of strategies to an object with properties `result` and `data`. It looks a bit like this: ```ts type Strategies = { result: boolean | "unknown", data: Strategy[] } ``` The reason is that this allows us to avoid the breaking change that was previously suggested in the PR: `feature.isEnabled` used to be a straight boolean. Then, when we found out we couldn't necessarily evaluate all strategies (custom strats are hard!) we changed it to `boolean | 'unevaluated'`. However, this is confusing on a few levels as the playground results are no longer the same as the SDK would be, nor are they strictly boolean anymore. This change reverts the `isEnabled` functionality to what it was before (so it's always a mirror of what the SDK would show). The equivalent of `feature.isEnabled === 'unevaluated'` now becomes `feature.isEnabled && strategy.result === 'unknown'`. * Fix: Fold long string descriptions over multiple lines. * Fix: update snapshot after adding line breaks to descriptions
2022-08-04 15:41:52 +02:00
"ip": "^1.1.8",
"joi": "^17.3.0",
fix(deps): update dependency js-sha256 to ^0.10.0 (#4740) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [js-sha256](https://togithub.com/emn178/js-sha256) | [`^0.9.0` -> `^0.10.0`](https://renovatebot.com/diffs/npm/js-sha256/0.9.0/0.10.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/js-sha256/0.10.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/js-sha256/0.10.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/js-sha256/0.9.0/0.10.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/js-sha256/0.9.0/0.10.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>emn178/js-sha256 (js-sha256)</summary> ### [`v0.10.1`](https://togithub.com/emn178/js-sha256/blob/HEAD/CHANGELOG.md#v0101--2023-08-31) [Compare Source](https://togithub.com/emn178/js-sha256/compare/v0.10.0...v0.10.1) ##### Added - Disable webpack polyfill. ### [`v0.10.0`](https://togithub.com/emn178/js-sha256/blob/HEAD/CHANGELOG.md#v0100--2023-08-30) [Compare Source](https://togithub.com/emn178/js-sha256/compare/v0.9.0...v0.10.0) ##### Fixed - Chrome bug by workaround. [#&#8203;40](https://togithub.com/emn178/js-sha256/issues/40) - deprecated `new Buffer`, replace with `Buffer.from`. [#&#8203;34](https://togithub.com/emn178/js-sha256/issues/34) - dependencies and security issues. [#&#8203;32](https://togithub.com/emn178/js-sha256/issues/32), [#&#8203;36](https://togithub.com/emn178/js-sha256/issues/36) ##### Changed - TypeScript interface, secretKey can be bytes like message. [#&#8203;23](https://togithub.com/emn178/js-sha256/issues/23), [#&#8203;25](https://togithub.com/emn178/js-sha256/issues/25) - remove `eval` and use `require` directly. [#&#8203;18](https://togithub.com/emn178/js-sha256/issues/18), [#&#8203;26](https://togithub.com/emn178/js-sha256/issues/26) </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 this update 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://developer.mend.io/github/Unleash/unleash). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi44My4wIiwidXBkYXRlZEluVmVyIjoiMzYuODMuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-15 08:55:59 +02:00
"js-sha256": "^0.10.0",
"js-yaml": "^4.1.0",
fix(deps): update dependency json-schema-to-ts to v2.9.2 (#4721) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [json-schema-to-ts](https://togithub.com/ThomasAribart/json-schema-to-ts) | [`2.9.1` -> `2.9.2`](https://renovatebot.com/diffs/npm/json-schema-to-ts/2.9.1/2.9.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/json-schema-to-ts/2.9.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/json-schema-to-ts/2.9.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/json-schema-to-ts/2.9.1/2.9.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/json-schema-to-ts/2.9.1/2.9.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>ThomasAribart/json-schema-to-ts (json-schema-to-ts)</summary> ### [`v2.9.2`](https://togithub.com/ThomasAribart/json-schema-to-ts/releases/tag/v2.9.2): 🌈 [Compare Source](https://togithub.com/ThomasAribart/json-schema-to-ts/compare/v2.9.1...v2.9.2) #### Changes - Use caps maj instead of first letter [@&#8203;ThomasAribart](https://togithub.com/ThomasAribart) ([#&#8203;156](https://togithub.com/ThomasAribart/json-schema-to-ts/issues/156)) </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 this update 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://developer.mend.io/github/Unleash/unleash). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi44My4wIiwidXBkYXRlZEluVmVyIjoiMzYuODMuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-14 14:05:04 +02:00
"json-schema-to-ts": "2.9.2",
"json2csv": "^5.0.7",
"knex": "^2.5.1",
Clean up old errors (#3633) This PR attempts to improve the error handling introduced in #3607. ## About the changes ## **tl;dr:** - Make `UnleashError` constructor protected - Make all custom errors inherit from `UnleashError`. - Add tests to ensure that all special error cases include their relevant data - Remove `PasswordMismatchError` and `BadRequestError`. These don't exist. - Add a few new error types: `ContentTypeError`, `NotImplementedError`, `UnauthorizedError` - Remove the `...rest` parameter from error constructor - Add an unexported `GenericUnleashError` class - Move OpenAPI conversion function to `BadDataError` clas - Remove explicit `Error.captureStackTrace`. This is done automatically. - Extract `getPropFromString` function and add tests ### **In a more verbose fashion** The main thing is that all our internal errors now inherit from`UnleashError`. This allows us to simplify the `UnleashError` constructor and error handling in general while still giving us the extra benefits we added to that class. However, it _does_ also mean that I've had to update **all** existing error classes. The constructor for `UnleashError` is now protected and all places that called that constructor directly have been updated. Because the base error isn't available anymore, I've added three new errors to cover use cases that we didn't already have covered: `NotImplementedError`, `UnauthorizedError`, `ContentTypeError`. This is to stay consistent in how we report errors to the user. There is also an internal class, `GenericUnleashError` that inherits from the base error. This class is only used in conversions for cases where we don't know what the error is. It is not exported. In making all the errors inherit, I've also removed the `...rest` parameter from the `UnleashError` constructor. We don't need this anymore. Following on from the fixes with missing properties in #3638, I have added tests for all errors that contain extra data. Some of the error names that were originally used when creating the list don't exist in the backend. `BadRequestError` and `PasswordMismatchError` have been removed. The `BadDataError` class now contains the conversion code for OpenAPI validation errors. In doing so, I extracted and tested the `getPropFromString` function. ### Main files Due to the nature of the changes, there's a lot of files to look at. So to make it easier to know where to turn your attention: The changes in `api-error.ts` contain the main changes: protected constructor, removal of OpenAPI conversion (moved into `BadDataError`. `api-error.test.ts` contains tests to make sure that errors work as expected. Aside from `get-prop-from-string.ts` and the tests, everything else is just the required updates to go through with the changes. ## Discussion points I've gone for inheritance of the Error type over composition. This is in large part because throwing actual Error instances instead of just objects is preferable (because they collect stack traces, for instance). However, it's quite possible that we could solve the same thing in a more elegant fashion using composition. ## For later / suggestions for further improvements The `api-error` files still contain a lot of code. I think it might be beneficial to break each Error into a separate folder that includes the error, its tests, and its schema (if required). It would help decouple it a bit. We don't currently expose the schema anywhere, so it's not available in the openapi spec. We should look at exposing it too. Finally, it would be good to go through each individual error message and update each one to be as helpful as possible.
2023-05-11 11:10:57 +02:00
"lodash.get": "^4.4.2",
"lodash.groupby": "^4.6.0",
"lodash.sortby": "^4.7.0",
"log4js": "^6.0.0",
fix(deps): update dependency make-fetch-happen to v11 (#2296) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [make-fetch-happen](https://togithub.com/npm/make-fetch-happen) | [`^10.1.2` -> `^11.0.0`](https://renovatebot.com/diffs/npm/make-fetch-happen/10.1.2/11.0.1) | [![age](https://badges.renovateapi.com/packages/npm/make-fetch-happen/11.0.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/make-fetch-happen/11.0.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/make-fetch-happen/11.0.1/compatibility-slim/10.1.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/make-fetch-happen/11.0.1/confidence-slim/10.1.2)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>npm/make-fetch-happen</summary> ### [`v11.0.1`](https://togithub.com/npm/make-fetch-happen/blob/HEAD/CHANGELOG.md#&#8203;1101-httpsgithubcomnpmmake-fetch-happencomparev1100v1101-2022-10-17) [Compare Source](https://togithub.com/npm/make-fetch-happen/compare/v11.0.0...v11.0.1) ##### Dependencies - [`ebd86b2`](https://togithub.com/npm/make-fetch-happen/commit/ebd86b27813fde64cdeb1997857735dba7a25f85) [#&#8203;186](https://togithub.com/npm/make-fetch-happen/pull/186) bump minipass-fetch from 2.1.2 to 3.0.0 - [`9c16d84`](https://togithub.com/npm/make-fetch-happen/commit/9c16d84c10dddada3a1d0aeb74ad7b77220dd7eb) [#&#8203;187](https://togithub.com/npm/make-fetch-happen/pull/187) bump ssri from 9.0.1 to 10.0.0 ### [`v11.0.0`](https://togithub.com/npm/make-fetch-happen/blob/HEAD/CHANGELOG.md#&#8203;1100-httpsgithubcomnpmmake-fetch-happencomparev1021v1100-2022-10-13) [Compare Source](https://togithub.com/npm/make-fetch-happen/compare/v10.2.1...v11.0.0) ##### ⚠️ BREAKING CHANGES - this module no longer attempts to change file ownership automatically - `make-fetch-happen` is now compatible with the following semver range for node: `^14.17.0 || ^16.13.0 || >=18.0.0` ##### Features - [`c293053`](https://togithub.com/npm/make-fetch-happen/commit/c2930534bcf65907c4968ba5600d41910862fba5) [#&#8203;177](https://togithub.com/npm/make-fetch-happen/pull/177) postinstall for dependabot template-oss PR ([@&#8203;lukekarrys](https://togithub.com/lukekarrys)) ##### Documentation - [`d63de44`](https://togithub.com/npm/make-fetch-happen/commit/d63de4427ecadcc1c5a688564df8449ca182aafd) [#&#8203;173](https://togithub.com/npm/make-fetch-happen/pull/173) document cause argument to onRetry ([#&#8203;173](https://togithub.com/npm/make-fetch-happen/issues/173)) ([@&#8203;jmpage](https://togithub.com/jmpage)) ##### Dependencies - [`33d972a`](https://togithub.com/npm/make-fetch-happen/commit/33d972a81517c6817b39dd9c8adf9bfa7cf78391) [#&#8203;184](https://togithub.com/npm/make-fetch-happen/pull/184) bump cacache from 16.1.3 to 17.0.0 ([#&#8203;184](https://togithub.com/npm/make-fetch-happen/issues/184)) ### [`v10.2.1`](https://togithub.com/npm/make-fetch-happen/blob/HEAD/CHANGELOG.md#&#8203;1021-httpsgithubcomnpmmake-fetch-happencomparev1020v1021-2022-08-15) [Compare Source](https://togithub.com/npm/make-fetch-happen/compare/v10.2.0...v10.2.1) ##### Bug Fixes - linting ([#&#8203;166](https://togithub.com/npm/make-fetch-happen/issues/166)) ([e9a2a51](https://togithub.com/npm/make-fetch-happen/commit/e9a2a51e6d72e75802a73fe3b2b0e84753cc202a)) ### [`v10.2.0`](https://togithub.com/npm/make-fetch-happen/blob/HEAD/CHANGELOG.md#&#8203;1020-httpsgithubcomnpmmake-fetch-happencomparev1018v1020-2022-07-19) [Compare Source](https://togithub.com/npm/make-fetch-happen/compare/v10.1.8...v10.2.0) ##### Features - store link header ([#&#8203;164](https://togithub.com/npm/make-fetch-happen/issues/164)) ([dae6384](https://togithub.com/npm/make-fetch-happen/commit/dae6384a7f20c541708804b08ce233d14d592613)) ### [`v10.1.8`](https://togithub.com/npm/make-fetch-happen/blob/HEAD/CHANGELOG.md#&#8203;1018-httpsgithubcomnpmmake-fetch-happencomparev1017v1018-2022-06-20) [Compare Source](https://togithub.com/npm/make-fetch-happen/compare/v10.1.7...v10.1.8) ##### Bug Fixes - TypeError: SocksProxyAgent is not a constructor ([#&#8203;161](https://togithub.com/npm/make-fetch-happen/issues/161)) ([4ae4864](https://togithub.com/npm/make-fetch-happen/commit/4ae48640b091f4f64ad4c52037c147b1dfd83f04)) ##### [10.1.7](https://togithub.com/npm/make-fetch-happen/compare/v10.1.6...v10.1.7) (2022-06-01) ##### Bug Fixes - use hostname for socks agent ([#&#8203;159](https://togithub.com/npm/make-fetch-happen/issues/159)) ([331f9cb](https://togithub.com/npm/make-fetch-happen/commit/331f9cb273584da452994c6d9ce3e36df2bafb03)) ##### Dependencies - bump socks-proxy-agent from 6.2.1 to 7.0.0 ([#&#8203;158](https://togithub.com/npm/make-fetch-happen/issues/158)) ([63ed403](https://togithub.com/npm/make-fetch-happen/commit/63ed40395ea2c34313575b42e083a428b506fd88)) ##### [10.1.6](https://togithub.com/npm/make-fetch-happen/compare/v10.1.5...v10.1.6) (2022-05-27) ##### Bug Fixes - respect given algorithms instead of always using sha512 ([#&#8203;156](https://togithub.com/npm/make-fetch-happen/issues/156)) ([9baa806](https://togithub.com/npm/make-fetch-happen/commit/9baa8065f32a89ebd49eb59258462c209a68f142)) ##### [10.1.5](https://togithub.com/npm/make-fetch-happen/compare/v10.1.4...v10.1.5) (2022-05-19) ##### Bug Fixes - cache integrity and size events so late listeners still get them ([#&#8203;154](https://togithub.com/npm/make-fetch-happen/issues/154)) ([8c78584](https://togithub.com/npm/make-fetch-happen/commit/8c7858490aa5dc40e13d1c2580b5937836111a5b)) ##### [10.1.4](https://togithub.com/npm/make-fetch-happen/compare/v10.1.3...v10.1.4) (2022-05-18) ##### Bug Fixes - **docs:** remove reference to unsupported feature ([#&#8203;153](https://togithub.com/npm/make-fetch-happen/issues/153)) ([1d454f1](https://togithub.com/npm/make-fetch-happen/commit/1d454f11877267e1f80a9cc42f8f249fe6ec887f)), closes [#&#8203;147](https://togithub.com/npm/make-fetch-happen/issues/147) - pass expected integrity to cacache ([a88213e](https://togithub.com/npm/make-fetch-happen/commit/a88213e6a5e3a74c746d326488e2e6e056a2df54)) - pass integrityEmitter to cacache to avoid a redundant integrity stream ([ae62c21](https://togithub.com/npm/make-fetch-happen/commit/ae62c21c70d2004bbaa967ae2b722890b4283cbb)) - remove in-memory buffering in favor of full time streaming ([ec2db21](https://togithub.com/npm/make-fetch-happen/commit/ec2db214e4d54a8ba81a4315b4b3f21e71181069)) ##### [10.1.3](https://togithub.com/npm/make-fetch-happen/compare/v10.1.2...v10.1.3) (2022-05-09) ##### Bug Fixes - make `defaults` chaining actually work ([#&#8203;144](https://togithub.com/npm/make-fetch-happen/issues/144)) ([aa71e81](https://togithub.com/npm/make-fetch-happen/commit/aa71e817c71968f547f4d1756b1faf92db7b79ec)) ##### [10.1.2](https://togithub.com/npm/make-fetch-happen/compare/v10.1.1...v10.1.2) (2022-04-05) ##### Dependencies - bump ssri from 8.0.1 to 9.0.0 ([#&#8203;139](https://togithub.com/npm/make-fetch-happen/issues/139)) ([f91a1cc](https://togithub.com/npm/make-fetch-happen/commit/f91a1ccd0ea2821a3686b4b8ffd3fad47c2aeabd)) ##### [10.1.1](https://togithub.com/npm/make-fetch-happen/compare/v10.1.0...v10.1.1) (2022-03-29) ##### Bug Fixes - default verbatim to undefined ([#&#8203;135](https://togithub.com/npm/make-fetch-happen/issues/135)) ([be0cf6a](https://togithub.com/npm/make-fetch-happen/commit/be0cf6a15949c0511b40ed086aeab29fb86c2259)) ##### Documentation - remove mention of custom cache provider ([#&#8203;136](https://togithub.com/npm/make-fetch-happen/issues/136)) ([a7f1b55](https://togithub.com/npm/make-fetch-happen/commit/a7f1b554bc0072a1545d96f316e252ec52e81b23)) ### [`v10.1.7`](https://togithub.com/npm/make-fetch-happen/blob/HEAD/CHANGELOG.md#&#8203;1017-httpsgithubcomnpmmake-fetch-happencomparev1016v1017-2022-06-01) [Compare Source](https://togithub.com/npm/make-fetch-happen/compare/v10.1.6...v10.1.7) ### [`v10.1.6`](https://togithub.com/npm/make-fetch-happen/blob/HEAD/CHANGELOG.md#&#8203;1016-httpsgithubcomnpmmake-fetch-happencomparev1015v1016-2022-05-27) [Compare Source](https://togithub.com/npm/make-fetch-happen/compare/v10.1.5...v10.1.6) ### [`v10.1.5`](https://togithub.com/npm/make-fetch-happen/blob/HEAD/CHANGELOG.md#&#8203;1015-httpsgithubcomnpmmake-fetch-happencomparev1014v1015-2022-05-19) [Compare Source](https://togithub.com/npm/make-fetch-happen/compare/v10.1.4...v10.1.5) ### [`v10.1.4`](https://togithub.com/npm/make-fetch-happen/blob/HEAD/CHANGELOG.md#&#8203;1014-httpsgithubcomnpmmake-fetch-happencomparev1013v1014-2022-05-18) [Compare Source](https://togithub.com/npm/make-fetch-happen/compare/v10.1.3...v10.1.4) ### [`v10.1.3`](https://togithub.com/npm/make-fetch-happen/blob/HEAD/CHANGELOG.md#&#8203;1013-httpsgithubcomnpmmake-fetch-happencomparev1012v1013-2022-05-09) [Compare Source](https://togithub.com/npm/make-fetch-happen/compare/v10.1.2...v10.1.3) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update 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:eyJjcmVhdGVkSW5WZXIiOiIzNC42LjEiLCJ1cGRhdGVkSW5WZXIiOiIzNC45LjEifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-09 23:06:29 +01:00
"make-fetch-happen": "^11.0.0",
"memoizee": "^0.4.15",
2022-04-25 14:27:23 +02:00
"mime": "^3.0.0",
2022-06-01 12:10:49 +02:00
"multer": "^1.4.5-lts.1",
feat(#1873/playground): Return detailed information on feature toggle evaluation (#1839) * Feat: return reasons why a feature evaluated to true or false Note: this is very rough and just straight ripped from the nodejs client. It will need a lot of work, but is a good place to start * Feat: add suggested shape for new payload * Chore: minor cleanup * Wip: make server compile again * Remove unused schema ref * Export new schemas * Chore: fix some tests to use sub property * Fix: fix some tests * Refactor: rename some variables, uncomment some stuff * Add segments type to bootstrap options * Add segments capability to offline feature evaluator * Fix function calls after turning params into an option abject * Feat: test strategy order, etc * Feat: add test to check that all strats are returned correctly * Feat: allow you to include strategy ids in clients * Wip: hook up segments in the offline client. Note: compared to regular clients, they still fail * Feat: add segments validation * Fix: fix test case invariant. * Chore: revert to returning only `boolean` from strategies. This _should_ make it work with custom strategies too 🤞 * Feat: make more properties of the returned feature required * Wip: add some comments and unfinished tests for edge cases * Feat: add `isEnabledInCurrentEnvironment` prop * Feat: consider more strategy failure cases * Feat: test that isenabledinenvironment matches expectations * Feat: add unknown strategies * Fix: fix property access typo * Feat: add unknown strategy for fallback purposes * Feat: test edge case: all unknown strategies * Feat: add custom strategy to arbitrary * Feat: test that features can be true, even if not enabled in env * Chore: add some comments * Wip: fix sdk tests * Remove comments, improve test logging * Feat: add descriptions and examples to playground feature schema * Switch `examples` for `example` * Update schemas with descriptions and examples * Fix: update snapshot * Fix: openapi example * Fix: merge issues * Fix: fix issue where feature evaluation state was wrong * Chore: update openapi spec * Fix: fix broken offline client tests * Refactor: move schemas into separate files * Refactor: remove "reason" for incomplete evaluation. The only instances where evaluation is incomplete is when we don't know what the strategy is. * Refactor: move unleash node client into test and dev dependencies * Wip: further removal of stuff * Chore: remove a bunch of code that we don't use * Chore: remove comment * Chore: remove unused code * Fix: fix some prettier errors * Type parameters in strategies to avoid `any` * Fix: remove commented out code * Feat: make `id` required on playground strategies * Chore: remove redundant type * Fix: remove redundant if and fix fallback evaluation * Refactor: reduce nesting and remove duplication * Fix: remove unused helper function * Refactor: type `parameters` as `unknown` * Chore: remove redundant comment * Refactor: move constraint code into a separate file * Refactor: rename `unleash` -> `feature-evaluator` * Rename class `Unleash` -> `FeatureEvaluator` * Refactor: remove this.ready and sync logic from feature evaluator * Refactor: remove unused code, rename config type * Refactor: remove event emission from the Unleash client * Remove unlistened-for events in feature evaluator * Refactor: make offline client synchronous; remove code * Fix: update openapi snapshot after adding required strategy ids * Feat: change `strategies` format. This commit changes the format of a playground feature's `strategies` properties from a list of strategies to an object with properties `result` and `data`. It looks a bit like this: ```ts type Strategies = { result: boolean | "unknown", data: Strategy[] } ``` The reason is that this allows us to avoid the breaking change that was previously suggested in the PR: `feature.isEnabled` used to be a straight boolean. Then, when we found out we couldn't necessarily evaluate all strategies (custom strats are hard!) we changed it to `boolean | 'unevaluated'`. However, this is confusing on a few levels as the playground results are no longer the same as the SDK would be, nor are they strictly boolean anymore. This change reverts the `isEnabled` functionality to what it was before (so it's always a mirror of what the SDK would show). The equivalent of `feature.isEnabled === 'unevaluated'` now becomes `feature.isEnabled && strategy.result === 'unknown'`. * Fix: Fold long string descriptions over multiple lines. * Fix: update snapshot after adding line breaks to descriptions
2022-08-04 15:41:52 +02:00
"murmurhash3js": "^3.0.1",
"mustache": "^4.1.0",
"nodemailer": "^6.5.0",
"openapi-types": "^12.0.0",
"owasp-password-strength-test": "^1.3.0",
2016-11-12 11:21:40 +01:00
"parse-database-url": "^0.3.0",
"pg": "^8.7.3",
"pg-connection-string": "^2.5.0",
"pkginfo": "^0.4.1",
"prom-client": "^14.0.0",
"response-time": "^2.3.2",
"sanitize-filename": "^1.6.3",
"semver": "^7.5.4",
"serve-favicon": "^2.5.0",
"stoppable": "^1.1.0",
"ts-toolbelt": "^9.6.0",
"type-is": "^1.6.18",
2023-12-05 09:29:58 +01:00
"unleash-client": "5.0.0",
fix(deps): update dependency uuid to v9 (#2401) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [uuid](https://togithub.com/uuidjs/uuid) | [`^8.3.2` -> `^9.0.0`](https://renovatebot.com/diffs/npm/uuid/8.3.2/9.0.0) | [![age](https://badges.renovateapi.com/packages/npm/uuid/9.0.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/uuid/9.0.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/uuid/9.0.0/compatibility-slim/8.3.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/uuid/9.0.0/confidence-slim/8.3.2)](https://docs.renovatebot.com/merge-confidence/) | | [@types/uuid](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/uuid) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped)) | [`8.3.4` -> `9.0.0`](https://renovatebot.com/diffs/npm/@types%2fuuid/8.3.4/9.0.0) | [![age](https://badges.renovateapi.com/packages/npm/@types%2fuuid/9.0.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@types%2fuuid/9.0.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@types%2fuuid/9.0.0/compatibility-slim/8.3.4)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@types%2fuuid/9.0.0/confidence-slim/8.3.4)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>uuidjs/uuid</summary> ### [`v9.0.0`](https://togithub.com/uuidjs/uuid/blob/HEAD/CHANGELOG.md#&#8203;900-httpsgithubcomuuidjsuuidcomparev832v900-2022-09-05) [Compare Source](https://togithub.com/uuidjs/uuid/compare/v8.3.2...v9.0.0) ##### ⚠ BREAKING CHANGES - Drop Node.js 10.x support. This library always aims at supporting one EOLed LTS release which by this time now is 12.x which has reached EOL 30 Apr 2022. - Remove the minified UMD build from the package. Minified code is hard to audit and since this is a widely used library it seems more appropriate nowadays to optimize for auditability than to ship a legacy module format that, at best, serves educational purposes nowadays. For production browser use cases, users should be using a bundler. For educational purposes, today's online sandboxes like replit.com offer convenient ways to load npm modules, so the use case for UMD through repos like UNPKG or jsDelivr has largely vanished. - Drop IE 11 and Safari 10 support. Drop support for browsers that don't correctly implement const/let and default arguments, and no longer transpile the browser build to ES2015. This also removes the fallback on msCrypto instead of the crypto API. Browser tests are run in the first supported version of each supported browser and in the latest (as of this commit) version available on Browserstack. ##### Features - optimize uuid.v1 by 1.3x uuid.v4 by 4.3x (430%) ([#&#8203;597](https://togithub.com/uuidjs/uuid/issues/597)) ([3a033f6](https://togithub.com/uuidjs/uuid/commit/3a033f6bab6bb3780ece6d645b902548043280bc)) - remove UMD build ([#&#8203;645](https://togithub.com/uuidjs/uuid/issues/645)) ([e948a0f](https://togithub.com/uuidjs/uuid/commit/e948a0f22bf22f4619b27bd913885e478e20fe6f)), closes [#&#8203;620](https://togithub.com/uuidjs/uuid/issues/620) - use native crypto.randomUUID when available ([#&#8203;600](https://togithub.com/uuidjs/uuid/issues/600)) ([c9e076c](https://togithub.com/uuidjs/uuid/commit/c9e076c852edad7e9a06baaa1d148cf4eda6c6c4)) ##### Bug Fixes - add Jest/jsdom compatibility ([#&#8203;642](https://togithub.com/uuidjs/uuid/issues/642)) ([16f9c46](https://togithub.com/uuidjs/uuid/commit/16f9c469edf46f0786164cdf4dc980743984a6fd)) - change default export to named function ([#&#8203;545](https://togithub.com/uuidjs/uuid/issues/545)) ([c57bc5a](https://togithub.com/uuidjs/uuid/commit/c57bc5a9a0653273aa639cda9177ce52efabe42a)) - handle error when parameter is not set in v3 and v5 ([#&#8203;622](https://togithub.com/uuidjs/uuid/issues/622)) ([fcd7388](https://togithub.com/uuidjs/uuid/commit/fcd73881692d9fabb63872576ba28e30ff852091)) - run npm audit fix ([#&#8203;644](https://togithub.com/uuidjs/uuid/issues/644)) ([04686f5](https://togithub.com/uuidjs/uuid/commit/04686f54c5fed2cfffc1b619f4970c4bb8532353)) - upgrading from uuid3 broken link ([#&#8203;568](https://togithub.com/uuidjs/uuid/issues/568)) ([1c849da](https://togithub.com/uuidjs/uuid/commit/1c849da6e164259e72e18636726345b13a7eddd6)) ##### build - drop Node.js 8.x from babel transpile target ([#&#8203;603](https://togithub.com/uuidjs/uuid/issues/603)) ([aa11485](https://togithub.com/uuidjs/uuid/commit/aa114858260402107ec8a1e1a825dea0a259bcb5)) - drop support for legacy browsers (IE11, Safari 10) ([#&#8203;604](https://togithub.com/uuidjs/uuid/issues/604)) ([0f433e5](https://togithub.com/uuidjs/uuid/commit/0f433e5ec444edacd53016de67db021102f36148)) - drop node 10.x to upgrade dev dependencies ([#&#8203;653](https://togithub.com/uuidjs/uuid/issues/653)) ([28a5712](https://togithub.com/uuidjs/uuid/commit/28a571283f8abda6b9d85e689f95b7d3ee9e282e)), closes [#&#8203;643](https://togithub.com/uuidjs/uuid/issues/643) ##### [8.3.2](https://togithub.com/uuidjs/uuid/compare/v8.3.1...v8.3.2) (2020-12-08) ##### Bug Fixes - lazy load getRandomValues ([#&#8203;537](https://togithub.com/uuidjs/uuid/issues/537)) ([16c8f6d](https://togithub.com/uuidjs/uuid/commit/16c8f6df2f6b09b4d6235602d6a591188320a82e)), closes [#&#8203;536](https://togithub.com/uuidjs/uuid/issues/536) ##### [8.3.1](https://togithub.com/uuidjs/uuid/compare/v8.3.0...v8.3.1) (2020-10-04) ##### Bug Fixes - support expo>=39.0.0 ([#&#8203;515](https://togithub.com/uuidjs/uuid/issues/515)) ([c65a0f3](https://togithub.com/uuidjs/uuid/commit/c65a0f3fa73b901959d638d1e3591dfacdbed867)), closes [#&#8203;375](https://togithub.com/uuidjs/uuid/issues/375) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **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:eyJjcmVhdGVkSW5WZXIiOiIzNC4yMS42IiwidXBkYXRlZEluVmVyIjoiMzQuNjIuMSJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-27 11:25:55 +01:00
"uuid": "^9.0.0"
2016-05-01 15:43:25 +02:00
},
"devDependencies": {
"@apidevtools/swagger-parser": "10.1.0",
chore(deps): update dependency @babel/core to v7.23.3 (#5422) [![Mend Renovate logo banner](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@babel/core](https://babel.dev/docs/en/next/babel-core) ([source](https://togithub.com/babel/babel)) | [`7.23.2` -> `7.23.3`](https://renovatebot.com/diffs/npm/@babel%2fcore/7.23.2/7.23.3) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@babel%2fcore/7.23.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@babel%2fcore/7.23.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@babel%2fcore/7.23.2/7.23.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@babel%2fcore/7.23.2/7.23.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>babel/babel (@&#8203;babel/core)</summary> ### [`v7.23.3`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v7233-2023-11-09) [Compare Source](https://togithub.com/babel/babel/compare/@babel/core@7.23.2...v7.23.3) ##### :bug: Bug Fix - `babel-plugin-transform-typescript` - [#&#8203;16071](https://togithub.com/babel/babel/pull/16071) Strip type-only TS namespaces ([@&#8203;colinaaa](https://togithub.com/colinaaa)) - `babel-generator` - [#&#8203;16078](https://togithub.com/babel/babel/pull/16078) Fix indentation when generating comments with `concise: true` ([@&#8203;liuxingbaoyu](https://togithub.com/liuxingbaoyu)) - `babel-compat-data`, `babel-plugin-bugfix-v8-static-class-fields-redefine-readonly`, `babel-preset-env` - [#&#8203;14295](https://togithub.com/babel/babel/pull/14295) Add a bugfix plugin for https://crbug.com/v8/12421 ([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-plugin-transform-object-super` - [#&#8203;15948](https://togithub.com/babel/babel/pull/15948) fix: `super.x` in a loop ([@&#8203;liuxingbaoyu](https://togithub.com/liuxingbaoyu)) - `babel-helper-module-transforms`, `babel-plugin-transform-modules-amd`, `babel-plugin-transform-modules-commonjs`, `babel-plugin-transform-modules-umd` - [#&#8203;16015](https://togithub.com/babel/babel/pull/16015) fix: handle `__proto__` exports name in CJS/AMD/UMD ([@&#8203;magic-akari](https://togithub.com/magic-akari)) ##### :memo: Documentation - [#&#8203;16044](https://togithub.com/babel/babel/pull/16044) docs: Update links in [@&#8203;babel/eslint-parser](https://togithub.com/babel/eslint-parser) README ([@&#8203;aryehb](https://togithub.com/aryehb)) ##### :house: Internal - `babel-core`, `babel-preset-env` - [#&#8203;15988](https://togithub.com/babel/babel/pull/15988) Refactor handling of modules plugins in `preset-env` ([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ##### :running_woman: Performance - `babel-generator` - [#&#8203;16061](https://togithub.com/babel/babel/pull/16061) perf: Improve `@babel/generator` performance ([@&#8203;liuxingbaoyu](https://togithub.com/liuxingbaoyu)) - `babel-traverse` - [#&#8203;16060](https://togithub.com/babel/babel/pull/16060) Avoid dynamic dispatch when calling wrapCheck ([@&#8203;yepitschunked](https://togithub.com/yepitschunked)) ##### :microscope: Output optimization - `babel-plugin-transform-computed-properties` - [#&#8203;6652](https://togithub.com/babel/babel/pull/6652) Optimize computed properties output (byte-wise) ([@&#8203;Andarist](https://togithub.com/Andarist)) </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 this update 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://developer.mend.io/github/Unleash/unleash). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy41OS44IiwidXBkYXRlZEluVmVyIjoiMzcuNTkuOCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-27 10:12:23 +01:00
"@babel/core": "7.23.3",
chore(deps): update dependency @biomejs/biome to v1.4.0 (#5288) [![Mend Renovate logo banner](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@biomejs/biome](https://biomejs.dev) ([source](https://togithub.com/biomejs/biome)) | [`1.3.3` -> `1.4.0`](https://renovatebot.com/diffs/npm/@biomejs%2fbiome/1.3.3/1.4.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@biomejs%2fbiome/1.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@biomejs%2fbiome/1.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@biomejs%2fbiome/1.3.3/1.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@biomejs%2fbiome/1.3.3/1.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>biomejs/biome (@&#8203;biomejs/biome)</summary> ### [`v1.4.0`](https://togithub.com/biomejs/biome/blob/HEAD/CHANGELOG.md#140-2023-11-27) [Compare Source](https://togithub.com/biomejs/biome/compare/af24597c1877c7b5a96bb7cc59bab655a577116f...889593e3f983a6fec642d20eea3c7f94d58fc7e1) ##### CLI - Remove the CLI options from the `lsp-proxy`, as they were never meant to be passed to that command. Contributed by [@&#8203;ematipico](https://togithub.com/ematipico) - Add option `--config-path` to `lsp-proxy` and `start` commands. It's now possible to tell the Daemon server to load `biome.json` from a custom path. Contributed by [@&#8203;ematipico](https://togithub.com/ematipico) - Add new `--diagnostic-level` option to let users control the level of diagnostics printed by the CLI. Possible values are: `"info"`, `"warn"`, `"hint"`. Contributed by [@&#8203;simonxabris](https://togithub.com/simonxabris) - Add option `--line-feed` to the `format` command. Contributed by [@&#8203;SuperchupuDev](https://togithub.com/SuperchupuDev) - Add option `--bracket-same-line` to the `format` command. Contributed by [@&#8203;faultyserve](https://togithub.com/faultyserve) - Add option `--bracket-spacing` to the `format` command. Contributed by [@&#8203;faultyserve](https://togithub.com/faultyserve) ##### Bug fixes - Fix the command `format`, now it returns a non-zero exit code when if there pending diffs. Contributed by [@&#8203;ematipico](https://togithub.com/ematipico) ##### Configuration - Add option `formatter.lineFeed`. Contributed by [@&#8203;SuperchupuDev](https://togithub.com/SuperchupuDev) - Add option `javascript.formatter.bracketSameLine`. Contributed by [@&#8203;faultyserve](https://togithub.com/faultyserve) - Add option `javascript.formatter.bracketSpacing`. Contributed by [@&#8203;faultyserve](https://togithub.com/faultyserve) ##### Formatter ##### New features - Add a new option [`--line-ending`](https://biomejs.dev/reference/configuration/#formatterlineending). This option allows changing the type of line endings. Contributed by [@&#8203;SuperchupuDev](https://togithub.com/SuperchupuDev) - Added a new option called `--bracket-spacing` to the formatter. This option allows you to control whether spaces are inserted around the brackets of object literals. [#&#8203;627](https://togithub.com/biomejs/biome/issues/627). Contributed by [@&#8203;faultyserver](https://togithub.com/faultyserver) - Added a new option called `--bracket-same-line` to the formatter. This option allows you to control whether spaces are inserted around the brackets of object literals. [#&#8203;627](https://togithub.com/biomejs/biome/issues/627). Contributed by [@&#8203;faultyserver](https://togithub.com/faultyserver) ##### Bug fixes - Fix [#&#8203;832](https://togithub.com/biomejs/biome/issues/832), the formatter no longer keeps an unnecessary trailing comma in type parameter lists. Contributed by [@&#8203;Conaclos](https://togithub.com/Conaclos) - Fix [#&#8203;301](https://togithub.com/biomejs/biome/issues/301), the formatter should not break before the `in` keyword. Contributed by [@&#8203;ematipico](https://togithub.com/ematipico) ##### Linter ##### Promoted rules - [a11y/noInteractiveElementToNoninteractiveRole](https://biomejs.dev/linter/rules/no-interactive-element-to-noninteractive-role) - [complexity/noThisInStatic](https://biomejs.dev/linter/rules/no-this-in-static) - [complexity/useArrowFunction](https://biomejs.dev/linter/rules/use-arrow-function) - [correctness/noEmptyCharacterClassInRegex](https://biomejs.dev/linter/rules/no-empty-character-class-in-regex) - [correctness/noInvalidNewBuiltin](https://biomejs.dev/linter/rules/no-invalid-new-builtin) - [style/noUselessElse](https://biomejs.dev/linter/rules/no-useless-else) - [style/useAsConstAssertion](https://biomejs.dev/linter/rules/use-as-const-assertion) - [style/useShorthandAssign](https://biomejs.dev/linter/rules/use-shorthand-assign) - [suspicious/noApproximativeNumericConstant](https://biomejs.dev/linter/rules/no-approximative-numeric-constant) - [suspicious/noMisleadingInstantiator](https://biomejs.dev/linter/rules/no-misleading-instantiator) - [suspicious/noMisrefactoredShorthandAssign](https://biomejs.dev/linter/rules/no-misrefactored-shorthand-assign) The following rules are now recommended: - [a11y/noAccessKey](https://biomejs.dev/linter/rules/no-access-key) - [a11y/useHeadingContent](https://biomejs.dev/linter/rules/use-heading-content) - [complexity/useSimpleNumberKeys](https://biomejs.dev/linter/use-simple-number-keys) The following rules are now deprecated: - [correctness/noNewSymbol](https://biomejs.dev/linter/rules/no-new-symbol) The rule is replaced by [correctness/noInvalidNewBuiltin](https://biomejs.dev/linter/rules/no-invalid-new-builtin) ##### New features - Add [noDefaultExport](https://biomejs.dev/linter/rules/no-default-export) which disallows `export default`. Contributed by [@&#8203;Conaclos](https://togithub.com/Conaclos) - Add [noAriaHiddenOnFocusable](https://biomejs.dev/linter/rules/no-aria-hidden-on-focusable) which reports hidden and focusable elements. Contributed by [@&#8203;vasucp1207](https://togithub.com/vasucp1207) - Add [noImplicitAnyLet](https://biomejs.dev/linter/rules/no-implicit-any-let) that reports variables declared with `let` and without initialization and type annotation. Contributed by [@&#8203;TaKO8Ki](https://togithub.com/TaKO8Ki) and [@&#8203;b4s36t4](https://togithub.com/b4s36t4) - Add [useAwait](https://biomejs.dev/linter/rules/use-await) that reports `async` functions that don't use an `await` expression. - Add [useValidAriaRole](https://biomejs.dev/linter/rules/use-valid-aria-role). Contributed by [@&#8203;vasucp1207](https://togithub.com/vasucp1207) - Add [useRegexLiterals](https://biomejs.dev/linter/use-regex-literals) that suggests turning call to the regex constructor into regex literals. COntributed by [@&#8203;Yuiki](https://togithub.com/Yuiki) ##### Enhancements - Add an unsafe code fix for [a11y/useAriaActivedescendantWithTabindex](https://biomejs.dev/linter/rules/use-aria-activedescendant-with-tabindex) ##### Bug fixes - Fix [#&#8203;639](https://togithub.com/biomejs/biome/issues/639) by ignoring unused TypeScript's mapped key. Contributed by [@&#8203;Conaclos](https://togithub.com/Conaclos) - Fix [#&#8203;565](https://togithub.com/biomejs/biome/issues/565) by handling several `infer` with the same name in extends clauses of TypeScript's conditional types. Contributed by [@&#8203;Conaclos](https://togithub.com/Conaclos) - Fix [#&#8203;653](https://togithub.com/biomejs/biome/issues/653). [noUnusedImports](https://biomejs.dev/linter/rules/no-unused-imports) now correctly removes the entire line where the unused `import` is. Contributed by [@&#8203;Conaclos](https://togithub.com/Conaclos) - Fix [#&#8203;607](https://togithub.com/biomejs/biome/issues/609) `useExhaustiveDependencies`, ignore optional chaining, Contributed by [@&#8203;msdlisper](https://togithub.com/msdlisper) - Fix [#&#8203;676](https://togithub.com/biomejs/biome/issues/676), by using the correct node for the `"noreferrer"` when applying the code action. Contributed by [@&#8203;ematipico](https://togithub.com/ematipico) - Fix [#&#8203;455](https://togithub.com/biomejs/biome/issues/455). The CLI can now print complex emojis to the console correctly. - Fix [#&#8203;727](https://togithub.com/biomejs/biome/issues/727). [noInferrableTypes](https://biomejs.dev/linter/rules/no-inferrable-types) now correctly keeps type annotations when the initialization expression is `null`. Contributed by [@&#8203;Conaclos](https://togithub.com/Conaclos) - Fix [#&#8203;784](https://togithub.com/biomejs/biome/issues/784), [noSvgWithoutTitle](https://biomejs.dev/linter/rules/no-svg-without-title) fixes false-positives to `aria-label` and reports svg's role attribute is implicit. Contributed by [@&#8203;unvalley](https://togithub.com/unvalley) - Fix [#&#8203;834](https://togithub.com/biomejs/biome/issues/834) that made [noUselessLoneBlockStatements](https://biomejs.dev/linter/rules/no-useless-lone-block-statements) reports block statements of switch clauses. Contributed by [@&#8203;vasucp1207](https://togithub.com/vasucp1207) - Fix [#&#8203;783](https://togithub.com/biomejs/biome/issues/834) that made [noUselessLoneBlockStatements](https://biomejs.dev/linter/rules/no-useless-lone-block-statements) reports block statements of `try-catch` structures. Contributed by [@&#8203;hougesen](https://togithub.com/hougesen) - Fix [#&#8203;69](https://togithub.com/biomejs/biome/issues/69) that made [correctness/noUnnecessaryContinue](https://biomejs.dev/linter/rules/no-unnecessary-continue) incorrectly reports a `continue` used to break a switch clause. Contributed by [@&#8203;TaKO8Ki](https://togithub.com/TaKO8Ki) - Fix [#&#8203;664](https://togithub.com/biomejs/biome/issues/664) by improving the diagnostic of [style/useNamingConvention](https://biomejs.dev/linter/use-naming-convention) when double capital are detected in strict camel case mode. Contributed by [@&#8203;vasucp1207](https://togithub.com/vasucp1207) - Fix [#&#8203;643](https://togithub.com/biomejs/biome/issues/643) that erroneously parsed the option of [complexity/useExhaustiveDependencies](https://biomejs.dev/linter/use-naming-convention). Contributed by [@&#8203;arendjr](https://togithub.com/arendjr) ##### Parser ##### Bug fixes - Fix [#&#8203;846](https://togithub.com/biomejs/biome/issues/846) that erroneously parsed `<const T,>() => {}` as a JSX tag instead of an arrow function when both TypeScript and JSX are enabled. ##### VSCode </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 this update 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://developer.mend.io/github/Unleash/unleash). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40Ni4wIiwidXBkYXRlZEluVmVyIjoiMzcuNTkuOCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Christopher Kolstad <chriswk@getunleash.io>
2023-11-28 10:32:00 +01:00
"@biomejs/biome": "1.4.0",
chore(deps): update dependency @swc/core to v1.3.99 (#5453) [![Mend Renovate logo banner](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@swc/core](https://swc.rs) ([source](https://togithub.com/swc-project/swc)) | [`1.3.96` -> `1.3.99`](https://renovatebot.com/diffs/npm/@swc%2fcore/1.3.96/1.3.99) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@swc%2fcore/1.3.99?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@swc%2fcore/1.3.99?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@swc%2fcore/1.3.96/1.3.99?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@swc%2fcore/1.3.96/1.3.99?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>swc-project/swc (@&#8203;swc/core)</summary> ### [`v1.3.99`](https://togithub.com/swc-project/swc/compare/v1.3.96...v1.3.99) [Compare Source](https://togithub.com/swc-project/swc/compare/v1.3.96...v1.3.99) </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 this update 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://developer.mend.io/github/Unleash/unleash). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy41OS44IiwidXBkYXRlZEluVmVyIjoiMzcuNTkuOCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-28 08:27:05 +01:00
"@swc/core": "1.3.99",
chore(deps): update swc monorepo (#4718) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@swc/core](https://swc.rs) ([source](https://togithub.com/swc-project/swc)) | [`1.3.76` -> `1.3.83`](https://renovatebot.com/diffs/npm/@swc%2fcore/1.3.76/1.3.83) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@swc%2fcore/1.3.83?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@swc%2fcore/1.3.83?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@swc%2fcore/1.3.76/1.3.83?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@swc%2fcore/1.3.76/1.3.83?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@swc/jest](https://togithub.com/swc-project/jest) | [`0.2.28` -> `0.2.29`](https://renovatebot.com/diffs/npm/@swc%2fjest/0.2.28/0.2.29) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@swc%2fjest/0.2.29?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@swc%2fjest/0.2.29?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@swc%2fjest/0.2.28/0.2.29?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@swc%2fjest/0.2.28/0.2.29?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>swc-project/swc (@&#8203;swc/core)</summary> ### [`v1.3.83`](https://togithub.com/swc-project/swc/blob/HEAD/CHANGELOG.md#1383---2023-09-07) [Compare Source](https://togithub.com/swc-project/swc/compare/v1.3.82...v1.3.83) ##### Bug Fixes - **(css/modules)** Aggregate class names when composes is chained. ([#&#8203;7917](https://togithub.com/swc-project/swc/issues/7917)) ([0db25a2](https://togithub.com/swc-project/swc/commit/0db25a252cf35e4b64b38bde9f34a2f33eb2f662)) - **(es/module)** Revert [#&#8203;7901](https://togithub.com/swc-project/swc/issues/7901) ([#&#8203;7906](https://togithub.com/swc-project/swc/issues/7906)) ([85d6e9b](https://togithub.com/swc-project/swc/commit/85d6e9be07af7bb788594b21a986636657d86f03)) - **(es/module)** Fix `jsc.paths` for projects using pnpm ([#&#8203;7918](https://togithub.com/swc-project/swc/issues/7918)) ([a86e9f3](https://togithub.com/swc-project/swc/commit/a86e9f3bb5bd490ebf0b18fe7349a2b0fbc0c45f)) ##### Features - **(es/codegen)** Add an option to print `assert` for import attributes ([#&#8203;7914](https://togithub.com/swc-project/swc/issues/7914)) ([ee75756](https://togithub.com/swc-project/swc/commit/ee7575695de6dad140457ffb8bb8f0ac80c4dcdc)) ### [`v1.3.82`](https://togithub.com/swc-project/swc/blob/HEAD/CHANGELOG.md#1382---2023-09-01) [Compare Source](https://togithub.com/swc-project/swc/compare/v1.3.81...v1.3.82) ##### Bug Fixes - **(common)** Fix logic for excluding `FileName` from source maps ([#&#8203;7900](https://togithub.com/swc-project/swc/issues/7900)) ([aa64955](https://togithub.com/swc-project/swc/commit/aa6495519b9271cb21d380c0c5a35fe79d31ee14)) - **(es/module)** Make `jsc.paths` fully resolve TypeScript files ([#&#8203;7901](https://togithub.com/swc-project/swc/issues/7901)) ([c714dd2](https://togithub.com/swc-project/swc/commit/c714dd20dedfab60ac75de613d13c0f3af60a6c7)) - **(es/resolver)** Correctly resolve global value ([#&#8203;7893](https://togithub.com/swc-project/swc/issues/7893)) ([2db10e9](https://togithub.com/swc-project/swc/commit/2db10e9fd1913b69cb088aaded2d587872e9f2bb)) ### [`v1.3.81`](https://togithub.com/swc-project/swc/blob/HEAD/CHANGELOG.md#1381---2023-08-30) [Compare Source](https://togithub.com/swc-project/swc/compare/v1.3.80...v1.3.81) ##### Bug Fixes - **(es/codegen)** Fix placing of comments of yield arguments ([#&#8203;7858](https://togithub.com/swc-project/swc/issues/7858)) ([122d14c](https://togithub.com/swc-project/swc/commit/122d14c0d306d7c437f1ef0f6f375634ff5d7d1a)) - **(es/compat)** Apply transforms for explicit resource management ([#&#8203;7881](https://togithub.com/swc-project/swc/issues/7881)) ([3180e68](https://togithub.com/swc-project/swc/commit/3180e68bf27fb95ff00bd24677ae7e96b3aa6c62)) - **(es/compat)** Make `SwitchCase` handler of `block-scoping` stateless ([#&#8203;7888](https://togithub.com/swc-project/swc/issues/7888)) ([4b33d41](https://togithub.com/swc-project/swc/commit/4b33d41fabf841dfc31c6f44d94e4651239ab667)) - **(es/dep-graph)** Analyze import type children ([#&#8203;7883](https://togithub.com/swc-project/swc/issues/7883)) ([057bd5f](https://togithub.com/swc-project/swc/commit/057bd5f3efe55077a5a8e7f627e80175c8af2bd0)) - **(es/minifier)** Report `is_fn_local` even if var is hoisted ([#&#8203;7876](https://togithub.com/swc-project/swc/issues/7876)) ([87a47bf](https://togithub.com/swc-project/swc/commit/87a47bfb2c602f2ce7eb33f78612197e290518b8)) - **(es/module)** Don't create absolute paths for `jsc.paths` on Windows ([#&#8203;7892](https://togithub.com/swc-project/swc/issues/7892)) ([5fbc251](https://togithub.com/swc-project/swc/commit/5fbc251db1cc1f7973ba780a6c4fc1cdce5ef40d)) - **(swc-info)** Use correct path while getting local package versions ([#&#8203;7872](https://togithub.com/swc-project/swc/issues/7872)) ([67afaf1](https://togithub.com/swc-project/swc/commit/67afaf1f2db087518ac990c71de896c8e5e2a051)) ##### Features - **(es)** Add an option to disable builtin transforms ([#&#8203;7873](https://togithub.com/swc-project/swc/issues/7873)) ([71d01ec](https://togithub.com/swc-project/swc/commit/71d01ec12772c2854a47947deceb6d1cab141289)) - **(es/ast)** Support import attributes proposal ([#&#8203;7868](https://togithub.com/swc-project/swc/issues/7868)) ([4d3fcb8](https://togithub.com/swc-project/swc/commit/4d3fcb86e4843cf323a471537cc1ab3a26d054b1)) - **(es/preset-env)** Update data ([#&#8203;7882](https://togithub.com/swc-project/swc/issues/7882)) ([a97d8b4](https://togithub.com/swc-project/swc/commit/a97d8b42b1f85c1f76ffadcabf6e9c85f0458d8d)) - **(swc-info)** Add a CLI to help issue reporting ([#&#8203;7871](https://togithub.com/swc-project/swc/issues/7871)) ([d6952ea](https://togithub.com/swc-project/swc/commit/d6952ea687beb5b9aff1eae26076fa98ac94818b)) ##### Miscellaneous Tasks - **(deps)** Update `memchr` ([#&#8203;7891](https://togithub.com/swc-project/swc/issues/7891)) ([01cbd6e](https://togithub.com/swc-project/swc/commit/01cbd6edbd37c95ece7ca20ad2f6c85d6c1b6e35))- **general**: Use `textarea` for `swc-info` ([eed2903](https://togithub.com/swc-project/swc/commit/eed290319e4a8128948ce07e76d11a01d2096a8b)) ##### Performance - **(es/transforms)** Remove wrong parallelism ([#&#8203;7889](https://togithub.com/swc-project/swc/issues/7889)) ([a505012](https://togithub.com/swc-project/swc/commit/a50501255d2a91f2bbc1ce9767689dc4fad540cc)) ##### Refactor - **(es/minifier)** Remove `mutated` and `mutation_by_call_count` ([#&#8203;7890](https://togithub.com/swc-project/swc/issues/7890)) ([8db968a](https://togithub.com/swc-project/swc/commit/8db968a25d508a0d28d15d556ad121951f39ae0d)) ### [`v1.3.80`](https://togithub.com/swc-project/swc/blob/HEAD/CHANGELOG.md#1380---2023-08-25) [Compare Source](https://togithub.com/swc-project/swc/compare/v1.3.79...v1.3.80) ##### Bug Fixes - **(es/module)** Fix logic for exact matches in `jsc.paths` ([#&#8203;7860](https://togithub.com/swc-project/swc/issues/7860)) ([52a1ee7](https://togithub.com/swc-project/swc/commit/52a1ee78da87da760f9923cd8cdb420da855417f)) - **(es/module)** Don't resolve as `node_modules` from `TscResolver` ([#&#8203;7866](https://togithub.com/swc-project/swc/issues/7866)) ([11ebae1](https://togithub.com/swc-project/swc/commit/11ebae1bdd2fbd05d908fa560b81b830dddb3c56)) ##### Miscellaneous Tasks - **general**: Remove unused files ([e47f1c2](https://togithub.com/swc-project/swc/commit/e47f1c2bf7e1dc9fedf5a364884a40a5e7735973)) ### [`v1.3.79`](https://togithub.com/swc-project/swc/blob/HEAD/CHANGELOG.md#1379---2023-08-25) [Compare Source](https://togithub.com/swc-project/swc/compare/v1.3.78...v1.3.79) ##### Bug Fixes - **(es)** Fix default value of `jsc.minify.format.comments` ([#&#8203;7853](https://togithub.com/swc-project/swc/issues/7853)) ([64e51d3](https://togithub.com/swc-project/swc/commit/64e51d3a28052734d2eaf9992bc8ba578dd5630b)) - **(es/minifier)** Don't inline properties if the var is not `fn-local` ([#&#8203;7839](https://togithub.com/swc-project/swc/issues/7839)) ([7fe01e6](https://togithub.com/swc-project/swc/commit/7fe01e64dd9917d375a4f1cf9661ffaca822c5b3)) - **(es/minifier)** Don't remove exports ([#&#8203;7856](https://togithub.com/swc-project/swc/issues/7856)) ([ae8cd94](https://togithub.com/swc-project/swc/commit/ae8cd9430dd1ec0d857ac7f87ffa4b76258be92c)) - **(es/module)** Make `jsc.paths` work for a nest.js app ([#&#8203;7852](https://togithub.com/swc-project/swc/issues/7852)) ([d33a973](https://togithub.com/swc-project/swc/commit/d33a97303ceeee4069321ef21027ff99fe973a79)) ##### Features - **(css/ast)** Support `@scope` at-rule ([#&#8203;7837](https://togithub.com/swc-project/swc/issues/7837)) ([a34f359](https://togithub.com/swc-project/swc/commit/a34f3592b3fd2731b63a5c58c5022e12a403850b)) ##### Miscellaneous Tasks - **(ci)** Fix CI ([#&#8203;7857](https://togithub.com/swc-project/swc/issues/7857)) ([854e2e7](https://togithub.com/swc-project/swc/commit/854e2e78b38699fd09c65074a38a21d1d9836002)) ##### Refactor - **(common)** Mark some methods of `Input` unsafe ([#&#8203;7848](https://togithub.com/swc-project/swc/issues/7848)) ([c657324](https://togithub.com/swc-project/swc/commit/c65732496e4e2aab664b7443a29f5180cba6e965)) - **(es/helpers)** Move packages for monorepo ([#&#8203;7833](https://togithub.com/swc-project/swc/issues/7833)) ([1ab406c](https://togithub.com/swc-project/swc/commit/1ab406cd7aa19ea333a8462b0cd496ceb3e39ac1)) - **(es/minifier)** Pre-calculate `reassigned` ([#&#8203;7832](https://togithub.com/swc-project/swc/issues/7832)) ([65db1ba](https://togithub.com/swc-project/swc/commit/65db1badff3108983fcd59f933e9f87c55d62916)) - **(es/types)** Extract `@swc/types` as a small, reusable package ([#&#8203;7834](https://togithub.com/swc-project/swc/issues/7834)) ([f713f1b](https://togithub.com/swc-project/swc/commit/f713f1b2f6783ed6d85edd6decd87daa473acea0)) ### [`v1.3.78`](https://togithub.com/swc-project/swc/blob/HEAD/CHANGELOG.md#1378---2023-08-17) [Compare Source](https://togithub.com/swc-project/swc/compare/v1.3.77...v1.3.78) ##### Bug Fixes - **(es/codegen)** Add quotes to property names when `ascii_only` is `true` ([#&#8203;7820](https://togithub.com/swc-project/swc/issues/7820)) ([04921f3](https://togithub.com/swc-project/swc/commit/04921f301afbc2dc74bed4cb24e7656b60e54327)) - **(es/compat)** Remove wrong logic for object patterns in `object_rest` ([#&#8203;7788](https://togithub.com/swc-project/swc/issues/7788)) ([3766a7c](https://togithub.com/swc-project/swc/commit/3766a7c776b63e159be3f11f5f931c5e5f968cdb)) - **(es/minifier)** Preserve `cooked` while compressing template literals ([#&#8203;7773](https://togithub.com/swc-project/swc/issues/7773)) ([05990a9](https://togithub.com/swc-project/swc/commit/05990a98fd3f06a3c03bd1e795800acf22f16035)) - **(es/minifier)** Abort seq inliner if var is not fn_local or reassigned ([#&#8203;7804](https://togithub.com/swc-project/swc/issues/7804)) ([f8ca366](https://togithub.com/swc-project/swc/commit/f8ca366cc179d2d83d35148c3600b8faa2e7f801)) - **(es/minifier)** Preserve more analysis data upon inlining ([#&#8203;7823](https://togithub.com/swc-project/swc/issues/7823)) ([31de19e](https://togithub.com/swc-project/swc/commit/31de19ece22663623b1fc1fe48c90b7aa41e41e0)) ##### Features - **(es/module)** Improve error message about relative `jsc.baseUrl` ([#&#8203;7827](https://togithub.com/swc-project/swc/issues/7827)) ([9099883](https://togithub.com/swc-project/swc/commit/9099883175c590106109670de01ab32b33303bfd)) ##### Refactor - **(common)** Make `ahash` optional ([#&#8203;7816](https://togithub.com/swc-project/swc/issues/7816)) ([981d7b1](https://togithub.com/swc-project/swc/commit/981d7b152b2f488a67d42052152db22225f1d094)) - **(es/parser)** Remove needless `unsafe` ([#&#8203;7818](https://togithub.com/swc-project/swc/issues/7818)) ([8b809db](https://togithub.com/swc-project/swc/commit/8b809dbe23cab3db2159979cf1852a69c109f1e0))- **general**: Use `ahash` from `swc_common` in more places ([#&#8203;7815](https://togithub.com/swc-project/swc/issues/7815)) ([b43e38d](https://togithub.com/swc-project/swc/commit/b43e38d3f92bc889e263b741dbe173a6f2206d88)) ### [`v1.3.77`](https://togithub.com/swc-project/swc/blob/HEAD/CHANGELOG.md#1377---2023-08-16) [Compare Source](https://togithub.com/swc-project/swc/compare/v1.3.76...v1.3.77) ##### Bug Fixes - **(es)** Resolve `jsc.baseUrl` for `.swcrc` specified by `--config-file` ([#&#8203;7801](https://togithub.com/swc-project/swc/issues/7801)) ([fe1ca26](https://togithub.com/swc-project/swc/commit/fe1ca26218493d2e7d4121433c365a37e13285e6)) - **(es/compat)** Revert [#&#8203;7610](https://togithub.com/swc-project/swc/issues/7610) ([#&#8203;7813](https://togithub.com/swc-project/swc/issues/7813)) ([42dec55](https://togithub.com/swc-project/swc/commit/42dec557ed2e8fd829aba7847b354003cfea1b18)) - **(es/parser)** Revert lexer fix for `<<` ([#&#8203;7807](https://togithub.com/swc-project/swc/issues/7807)) ([e527c12](https://togithub.com/swc-project/swc/commit/e527c12a82740397ed4e909f242326f8e92624a8)) ##### Features - **(es/ast)** Expose `Archived` types ([#&#8203;7811](https://togithub.com/swc-project/swc/issues/7811)) ([478fa47](https://togithub.com/swc-project/swc/commit/478fa4736f355555c7a19e7b674db5d7bd81c0e2)) ##### Refactor - **(es/parser)** Don't attempt to handle shebangs in `read_token_number_sign` ([#&#8203;7803](https://togithub.com/swc-project/swc/issues/7803)) ([5e7834a](https://togithub.com/swc-project/swc/commit/5e7834aa2ecb0cd01b72979f393a517f1c1e5add)) </details> <details> <summary>swc-project/jest (@&#8203;swc/jest)</summary> ### [`v0.2.29`](https://togithub.com/swc-project/jest/compare/v0.2.28...v0.2.29) [Compare Source](https://togithub.com/swc-project/jest/compare/v0.2.28...v0.2.29) </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. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- 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://developer.mend.io/github/Unleash/unleash). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi44My4wIiwidXBkYXRlZEluVmVyIjoiMzYuODMuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-14 13:20:32 +02:00
"@swc/jest": "0.2.29",
chore(deps): update dependency @types/bcryptjs to v2.4.6 (#5426) [![Mend Renovate logo banner](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@types/bcryptjs](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/bcryptjs) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped)) | [`2.4.5` -> `2.4.6`](https://renovatebot.com/diffs/npm/@types%2fbcryptjs/2.4.5/2.4.6) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fbcryptjs/2.4.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fbcryptjs/2.4.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fbcryptjs/2.4.5/2.4.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fbcryptjs/2.4.5/2.4.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### 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 this update 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://developer.mend.io/github/Unleash/unleash). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy41OS44IiwidXBkYXRlZEluVmVyIjoiMzcuNTkuOCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-27 11:22:24 +01:00
"@types/bcryptjs": "2.4.6",
chore(deps): update dependency @types/cors to v2.8.17 (#5451) [![Mend Renovate logo banner](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@types/cors](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/cors) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped)) | [`2.8.16` -> `2.8.17`](https://renovatebot.com/diffs/npm/@types%2fcors/2.8.16/2.8.17) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fcors/2.8.17?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fcors/2.8.17?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fcors/2.8.16/2.8.17?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fcors/2.8.16/2.8.17?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### 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 this update 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://developer.mend.io/github/Unleash/unleash). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy41OS44IiwidXBkYXRlZEluVmVyIjoiMzcuNTkuOCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-28 02:45:23 +01:00
"@types/cors": "2.8.17",
chore(deps): update dependency @types/express to v4.17.21 (#5432) [![Mend Renovate logo banner](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@types/express](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/express) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped)) | [`4.17.20` -> `4.17.21`](https://renovatebot.com/diffs/npm/@types%2fexpress/4.17.20/4.17.21) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fexpress/4.17.21?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fexpress/4.17.21?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fexpress/4.17.20/4.17.21?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fexpress/4.17.20/4.17.21?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### 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 this update 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://developer.mend.io/github/Unleash/unleash). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy41OS44IiwidXBkYXRlZEluVmVyIjoiMzcuNTkuOCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-27 13:44:56 +01:00
"@types/express": "4.17.21",
chore(deps): update dependency @types/express-session to v1.17.10 (#5434) [![Mend Renovate logo banner](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@types/express-session](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/express-session) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped)) | [`1.17.9` -> `1.17.10`](https://renovatebot.com/diffs/npm/@types%2fexpress-session/1.17.9/1.17.10) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fexpress-session/1.17.10?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fexpress-session/1.17.10?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fexpress-session/1.17.9/1.17.10?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fexpress-session/1.17.9/1.17.10?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### 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 this update 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://developer.mend.io/github/Unleash/unleash). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy41OS44IiwidXBkYXRlZEluVmVyIjoiMzcuNTkuOCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-27 14:18:05 +01:00
"@types/express-session": "1.17.10",
"@types/faker": "5.5.9",
"@types/hash-sum": "^1.0.0",
chore(deps): update dependency @types/jest to v29.5.10 (#5481) [![Mend Renovate logo banner](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@types/jest](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jest) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped)) | [`29.5.9` -> `29.5.10`](https://renovatebot.com/diffs/npm/@types%2fjest/29.5.9/29.5.10) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fjest/29.5.10?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fjest/29.5.10?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fjest/29.5.9/29.5.10?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fjest/29.5.9/29.5.10?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### 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 this update 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://developer.mend.io/github/Unleash/unleash). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy41OS44IiwidXBkYXRlZEluVmVyIjoiMzcuNTkuOCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-29 03:16:55 +01:00
"@types/jest": "29.5.10",
chore(deps): update dependency @types/js-yaml to v4.0.9 (#5442) [![Mend Renovate logo banner](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@types/js-yaml](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/js-yaml) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped)) | [`4.0.8` -> `4.0.9`](https://renovatebot.com/diffs/npm/@types%2fjs-yaml/4.0.8/4.0.9) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fjs-yaml/4.0.9?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fjs-yaml/4.0.9?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fjs-yaml/4.0.8/4.0.9?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fjs-yaml/4.0.8/4.0.9?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### 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 this update 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://developer.mend.io/github/Unleash/unleash). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy41OS44IiwidXBkYXRlZEluVmVyIjoiMzcuNTkuOCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-27 15:07:50 +01:00
"@types/js-yaml": "4.0.9",
chore(deps): update dependency @types/lodash.groupby to v4.6.9 (#5447) [![Mend Renovate logo banner](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@types/lodash.groupby](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/lodash.groupby) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped)) | [`4.6.8` -> `4.6.9`](https://renovatebot.com/diffs/npm/@types%2flodash.groupby/4.6.8/4.6.9) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2flodash.groupby/4.6.9?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2flodash.groupby/4.6.9?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2flodash.groupby/4.6.8/4.6.9?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2flodash.groupby/4.6.8/4.6.9?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### 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 this update 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://developer.mend.io/github/Unleash/unleash). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy41OS44IiwidXBkYXRlZEluVmVyIjoiMzcuNTkuOCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-27 19:00:52 +01:00
"@types/lodash.groupby": "4.6.9",
chore(deps): update dependency @types/make-fetch-happen to v10.0.4 (#5456) [![Mend Renovate logo banner](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@types/make-fetch-happen](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/make-fetch-happen) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped)) | [`10.0.3` -> `10.0.4`](https://renovatebot.com/diffs/npm/@types%2fmake-fetch-happen/10.0.3/10.0.4) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fmake-fetch-happen/10.0.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fmake-fetch-happen/10.0.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fmake-fetch-happen/10.0.3/10.0.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fmake-fetch-happen/10.0.3/10.0.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### 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 this update 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://developer.mend.io/github/Unleash/unleash). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy41OS44IiwidXBkYXRlZEluVmVyIjoiMzcuNTkuOCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-28 09:41:10 +01:00
"@types/make-fetch-happen": "10.0.4",
chore(deps): update dependency @types/memoizee to v0.4.11 (#5457) [![Mend Renovate logo banner](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@types/memoizee](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/memoizee) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped)) | [`0.4.10` -> `0.4.11`](https://renovatebot.com/diffs/npm/@types%2fmemoizee/0.4.10/0.4.11) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fmemoizee/0.4.11?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fmemoizee/0.4.11?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fmemoizee/0.4.10/0.4.11?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fmemoizee/0.4.10/0.4.11?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### 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 this update 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://developer.mend.io/github/Unleash/unleash). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy41OS44IiwidXBkYXRlZEluVmVyIjoiMzcuNTkuOCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-28 10:04:09 +01:00
"@types/memoizee": "0.4.11",
chore(deps): update dependency @types/mime to v3.0.4 (#5458) [![Mend Renovate logo banner](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@types/mime](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/mime) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped)) | [`3.0.3` -> `3.0.4`](https://renovatebot.com/diffs/npm/@types%2fmime/3.0.3/3.0.4) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fmime/3.0.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fmime/3.0.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fmime/3.0.3/3.0.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fmime/3.0.3/3.0.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### 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 this update 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://developer.mend.io/github/Unleash/unleash). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy41OS44IiwidXBkYXRlZEluVmVyIjoiMzcuNTkuOCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-28 10:10:17 +01:00
"@types/mime": "3.0.4",
chore(deps): update dependency @types/node to v18.17.19 (#4890) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@types/node](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped)) | [`18.17.18` -> `18.17.19`](https://renovatebot.com/diffs/npm/@types%2fnode/18.17.18/18.17.19) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fnode/18.17.19?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fnode/18.17.19?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fnode/18.17.18/18.17.19?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fnode/18.17.18/18.17.19?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### 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 this update 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://developer.mend.io/github/Unleash/unleash). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4wLjMiLCJ1cGRhdGVkSW5WZXIiOiIzNy4wLjMiLCJ0YXJnZXRCcmFuY2giOiJtYWluIn0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-30 23:13:22 +02:00
"@types/node": "18.17.19",
chore(deps): update dependency @types/nodemailer to v6.4.14 (#5460) [![Mend Renovate logo banner](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@types/nodemailer](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/nodemailer) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped)) | [`6.4.13` -> `6.4.14`](https://renovatebot.com/diffs/npm/@types%2fnodemailer/6.4.13/6.4.14) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fnodemailer/6.4.14?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fnodemailer/6.4.14?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fnodemailer/6.4.13/6.4.14?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fnodemailer/6.4.13/6.4.14?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### 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 this update 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://developer.mend.io/github/Unleash/unleash). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy41OS44IiwidXBkYXRlZEluVmVyIjoiMzcuNTkuOCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-28 12:26:10 +01:00
"@types/nodemailer": "6.4.14",
chore(deps): update dependency @types/owasp-password-strength-test to v1.3.2 (#5461) [![Mend Renovate logo banner](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@types/owasp-password-strength-test](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/owasp-password-strength-test) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped)) | [`1.3.1` -> `1.3.2`](https://renovatebot.com/diffs/npm/@types%2fowasp-password-strength-test/1.3.1/1.3.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fowasp-password-strength-test/1.3.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fowasp-password-strength-test/1.3.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fowasp-password-strength-test/1.3.1/1.3.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fowasp-password-strength-test/1.3.1/1.3.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### 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 this update 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://developer.mend.io/github/Unleash/unleash). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy41OS44IiwidXBkYXRlZEluVmVyIjoiMzcuNTkuOCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-28 13:00:26 +01:00
"@types/owasp-password-strength-test": "1.3.2",
chore(deps): update dependency @types/pg to v8.10.9 (#5463) [![Mend Renovate logo banner](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@types/pg](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/pg) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped)) | [`8.10.7` -> `8.10.9`](https://renovatebot.com/diffs/npm/@types%2fpg/8.10.7/8.10.9) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fpg/8.10.9?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fpg/8.10.9?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fpg/8.10.7/8.10.9?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fpg/8.10.7/8.10.9?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### 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 this update 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://developer.mend.io/github/Unleash/unleash). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy41OS44IiwidXBkYXRlZEluVmVyIjoiMzcuNTkuOCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-28 13:49:49 +01:00
"@types/pg": "8.10.9",
chore(deps): update dependency @types/semver to v7.5.6 (#5468) [![Mend Renovate logo banner](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@types/semver](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/semver) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped)) | [`7.5.4` -> `7.5.6`](https://renovatebot.com/diffs/npm/@types%2fsemver/7.5.4/7.5.6) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fsemver/7.5.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fsemver/7.5.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fsemver/7.5.4/7.5.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fsemver/7.5.4/7.5.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### 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 this update 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://developer.mend.io/github/Unleash/unleash). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy41OS44IiwidXBkYXRlZEluVmVyIjoiMzcuNTkuOCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-28 15:47:16 +01:00
"@types/semver": "7.5.6",
chore(deps): update dependency @types/stoppable to v1.1.3 (#5471) [![Mend Renovate logo banner](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@types/stoppable](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/stoppable) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped)) | [`1.1.2` -> `1.1.3`](https://renovatebot.com/diffs/npm/@types%2fstoppable/1.1.2/1.1.3) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fstoppable/1.1.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fstoppable/1.1.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fstoppable/1.1.2/1.1.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fstoppable/1.1.2/1.1.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### 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 this update 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://developer.mend.io/github/Unleash/unleash). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy41OS44IiwidXBkYXRlZEluVmVyIjoiMzcuNTkuOCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-28 16:14:28 +01:00
"@types/stoppable": "1.1.3",
chore(deps): update dependency @types/supertest to v2.0.16 (#5472) [![Mend Renovate logo banner](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@types/supertest](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/supertest) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped)) | [`2.0.15` -> `2.0.16`](https://renovatebot.com/diffs/npm/@types%2fsupertest/2.0.15/2.0.16) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fsupertest/2.0.16?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fsupertest/2.0.16?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fsupertest/2.0.15/2.0.16?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fsupertest/2.0.15/2.0.16?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### 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 this update 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://developer.mend.io/github/Unleash/unleash). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy41OS44IiwidXBkYXRlZEluVmVyIjoiMzcuNTkuOCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-28 17:00:56 +01:00
"@types/supertest": "2.0.16",
chore(deps): update dependency @types/type-is to v1.6.6 (#5474) [![Mend Renovate logo banner](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@types/type-is](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/type-is) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped)) | [`1.6.5` -> `1.6.6`](https://renovatebot.com/diffs/npm/@types%2ftype-is/1.6.5/1.6.6) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2ftype-is/1.6.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2ftype-is/1.6.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2ftype-is/1.6.5/1.6.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2ftype-is/1.6.5/1.6.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### 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 this update 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://developer.mend.io/github/Unleash/unleash). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy41OS44IiwidXBkYXRlZEluVmVyIjoiMzcuNTkuOCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-28 17:03:18 +01:00
"@types/type-is": "1.6.6",
chore(deps): update dependency @types/uuid to v9.0.7 (#5479) [![Mend Renovate logo banner](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@types/uuid](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/uuid) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped)) | [`9.0.6` -> `9.0.7`](https://renovatebot.com/diffs/npm/@types%2fuuid/9.0.6/9.0.7) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fuuid/9.0.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fuuid/9.0.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fuuid/9.0.6/9.0.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fuuid/9.0.6/9.0.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### 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 this update 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://developer.mend.io/github/Unleash/unleash). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy41OS44IiwidXBkYXRlZEluVmVyIjoiMzcuNTkuOCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-28 20:36:54 +01:00
"@types/uuid": "9.0.7",
chore: simplify package scripts (#3736) # Simplify package scripts This PR's purpose is to raise a discussion surrounding our current package scripts. It includes some suggestions that aim to simplify the scripts and hopefully bring a much more straightforward approach to developing and contributing to Unleash. Building (prod) should only happen **explicitly** and when needed. ## Before PR (current behavior) - Clone the project; - Open 2 terminals: One for `unleash` and another for `unleash/frontend`; - On `unleash`: - Run `yarn` (which will also build, for some reason?); - Run `yarn start:dev` to start backend in dev mode (`tsc-watch`); - On `unleash/frontend`: - Run `yarn` (which will also build, for some reason?); - Run `yarn start` to start frontend in dev mode (`vite`); So it seems to me like we build unnecessarily every time we install dependencies. Neither dev scripts need to build the project, as backend uses `tsc-watch` and frontend uses `vite`. I'm unsure why this is the case, as building can take a very long time. ![image](https://github.com/Unleash/unleash/assets/14320932/5ecb7df1-e5b4-4d70-ba7e-97119f5d1116) There's also some complexity in the way we need to split the terminal to `cd` into `frontend` and treat it as a different project. The fact that we have different script names is also confusing (`yarn start`, `yarn start:dev`, etc). ## After PR - Clone the project; - Run `yarn` to install all dependencies; - Run `yarn dev` to get started developing Unleash; Running `yarn` should take care of everything needed to start developing. This includes installing dependencies for frontend as well. It should not build projects if we are not being explicit about it, especially since we don't need to build them at this stage. ![image](https://github.com/Unleash/unleash/assets/14320932/614e42fc-3467-432f-91fc-624b1b35c7c1) Running `yarn dev` should start the project in dev mode. This means running both projects in `dev` mode, which for `backend` means running `tsc-watch` and for `frontend` means running `vite`. Here this PR attempts to provide a better DX by using [concurrently](https://www.npmjs.com/package/concurrently) and [wait-on](https://www.npmjs.com/package/wait-on) - This means both tasks are ran simultaneously, stdout is labeled accordingly, and are stopped together. It also means that `frontend` waits for `backend` to be serving at `4242` before starting, since `frontend` starts pretty much immediately with `vite` and `backend` takes a bit longer. Of course, when the `backend` is hot-reloading you may still find some `ECONNREFUSED`s on `frontend` stdout while it recompiles. ![image](https://github.com/Unleash/unleash/assets/14320932/8bde8ee2-3cad-4e3f-a0db-9eed60cfb04d) No more splitting your terminal and treating `frontend` as a separate project. ## Discussion points Maybe there's a better alternative to `tsc-watch`? I briefly explored some alternatives and while they had a much faster starting speed, hot-reload was sometimes slower. IMO we should aspire to run `src/server-dev.ts` directly and only compile when needed. Running `dev:backend` still serves a version of the frontend (at 4242). **Why? Can we remove that behavior?** I can't imagine a scenario in dev where we wouldn't want to run the latest version of the frontend with `vite`. ~~**Note:** This PR removes all other out-of-scope scripts to focus on this revamp. If we decide to merge it, we should evaluate what other existing scripts we still want to include. May be a good opportunity to clean up unused ones and only include the ones we really use. This includes scripts that our GH actions rely on.~~ **Update:** In an effort to minimize impact surface of this PR and make it a bit more ready for merging: - It updates some docs in https://github.com/Unleash/unleash/pull/3736/commits/2a4ff805e87b65d9c1256effaa189ddcccba15fb and https://github.com/Unleash/unleash/pull/3736/commits/1bbc4882519b5a82e3116f0be255ad24a6f3ce53 to reflect our new simplified flow; - It includes the old package scripts for now in https://github.com/Unleash/unleash/pull/3736/commits/039bc04699ac880e491fd3ce01f9bcd6f97a94b9; - It updates some of our GH actions to reflect the new scripts in https://github.com/Unleash/unleash/pull/3736/commits/7782cb9b12e37ee844507e41ef2b7137eaf55666; Given its current status I'll promote the PR to "ready for review". I still think we should have a second look at our existing scripts and GH actions to see what we really need and/or should adapt, but it should be a team effort so we have a broader context. Maybe on a follow-up PR. Does this require any changes to related projects (e.g. Enterprise)? --------- Co-authored-by: Gastón Fournier <gaston@getunleash.io>
2023-05-12 12:23:22 +02:00
"concurrently": "^8.0.1",
"copyfiles": "2.4.1",
"coveralls": "3.1.1",
chore(deps): update dependency del-cli to v5.1.0 (#4725) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [del-cli](https://togithub.com/sindresorhus/del-cli) | [`5.0.0` -> `5.1.0`](https://renovatebot.com/diffs/npm/del-cli/5.0.0/5.1.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/del-cli/5.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/del-cli/5.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/del-cli/5.0.0/5.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/del-cli/5.0.0/5.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>sindresorhus/del-cli (del-cli)</summary> ### [`v5.1.0`](https://togithub.com/sindresorhus/del-cli/releases/tag/v5.1.0) [Compare Source](https://togithub.com/sindresorhus/del-cli/compare/v5.0.1...v5.1.0) - Add `--verbose` flag ([#&#8203;37](https://togithub.com/sindresorhus/del-cli/issues/37)) [`f32b531`](https://togithub.com/sindresorhus/del-cli/commit/f32b531) ### [`v5.0.1`](https://togithub.com/sindresorhus/del-cli/releases/tag/v5.0.1) [Compare Source](https://togithub.com/sindresorhus/del-cli/compare/v5.0.0...v5.0.1) - Fix Windows compatibility for use with `npx` [`537e5b3`](https://togithub.com/sindresorhus/del-cli/commit/537e5b3) </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 this update 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://developer.mend.io/github/Unleash/unleash). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi44My4wIiwidXBkYXRlZEluVmVyIjoiMzYuODMuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-14 16:06:04 +02:00
"del-cli": "5.1.0",
2022-01-05 11:00:08 +01:00
"faker": "5.5.3",
chore(deps): update dependency fast-check to v3.14.0 (#5500) [![Mend Renovate logo banner](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [fast-check](https://togithub.com/dubzzz/fast-check) | [`3.13.2` -> `3.14.0`](https://renovatebot.com/diffs/npm/fast-check/3.13.2/3.14.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/fast-check/3.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/fast-check/3.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/fast-check/3.13.2/3.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/fast-check/3.13.2/3.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>dubzzz/fast-check (fast-check)</summary> ### [`v3.14.0`](https://togithub.com/dubzzz/fast-check/blob/HEAD/packages/fast-check/CHANGELOG.md#3140) [Compare Source](https://togithub.com/dubzzz/fast-check/compare/v3.13.2...v3.14.0) *Lighter import with less internals to load* \[[Code](https://togithub.com/dubzzz/fast-check/tree/v3.14.0)]\[[Diff](https://togithub.com/dubzzz/fast-check/compare/v3.13.2...v3.14.0)] #### Features - ([PR#4426](https://togithub.com/dubzzz/fast-check/pull/4426)) Prefer "import type" over raw "import" #### Fixes - ([PR#4364](https://togithub.com/dubzzz/fast-check/pull/4364)) CI: Toggle more immutable on yarn - ([PR#4369](https://togithub.com/dubzzz/fast-check/pull/4369)) CI: Do not override existing on untar - ([PR#4372](https://togithub.com/dubzzz/fast-check/pull/4372)) CI: REVERT Do not override existing on untar - ([PR#4371](https://togithub.com/dubzzz/fast-check/pull/4371)) CI: Mark final check as failed and not skipped - ([PR#4375](https://togithub.com/dubzzz/fast-check/pull/4375)) CI: Attempt to patch untar step - ([PR#4378](https://togithub.com/dubzzz/fast-check/pull/4378)) CI: Attempt to patch untar step - ([PR#4380](https://togithub.com/dubzzz/fast-check/pull/4380)) CI: Add missing but directly called dependencies - ([PR#4384](https://togithub.com/dubzzz/fast-check/pull/4384)) CI: Attempt to patch untar step - ([PR#4368](https://togithub.com/dubzzz/fast-check/pull/4368)) CI: Attempt to switch to pnp linker - ([PR#4407](https://togithub.com/dubzzz/fast-check/pull/4407)) CI: No parallel "git" command - ([PR#4419](https://togithub.com/dubzzz/fast-check/pull/4419)) CI: Prefer "import type" via linter - ([PR#4428](https://togithub.com/dubzzz/fast-check/pull/4428)) CI: Default to Node 20 for CI - ([PR#4441](https://togithub.com/dubzzz/fast-check/pull/4441)) CI: Add support for PnP on VSCode - ([PR#4345](https://togithub.com/dubzzz/fast-check/pull/4345)) Performance: Faster replay: drop loose compare - ([PR#4381](https://togithub.com/dubzzz/fast-check/pull/4381)) Test: Import buffer via aliased name *** </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 this update 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://developer.mend.io/github/Unleash/unleash). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy41OS44IiwidXBkYXRlZEluVmVyIjoiMzcuNTkuOCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-29 15:22:04 +01:00
"fast-check": "3.14.0",
"fetch-mock": "9.11.0",
chore(deps): update dependency husky to v8.0.3 (#2803) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [husky](https://typicode.github.io/husky) ([source](https://togithub.com/typicode/husky)) | [`8.0.2` -> `8.0.3`](https://renovatebot.com/diffs/npm/husky/8.0.2/8.0.3) | [![age](https://badges.renovateapi.com/packages/npm/husky/8.0.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/husky/8.0.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/husky/8.0.3/compatibility-slim/8.0.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/husky/8.0.3/confidence-slim/8.0.2)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>typicode/husky</summary> ### [`v8.0.3`](https://togithub.com/typicode/husky/releases/tag/v8.0.3) [Compare Source](https://togithub.com/typicode/husky/compare/v8.0.2...v8.0.3) - fix: add git not installed message [#&#8203;1208](https://togithub.com/typicode/husky/issues/1208) </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 this update 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:eyJjcmVhdGVkSW5WZXIiOiIzNC43NC4yIiwidXBkYXRlZEluVmVyIjoiMzQuNzQuMiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-03 21:59:24 +01:00
"husky": "8.0.3",
chore(deps): update dependency jest to v29.7.0 (#4799) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [jest](https://jestjs.io/) ([source](https://togithub.com/jestjs/jest)) | [`29.6.4` -> `29.7.0`](https://renovatebot.com/diffs/npm/jest/29.6.4/29.7.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/jest/29.7.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/jest/29.7.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/jest/29.6.4/29.7.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/jest/29.6.4/29.7.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>jestjs/jest (jest)</summary> ### [`v29.7.0`](https://togithub.com/jestjs/jest/blob/HEAD/CHANGELOG.md#2970) [Compare Source](https://togithub.com/jestjs/jest/compare/v29.6.4...v29.7.0) ##### Features - `[create-jest]` Add `npm init` / `yarn create` initialiser for Jest projects ([#&#8203;14465](https://togithub.com/jestjs/jest/pull/14453)) - `[jest-validate]` Allow deprecation warnings for unknown options ([#&#8203;14499](https://togithub.com/jestjs/jest/pull/14499)) ##### Fixes - `[jest-resolver]` Replace unmatched capture groups in `moduleNameMapper` with empty string instead of `undefined` ([#&#8203;14507](https://togithub.com/jestjs/jest/pull/14507)) - `[jest-snapshot]` Allow for strings as well as template literals in inline snapshots ([#&#8203;14465](https://togithub.com/jestjs/jest/pull/14465)) - `[@jest/test-sequencer]` Calculate test runtime if `perStats.duration` is missing ([#&#8203;14473](https://togithub.com/jestjs/jest/pull/14473)) ##### Performance - `[@jest/create-cache-key-function]` Cache access of `NODE_ENV` and `BABEL_ENV` ([#&#8203;14455](https://togithub.com/jestjs/jest/pull/14455)) ##### Chore & Maintenance - `[jest-cli]` Move internal config initialisation logic to the `create-jest` package ([#&#8203;14465](https://togithub.com/jestjs/jest/pull/14453)) </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 this update 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://developer.mend.io/github/Unleash/unleash). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi45Ny4xIiwidXBkYXRlZEluVmVyIjoiMzYuOTcuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-20 18:14:36 +02:00
"jest": "29.7.0",
"jest-junit": "^16.0.0",
2023-09-15 09:30:54 +02:00
"lint-staged": "13.2.3",
chore(deps): update dependency nock to v13.4.0 (#5535) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [nock](https://togithub.com/nock/nock) | [`13.3.8` -> `13.4.0`](https://renovatebot.com/diffs/npm/nock/13.3.8/13.4.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/nock/13.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/nock/13.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/nock/13.3.8/13.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/nock/13.3.8/13.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>nock/nock (nock)</summary> ### [`v13.4.0`](https://togithub.com/nock/nock/releases/tag/v13.4.0) [Compare Source](https://togithub.com/nock/nock/compare/v13.3.8...v13.4.0) ##### Features - add `context.query()` to nock back ([#&#8203;2553](https://togithub.com/nock/nock/issues/2553)) ([617511f](https://togithub.com/nock/nock/commit/617511ffb48cbf00928f9ee62292a2db3c124b11)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am every weekday" in timezone Europe/Madrid, 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 this update 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://developer.mend.io/github/Unleash/unleash). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy44MS4zIiwidXBkYXRlZEluVmVyIjoiMzcuODEuMyIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-04 23:41:10 +01:00
"nock": "13.4.0",
chore(deps): update dependency openapi-enforcer to v1.22.3 (#3753) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [openapi-enforcer](https://openapi-enforcer.com) ([source](https://togithub.com/byu-oit/openapi-enforcer)) | [`1.22.2` -> `1.22.3`](https://renovatebot.com/diffs/npm/openapi-enforcer/1.22.2/1.22.3) | [![age](https://badges.renovateapi.com/packages/npm/openapi-enforcer/1.22.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/openapi-enforcer/1.22.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/openapi-enforcer/1.22.3/compatibility-slim/1.22.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/openapi-enforcer/1.22.3/confidence-slim/1.22.2)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>byu-oit/openapi-enforcer</summary> ### [`v1.22.3`](https://togithub.com/byu-oit/openapi-enforcer/blob/HEAD/CHANGELOG.md#&#8203;1223) [Compare Source](https://togithub.com/byu-oit/openapi-enforcer/compare/72e13f2b91eef7fc8a6346bb12a485b675236472...5f3718155e0e07f0f092374a5a6031353e03668f) ##### Security - **Update Dependencies** Updated some dependencies to address security vulnerabilities. </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 this update 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:eyJjcmVhdGVkSW5WZXIiOiIzNS43OS4xIiwidXBkYXRlZEluVmVyIjoiMzUuNzkuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-12 23:12:27 +02:00
"openapi-enforcer": "1.22.3",
"proxyquire": "2.1.3",
"source-map-support": "0.5.21",
chore(deps): update dependency superagent to v8.1.2 (#4733) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [superagent](https://togithub.com/ladjs/superagent) | [`8.0.9` -> `8.1.2`](https://renovatebot.com/diffs/npm/superagent/8.0.9/8.1.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/superagent/8.1.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/superagent/8.1.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/superagent/8.0.9/8.1.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/superagent/8.0.9/8.1.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>ladjs/superagent (superagent)</summary> ### [`v8.1.2`](https://togithub.com/ladjs/superagent/releases/tag/v8.1.2) [Compare Source](https://togithub.com/ladjs/superagent/compare/v8.1.1...v8.1.2) - Merge pull request [#&#8203;1776](https://togithub.com/ladjs/superagent/issues/1776) from bjornua/bjornba/bigint-guard-fix [`b83887a`](https://togithub.com/ladjs/superagent/commit/b83887a) - fix: handle BigInts that has a .toJSON property [`36088a6`](https://togithub.com/ladjs/superagent/commit/36088a6) ### [`v8.1.1`](https://togithub.com/ladjs/superagent/releases/tag/v8.1.1) [Compare Source](https://togithub.com/ladjs/superagent/compare/v8.1.0...v8.1.1) - Revert "chore: bump deps, xo linting" [`6feca3f`](https://togithub.com/ladjs/superagent/commit/6feca3f) ### [`v8.1.0`](https://togithub.com/ladjs/superagent/releases/tag/v8.1.0) [Compare Source](https://togithub.com/ladjs/superagent/compare/v8.0.9...v8.1.0) - chore: bump deps, xo linting [`8b5400b`](https://togithub.com/ladjs/superagent/commit/8b5400b) - Merge pull request [#&#8203;1764](https://togithub.com/ladjs/superagent/issues/1764) from tobiasdiez/es6\_http2wrapper [`2fd4292`](https://togithub.com/ladjs/superagent/commit/2fd4292) - Merge pull request [#&#8203;1766](https://togithub.com/ladjs/superagent/issues/1766) from slickmb/fix/emit_end_when_unzipping [`a29a062`](https://togithub.com/ladjs/superagent/commit/a29a062) - Merge pull request [#&#8203;1773](https://togithub.com/ladjs/superagent/issues/1773) from NikoRaisanen/bugfix-handle-bigint [`a62866a`](https://togithub.com/ladjs/superagent/commit/a62866a) - Merge pull request [#&#8203;1774](https://togithub.com/ladjs/superagent/issues/1774) from afharo/remove-v14-destroy-before-abort-hack [`4691583`](https://togithub.com/ladjs/superagent/commit/4691583) - fix: do not force-set `req.destroyed = true` on abort [`70c464c`](https://togithub.com/ladjs/superagent/commit/70c464c) - fix: fixed BigInt sent as json [`259a43f`](https://togithub.com/ladjs/superagent/commit/259a43f) - fix: only emit 'end' after unzip is done writing [`ef969fa`](https://togithub.com/ladjs/superagent/commit/ef969fa) - feat: migrate to es6 class instead of util.inherit in http2wrapper [`7801408`](https://togithub.com/ladjs/superagent/commit/7801408) - fix: fixed eslint-plugin-compat issue [`73c7efb`](https://togithub.com/ladjs/superagent/commit/73c7efb) - chore: fixed rimraf dep causing tests to fail [`988636f`](https://togithub.com/ladjs/superagent/commit/988636f) </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 this update 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://developer.mend.io/github/Unleash/unleash). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi44My4wIiwidXBkYXRlZEluVmVyIjoiMzYuODMuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-14 23:29:23 +02:00
"superagent": "8.1.2",
chore(deps): update dependency supertest to v6.3.3 (#2631) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [supertest](https://togithub.com/visionmedia/supertest) | [`6.3.1` -> `6.3.3`](https://renovatebot.com/diffs/npm/supertest/6.3.1/6.3.3) | [![age](https://badges.renovateapi.com/packages/npm/supertest/6.3.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/supertest/6.3.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/supertest/6.3.3/compatibility-slim/6.3.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/supertest/6.3.3/confidence-slim/6.3.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>visionmedia/supertest</summary> ### [`v6.3.3`](https://togithub.com/ladjs/supertest/releases/tag/v6.3.3) [Compare Source](https://togithub.com/visionmedia/supertest/compare/v6.3.2...v6.3.3) - chore: bump deps [`2910f73`](https://togithub.com/visionmedia/supertest/commit/2910f73) ### [`v6.3.2`](https://togithub.com/ladjs/supertest/releases/tag/v6.3.2) [Compare Source](https://togithub.com/visionmedia/supertest/compare/v6.3.1...v6.3.2) - docs: added maintainer note [`e24875d`](https://togithub.com/visionmedia/supertest/commit/e24875d) - docs: fixed links [`5b59ddc`](https://togithub.com/visionmedia/supertest/commit/5b59ddc) </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 this update 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:eyJjcmVhdGVkSW5WZXIiOiIzNC41MS4wIiwidXBkYXRlZEluVmVyIjoiMzQuNTEuMCJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-08 05:33:13 +01:00
"supertest": "6.3.3",
"ts-node": "10.9.1",
chore(deps): update dependency tsc-watch to v6.0.4 (#3704) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [tsc-watch](https://togithub.com/gilamran/tsc-watch) | [`6.0.1` -> `6.0.4`](https://renovatebot.com/diffs/npm/tsc-watch/6.0.1/6.0.4) | [![age](https://badges.renovateapi.com/packages/npm/tsc-watch/6.0.4/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/tsc-watch/6.0.4/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/tsc-watch/6.0.4/compatibility-slim/6.0.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/tsc-watch/6.0.4/confidence-slim/6.0.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>gilamran/tsc-watch</summary> ### [`v6.0.4`](https://togithub.com/gilamran/tsc-watch/blob/HEAD/CHANGELOG.md#v604---29042023) [Compare Source](https://togithub.com/gilamran/tsc-watch/compare/v6.0.3...v6.0.4) - Automate CRLF to LF conversion ### [`v6.0.3`](https://togithub.com/gilamran/tsc-watch/blob/HEAD/CHANGELOG.md#v603---29042023) [Compare Source](https://togithub.com/gilamran/tsc-watch/compare/v6.0.2...v6.0.3) - Fixed (Again CRLF to LF) ### [`v6.0.2`](https://togithub.com/gilamran/tsc-watch/releases/tag/v6.0.2) [Compare Source](https://togithub.com/gilamran/tsc-watch/compare/v6.0.1...v6.0.2) Fixed CRLF to LF issue </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 this update 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:eyJjcmVhdGVkSW5WZXIiOiIzNS43MS40IiwidXBkYXRlZEluVmVyIjoiMzUuNzEuNCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-06 21:18:11 +02:00
"tsc-watch": "6.0.4",
chore: simplify package scripts (#3736) # Simplify package scripts This PR's purpose is to raise a discussion surrounding our current package scripts. It includes some suggestions that aim to simplify the scripts and hopefully bring a much more straightforward approach to developing and contributing to Unleash. Building (prod) should only happen **explicitly** and when needed. ## Before PR (current behavior) - Clone the project; - Open 2 terminals: One for `unleash` and another for `unleash/frontend`; - On `unleash`: - Run `yarn` (which will also build, for some reason?); - Run `yarn start:dev` to start backend in dev mode (`tsc-watch`); - On `unleash/frontend`: - Run `yarn` (which will also build, for some reason?); - Run `yarn start` to start frontend in dev mode (`vite`); So it seems to me like we build unnecessarily every time we install dependencies. Neither dev scripts need to build the project, as backend uses `tsc-watch` and frontend uses `vite`. I'm unsure why this is the case, as building can take a very long time. ![image](https://github.com/Unleash/unleash/assets/14320932/5ecb7df1-e5b4-4d70-ba7e-97119f5d1116) There's also some complexity in the way we need to split the terminal to `cd` into `frontend` and treat it as a different project. The fact that we have different script names is also confusing (`yarn start`, `yarn start:dev`, etc). ## After PR - Clone the project; - Run `yarn` to install all dependencies; - Run `yarn dev` to get started developing Unleash; Running `yarn` should take care of everything needed to start developing. This includes installing dependencies for frontend as well. It should not build projects if we are not being explicit about it, especially since we don't need to build them at this stage. ![image](https://github.com/Unleash/unleash/assets/14320932/614e42fc-3467-432f-91fc-624b1b35c7c1) Running `yarn dev` should start the project in dev mode. This means running both projects in `dev` mode, which for `backend` means running `tsc-watch` and for `frontend` means running `vite`. Here this PR attempts to provide a better DX by using [concurrently](https://www.npmjs.com/package/concurrently) and [wait-on](https://www.npmjs.com/package/wait-on) - This means both tasks are ran simultaneously, stdout is labeled accordingly, and are stopped together. It also means that `frontend` waits for `backend` to be serving at `4242` before starting, since `frontend` starts pretty much immediately with `vite` and `backend` takes a bit longer. Of course, when the `backend` is hot-reloading you may still find some `ECONNREFUSED`s on `frontend` stdout while it recompiles. ![image](https://github.com/Unleash/unleash/assets/14320932/8bde8ee2-3cad-4e3f-a0db-9eed60cfb04d) No more splitting your terminal and treating `frontend` as a separate project. ## Discussion points Maybe there's a better alternative to `tsc-watch`? I briefly explored some alternatives and while they had a much faster starting speed, hot-reload was sometimes slower. IMO we should aspire to run `src/server-dev.ts` directly and only compile when needed. Running `dev:backend` still serves a version of the frontend (at 4242). **Why? Can we remove that behavior?** I can't imagine a scenario in dev where we wouldn't want to run the latest version of the frontend with `vite`. ~~**Note:** This PR removes all other out-of-scope scripts to focus on this revamp. If we decide to merge it, we should evaluate what other existing scripts we still want to include. May be a good opportunity to clean up unused ones and only include the ones we really use. This includes scripts that our GH actions rely on.~~ **Update:** In an effort to minimize impact surface of this PR and make it a bit more ready for merging: - It updates some docs in https://github.com/Unleash/unleash/pull/3736/commits/2a4ff805e87b65d9c1256effaa189ddcccba15fb and https://github.com/Unleash/unleash/pull/3736/commits/1bbc4882519b5a82e3116f0be255ad24a6f3ce53 to reflect our new simplified flow; - It includes the old package scripts for now in https://github.com/Unleash/unleash/pull/3736/commits/039bc04699ac880e491fd3ce01f9bcd6f97a94b9; - It updates some of our GH actions to reflect the new scripts in https://github.com/Unleash/unleash/pull/3736/commits/7782cb9b12e37ee844507e41ef2b7137eaf55666; Given its current status I'll promote the PR to "ready for review". I still think we should have a second look at our existing scripts and GH actions to see what we really need and/or should adapt, but it should be a team effort so we have a broader context. Maybe on a follow-up PR. Does this require any changes to related projects (e.g. Enterprise)? --------- Co-authored-by: Gastón Fournier <gaston@getunleash.io>
2023-05-12 12:23:22 +02:00
"typescript": "4.8.4",
2023-11-23 13:45:36 +01:00
"wait-on": "^7.2.0"
},
2019-10-05 08:10:38 +02:00
"resolutions": {
"async": "^3.2.4",
"db-migrate/rc/minimist": "^1.2.5",
"es5-ext": "0.10.62",
"knex/liftoff/object.map/**/kind-of": "^6.0.3",
"knex/liftoff/findup-sync/micromatc/kind-of": "^6.0.3",
"knex/liftoff/findup-sync/micromatc/nanomatch/kind-of": "^6.0.3",
2020-11-24 12:51:44 +01:00
"knex/liftoff/findup-sync/micromatch/define-property/**/kind-of": "^6.0.3",
"node-forge": "^1.0.0",
2021-09-27 13:26:18 +02:00
"set-value": "^4.0.1",
"ansi-regex": "^5.0.1",
"ssh2": "^1.4.0",
2022-11-03 14:43:36 +01:00
"json-schema": "^0.4.0",
2023-07-04 17:02:38 +02:00
"minimatch": "^5.0.0",
"semver": "^7.5.3",
"tough-cookie": "4.1.3"
2019-10-05 08:10:38 +02:00
},
2017-06-28 14:14:55 +02:00
"lint-staged": {
"*.{js,ts}": ["biome check --apply"],
"*.json": ["biome format --write --no-errors-on-unmatched"]
}
2014-10-23 14:13:17 +02:00
}