1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00
unleash.unleash/package.json

247 lines
7.8 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.",
2023-05-15 14:12:21 +02:00
"version": "5.1.0-beta.54",
2016-05-01 15:43:25 +02:00
"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"
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": "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",
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": "eslint ./src",
"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",
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",
"pretest:coverage:jest": "yarn build:frontend",
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": {
"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": {
"@unleash/express-openapi": "^0.3.0",
"ajv": "^8.11.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.5",
2020-10-02 16:38:51 +02:00
"cookie-session": "^2.0.0-rc.1",
"cors": "^2.8.5",
"date-fns": "^2.25.0",
"db-migrate": "0.11.13",
fix(deps): update dependency db-migrate-pg to v1.3.0 (#3744) [![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.2.2` -> `1.3.0`](https://renovatebot.com/diffs/npm/db-migrate-pg/1.2.2/1.3.0) | [![age](https://badges.renovateapi.com/packages/npm/db-migrate-pg/1.3.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/db-migrate-pg/1.3.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/db-migrate-pg/1.3.0/compatibility-slim/1.2.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/db-migrate-pg/1.3.0/confidence-slim/1.2.2)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>db-migrate/pg</summary> ### [`v1.3.0`](https://togithub.com/db-migrate/pg/compare/v1.2.4...v1.3.0) [Compare Source](https://togithub.com/db-migrate/pg/compare/v1.2.4...v1.3.0) ### [`v1.2.4`](https://togithub.com/db-migrate/pg/compare/v1.2.3...v1.2.4) [Compare Source](https://togithub.com/db-migrate/pg/compare/v1.2.3...v1.2.4) ### [`v1.2.3`](https://togithub.com/db-migrate/pg/compare/v1.2.2...v1.2.3) [Compare Source](https://togithub.com/db-migrate/pg/compare/v1.2.2...v1.2.3) </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:eyJjcmVhdGVkSW5WZXIiOiIzNS43NS4wIiwidXBkYXRlZEluVmVyIjoiMzUuNzguMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-13 01:28:47 +02:00
"db-migrate-pg": "1.3.0",
"db-migrate-shared": "1.2.0",
"deep-object-diff": "^1.1.9",
"deepmerge": "^4.2.2",
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": "^6.6.0",
"express-session": "^1.17.1",
"fast-json-patch": "^3.1.0",
"gravatar-url": "^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",
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",
"js-sha256": "^0.9.0",
"js-yaml": "^4.1.0",
fix(deps): update dependency json-schema-to-ts to v2.7.2 (#3238) [![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.6.0` -> `2.7.2`](https://renovatebot.com/diffs/npm/json-schema-to-ts/2.6.0/2.7.2) | [![age](https://badges.renovateapi.com/packages/npm/json-schema-to-ts/2.7.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/json-schema-to-ts/2.7.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/json-schema-to-ts/2.7.2/compatibility-slim/2.6.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/json-schema-to-ts/2.7.2/confidence-slim/2.6.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>ThomasAribart/json-schema-to-ts</summary> ### [`v2.7.2`](https://togithub.com/ThomasAribart/json-schema-to-ts/compare/v2.7.1...v2.7.2) [Compare Source](https://togithub.com/ThomasAribart/json-schema-to-ts/compare/v2.7.1...v2.7.2) ### [`v2.7.1`](https://togithub.com/ThomasAribart/json-schema-to-ts/compare/v2.7.0...v2.7.1) [Compare Source](https://togithub.com/ThomasAribart/json-schema-to-ts/compare/v2.7.0...v2.7.1) ### [`v2.7.0`](https://togithub.com/ThomasAribart/json-schema-to-ts/compare/v2.6.2...v2.7.0) [Compare Source](https://togithub.com/ThomasAribart/json-schema-to-ts/compare/v2.6.2...v2.7.0) ### [`v2.6.2`](https://togithub.com/ThomasAribart/json-schema-to-ts/compare/v2.6.1...v2.6.2) [Compare Source](https://togithub.com/ThomasAribart/json-schema-to-ts/compare/v2.6.1...v2.6.2) ### [`v2.6.1`](https://togithub.com/ThomasAribart/json-schema-to-ts/compare/v2.6.0...v2.6.1) [Compare Source](https://togithub.com/ThomasAribart/json-schema-to-ts/compare/v2.6.0...v2.6.1) </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:eyJjcmVhdGVkSW5WZXIiOiIzNC4xNTMuMiIsInVwZGF0ZWRJblZlciI6IjM0LjE1My4yIn0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-18 16:32:25 +02:00
"json-schema-to-ts": "2.7.2",
"json2csv": "^5.0.7",
2023-03-28 21:22:35 +02:00
"knex": "^2.4.2",
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",
"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.3.5",
"serve-favicon": "^2.5.0",
"stoppable": "^1.1.0",
"ts-toolbelt": "^9.6.0",
"type-is": "^1.6.18",
"unleash-client": "3.20.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.21.8 (#3729) [![Mend Renovate](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.21.5` -> `7.21.8`](https://renovatebot.com/diffs/npm/@babel%2fcore/7.21.5/7.21.8) | [![age](https://badges.renovateapi.com/packages/npm/@babel%2fcore/7.21.8/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@babel%2fcore/7.21.8/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@babel%2fcore/7.21.8/compatibility-slim/7.21.5)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@babel%2fcore/7.21.8/confidence-slim/7.21.5)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>babel/babel</summary> ### [`v7.21.8`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v7218-2023-05-02) [Compare Source](https://togithub.com/babel/babel/compare/v7.21.5...v7.21.8) ##### :eyeglasses: Spec Compliance - `babel-parser` - [#&#8203;15602](https://togithub.com/babel/babel/pull/15602) Remove `using await` restriction in explicitResourceManagement ([@&#8203;JLHwung](https://togithub.com/JLHwung)) ##### :bug: Bug Fix - `babel-helper-create-class-features-plugin`, `babel-helper-create-regexp-features-plugin` - [#&#8203;15605](https://togithub.com/babel/babel/pull/15605) Fix backward compat for semver checks in class\&regexp feat plugins ([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) </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:eyJjcmVhdGVkSW5WZXIiOiIzNS43NC4wIiwidXBkYXRlZEluVmVyIjoiMzUuNzQuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-10 00:18:23 +02:00
"@babel/core": "7.21.8",
chore(deps): update dependency @swc/core to v1.3.57 (#3790) [![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.56` -> `1.3.57`](https://renovatebot.com/diffs/npm/@swc%2fcore/1.3.56/1.3.57) | [![age](https://badges.renovateapi.com/packages/npm/@swc%2fcore/1.3.57/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@swc%2fcore/1.3.57/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@swc%2fcore/1.3.57/compatibility-slim/1.3.56)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@swc%2fcore/1.3.57/confidence-slim/1.3.56)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>swc-project/swc</summary> ### [`v1.3.57`](https://togithub.com/swc-project/swc/blob/HEAD/CHANGELOG.md#&#8203;1357---2023-05-09) [Compare Source](https://togithub.com/swc-project/swc/compare/v1.3.56...v1.3.57) ##### Bug Fixes - **(es/compat)** Fix `is_setter` in `parameters` pass ([#&#8203;7348](https://togithub.com/swc-project/swc/issues/7348)) ([e0de83e](https://togithub.com/swc-project/swc/commit/e0de83e862f7de765ba804e8c31a16660d7186b5)) - **(xml/codegen)** Escape `<` and `>` in child ([#&#8203;7351](https://togithub.com/swc-project/swc/issues/7351)) ([b180d09](https://togithub.com/swc-project/swc/commit/b180d09e1dd9c4269d7d690d892ef4fd1c5b6563)) ##### Features - **(es/compat)** Support `export class` from stage 3 decorator pass ([#&#8203;7363](https://togithub.com/swc-project/swc/issues/7363)) ([9c052db](https://togithub.com/swc-project/swc/commit/9c052db796473a4a7253d643426a7c2c765d9640)) - **(plugin)** Enable bytecheck ([#&#8203;7280](https://togithub.com/swc-project/swc/issues/7280)) ([d2c1f45](https://togithub.com/swc-project/swc/commit/d2c1f45f5a1a1d72fa6d6fa28bd84f242d5aff81)) ##### Refactor - **(plugin/runner)** Refine cache location ([#&#8203;7346](https://togithub.com/swc-project/swc/issues/7346)) ([91a3fbe](https://togithub.com/swc-project/swc/commit/91a3fbe460799ed604c2b43b4facaed60cfd6c87)) ##### Build - **(cargo)** Update `wasmer` to `v3.3` ([#&#8203;7352](https://togithub.com/swc-project/swc/issues/7352)) ([4e278be](https://togithub.com/swc-project/swc/commit/4e278befcf0071619ee583ffa7c8357ea4fd5c2f)) </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:eyJjcmVhdGVkSW5WZXIiOiIzNS44Ny4xIiwidXBkYXRlZEluVmVyIjoiMzUuODcuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-17 20:32:36 +02:00
"@swc/core": "1.3.57",
chore(deps): update dependency @swc/jest to v0.2.26 (#3587) [![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/jest](https://togithub.com/swc-project/jest) | [`0.2.24` -> `0.2.26`](https://renovatebot.com/diffs/npm/@swc%2fjest/0.2.24/0.2.26) | [![age](https://badges.renovateapi.com/packages/npm/@swc%2fjest/0.2.26/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@swc%2fjest/0.2.26/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@swc%2fjest/0.2.26/compatibility-slim/0.2.24)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@swc%2fjest/0.2.26/confidence-slim/0.2.24)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>swc-project/jest</summary> ### [`v0.2.26`](https://togithub.com/swc-project/jest/compare/v0.2.25...v0.2.26) [Compare Source](https://togithub.com/swc-project/jest/compare/v0.2.25...v0.2.26) ### [`v0.2.25`](https://togithub.com/swc-project/jest/compare/v0.2.24...v0.2.25) [Compare Source](https://togithub.com/swc-project/jest/compare/v0.2.24...v0.2.25) </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:eyJjcmVhdGVkSW5WZXIiOiIzNS41NS4xIiwidXBkYXRlZEluVmVyIjoiMzUuNTUuMSJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-22 04:56:20 +02:00
"@swc/jest": "0.2.26",
2022-01-06 20:43:57 +01:00
"@types/bcryptjs": "2.4.2",
chore(deps): update dependency @types/cors to v2.8.13 (#2614) [![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/cors](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/cors) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped)) | [`2.8.12` -> `2.8.13`](https://renovatebot.com/diffs/npm/@types%2fcors/2.8.12/2.8.13) | [![age](https://badges.renovateapi.com/packages/npm/@types%2fcors/2.8.13/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@types%2fcors/2.8.13/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@types%2fcors/2.8.13/compatibility-slim/2.8.12)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@types%2fcors/2.8.13/confidence-slim/2.8.12)](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://app.renovatebot.com/dashboard#github/Unleash/unleash). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC40OS4wIiwidXBkYXRlZEluVmVyIjoiMzQuNDkuMCJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-07 02:32:17 +01:00
"@types/cors": "2.8.13",
chore(deps): update dependency @types/express to v4.17.17 (#3082) [![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/express](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/express) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped)) | [`4.17.15` -> `4.17.17`](https://renovatebot.com/diffs/npm/@types%2fexpress/4.17.15/4.17.17) | [![age](https://badges.renovateapi.com/packages/npm/@types%2fexpress/4.17.17/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@types%2fexpress/4.17.17/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@types%2fexpress/4.17.17/compatibility-slim/4.17.15)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@types%2fexpress/4.17.17/confidence-slim/4.17.15)](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://app.renovatebot.com/dashboard#github/Unleash/unleash). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4xMjQuMiIsInVwZGF0ZWRJblZlciI6IjM0LjEyNC4yIn0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-11 06:13:23 +01:00
"@types/express": "4.17.17",
chore(deps): update dependency @types/express-session to v1.17.7 (#3395) [![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/express-session](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/express-session) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped)) | [`1.17.6` -> `1.17.7`](https://renovatebot.com/diffs/npm/@types%2fexpress-session/1.17.6/1.17.7) | [![age](https://badges.renovateapi.com/packages/npm/@types%2fexpress-session/1.17.7/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@types%2fexpress-session/1.17.7/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@types%2fexpress-session/1.17.7/compatibility-slim/1.17.6)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@types%2fexpress-session/1.17.7/confidence-slim/1.17.6)](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://app.renovatebot.com/dashboard#github/Unleash/unleash). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4yMy4zIiwidXBkYXRlZEluVmVyIjoiMzUuMjMuMyJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-28 06:52:00 +02:00
"@types/express-session": "1.17.7",
"@types/faker": "5.5.9",
"@types/hash-sum": "^1.0.0",
chore(deps): update jest monorepo (#3694) [![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/jest](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jest) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped)) | [`29.4.0` -> `29.5.1`](https://renovatebot.com/diffs/npm/@types%2fjest/29.4.0/29.5.1) | [![age](https://badges.renovateapi.com/packages/npm/@types%2fjest/29.5.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@types%2fjest/29.5.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@types%2fjest/29.5.1/compatibility-slim/29.4.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@types%2fjest/29.5.1/confidence-slim/29.4.0)](https://docs.renovatebot.com/merge-confidence/) | | [jest](https://jestjs.io/) ([source](https://togithub.com/facebook/jest)) | [`29.4.3` -> `29.5.0`](https://renovatebot.com/diffs/npm/jest/29.4.3/29.5.0) | [![age](https://badges.renovateapi.com/packages/npm/jest/29.5.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/jest/29.5.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/jest/29.5.0/compatibility-slim/29.4.3)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/jest/29.5.0/confidence-slim/29.4.3)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>facebook/jest</summary> ### [`v29.5.0`](https://togithub.com/facebook/jest/blob/HEAD/CHANGELOG.md#&#8203;2950) [Compare Source](https://togithub.com/facebook/jest/compare/v29.4.3...v29.5.0) ##### Features - `[jest-changed-files]` Support Sapling ([#&#8203;13941](https://togithub.com/facebook/jest/pull/13941)) - `[jest-circus, @&#8203;jest/cli, jest-config]` Add feature to randomize order of tests via CLI flag or through the config file([#&#8203;12922](https://togithub.com/facebook/jest/pull/12922)) - `[jest-cli, jest-config, @&#8203;jest/core, jest-haste-map, @&#8203;jest/reporters, jest-runner, jest-runtime, @&#8203;jest/types]` Add `workerThreads` configuration option to allow using [worker threads](https://nodejs.org/dist/latest/docs/api/worker_threads.html) for parallelization ([#&#8203;13939](https://togithub.com/facebook/jest/pull/13939)) - `[jest-cli]` Export `yargsOptions` ([#&#8203;13970](https://togithub.com/facebook/jest/pull/13970)) - `[jest-config]` Add `openHandlesTimeout` option to configure possible open handles warning. ([#&#8203;13875](https://togithub.com/facebook/jest/pull/13875)) - `[@jest/create-cache-key-function]` Allow passing `length` argument to `createCacheKey()` function and set its default value to `16` on Windows ([#&#8203;13827](https://togithub.com/facebook/jest/pull/13827)) - `[jest-message-util]` Add support for [AggregateError](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/AggregateError) ([#&#8203;13946](https://togithub.com/facebook/jest/pull/13946) & [#&#8203;13947](https://togithub.com/facebook/jest/pull/13947)) - `[jest-message-util]` Add support for [Error causes](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error/cause) in `test` and `it` ([#&#8203;13935](https://togithub.com/facebook/jest/pull/13935) & [#&#8203;13966](https://togithub.com/facebook/jest/pull/13966)) - `[jest-reporters]` Add `summaryThreshold` option to summary reporter to allow overriding the internal threshold that is used to print the summary of all failed tests when the number of test suites surpasses it ([#&#8203;13895](https://togithub.com/facebook/jest/pull/13895)) - `[jest-runtime]` Expose `@sinonjs/fake-timers` async APIs functions `advanceTimersByTimeAsync(msToRun)` (`tickAsync(msToRun)`), `advanceTimersToNextTimerAsync(steps)` (`nextAsync`), `runAllTimersAsync` (`runAllAsync`), and `runOnlyPendingTimersAsync` (`runToLastAsync`) ([#&#8203;13981](https://togithub.com/facebook/jest/pull/13981)) - `[jest-runtime, @&#8203;jest/transform]` Allow V8 coverage provider to collect coverage from files which were not loaded explicitly ([#&#8203;13974](https://togithub.com/facebook/jest/pull/13974)) - `[jest-snapshot]` Add support to `cts` and `mts` TypeScript files to inline snapshots ([#&#8203;13975](https://togithub.com/facebook/jest/pull/13975)) - `[jest-worker]` Add `start` method to worker farms ([#&#8203;13937](https://togithub.com/facebook/jest/pull/13937)) - `[jest-worker]` Support passing a URL as path to worker ([#&#8203;13982](https://togithub.com/facebook/jest/pull/13982)) ##### Fixes - `[babel-plugin-jest-hoist]` Fix unwanted hoisting of nested `jest` usages ([#&#8203;13952](https://togithub.com/facebook/jest/pull/13952)) - `[jest-circus]` Send test case results for `todo` tests ([#&#8203;13915](https://togithub.com/facebook/jest/pull/13915)) - `[jest-circus]` Update message printed on test timeout ([#&#8203;13830](https://togithub.com/facebook/jest/pull/13830)) - `[jest-circus]` Avoid creating the word "testfalse" when `takesDoneCallback` is `false` in the message printed on test timeout AND updated timeouts test ([#&#8203;13954](https://togithub.com/facebook/jest/pull/13954)) - `[jest-environment-jsdom]` Stop setting `document` to `null` on teardown ([#&#8203;13972](https://togithub.com/facebook/jest/pull/13972)) - `[@jest/expect-utils]` Update `toStrictEqual()` to be able to check `jest.fn().mock.calls` ([#&#8203;13960](https://togithub.com/facebook/jest/pull/13960)) - `[@jest/test-result]` Allow `TestResultsProcessor` type to return a Promise ([#&#8203;13950](https://togithub.com/facebook/jest/pull/13950)) ##### Chore & Maintenance - `[jest-snapshot]` Remove dependency on `jest-haste-map` ([#&#8203;13977](https://togithub.com/facebook/jest/pull/13977)) </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://app.renovatebot.com/dashboard#github/Unleash/unleash). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS43MS40IiwidXBkYXRlZEluVmVyIjoiMzUuNzEuNCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-05 16:19:19 +02:00
"@types/jest": "29.5.1",
"@types/js-yaml": "4.0.5",
chore(deps): update dependency @types/make-fetch-happen to v10.0.1 (#2539) [![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/make-fetch-happen](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/make-fetch-happen) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped)) | [`10.0.0` -> `10.0.1`](https://renovatebot.com/diffs/npm/@types%2fmake-fetch-happen/10.0.0/10.0.1) | [![age](https://badges.renovateapi.com/packages/npm/@types%2fmake-fetch-happen/10.0.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@types%2fmake-fetch-happen/10.0.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@types%2fmake-fetch-happen/10.0.1/compatibility-slim/10.0.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@types%2fmake-fetch-happen/10.0.1/confidence-slim/10.0.0)](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://app.renovatebot.com/dashboard#github/Unleash/unleash). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4zNy4wIiwidXBkYXRlZEluVmVyIjoiMzQuMzcuMCJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-28 19:58:07 +01:00
"@types/make-fetch-happen": "10.0.1",
"@types/memoizee": "0.4.8",
"@types/mime": "3.0.1",
chore(deps): update dependency @types/node to v16.18.30 (#3820) [![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)) | [`16.18.29` -> `16.18.30`](https://renovatebot.com/diffs/npm/@types%2fnode/16.18.29/16.18.30) | [![age](https://badges.renovateapi.com/packages/npm/@types%2fnode/16.18.30/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@types%2fnode/16.18.30/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@types%2fnode/16.18.30/compatibility-slim/16.18.29)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@types%2fnode/16.18.30/confidence-slim/16.18.29)](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://app.renovatebot.com/dashboard#github/Unleash/unleash). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS45Ny4wIiwidXBkYXRlZEluVmVyIjoiMzUuOTcuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-21 01:29:25 +02:00
"@types/node": "16.18.30",
chore(deps): update dependency @types/nodemailer to v6.4.7 (#2745) [![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/nodemailer](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/nodemailer) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped)) | [`6.4.6` -> `6.4.7`](https://renovatebot.com/diffs/npm/@types%2fnodemailer/6.4.6/6.4.7) | [![age](https://badges.renovateapi.com/packages/npm/@types%2fnodemailer/6.4.7/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@types%2fnodemailer/6.4.7/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@types%2fnodemailer/6.4.7/compatibility-slim/6.4.6)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@types%2fnodemailer/6.4.7/confidence-slim/6.4.6)](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://app.renovatebot.com/dashboard#github/Unleash/unleash). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC43My4zIiwidXBkYXRlZEluVmVyIjoiMzQuNzMuMyJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-27 13:11:05 +01:00
"@types/nodemailer": "6.4.7",
"@types/owasp-password-strength-test": "1.3.0",
2023-04-04 13:28:17 +02:00
"@types/pg": "8.6.6",
chore(deps): update dependency semver to v7.5.1 (#3805) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [semver](https://togithub.com/npm/node-semver) | [`7.5.0` -> `7.5.1`](https://renovatebot.com/diffs/npm/semver/7.5.0/7.5.1) | [![age](https://badges.renovateapi.com/packages/npm/semver/7.5.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/semver/7.5.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/semver/7.5.1/compatibility-slim/7.5.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/semver/7.5.1/confidence-slim/7.5.0)](https://docs.renovatebot.com/merge-confidence/) | | [@types/semver](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/semver) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped)) | [`7.3.13` -> `7.5.0`](https://renovatebot.com/diffs/npm/@types%2fsemver/7.3.13/7.5.0) | [![age](https://badges.renovateapi.com/packages/npm/@types%2fsemver/7.5.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@types%2fsemver/7.5.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@types%2fsemver/7.5.0/compatibility-slim/7.3.13)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@types%2fsemver/7.5.0/confidence-slim/7.3.13)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>npm/node-semver</summary> ### [`v7.5.1`](https://togithub.com/npm/node-semver/blob/HEAD/CHANGELOG.md#&#8203;751-httpsgithubcomnpmnode-semvercomparev750v751-2023-05-12) [Compare Source](https://togithub.com/npm/node-semver/compare/v7.5.0...v7.5.1) ##### Bug Fixes - [`d30d25a`](https://togithub.com/npm/node-semver/commit/d30d25a5c1fb963c3cc9178cb1769fe45e4a3cab) [#&#8203;559](https://togithub.com/npm/node-semver/pull/559) show type on invalid semver error ([#&#8203;559](https://togithub.com/npm/node-semver/issues/559)) ([@&#8203;tjenkinson](https://togithub.com/tjenkinson)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/Unleash/unleash). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS45My4wIiwidXBkYXRlZEluVmVyIjoiMzUuOTUuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-19 22:27:18 +02:00
"@types/semver": "7.5.0",
"@types/stoppable": "1.1.1",
"@types/supertest": "2.0.12",
"@types/type-is": "1.6.3",
chore(deps): update dependency @types/uuid to v9.0.1 (#3225) [![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/uuid](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/uuid) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped)) | [`9.0.0` -> `9.0.1`](https://renovatebot.com/diffs/npm/@types%2fuuid/9.0.0/9.0.1) | [![age](https://badges.renovateapi.com/packages/npm/@types%2fuuid/9.0.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@types%2fuuid/9.0.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@types%2fuuid/9.0.1/compatibility-slim/9.0.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@types%2fuuid/9.0.1/confidence-slim/9.0.0)](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://app.renovatebot.com/dashboard#github/Unleash/unleash). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4xNTMuMiIsInVwZGF0ZWRJblZlciI6IjM0LjE1My4yIn0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-01 08:48:56 +01:00
"@types/uuid": "9.0.1",
chore(deps): update typescript-eslint monorepo to v5.59.5 (#3799) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/typescript-eslint) | [`5.59.2` -> `5.59.5`](https://renovatebot.com/diffs/npm/@typescript-eslint%2feslint-plugin/5.59.2/5.59.5) | [![age](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2feslint-plugin/5.59.5/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2feslint-plugin/5.59.5/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2feslint-plugin/5.59.5/compatibility-slim/5.59.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2feslint-plugin/5.59.5/confidence-slim/5.59.2)](https://docs.renovatebot.com/merge-confidence/) | | [@typescript-eslint/parser](https://togithub.com/typescript-eslint/typescript-eslint) | [`5.59.2` -> `5.59.5`](https://renovatebot.com/diffs/npm/@typescript-eslint%2fparser/5.59.2/5.59.5) | [![age](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2fparser/5.59.5/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2fparser/5.59.5/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2fparser/5.59.5/compatibility-slim/5.59.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2fparser/5.59.5/confidence-slim/5.59.2)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>typescript-eslint/typescript-eslint (@&#8203;typescript-eslint/eslint-plugin)</summary> ### [`v5.59.5`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#&#8203;5595-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5594v5595-2023-05-08) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.59.2...v5.59.5) **Note:** Version bump only for package [@&#8203;typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/eslint-plugin) </details> <details> <summary>typescript-eslint/typescript-eslint (@&#8203;typescript-eslint/parser)</summary> ### [`v5.59.5`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#&#8203;5595-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5594v5595-2023-05-08) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.59.2...v5.59.5) **Note:** Version bump only for package [@&#8203;typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/Unleash/unleash). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS44OS4xIiwidXBkYXRlZEluVmVyIjoiMzUuODkuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-18 14:47:21 +02:00
"@typescript-eslint/eslint-plugin": "5.59.5",
"@typescript-eslint/parser": "5.59.5",
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",
"del-cli": "5.0.0",
"eslint": "^8.38.0",
"eslint-config-airbnb-base": "15.0.0",
"eslint-config-airbnb-typescript": "17.0.0",
chore(deps): update dependency eslint-config-prettier to v8.8.0 (#3598) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [eslint-config-prettier](https://togithub.com/prettier/eslint-config-prettier) | [`8.6.0` -> `8.8.0`](https://renovatebot.com/diffs/npm/eslint-config-prettier/8.6.0/8.8.0) | [![age](https://badges.renovateapi.com/packages/npm/eslint-config-prettier/8.8.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/eslint-config-prettier/8.8.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/eslint-config-prettier/8.8.0/compatibility-slim/8.6.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/eslint-config-prettier/8.8.0/confidence-slim/8.6.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>prettier/eslint-config-prettier</summary> ### [`v8.8.0`](https://togithub.com/prettier/eslint-config-prettier/blob/HEAD/CHANGELOG.md#Version-880-2023-03-20) [Compare Source](https://togithub.com/prettier/eslint-config-prettier/compare/v8.7.0...v8.8.0) - Added: \[[@&#8203;typescript-eslint/lines-around-comment](https://togithub.com/typescript-eslint/lines-around-comment)]. Thanks to [@&#8203;ttionya](https://togithub.com/ttionya)! ### [`v8.7.0`](https://togithub.com/prettier/eslint-config-prettier/blob/HEAD/CHANGELOG.md#Version-870-2023-03-06) [Compare Source](https://togithub.com/prettier/eslint-config-prettier/compare/v8.6.0...v8.7.0) - Added: \[[@&#8203;typescript-eslint/block-spacing](https://togithub.com/typescript-eslint/block-spacing)]. Thanks to [@&#8203;ttionya](https://togithub.com/ttionya)! - Added: \[[@&#8203;typescript-eslint/key-spacing](https://togithub.com/typescript-eslint/key-spacing)]. Thanks to [@&#8203;ttionya](https://togithub.com/ttionya)! </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:eyJjcmVhdGVkSW5WZXIiOiIzNS41Ny4wIiwidXBkYXRlZEluVmVyIjoiMzUuNTcuMCJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-23 19:01:24 +02:00
"eslint-config-prettier": "8.8.0",
chore(deps): update dependency eslint-plugin-import to v2.27.5 (#3086) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [eslint-plugin-import](https://togithub.com/import-js/eslint-plugin-import) | [`2.27.4` -> `2.27.5`](https://renovatebot.com/diffs/npm/eslint-plugin-import/2.27.4/2.27.5) | [![age](https://badges.renovateapi.com/packages/npm/eslint-plugin-import/2.27.5/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/eslint-plugin-import/2.27.5/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/eslint-plugin-import/2.27.5/compatibility-slim/2.27.4)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/eslint-plugin-import/2.27.5/confidence-slim/2.27.4)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>import-js/eslint-plugin-import</summary> ### [`v2.27.5`](https://togithub.com/import-js/eslint-plugin-import/blob/HEAD/CHANGELOG.md#&#8203;2275---2023-01-16) [Compare Source](https://togithub.com/import-js/eslint-plugin-import/compare/v2.27.4...v2.27.5) ##### Fixed - \[`order]`: Fix group ranks order when alphabetizing (\[[#&#8203;2674](https://togithub.com/import-js/eslint-plugin-import/issues/2674)], thanks \[[@&#8203;Pearce-Ropion](https://togithub.com/Pearce-Ropion)]) </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:eyJjcmVhdGVkSW5WZXIiOiIzNC4xMzAuMSIsInVwZGF0ZWRJblZlciI6IjM0LjEzMC4xIn0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-12 01:03:33 +01:00
"eslint-plugin-import": "2.27.5",
"eslint-plugin-no-only-tests": "^3.1.0",
"eslint-plugin-prettier": "4.2.1",
"eslint-plugin-regexp": "^1.14.0",
2022-01-05 11:00:08 +01:00
"faker": "5.5.3",
chore(deps): update dependency fast-check to v3.8.1 (#3659) [![Mend Renovate](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.8.0` -> `3.8.1`](https://renovatebot.com/diffs/npm/fast-check/3.8.0/3.8.1) | [![age](https://badges.renovateapi.com/packages/npm/fast-check/3.8.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/fast-check/3.8.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/fast-check/3.8.1/compatibility-slim/3.8.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/fast-check/3.8.1/confidence-slim/3.8.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>dubzzz/fast-check</summary> ### [`v3.8.1`](https://togithub.com/dubzzz/fast-check/blob/HEAD/packages/fast-check/CHANGELOG.md#&#8203;381) [Compare Source](https://togithub.com/dubzzz/fast-check/compare/v3.8.0...v3.8.1) *New website for the documentation* \[[Code](https://togithub.com/dubzzz/fast-check/tree/v3.8.1)]\[[Diff](https://togithub.com/dubzzz/fast-check/compare/v3.8.0...v3.8.1)] #### Fixes - ([PR#&#8203;3723](https://togithub.com/dubzzz/fast-check/pull/3723)) CI: Switch to docusaurus for the documentation - ([PR#&#8203;3729](https://togithub.com/dubzzz/fast-check/pull/3729)) CI: Pre-setup devcontainer with GH Actions - ([PR#&#8203;3728](https://togithub.com/dubzzz/fast-check/pull/3728)) CI: Change gh-pages deploy process - ([PR#&#8203;3732](https://togithub.com/dubzzz/fast-check/pull/3732)) CI: Move back to github-pages-deploy-action - ([PR#&#8203;3735](https://togithub.com/dubzzz/fast-check/pull/3735)) CI: Add gtag for analytics - ([PR#&#8203;3744](https://togithub.com/dubzzz/fast-check/pull/3744)) CI: Drop website build on `build:all` - ([PR#&#8203;3751](https://togithub.com/dubzzz/fast-check/pull/3751)) CI: Update `baseUrl` on the ain documentation - ([PR#&#8203;3754](https://togithub.com/dubzzz/fast-check/pull/3754)) CI: Drop version from website - ([PR#&#8203;3754](https://togithub.com/dubzzz/fast-check/pull/3754)) CI: Drop version from website - ([PR#&#8203;3759](https://togithub.com/dubzzz/fast-check/pull/3759)) CI: Drop the need for a branch on doc - ([PR#&#8203;3775](https://togithub.com/dubzzz/fast-check/pull/3775)) CI: Publish all packages in one workflow - ([PR#&#8203;3724](https://togithub.com/dubzzz/fast-check/pull/3724)) Doc: Add fuzz keywords - ([PR#&#8203;3734](https://togithub.com/dubzzz/fast-check/pull/3734)) Doc: Add search capability to the doc - ([PR#&#8203;3738](https://togithub.com/dubzzz/fast-check/pull/3738)) Doc: Fix broken links to api-reference - ([PR#&#8203;3745](https://togithub.com/dubzzz/fast-check/pull/3745)) Doc: Document core building blocks in new documentation - ([PR#&#8203;3750](https://togithub.com/dubzzz/fast-check/pull/3750)) Doc: More details into tips/larger-entries... - ([PR#&#8203;3753](https://togithub.com/dubzzz/fast-check/pull/3753)) Doc: Add some more configuration tips in the documentation - ([PR#&#8203;3755](https://togithub.com/dubzzz/fast-check/pull/3755)) Doc: Update all links to target fast-check.dev - ([PR#&#8203;3757](https://togithub.com/dubzzz/fast-check/pull/3757)) Doc: Quick a11y pass on the documentation - ([PR#&#8203;3758](https://togithub.com/dubzzz/fast-check/pull/3758)) Doc: Move missing configuration parts to new doc - ([PR#&#8203;3760](https://togithub.com/dubzzz/fast-check/pull/3760)) Doc: Link directly to the target page not to 30x ones - ([PR#&#8203;3761](https://togithub.com/dubzzz/fast-check/pull/3761)) Doc: Fix broken links in new doc - ([PR#&#8203;3774](https://togithub.com/dubzzz/fast-check/pull/3774)) Security: Attach provenance to the packages - ([PR#&#8203;3719](https://togithub.com/dubzzz/fast-check/pull/3719)) Script: Ensure proper package definition </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:eyJjcmVhdGVkSW5WZXIiOiIzNS42My4xIiwidXBkYXRlZEluVmVyIjoiMzUuNjMuMSJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-29 03:16:14 +02:00
"fast-check": "3.8.1",
"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 jest monorepo (#3694) [![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/jest](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jest) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped)) | [`29.4.0` -> `29.5.1`](https://renovatebot.com/diffs/npm/@types%2fjest/29.4.0/29.5.1) | [![age](https://badges.renovateapi.com/packages/npm/@types%2fjest/29.5.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@types%2fjest/29.5.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@types%2fjest/29.5.1/compatibility-slim/29.4.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@types%2fjest/29.5.1/confidence-slim/29.4.0)](https://docs.renovatebot.com/merge-confidence/) | | [jest](https://jestjs.io/) ([source](https://togithub.com/facebook/jest)) | [`29.4.3` -> `29.5.0`](https://renovatebot.com/diffs/npm/jest/29.4.3/29.5.0) | [![age](https://badges.renovateapi.com/packages/npm/jest/29.5.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/jest/29.5.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/jest/29.5.0/compatibility-slim/29.4.3)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/jest/29.5.0/confidence-slim/29.4.3)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>facebook/jest</summary> ### [`v29.5.0`](https://togithub.com/facebook/jest/blob/HEAD/CHANGELOG.md#&#8203;2950) [Compare Source](https://togithub.com/facebook/jest/compare/v29.4.3...v29.5.0) ##### Features - `[jest-changed-files]` Support Sapling ([#&#8203;13941](https://togithub.com/facebook/jest/pull/13941)) - `[jest-circus, @&#8203;jest/cli, jest-config]` Add feature to randomize order of tests via CLI flag or through the config file([#&#8203;12922](https://togithub.com/facebook/jest/pull/12922)) - `[jest-cli, jest-config, @&#8203;jest/core, jest-haste-map, @&#8203;jest/reporters, jest-runner, jest-runtime, @&#8203;jest/types]` Add `workerThreads` configuration option to allow using [worker threads](https://nodejs.org/dist/latest/docs/api/worker_threads.html) for parallelization ([#&#8203;13939](https://togithub.com/facebook/jest/pull/13939)) - `[jest-cli]` Export `yargsOptions` ([#&#8203;13970](https://togithub.com/facebook/jest/pull/13970)) - `[jest-config]` Add `openHandlesTimeout` option to configure possible open handles warning. ([#&#8203;13875](https://togithub.com/facebook/jest/pull/13875)) - `[@jest/create-cache-key-function]` Allow passing `length` argument to `createCacheKey()` function and set its default value to `16` on Windows ([#&#8203;13827](https://togithub.com/facebook/jest/pull/13827)) - `[jest-message-util]` Add support for [AggregateError](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/AggregateError) ([#&#8203;13946](https://togithub.com/facebook/jest/pull/13946) & [#&#8203;13947](https://togithub.com/facebook/jest/pull/13947)) - `[jest-message-util]` Add support for [Error causes](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error/cause) in `test` and `it` ([#&#8203;13935](https://togithub.com/facebook/jest/pull/13935) & [#&#8203;13966](https://togithub.com/facebook/jest/pull/13966)) - `[jest-reporters]` Add `summaryThreshold` option to summary reporter to allow overriding the internal threshold that is used to print the summary of all failed tests when the number of test suites surpasses it ([#&#8203;13895](https://togithub.com/facebook/jest/pull/13895)) - `[jest-runtime]` Expose `@sinonjs/fake-timers` async APIs functions `advanceTimersByTimeAsync(msToRun)` (`tickAsync(msToRun)`), `advanceTimersToNextTimerAsync(steps)` (`nextAsync`), `runAllTimersAsync` (`runAllAsync`), and `runOnlyPendingTimersAsync` (`runToLastAsync`) ([#&#8203;13981](https://togithub.com/facebook/jest/pull/13981)) - `[jest-runtime, @&#8203;jest/transform]` Allow V8 coverage provider to collect coverage from files which were not loaded explicitly ([#&#8203;13974](https://togithub.com/facebook/jest/pull/13974)) - `[jest-snapshot]` Add support to `cts` and `mts` TypeScript files to inline snapshots ([#&#8203;13975](https://togithub.com/facebook/jest/pull/13975)) - `[jest-worker]` Add `start` method to worker farms ([#&#8203;13937](https://togithub.com/facebook/jest/pull/13937)) - `[jest-worker]` Support passing a URL as path to worker ([#&#8203;13982](https://togithub.com/facebook/jest/pull/13982)) ##### Fixes - `[babel-plugin-jest-hoist]` Fix unwanted hoisting of nested `jest` usages ([#&#8203;13952](https://togithub.com/facebook/jest/pull/13952)) - `[jest-circus]` Send test case results for `todo` tests ([#&#8203;13915](https://togithub.com/facebook/jest/pull/13915)) - `[jest-circus]` Update message printed on test timeout ([#&#8203;13830](https://togithub.com/facebook/jest/pull/13830)) - `[jest-circus]` Avoid creating the word "testfalse" when `takesDoneCallback` is `false` in the message printed on test timeout AND updated timeouts test ([#&#8203;13954](https://togithub.com/facebook/jest/pull/13954)) - `[jest-environment-jsdom]` Stop setting `document` to `null` on teardown ([#&#8203;13972](https://togithub.com/facebook/jest/pull/13972)) - `[@jest/expect-utils]` Update `toStrictEqual()` to be able to check `jest.fn().mock.calls` ([#&#8203;13960](https://togithub.com/facebook/jest/pull/13960)) - `[@jest/test-result]` Allow `TestResultsProcessor` type to return a Promise ([#&#8203;13950](https://togithub.com/facebook/jest/pull/13950)) ##### Chore & Maintenance - `[jest-snapshot]` Remove dependency on `jest-haste-map` ([#&#8203;13977](https://togithub.com/facebook/jest/pull/13977)) </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://app.renovatebot.com/dashboard#github/Unleash/unleash). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS43MS40IiwidXBkYXRlZEluVmVyIjoiMzUuNzEuNCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-05 16:19:19 +02:00
"jest": "29.5.0",
chore(deps): update dependency lint-staged to v13.2.2 (#3673) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [lint-staged](https://togithub.com/okonet/lint-staged) | [`13.2.1` -> `13.2.2`](https://renovatebot.com/diffs/npm/lint-staged/13.2.1/13.2.2) | [![age](https://badges.renovateapi.com/packages/npm/lint-staged/13.2.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/lint-staged/13.2.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/lint-staged/13.2.2/compatibility-slim/13.2.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/lint-staged/13.2.2/confidence-slim/13.2.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>okonet/lint-staged</summary> ### [`v13.2.2`](https://togithub.com/okonet/lint-staged/releases/tag/v13.2.2) [Compare Source](https://togithub.com/okonet/lint-staged/compare/v13.2.1...v13.2.2) ##### Bug Fixes - **dependencies:** update `yaml@2.2.2` (GHSA-f9xv-q969-pqx4) ([#&#8203;1290](https://togithub.com/okonet/lint-staged/issues/1290)) ([cf691aa](https://togithub.com/okonet/lint-staged/commit/cf691aa188719d9479ceaeffbffe814594fdb65f)) </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:eyJjcmVhdGVkSW5WZXIiOiIzNS42OS4zIiwidXBkYXRlZEluVmVyIjoiMzUuNjkuMyIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-04 01:53:57 +02:00
"lint-staged": "13.2.2",
chore(deps): update dependency nock to v13.3.1 (#3690) [![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.0` -> `13.3.1`](https://renovatebot.com/diffs/npm/nock/13.3.0/13.3.1) | [![age](https://badges.renovateapi.com/packages/npm/nock/13.3.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/nock/13.3.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/nock/13.3.1/compatibility-slim/13.3.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/nock/13.3.1/confidence-slim/13.3.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>nock/nock</summary> ### [`v13.3.1`](https://togithub.com/nock/nock/releases/tag/v13.3.1) [Compare Source](https://togithub.com/nock/nock/compare/v13.3.0...v13.3.1) ##### Bug Fixes - update Socket for Node 18 compat ([#&#8203;2467](https://togithub.com/nock/nock/issues/2467)) ([f904406](https://togithub.com/nock/nock/commit/f904406430a6d3afabff066fea6859472ee9277c)) </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:eyJjcmVhdGVkSW5WZXIiOiIzNS43MS4wIiwidXBkYXRlZEluVmVyIjoiMzUuNzEuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-04 22:16:05 +02:00
"nock": "13.3.1",
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",
chore(deps): update dependency prettier to v2.8.1 (#2509) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [prettier](https://prettier.io) ([source](https://togithub.com/prettier/prettier)) | [`2.7.1` -> `2.8.1`](https://renovatebot.com/diffs/npm/prettier/2.7.1/2.8.1) | [![age](https://badges.renovateapi.com/packages/npm/prettier/2.8.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/prettier/2.8.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/prettier/2.8.1/compatibility-slim/2.7.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/prettier/2.8.1/confidence-slim/2.7.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>prettier/prettier</summary> ### [`v2.8.1`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#&#8203;281) [Compare Source](https://togithub.com/prettier/prettier/compare/2.8.0...2.8.1) [diff](https://togithub.com/prettier/prettier/compare/2.8.0...2.8.1) ##### Fix SCSS map in arguments ([#&#8203;9184](https://togithub.com/prettier/prettier/pull/9184) by [@&#8203;agamkrbit](https://togithub.com/agamkrbit)) <!-- prettier-ignore --> ```scss // Input $display-breakpoints: map-deep-merge( ( "print-only": "only print", "screen-only": "only screen", "xs-only": "only screen and (max-width: #{map-get($grid-breakpoints, "sm")-1})", ), $display-breakpoints ); // Prettier 2.8.0 $display-breakpoints: map-deep-merge( ( "print-only": "only print", "screen-only": "only screen", "xs-only": "only screen and (max-width: #{map-get($grid-breakpoints, " sm ")-1})", ), $display-breakpoints ); // Prettier 2.8.1 $display-breakpoints: map-deep-merge( ( "print-only": "only print", "screen-only": "only screen", "xs-only": "only screen and (max-width: #{map-get($grid-breakpoints, "sm")-1})", ), $display-breakpoints ); ``` ##### Support auto accessors syntax ([#&#8203;13919](https://togithub.com/prettier/prettier/pull/13919) by [@&#8203;sosukesuzuki](https://togithub.com/sosukesuzuki)) Support for [Auto Accessors Syntax](https://devblogs.microsoft.com/typescript/announcing-typescript-4-9/#auto-accessors-in-classes) landed in TypeScript 4.9. (Doesn't work well with `babel-ts` parser) <!-- prettier-ignore --> ```tsx class Foo { accessor foo: number = 3; } ``` ### [`v2.8.0`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#&#8203;280) [Compare Source](https://togithub.com/prettier/prettier/compare/2.7.1...2.8.0) [diff](https://togithub.com/prettier/prettier/compare/2.7.1...2.8.0) 🔗 [Release Notes](https://prettier.io/blog/2022/11/23/2.8.0.html) </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:eyJjcmVhdGVkSW5WZXIiOiIzNC4zMC4yIiwidXBkYXRlZEluVmVyIjoiMzQuNjIuMSJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Gastón Fournier <gaston@getunleash.ai>
2022-12-27 10:45:43 +01:00
"prettier": "2.8.1",
"proxyquire": "2.1.3",
"source-map-support": "0.5.21",
chore(deps): update dependency superagent to v8.0.9 (#3090) [![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.6` -> `8.0.9`](https://renovatebot.com/diffs/npm/superagent/8.0.6/8.0.9) | [![age](https://badges.renovateapi.com/packages/npm/superagent/8.0.9/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/superagent/8.0.9/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/superagent/8.0.9/compatibility-slim/8.0.6)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/superagent/8.0.9/confidence-slim/8.0.6)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>ladjs/superagent</summary> ### [`v8.0.9`](https://togithub.com/ladjs/superagent/releases/tag/v8.0.9) [Compare Source](https://togithub.com/ladjs/superagent/compare/v8.0.8...v8.0.9) - fix: fixed eslintrc config [`53d2d8a`](https://togithub.com/ladjs/superagent/commit/53d2d8a) - chore: bump deps [`82f7498`](https://togithub.com/ladjs/superagent/commit/82f7498) - Merge pull request [#&#8203;1761](https://togithub.com/ladjs/superagent/issues/1761) from Leafly-com/fix/follow-redirect-cookies [`cd094f5`](https://togithub.com/ladjs/superagent/commit/cd094f5) - Merge pull request [#&#8203;1762](https://togithub.com/ladjs/superagent/issues/1762) from Leafly-com/fix-cookie-header [`4268ae4`](https://togithub.com/ladjs/superagent/commit/4268ae4) - fix(cookies): parse header correctly when merging cookies [`4aac580`](https://togithub.com/ladjs/superagent/commit/4aac580) - fix(redirects): emit correct response in redirect event [`e2538f3`](https://togithub.com/ladjs/superagent/commit/e2538f3) ### [`v8.0.8`](https://togithub.com/ladjs/superagent/releases/tag/v8.0.8) [Compare Source](https://togithub.com/ladjs/superagent/compare/v8.0.7...v8.0.8) - Merge pull request [#&#8203;1757](https://togithub.com/ladjs/superagent/issues/1757) from ShiraNagen/cookies-domains [`93835cb`](https://togithub.com/ladjs/superagent/commit/93835cb) - fix(cookies): send cookies to allowed domains [`e98489a`](https://togithub.com/ladjs/superagent/commit/e98489a) ### [`v8.0.7`](https://togithub.com/ladjs/superagent/releases/tag/v8.0.7) [Compare Source](https://togithub.com/ladjs/superagent/compare/v8.0.6...v8.0.7) - chore: bump deps [`dd85a8e`](https://togithub.com/ladjs/superagent/commit/dd85a8e) - Merge pull request [#&#8203;1756](https://togithub.com/ladjs/superagent/issues/1756) from sashashura/patch-1 [`3adc458`](https://togithub.com/ladjs/superagent/commit/3adc458) - build: harden ci.yml permissions [`5fe4d09`](https://togithub.com/ladjs/superagent/commit/5fe4d09) </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:eyJjcmVhdGVkSW5WZXIiOiIzNC4xMzAuMSIsInVwZGF0ZWRJblZlciI6IjM0LjEzMC4xIn0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-12 20:45:24 +01:00
"superagent": "8.0.9",
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",
"wait-on": "^7.0.1"
},
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",
chore(deps): update dependency minimatch to v5 (#2400) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [minimatch](https://togithub.com/isaacs/minimatch) | [`^3.0.5` -> `^5.0.0`](https://renovatebot.com/diffs/npm/minimatch/3.1.2/5.1.0) | [![age](https://badges.renovateapi.com/packages/npm/minimatch/5.1.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/minimatch/5.1.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/minimatch/5.1.0/compatibility-slim/3.1.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/minimatch/5.1.0/confidence-slim/3.1.2)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>isaacs/minimatch</summary> ### [`v5.1.0`](https://togithub.com/isaacs/minimatch/compare/v5.0.1...v5.1.0) [Compare Source](https://togithub.com/isaacs/minimatch/compare/v5.0.1...v5.1.0) ### [`v5.0.1`](https://togithub.com/isaacs/minimatch/compare/v5.0.0...v5.0.1) [Compare Source](https://togithub.com/isaacs/minimatch/compare/v5.0.0...v5.0.1) ### [`v5.0.0`](https://togithub.com/isaacs/minimatch/compare/v4.2.1...v5.0.0) [Compare Source](https://togithub.com/isaacs/minimatch/compare/v4.2.1...v5.0.0) ### [`v4.2.1`](https://togithub.com/isaacs/minimatch/compare/v4.2.0...v4.2.1) [Compare Source](https://togithub.com/isaacs/minimatch/compare/v4.2.0...v4.2.1) ### [`v4.2.0`](https://togithub.com/isaacs/minimatch/compare/v4.1.1...v4.2.0) [Compare Source](https://togithub.com/isaacs/minimatch/compare/v4.1.1...v4.2.0) ### [`v4.1.1`](https://togithub.com/isaacs/minimatch/compare/v4.1.0...v4.1.1) [Compare Source](https://togithub.com/isaacs/minimatch/compare/v4.1.0...v4.1.1) ### [`v4.1.0`](https://togithub.com/isaacs/minimatch/compare/v4.0.0...v4.1.0) [Compare Source](https://togithub.com/isaacs/minimatch/compare/v4.0.0...v4.1.0) ### [`v4.0.0`](https://togithub.com/isaacs/minimatch/compare/v3.1.2...v4.0.0) [Compare Source](https://togithub.com/isaacs/minimatch/compare/v3.1.2...v4.0.0) </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:eyJjcmVhdGVkSW5WZXIiOiIzNC4yMS42IiwidXBkYXRlZEluVmVyIjoiMzQuMjEuNiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-10 22:36:46 +01:00
"minimatch": "^5.0.0"
2019-10-05 08:10:38 +02:00
},
2017-06-28 14:14:55 +02:00
"lint-staged": {
"*.{js,ts}": [
2021-02-11 14:08:33 +01:00
"eslint --fix"
2018-11-22 11:22:18 +01:00
],
"*.{json,yaml,md}": [
2021-02-11 14:08:33 +01:00
"prettier --write"
]
2018-11-22 09:03:36 +01:00
},
2018-11-22 11:17:50 +01:00
"prettier": {
"proseWrap": "never",
"singleQuote": true,
"tabWidth": 4,
"trailingComma": "all",
"overrides": [
{
"files": "*.{json,yaml,yml,md}",
2018-11-22 11:17:50 +01:00
"options": {
"tabWidth": 2
}
}
]
}
2014-10-23 14:13:17 +02:00
}