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

265 lines
8.6 KiB
JSON
Raw Normal View History

{
2016-11-10 15:52:49 +01:00
"name": "unleash-server",
2017-02-15 22:23:08 +01:00
"description": "Unleash is an enterprise ready feature toggles service. It provides different strategies for handling feature toggles.",
"version": "5.4.0-main",
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:frontend:if-needed": "if [ ! -d ./frontend/build ]; then yarn install --cwd ./frontend --frozen-lockfile --ignore-scripts && yarn build:frontend; fi",
"build": "concurrently \"yarn:copy-templates\" \"yarn:build:frontend\" \"yarn:build:backend\"",
chore: simplify package scripts (#3736) # Simplify package scripts This PR's purpose is to raise a discussion surrounding our current package scripts. It includes some suggestions that aim to simplify the scripts and hopefully bring a much more straightforward approach to developing and contributing to Unleash. Building (prod) should only happen **explicitly** and when needed. ## Before PR (current behavior) - Clone the project; - Open 2 terminals: One for `unleash` and another for `unleash/frontend`; - On `unleash`: - Run `yarn` (which will also build, for some reason?); - Run `yarn start:dev` to start backend in dev mode (`tsc-watch`); - On `unleash/frontend`: - Run `yarn` (which will also build, for some reason?); - Run `yarn start` to start frontend in dev mode (`vite`); So it seems to me like we build unnecessarily every time we install dependencies. Neither dev scripts need to build the project, as backend uses `tsc-watch` and frontend uses `vite`. I'm unsure why this is the case, as building can take a very long time. ![image](https://github.com/Unleash/unleash/assets/14320932/5ecb7df1-e5b4-4d70-ba7e-97119f5d1116) There's also some complexity in the way we need to split the terminal to `cd` into `frontend` and treat it as a different project. The fact that we have different script names is also confusing (`yarn start`, `yarn start:dev`, etc). ## After PR - Clone the project; - Run `yarn` to install all dependencies; - Run `yarn dev` to get started developing Unleash; Running `yarn` should take care of everything needed to start developing. This includes installing dependencies for frontend as well. It should not build projects if we are not being explicit about it, especially since we don't need to build them at this stage. ![image](https://github.com/Unleash/unleash/assets/14320932/614e42fc-3467-432f-91fc-624b1b35c7c1) Running `yarn dev` should start the project in dev mode. This means running both projects in `dev` mode, which for `backend` means running `tsc-watch` and for `frontend` means running `vite`. Here this PR attempts to provide a better DX by using [concurrently](https://www.npmjs.com/package/concurrently) and [wait-on](https://www.npmjs.com/package/wait-on) - This means both tasks are ran simultaneously, stdout is labeled accordingly, and are stopped together. It also means that `frontend` waits for `backend` to be serving at `4242` before starting, since `frontend` starts pretty much immediately with `vite` and `backend` takes a bit longer. Of course, when the `backend` is hot-reloading you may still find some `ECONNREFUSED`s on `frontend` stdout while it recompiles. ![image](https://github.com/Unleash/unleash/assets/14320932/8bde8ee2-3cad-4e3f-a0db-9eed60cfb04d) No more splitting your terminal and treating `frontend` as a separate project. ## Discussion points Maybe there's a better alternative to `tsc-watch`? I briefly explored some alternatives and while they had a much faster starting speed, hot-reload was sometimes slower. IMO we should aspire to run `src/server-dev.ts` directly and only compile when needed. Running `dev:backend` still serves a version of the frontend (at 4242). **Why? Can we remove that behavior?** I can't imagine a scenario in dev where we wouldn't want to run the latest version of the frontend with `vite`. ~~**Note:** This PR removes all other out-of-scope scripts to focus on this revamp. If we decide to merge it, we should evaluate what other existing scripts we still want to include. May be a good opportunity to clean up unused ones and only include the ones we really use. This includes scripts that our GH actions rely on.~~ **Update:** In an effort to minimize impact surface of this PR and make it a bit more ready for merging: - It updates some docs in https://github.com/Unleash/unleash/pull/3736/commits/2a4ff805e87b65d9c1256effaa189ddcccba15fb and https://github.com/Unleash/unleash/pull/3736/commits/1bbc4882519b5a82e3116f0be255ad24a6f3ce53 to reflect our new simplified flow; - It includes the old package scripts for now in https://github.com/Unleash/unleash/pull/3736/commits/039bc04699ac880e491fd3ce01f9bcd6f97a94b9; - It updates some of our GH actions to reflect the new scripts in https://github.com/Unleash/unleash/pull/3736/commits/7782cb9b12e37ee844507e41ef2b7137eaf55666; Given its current status I'll promote the PR to "ready for review". I still think we should have a second look at our existing scripts and GH actions to see what we really need and/or should adapt, but it should be a team effort so we have a broader context. Maybe on a follow-up PR. Does this require any changes to related projects (e.g. Enterprise)? --------- Co-authored-by: Gastón Fournier <gaston@getunleash.io>
2023-05-12 12:23:22 +02:00
"dev:backend": "TZ=UTC NODE_ENV=development tsc-watch --strictNullChecks false --onSuccess \"node dist/server-dev.js\"",
"dev:frontend": "wait-on tcp:4242 && yarn --cwd ./frontend run dev",
"dev": "concurrently \"yarn:dev:backend\" \"yarn:dev:frontend\"",
"prepare": "node scripts/husky-install && yarn --cwd ./frontend install && if [ ! -d ./dist ]; then yarn build; fi",
chore: Optimize docker build oss (#3951) ## About the changes Reduce the build time of OSS docker image from [~30m](https://github.com/Unleash/unleash/actions/workflows/docker_publish.yaml) to [under 15m](https://github.com/Unleash/unleash/actions/runs/5222180536/jobs/9427342758) 1. Build frontend outside docker multiplatform. 2. Allow `frontend/build` to be copied to the image by removing this from `.dockerignore` 3. Run with `--ignore-scripts` to avoid building the frontend on the `prepare` script, but this requires us to run all the prepare scripts manually (except the frontend build). **Note:** we need to build frontend in the `prepare` script to be able to have source code dependencies ## Manual Testing Manually downloaded from https://hub.docker.com/r/unleashorg/unleash-server/tags?page=1 and compared both `unleash` folders from main and the version built with the new process https://github.com/Unleash/unleash/actions/runs/5223078089/jobs/9429430190#step:5:48 ![Screenshot from 2023-06-10 21-11-33](https://github.com/Unleash/unleash/assets/455064/60a41739-904d-480d-8d80-bf17b7a70432) No major difference was spotted (only expected changes due to development done in main) **Command used to extract the contents:** ``` cd /tmp mkdir main && cd main docker pull unleashorg/unleash-server:main-edge-18-alpine docker export $(docker create unleashorg/unleash-server:main-edge-18-alpine) > container.tar && tar xvf container.tar mkdir ../new-process && cd ../new-process docker pull unleashorg/unleash-server:sha-ccac902-18-alpine docker export $(docker create unleashorg/unleash-server:sha-ccac902-18-alpine) > container.tar && tar xvf container.tar meld ./unleash ../main/unleash ```
2023-06-12 09:15:09 +02:00
"prepare:backend": "concurrently \"yarn:copy-templates\" \"yarn:build:backend\"",
2021-08-09 13:34:40 +02:00
"prestart:dev": "yarn run clean",
2023-05-03 09:25:56 +02:00
"start:dev": "TZ=UTC NODE_ENV=development tsc-watch --strictNullChecks false --onSuccess \"node dist/server-dev.js\"",
"db-migrate": "db-migrate --migrations-dir ./src/migrations",
"lint": "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",
"test:report": "NODE_ENV=test PORT=4243 jest --reporters=\"default\" --reporters=\"jest-junit\"",
2021-10-26 23:20:36 +02:00
"test:docker:cleanup": "docker rm -f unleash-postgres",
2021-01-26 10:10:37 +01:00
"test:watch": "yarn test --watch",
2022-05-20 11:14:41 +02:00
"test:coverage": "NODE_ENV=test PORT=4243 jest --coverage --testLocationInResults --outputFile=\"coverage/report.json\" --forceExit --testTimeout=10000",
2022-02-11 19:17:25 +01:00
"test:coverage:jest": "NODE_ENV=test PORT=4243 jest --silent --ci --json --coverage --testLocationInResults --outputFile=\"report.json\" --forceExit --testTimeout=10000",
"seed:setup": "ts-node --compilerOptions '{\"strictNullChecks\": false}' src/test/e2e/seed/segment.seed.ts",
"seed:serve": "UNLEASH_DATABASE_NAME=unleash_test UNLEASH_DATABASE_SCHEMA=seed yarn run start:dev",
"clean": "del-cli --force dist",
2022-10-18 21:24:12 +02:00
"preversion": "./scripts/check-release.sh",
"heroku-postbuild": "cd frontend && yarn && yarn build"
2016-11-10 15:52:49 +01:00
},
"jest-junit": {
"suiteName": "Unleash Unit Tests",
"outputDirectory": "./reports",
"outputName": "jest-junit.xml",
"uniqueOutputName": "false",
"classNameTemplate": "{classname}-{title}",
"titleTemplate": "{classname}-{title}",
"ancestorSeparator": " ",
"usePathForSuiteName": "true"
},
"jest": {
"automock": false,
"maxWorkers": 4,
"testTimeout": 10000,
2022-09-01 21:22:15 +02:00
"globalSetup": "./scripts/jest-setup.js",
"transform": {
"^.+\\.tsx?$": [
"@swc/jest"
]
},
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
"testPathIgnorePatterns": [
"/dist/",
"/node_modules/",
"/frontend/"
],
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json"
],
"coveragePathIgnorePatterns": [
"/node_modules/",
"/dist/",
"/src/migrations",
"/src/test"
]
2019-06-06 08:10:58 +02:00
},
2016-11-10 15:52:49 +01:00
"dependencies": {
"@slack/web-api": "^6.9.0",
"@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",
fix(deps): update dependency db-migrate to v0.11.14 (#4724) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [db-migrate](https://togithub.com/db-migrate/node-db-migrate) | [`0.11.13` -> `0.11.14`](https://renovatebot.com/diffs/npm/db-migrate/0.11.13/0.11.14) | [![age](https://developer.mend.io/api/mc/badges/age/npm/db-migrate/0.11.14?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/db-migrate/0.11.14?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/db-migrate/0.11.13/0.11.14?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/db-migrate/0.11.13/0.11.14?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>db-migrate/node-db-migrate (db-migrate)</summary> ### [`v0.11.14`](https://togithub.com/db-migrate/node-db-migrate/compare/v0.11.13...v0.11.14) [Compare Source](https://togithub.com/db-migrate/node-db-migrate/compare/v0.11.13...v0.11.14) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/Unleash/unleash). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi44My4wIiwidXBkYXRlZEluVmVyIjoiMzYuODMuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-14 16:05:15 +02:00
"db-migrate": "0.11.14",
fix(deps): update dependency db-migrate-pg to v1.4.2 (#4735) [![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.3.2` -> `1.4.2`](https://renovatebot.com/diffs/npm/db-migrate-pg/1.3.2/1.4.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/db-migrate-pg/1.4.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/db-migrate-pg/1.4.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/db-migrate-pg/1.3.2/1.4.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/db-migrate-pg/1.3.2/1.4.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>db-migrate/pg (db-migrate-pg)</summary> ### [`v1.4.2`](https://togithub.com/db-migrate/pg/blob/HEAD/CHANGELOG.md#142-2023-09-07) [Compare Source](https://togithub.com/db-migrate/pg/compare/v1.4.1...v1.4.2) ### [`v1.4.1`](https://togithub.com/db-migrate/pg/blob/HEAD/CHANGELOG.md#141-2023-09-07) [Compare Source](https://togithub.com/db-migrate/pg/compare/v1.4.0...v1.4.1) ### [`v1.4.0`](https://togithub.com/db-migrate/pg/blob/HEAD/CHANGELOG.md#140-2023-09-07) [Compare Source](https://togithub.com/db-migrate/pg/compare/v1.3.2...v1.4.0) ##### Bug Fixes - **switchDatabase:** scope configuration not working with schema ([d52cdcf](https://togithub.com/db-migrate/pg/commit/d52cdcf369e43cd5307a3d36e1bb80d029ee2b4e)) #### [1.3.2](https://togithub.com/db-migrate/pg/compare/v1.3.1...v1.3.2) (2023-09-01) #### [1.3.1](https://togithub.com/db-migrate/pg/compare/v1.3.0...v1.3.1) (2023-09-01) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/Unleash/unleash). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi44My4wIiwidXBkYXRlZEluVmVyIjoiMzYuODMuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-15 02:31:34 +02:00
"db-migrate-pg": "1.4.2",
"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",
"http-errors": "^2.0.0",
feat(#1873/playground): Return detailed information on feature toggle evaluation (#1839) * Feat: return reasons why a feature evaluated to true or false Note: this is very rough and just straight ripped from the nodejs client. It will need a lot of work, but is a good place to start * Feat: add suggested shape for new payload * Chore: minor cleanup * Wip: make server compile again * Remove unused schema ref * Export new schemas * Chore: fix some tests to use sub property * Fix: fix some tests * Refactor: rename some variables, uncomment some stuff * Add segments type to bootstrap options * Add segments capability to offline feature evaluator * Fix function calls after turning params into an option abject * Feat: test strategy order, etc * Feat: add test to check that all strats are returned correctly * Feat: allow you to include strategy ids in clients * Wip: hook up segments in the offline client. Note: compared to regular clients, they still fail * Feat: add segments validation * Fix: fix test case invariant. * Chore: revert to returning only `boolean` from strategies. This _should_ make it work with custom strategies too 🤞 * Feat: make more properties of the returned feature required * Wip: add some comments and unfinished tests for edge cases * Feat: add `isEnabledInCurrentEnvironment` prop * Feat: consider more strategy failure cases * Feat: test that isenabledinenvironment matches expectations * Feat: add unknown strategies * Fix: fix property access typo * Feat: add unknown strategy for fallback purposes * Feat: test edge case: all unknown strategies * Feat: add custom strategy to arbitrary * Feat: test that features can be true, even if not enabled in env * Chore: add some comments * Wip: fix sdk tests * Remove comments, improve test logging * Feat: add descriptions and examples to playground feature schema * Switch `examples` for `example` * Update schemas with descriptions and examples * Fix: update snapshot * Fix: openapi example * Fix: merge issues * Fix: fix issue where feature evaluation state was wrong * Chore: update openapi spec * Fix: fix broken offline client tests * Refactor: move schemas into separate files * Refactor: remove "reason" for incomplete evaluation. The only instances where evaluation is incomplete is when we don't know what the strategy is. * Refactor: move unleash node client into test and dev dependencies * Wip: further removal of stuff * Chore: remove a bunch of code that we don't use * Chore: remove comment * Chore: remove unused code * Fix: fix some prettier errors * Type parameters in strategies to avoid `any` * Fix: remove commented out code * Feat: make `id` required on playground strategies * Chore: remove redundant type * Fix: remove redundant if and fix fallback evaluation * Refactor: reduce nesting and remove duplication * Fix: remove unused helper function * Refactor: type `parameters` as `unknown` * Chore: remove redundant comment * Refactor: move constraint code into a separate file * Refactor: rename `unleash` -> `feature-evaluator` * Rename class `Unleash` -> `FeatureEvaluator` * Refactor: remove this.ready and sync logic from feature evaluator * Refactor: remove unused code, rename config type * Refactor: remove event emission from the Unleash client * Remove unlistened-for events in feature evaluator * Refactor: make offline client synchronous; remove code * Fix: update openapi snapshot after adding required strategy ids * Feat: change `strategies` format. This commit changes the format of a playground feature's `strategies` properties from a list of strategies to an object with properties `result` and `data`. It looks a bit like this: ```ts type Strategies = { result: boolean | "unknown", data: Strategy[] } ``` The reason is that this allows us to avoid the breaking change that was previously suggested in the PR: `feature.isEnabled` used to be a straight boolean. Then, when we found out we couldn't necessarily evaluate all strategies (custom strats are hard!) we changed it to `boolean | 'unevaluated'`. However, this is confusing on a few levels as the playground results are no longer the same as the SDK would be, nor are they strictly boolean anymore. This change reverts the `isEnabled` functionality to what it was before (so it's always a mirror of what the SDK would show). The equivalent of `feature.isEnabled === 'unevaluated'` now becomes `feature.isEnabled && strategy.result === 'unknown'`. * Fix: Fold long string descriptions over multiple lines. * Fix: update snapshot after adding line breaks to descriptions
2022-08-04 15:41:52 +02:00
"ip": "^1.1.8",
"joi": "^17.3.0",
fix(deps): update dependency js-sha256 to ^0.10.0 (#4740) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [js-sha256](https://togithub.com/emn178/js-sha256) | [`^0.9.0` -> `^0.10.0`](https://renovatebot.com/diffs/npm/js-sha256/0.9.0/0.10.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/js-sha256/0.10.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/js-sha256/0.10.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/js-sha256/0.9.0/0.10.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/js-sha256/0.9.0/0.10.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>emn178/js-sha256 (js-sha256)</summary> ### [`v0.10.1`](https://togithub.com/emn178/js-sha256/blob/HEAD/CHANGELOG.md#v0101--2023-08-31) [Compare Source](https://togithub.com/emn178/js-sha256/compare/v0.10.0...v0.10.1) ##### Added - Disable webpack polyfill. ### [`v0.10.0`](https://togithub.com/emn178/js-sha256/blob/HEAD/CHANGELOG.md#v0100--2023-08-30) [Compare Source](https://togithub.com/emn178/js-sha256/compare/v0.9.0...v0.10.0) ##### Fixed - Chrome bug by workaround. [#&#8203;40](https://togithub.com/emn178/js-sha256/issues/40) - deprecated `new Buffer`, replace with `Buffer.from`. [#&#8203;34](https://togithub.com/emn178/js-sha256/issues/34) - dependencies and security issues. [#&#8203;32](https://togithub.com/emn178/js-sha256/issues/32), [#&#8203;36](https://togithub.com/emn178/js-sha256/issues/36) ##### Changed - TypeScript interface, secretKey can be bytes like message. [#&#8203;23](https://togithub.com/emn178/js-sha256/issues/23), [#&#8203;25](https://togithub.com/emn178/js-sha256/issues/25) - remove `eval` and use `require` directly. [#&#8203;18](https://togithub.com/emn178/js-sha256/issues/18), [#&#8203;26](https://togithub.com/emn178/js-sha256/issues/26) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/Unleash/unleash). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi44My4wIiwidXBkYXRlZEluVmVyIjoiMzYuODMuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-15 08:55:59 +02:00
"js-sha256": "^0.10.0",
"js-yaml": "^4.1.0",
fix(deps): update dependency json-schema-to-ts to v2.9.2 (#4721) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [json-schema-to-ts](https://togithub.com/ThomasAribart/json-schema-to-ts) | [`2.9.1` -> `2.9.2`](https://renovatebot.com/diffs/npm/json-schema-to-ts/2.9.1/2.9.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/json-schema-to-ts/2.9.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/json-schema-to-ts/2.9.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/json-schema-to-ts/2.9.1/2.9.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/json-schema-to-ts/2.9.1/2.9.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>ThomasAribart/json-schema-to-ts (json-schema-to-ts)</summary> ### [`v2.9.2`](https://togithub.com/ThomasAribart/json-schema-to-ts/releases/tag/v2.9.2): 🌈 [Compare Source](https://togithub.com/ThomasAribart/json-schema-to-ts/compare/v2.9.1...v2.9.2) #### Changes - Use caps maj instead of first letter [@&#8203;ThomasAribart](https://togithub.com/ThomasAribart) ([#&#8203;156](https://togithub.com/ThomasAribart/json-schema-to-ts/issues/156)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/Unleash/unleash). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi44My4wIiwidXBkYXRlZEluVmVyIjoiMzYuODMuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-14 14:05:04 +02:00
"json-schema-to-ts": "2.9.2",
"json2csv": "^5.0.7",
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",
"lodash.groupby": "^4.6.0",
"log4js": "^6.0.0",
fix(deps): update dependency make-fetch-happen to v11 (#2296) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [make-fetch-happen](https://togithub.com/npm/make-fetch-happen) | [`^10.1.2` -> `^11.0.0`](https://renovatebot.com/diffs/npm/make-fetch-happen/10.1.2/11.0.1) | [![age](https://badges.renovateapi.com/packages/npm/make-fetch-happen/11.0.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/make-fetch-happen/11.0.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/make-fetch-happen/11.0.1/compatibility-slim/10.1.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/make-fetch-happen/11.0.1/confidence-slim/10.1.2)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>npm/make-fetch-happen</summary> ### [`v11.0.1`](https://togithub.com/npm/make-fetch-happen/blob/HEAD/CHANGELOG.md#&#8203;1101-httpsgithubcomnpmmake-fetch-happencomparev1100v1101-2022-10-17) [Compare Source](https://togithub.com/npm/make-fetch-happen/compare/v11.0.0...v11.0.1) ##### Dependencies - [`ebd86b2`](https://togithub.com/npm/make-fetch-happen/commit/ebd86b27813fde64cdeb1997857735dba7a25f85) [#&#8203;186](https://togithub.com/npm/make-fetch-happen/pull/186) bump minipass-fetch from 2.1.2 to 3.0.0 - [`9c16d84`](https://togithub.com/npm/make-fetch-happen/commit/9c16d84c10dddada3a1d0aeb74ad7b77220dd7eb) [#&#8203;187](https://togithub.com/npm/make-fetch-happen/pull/187) bump ssri from 9.0.1 to 10.0.0 ### [`v11.0.0`](https://togithub.com/npm/make-fetch-happen/blob/HEAD/CHANGELOG.md#&#8203;1100-httpsgithubcomnpmmake-fetch-happencomparev1021v1100-2022-10-13) [Compare Source](https://togithub.com/npm/make-fetch-happen/compare/v10.2.1...v11.0.0) ##### ⚠️ BREAKING CHANGES - this module no longer attempts to change file ownership automatically - `make-fetch-happen` is now compatible with the following semver range for node: `^14.17.0 || ^16.13.0 || >=18.0.0` ##### Features - [`c293053`](https://togithub.com/npm/make-fetch-happen/commit/c2930534bcf65907c4968ba5600d41910862fba5) [#&#8203;177](https://togithub.com/npm/make-fetch-happen/pull/177) postinstall for dependabot template-oss PR ([@&#8203;lukekarrys](https://togithub.com/lukekarrys)) ##### Documentation - [`d63de44`](https://togithub.com/npm/make-fetch-happen/commit/d63de4427ecadcc1c5a688564df8449ca182aafd) [#&#8203;173](https://togithub.com/npm/make-fetch-happen/pull/173) document cause argument to onRetry ([#&#8203;173](https://togithub.com/npm/make-fetch-happen/issues/173)) ([@&#8203;jmpage](https://togithub.com/jmpage)) ##### Dependencies - [`33d972a`](https://togithub.com/npm/make-fetch-happen/commit/33d972a81517c6817b39dd9c8adf9bfa7cf78391) [#&#8203;184](https://togithub.com/npm/make-fetch-happen/pull/184) bump cacache from 16.1.3 to 17.0.0 ([#&#8203;184](https://togithub.com/npm/make-fetch-happen/issues/184)) ### [`v10.2.1`](https://togithub.com/npm/make-fetch-happen/blob/HEAD/CHANGELOG.md#&#8203;1021-httpsgithubcomnpmmake-fetch-happencomparev1020v1021-2022-08-15) [Compare Source](https://togithub.com/npm/make-fetch-happen/compare/v10.2.0...v10.2.1) ##### Bug Fixes - linting ([#&#8203;166](https://togithub.com/npm/make-fetch-happen/issues/166)) ([e9a2a51](https://togithub.com/npm/make-fetch-happen/commit/e9a2a51e6d72e75802a73fe3b2b0e84753cc202a)) ### [`v10.2.0`](https://togithub.com/npm/make-fetch-happen/blob/HEAD/CHANGELOG.md#&#8203;1020-httpsgithubcomnpmmake-fetch-happencomparev1018v1020-2022-07-19) [Compare Source](https://togithub.com/npm/make-fetch-happen/compare/v10.1.8...v10.2.0) ##### Features - store link header ([#&#8203;164](https://togithub.com/npm/make-fetch-happen/issues/164)) ([dae6384](https://togithub.com/npm/make-fetch-happen/commit/dae6384a7f20c541708804b08ce233d14d592613)) ### [`v10.1.8`](https://togithub.com/npm/make-fetch-happen/blob/HEAD/CHANGELOG.md#&#8203;1018-httpsgithubcomnpmmake-fetch-happencomparev1017v1018-2022-06-20) [Compare Source](https://togithub.com/npm/make-fetch-happen/compare/v10.1.7...v10.1.8) ##### Bug Fixes - TypeError: SocksProxyAgent is not a constructor ([#&#8203;161](https://togithub.com/npm/make-fetch-happen/issues/161)) ([4ae4864](https://togithub.com/npm/make-fetch-happen/commit/4ae48640b091f4f64ad4c52037c147b1dfd83f04)) ##### [10.1.7](https://togithub.com/npm/make-fetch-happen/compare/v10.1.6...v10.1.7) (2022-06-01) ##### Bug Fixes - use hostname for socks agent ([#&#8203;159](https://togithub.com/npm/make-fetch-happen/issues/159)) ([331f9cb](https://togithub.com/npm/make-fetch-happen/commit/331f9cb273584da452994c6d9ce3e36df2bafb03)) ##### Dependencies - bump socks-proxy-agent from 6.2.1 to 7.0.0 ([#&#8203;158](https://togithub.com/npm/make-fetch-happen/issues/158)) ([63ed403](https://togithub.com/npm/make-fetch-happen/commit/63ed40395ea2c34313575b42e083a428b506fd88)) ##### [10.1.6](https://togithub.com/npm/make-fetch-happen/compare/v10.1.5...v10.1.6) (2022-05-27) ##### Bug Fixes - respect given algorithms instead of always using sha512 ([#&#8203;156](https://togithub.com/npm/make-fetch-happen/issues/156)) ([9baa806](https://togithub.com/npm/make-fetch-happen/commit/9baa8065f32a89ebd49eb59258462c209a68f142)) ##### [10.1.5](https://togithub.com/npm/make-fetch-happen/compare/v10.1.4...v10.1.5) (2022-05-19) ##### Bug Fixes - cache integrity and size events so late listeners still get them ([#&#8203;154](https://togithub.com/npm/make-fetch-happen/issues/154)) ([8c78584](https://togithub.com/npm/make-fetch-happen/commit/8c7858490aa5dc40e13d1c2580b5937836111a5b)) ##### [10.1.4](https://togithub.com/npm/make-fetch-happen/compare/v10.1.3...v10.1.4) (2022-05-18) ##### Bug Fixes - **docs:** remove reference to unsupported feature ([#&#8203;153](https://togithub.com/npm/make-fetch-happen/issues/153)) ([1d454f1](https://togithub.com/npm/make-fetch-happen/commit/1d454f11877267e1f80a9cc42f8f249fe6ec887f)), closes [#&#8203;147](https://togithub.com/npm/make-fetch-happen/issues/147) - pass expected integrity to cacache ([a88213e](https://togithub.com/npm/make-fetch-happen/commit/a88213e6a5e3a74c746d326488e2e6e056a2df54)) - pass integrityEmitter to cacache to avoid a redundant integrity stream ([ae62c21](https://togithub.com/npm/make-fetch-happen/commit/ae62c21c70d2004bbaa967ae2b722890b4283cbb)) - remove in-memory buffering in favor of full time streaming ([ec2db21](https://togithub.com/npm/make-fetch-happen/commit/ec2db214e4d54a8ba81a4315b4b3f21e71181069)) ##### [10.1.3](https://togithub.com/npm/make-fetch-happen/compare/v10.1.2...v10.1.3) (2022-05-09) ##### Bug Fixes - make `defaults` chaining actually work ([#&#8203;144](https://togithub.com/npm/make-fetch-happen/issues/144)) ([aa71e81](https://togithub.com/npm/make-fetch-happen/commit/aa71e817c71968f547f4d1756b1faf92db7b79ec)) ##### [10.1.2](https://togithub.com/npm/make-fetch-happen/compare/v10.1.1...v10.1.2) (2022-04-05) ##### Dependencies - bump ssri from 8.0.1 to 9.0.0 ([#&#8203;139](https://togithub.com/npm/make-fetch-happen/issues/139)) ([f91a1cc](https://togithub.com/npm/make-fetch-happen/commit/f91a1ccd0ea2821a3686b4b8ffd3fad47c2aeabd)) ##### [10.1.1](https://togithub.com/npm/make-fetch-happen/compare/v10.1.0...v10.1.1) (2022-03-29) ##### Bug Fixes - default verbatim to undefined ([#&#8203;135](https://togithub.com/npm/make-fetch-happen/issues/135)) ([be0cf6a](https://togithub.com/npm/make-fetch-happen/commit/be0cf6a15949c0511b40ed086aeab29fb86c2259)) ##### Documentation - remove mention of custom cache provider ([#&#8203;136](https://togithub.com/npm/make-fetch-happen/issues/136)) ([a7f1b55](https://togithub.com/npm/make-fetch-happen/commit/a7f1b554bc0072a1545d96f316e252ec52e81b23)) ### [`v10.1.7`](https://togithub.com/npm/make-fetch-happen/blob/HEAD/CHANGELOG.md#&#8203;1017-httpsgithubcomnpmmake-fetch-happencomparev1016v1017-2022-06-01) [Compare Source](https://togithub.com/npm/make-fetch-happen/compare/v10.1.6...v10.1.7) ### [`v10.1.6`](https://togithub.com/npm/make-fetch-happen/blob/HEAD/CHANGELOG.md#&#8203;1016-httpsgithubcomnpmmake-fetch-happencomparev1015v1016-2022-05-27) [Compare Source](https://togithub.com/npm/make-fetch-happen/compare/v10.1.5...v10.1.6) ### [`v10.1.5`](https://togithub.com/npm/make-fetch-happen/blob/HEAD/CHANGELOG.md#&#8203;1015-httpsgithubcomnpmmake-fetch-happencomparev1014v1015-2022-05-19) [Compare Source](https://togithub.com/npm/make-fetch-happen/compare/v10.1.4...v10.1.5) ### [`v10.1.4`](https://togithub.com/npm/make-fetch-happen/blob/HEAD/CHANGELOG.md#&#8203;1014-httpsgithubcomnpmmake-fetch-happencomparev1013v1014-2022-05-18) [Compare Source](https://togithub.com/npm/make-fetch-happen/compare/v10.1.3...v10.1.4) ### [`v10.1.3`](https://togithub.com/npm/make-fetch-happen/blob/HEAD/CHANGELOG.md#&#8203;1013-httpsgithubcomnpmmake-fetch-happencomparev1012v1013-2022-05-09) [Compare Source](https://togithub.com/npm/make-fetch-happen/compare/v10.1.2...v10.1.3) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/Unleash/unleash). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC42LjEiLCJ1cGRhdGVkSW5WZXIiOiIzNC45LjEifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-09 23:06:29 +01:00
"make-fetch-happen": "^11.0.0",
"memoizee": "^0.4.15",
2022-04-25 14:27:23 +02:00
"mime": "^3.0.0",
2022-06-01 12:10:49 +02:00
"multer": "^1.4.5-lts.1",
feat(#1873/playground): Return detailed information on feature toggle evaluation (#1839) * Feat: return reasons why a feature evaluated to true or false Note: this is very rough and just straight ripped from the nodejs client. It will need a lot of work, but is a good place to start * Feat: add suggested shape for new payload * Chore: minor cleanup * Wip: make server compile again * Remove unused schema ref * Export new schemas * Chore: fix some tests to use sub property * Fix: fix some tests * Refactor: rename some variables, uncomment some stuff * Add segments type to bootstrap options * Add segments capability to offline feature evaluator * Fix function calls after turning params into an option abject * Feat: test strategy order, etc * Feat: add test to check that all strats are returned correctly * Feat: allow you to include strategy ids in clients * Wip: hook up segments in the offline client. Note: compared to regular clients, they still fail * Feat: add segments validation * Fix: fix test case invariant. * Chore: revert to returning only `boolean` from strategies. This _should_ make it work with custom strategies too 🤞 * Feat: make more properties of the returned feature required * Wip: add some comments and unfinished tests for edge cases * Feat: add `isEnabledInCurrentEnvironment` prop * Feat: consider more strategy failure cases * Feat: test that isenabledinenvironment matches expectations * Feat: add unknown strategies * Fix: fix property access typo * Feat: add unknown strategy for fallback purposes * Feat: test edge case: all unknown strategies * Feat: add custom strategy to arbitrary * Feat: test that features can be true, even if not enabled in env * Chore: add some comments * Wip: fix sdk tests * Remove comments, improve test logging * Feat: add descriptions and examples to playground feature schema * Switch `examples` for `example` * Update schemas with descriptions and examples * Fix: update snapshot * Fix: openapi example * Fix: merge issues * Fix: fix issue where feature evaluation state was wrong * Chore: update openapi spec * Fix: fix broken offline client tests * Refactor: move schemas into separate files * Refactor: remove "reason" for incomplete evaluation. The only instances where evaluation is incomplete is when we don't know what the strategy is. * Refactor: move unleash node client into test and dev dependencies * Wip: further removal of stuff * Chore: remove a bunch of code that we don't use * Chore: remove comment * Chore: remove unused code * Fix: fix some prettier errors * Type parameters in strategies to avoid `any` * Fix: remove commented out code * Feat: make `id` required on playground strategies * Chore: remove redundant type * Fix: remove redundant if and fix fallback evaluation * Refactor: reduce nesting and remove duplication * Fix: remove unused helper function * Refactor: type `parameters` as `unknown` * Chore: remove redundant comment * Refactor: move constraint code into a separate file * Refactor: rename `unleash` -> `feature-evaluator` * Rename class `Unleash` -> `FeatureEvaluator` * Refactor: remove this.ready and sync logic from feature evaluator * Refactor: remove unused code, rename config type * Refactor: remove event emission from the Unleash client * Remove unlistened-for events in feature evaluator * Refactor: make offline client synchronous; remove code * Fix: update openapi snapshot after adding required strategy ids * Feat: change `strategies` format. This commit changes the format of a playground feature's `strategies` properties from a list of strategies to an object with properties `result` and `data`. It looks a bit like this: ```ts type Strategies = { result: boolean | "unknown", data: Strategy[] } ``` The reason is that this allows us to avoid the breaking change that was previously suggested in the PR: `feature.isEnabled` used to be a straight boolean. Then, when we found out we couldn't necessarily evaluate all strategies (custom strats are hard!) we changed it to `boolean | 'unevaluated'`. However, this is confusing on a few levels as the playground results are no longer the same as the SDK would be, nor are they strictly boolean anymore. This change reverts the `isEnabled` functionality to what it was before (so it's always a mirror of what the SDK would show). The equivalent of `feature.isEnabled === 'unevaluated'` now becomes `feature.isEnabled && strategy.result === 'unknown'`. * Fix: Fold long string descriptions over multiple lines. * Fix: update snapshot after adding line breaks to descriptions
2022-08-04 15:41:52 +02:00
"murmurhash3js": "^3.0.1",
"mustache": "^4.1.0",
"nodemailer": "^6.5.0",
"openapi-types": "^12.0.0",
"owasp-password-strength-test": "^1.3.0",
2016-11-12 11:21:40 +01:00
"parse-database-url": "^0.3.0",
"pg": "^8.7.3",
"pg-connection-string": "^2.5.0",
"pkginfo": "^0.4.1",
"prom-client": "^14.0.0",
"response-time": "^2.3.2",
"sanitize-filename": "^1.6.3",
2023-07-04 16:55:40 +02:00
"semver": "^7.5.3",
"serve-favicon": "^2.5.0",
"stoppable": "^1.1.0",
"ts-toolbelt": "^9.6.0",
"type-is": "^1.6.18",
"unleash-client": "4.1.1",
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.22.17 (#4780) [![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.22.15` -> `7.22.17`](https://renovatebot.com/diffs/npm/@babel%2fcore/7.22.15/7.22.17) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@babel%2fcore/7.22.17?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@babel%2fcore/7.22.17?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@babel%2fcore/7.22.15/7.22.17?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@babel%2fcore/7.22.15/7.22.17?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>babel/babel (@&#8203;babel/core)</summary> ### [`v7.22.17`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v72217-2023-09-08) [Compare Source](https://togithub.com/babel/babel/compare/v7.22.15...v7.22.17) ##### :bug: Bug Fix - `babel-core` - [#&#8203;15947](https://togithub.com/babel/babel/pull/15947) Fix compatibility with Node.js 20.6 ([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-helper-module-transforms`, `babel-plugin-transform-modules-commonjs` - [#&#8203;15941](https://togithub.com/babel/babel/pull/15941) Fix compiling duplicate ns imports to lazy CommonJS ([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-types` - [#&#8203;15920](https://togithub.com/babel/babel/pull/15920) Make `ClassDeclaration["id"]` optional in babel-types ([@&#8203;jordanbtucker](https://togithub.com/jordanbtucker)) ##### :microscope: Output optimization - `babel-helper-remap-async-to-generator`, `babel-helper-wrap-function`, `babel-plugin-proposal-explicit-resource-management`, `babel-plugin-proposal-function-sent`, `babel-plugin-transform-async-generator-functions`, `babel-plugin-transform-async-to-generator`, `babel-plugin-transform-block-scoping`, `babel-plugin-transform-class-properties`, `babel-plugin-transform-classes`, `babel-plugin-transform-parameters`, `babel-plugin-transform-runtime`, `babel-preset-env` - [#&#8203;15922](https://togithub.com/babel/babel/pull/15922) Improve output when wrapping functions (e.g. `async` functions) ([@&#8203;liuxingbaoyu](https://togithub.com/liuxingbaoyu)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/Unleash/unleash). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi45Ny4xIiwidXBkYXRlZEluVmVyIjoiMzYuOTcuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-20 03:20:25 +02:00
"@babel/core": "7.22.17",
chore(deps): update dependency @swc/core to v1.3.84 (#4781) [![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.83` -> `1.3.84`](https://renovatebot.com/diffs/npm/@swc%2fcore/1.3.83/1.3.84) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@swc%2fcore/1.3.84?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@swc%2fcore/1.3.84?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@swc%2fcore/1.3.83/1.3.84?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@swc%2fcore/1.3.83/1.3.84?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>swc-project/swc (@&#8203;swc/core)</summary> ### [`v1.3.84`](https://togithub.com/swc-project/swc/blob/HEAD/CHANGELOG.md#1384---2023-09-11) [Compare Source](https://togithub.com/swc-project/swc/compare/v1.3.83...v1.3.84) ##### Bug Fixes - **(es/codegen)** Emit leading comments for `ExprStmt` ([#&#8203;7916](https://togithub.com/swc-project/swc/issues/7916)) ([2da5895](https://togithub.com/swc-project/swc/commit/2da58959c26d5afb0b8f179fc681478bf05e6e20)) - **(es/codegen)** Use `emitAssertForImportAttributes` ([#&#8203;7936](https://togithub.com/swc-project/swc/issues/7936)) ([dac8888](https://togithub.com/swc-project/swc/commit/dac8888829841e1de19d53c887a2a52c9ab5feaa)) - **(es/compat)** Visit assign expr in generator ([#&#8203;7932](https://togithub.com/swc-project/swc/issues/7932)) ([97068e1](https://togithub.com/swc-project/swc/commit/97068e12d16803012a4859114702577def024a36)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/Unleash/unleash). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi45Ny4xIiwidXBkYXRlZEluVmVyIjoiMzYuOTcuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-20 06:53:02 +02:00
"@swc/core": "1.3.84",
chore(deps): update swc monorepo (#4718) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@swc/core](https://swc.rs) ([source](https://togithub.com/swc-project/swc)) | [`1.3.76` -> `1.3.83`](https://renovatebot.com/diffs/npm/@swc%2fcore/1.3.76/1.3.83) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@swc%2fcore/1.3.83?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@swc%2fcore/1.3.83?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@swc%2fcore/1.3.76/1.3.83?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@swc%2fcore/1.3.76/1.3.83?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@swc/jest](https://togithub.com/swc-project/jest) | [`0.2.28` -> `0.2.29`](https://renovatebot.com/diffs/npm/@swc%2fjest/0.2.28/0.2.29) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@swc%2fjest/0.2.29?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@swc%2fjest/0.2.29?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@swc%2fjest/0.2.28/0.2.29?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@swc%2fjest/0.2.28/0.2.29?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>swc-project/swc (@&#8203;swc/core)</summary> ### [`v1.3.83`](https://togithub.com/swc-project/swc/blob/HEAD/CHANGELOG.md#1383---2023-09-07) [Compare Source](https://togithub.com/swc-project/swc/compare/v1.3.82...v1.3.83) ##### Bug Fixes - **(css/modules)** Aggregate class names when composes is chained. ([#&#8203;7917](https://togithub.com/swc-project/swc/issues/7917)) ([0db25a2](https://togithub.com/swc-project/swc/commit/0db25a252cf35e4b64b38bde9f34a2f33eb2f662)) - **(es/module)** Revert [#&#8203;7901](https://togithub.com/swc-project/swc/issues/7901) ([#&#8203;7906](https://togithub.com/swc-project/swc/issues/7906)) ([85d6e9b](https://togithub.com/swc-project/swc/commit/85d6e9be07af7bb788594b21a986636657d86f03)) - **(es/module)** Fix `jsc.paths` for projects using pnpm ([#&#8203;7918](https://togithub.com/swc-project/swc/issues/7918)) ([a86e9f3](https://togithub.com/swc-project/swc/commit/a86e9f3bb5bd490ebf0b18fe7349a2b0fbc0c45f)) ##### Features - **(es/codegen)** Add an option to print `assert` for import attributes ([#&#8203;7914](https://togithub.com/swc-project/swc/issues/7914)) ([ee75756](https://togithub.com/swc-project/swc/commit/ee7575695de6dad140457ffb8bb8f0ac80c4dcdc)) ### [`v1.3.82`](https://togithub.com/swc-project/swc/blob/HEAD/CHANGELOG.md#1382---2023-09-01) [Compare Source](https://togithub.com/swc-project/swc/compare/v1.3.81...v1.3.82) ##### Bug Fixes - **(common)** Fix logic for excluding `FileName` from source maps ([#&#8203;7900](https://togithub.com/swc-project/swc/issues/7900)) ([aa64955](https://togithub.com/swc-project/swc/commit/aa6495519b9271cb21d380c0c5a35fe79d31ee14)) - **(es/module)** Make `jsc.paths` fully resolve TypeScript files ([#&#8203;7901](https://togithub.com/swc-project/swc/issues/7901)) ([c714dd2](https://togithub.com/swc-project/swc/commit/c714dd20dedfab60ac75de613d13c0f3af60a6c7)) - **(es/resolver)** Correctly resolve global value ([#&#8203;7893](https://togithub.com/swc-project/swc/issues/7893)) ([2db10e9](https://togithub.com/swc-project/swc/commit/2db10e9fd1913b69cb088aaded2d587872e9f2bb)) ### [`v1.3.81`](https://togithub.com/swc-project/swc/blob/HEAD/CHANGELOG.md#1381---2023-08-30) [Compare Source](https://togithub.com/swc-project/swc/compare/v1.3.80...v1.3.81) ##### Bug Fixes - **(es/codegen)** Fix placing of comments of yield arguments ([#&#8203;7858](https://togithub.com/swc-project/swc/issues/7858)) ([122d14c](https://togithub.com/swc-project/swc/commit/122d14c0d306d7c437f1ef0f6f375634ff5d7d1a)) - **(es/compat)** Apply transforms for explicit resource management ([#&#8203;7881](https://togithub.com/swc-project/swc/issues/7881)) ([3180e68](https://togithub.com/swc-project/swc/commit/3180e68bf27fb95ff00bd24677ae7e96b3aa6c62)) - **(es/compat)** Make `SwitchCase` handler of `block-scoping` stateless ([#&#8203;7888](https://togithub.com/swc-project/swc/issues/7888)) ([4b33d41](https://togithub.com/swc-project/swc/commit/4b33d41fabf841dfc31c6f44d94e4651239ab667)) - **(es/dep-graph)** Analyze import type children ([#&#8203;7883](https://togithub.com/swc-project/swc/issues/7883)) ([057bd5f](https://togithub.com/swc-project/swc/commit/057bd5f3efe55077a5a8e7f627e80175c8af2bd0)) - **(es/minifier)** Report `is_fn_local` even if var is hoisted ([#&#8203;7876](https://togithub.com/swc-project/swc/issues/7876)) ([87a47bf](https://togithub.com/swc-project/swc/commit/87a47bfb2c602f2ce7eb33f78612197e290518b8)) - **(es/module)** Don't create absolute paths for `jsc.paths` on Windows ([#&#8203;7892](https://togithub.com/swc-project/swc/issues/7892)) ([5fbc251](https://togithub.com/swc-project/swc/commit/5fbc251db1cc1f7973ba780a6c4fc1cdce5ef40d)) - **(swc-info)** Use correct path while getting local package versions ([#&#8203;7872](https://togithub.com/swc-project/swc/issues/7872)) ([67afaf1](https://togithub.com/swc-project/swc/commit/67afaf1f2db087518ac990c71de896c8e5e2a051)) ##### Features - **(es)** Add an option to disable builtin transforms ([#&#8203;7873](https://togithub.com/swc-project/swc/issues/7873)) ([71d01ec](https://togithub.com/swc-project/swc/commit/71d01ec12772c2854a47947deceb6d1cab141289)) - **(es/ast)** Support import attributes proposal ([#&#8203;7868](https://togithub.com/swc-project/swc/issues/7868)) ([4d3fcb8](https://togithub.com/swc-project/swc/commit/4d3fcb86e4843cf323a471537cc1ab3a26d054b1)) - **(es/preset-env)** Update data ([#&#8203;7882](https://togithub.com/swc-project/swc/issues/7882)) ([a97d8b4](https://togithub.com/swc-project/swc/commit/a97d8b42b1f85c1f76ffadcabf6e9c85f0458d8d)) - **(swc-info)** Add a CLI to help issue reporting ([#&#8203;7871](https://togithub.com/swc-project/swc/issues/7871)) ([d6952ea](https://togithub.com/swc-project/swc/commit/d6952ea687beb5b9aff1eae26076fa98ac94818b)) ##### Miscellaneous Tasks - **(deps)** Update `memchr` ([#&#8203;7891](https://togithub.com/swc-project/swc/issues/7891)) ([01cbd6e](https://togithub.com/swc-project/swc/commit/01cbd6edbd37c95ece7ca20ad2f6c85d6c1b6e35))- **general**: Use `textarea` for `swc-info` ([eed2903](https://togithub.com/swc-project/swc/commit/eed290319e4a8128948ce07e76d11a01d2096a8b)) ##### Performance - **(es/transforms)** Remove wrong parallelism ([#&#8203;7889](https://togithub.com/swc-project/swc/issues/7889)) ([a505012](https://togithub.com/swc-project/swc/commit/a50501255d2a91f2bbc1ce9767689dc4fad540cc)) ##### Refactor - **(es/minifier)** Remove `mutated` and `mutation_by_call_count` ([#&#8203;7890](https://togithub.com/swc-project/swc/issues/7890)) ([8db968a](https://togithub.com/swc-project/swc/commit/8db968a25d508a0d28d15d556ad121951f39ae0d)) ### [`v1.3.80`](https://togithub.com/swc-project/swc/blob/HEAD/CHANGELOG.md#1380---2023-08-25) [Compare Source](https://togithub.com/swc-project/swc/compare/v1.3.79...v1.3.80) ##### Bug Fixes - **(es/module)** Fix logic for exact matches in `jsc.paths` ([#&#8203;7860](https://togithub.com/swc-project/swc/issues/7860)) ([52a1ee7](https://togithub.com/swc-project/swc/commit/52a1ee78da87da760f9923cd8cdb420da855417f)) - **(es/module)** Don't resolve as `node_modules` from `TscResolver` ([#&#8203;7866](https://togithub.com/swc-project/swc/issues/7866)) ([11ebae1](https://togithub.com/swc-project/swc/commit/11ebae1bdd2fbd05d908fa560b81b830dddb3c56)) ##### Miscellaneous Tasks - **general**: Remove unused files ([e47f1c2](https://togithub.com/swc-project/swc/commit/e47f1c2bf7e1dc9fedf5a364884a40a5e7735973)) ### [`v1.3.79`](https://togithub.com/swc-project/swc/blob/HEAD/CHANGELOG.md#1379---2023-08-25) [Compare Source](https://togithub.com/swc-project/swc/compare/v1.3.78...v1.3.79) ##### Bug Fixes - **(es)** Fix default value of `jsc.minify.format.comments` ([#&#8203;7853](https://togithub.com/swc-project/swc/issues/7853)) ([64e51d3](https://togithub.com/swc-project/swc/commit/64e51d3a28052734d2eaf9992bc8ba578dd5630b)) - **(es/minifier)** Don't inline properties if the var is not `fn-local` ([#&#8203;7839](https://togithub.com/swc-project/swc/issues/7839)) ([7fe01e6](https://togithub.com/swc-project/swc/commit/7fe01e64dd9917d375a4f1cf9661ffaca822c5b3)) - **(es/minifier)** Don't remove exports ([#&#8203;7856](https://togithub.com/swc-project/swc/issues/7856)) ([ae8cd94](https://togithub.com/swc-project/swc/commit/ae8cd9430dd1ec0d857ac7f87ffa4b76258be92c)) - **(es/module)** Make `jsc.paths` work for a nest.js app ([#&#8203;7852](https://togithub.com/swc-project/swc/issues/7852)) ([d33a973](https://togithub.com/swc-project/swc/commit/d33a97303ceeee4069321ef21027ff99fe973a79)) ##### Features - **(css/ast)** Support `@scope` at-rule ([#&#8203;7837](https://togithub.com/swc-project/swc/issues/7837)) ([a34f359](https://togithub.com/swc-project/swc/commit/a34f3592b3fd2731b63a5c58c5022e12a403850b)) ##### Miscellaneous Tasks - **(ci)** Fix CI ([#&#8203;7857](https://togithub.com/swc-project/swc/issues/7857)) ([854e2e7](https://togithub.com/swc-project/swc/commit/854e2e78b38699fd09c65074a38a21d1d9836002)) ##### Refactor - **(common)** Mark some methods of `Input` unsafe ([#&#8203;7848](https://togithub.com/swc-project/swc/issues/7848)) ([c657324](https://togithub.com/swc-project/swc/commit/c65732496e4e2aab664b7443a29f5180cba6e965)) - **(es/helpers)** Move packages for monorepo ([#&#8203;7833](https://togithub.com/swc-project/swc/issues/7833)) ([1ab406c](https://togithub.com/swc-project/swc/commit/1ab406cd7aa19ea333a8462b0cd496ceb3e39ac1)) - **(es/minifier)** Pre-calculate `reassigned` ([#&#8203;7832](https://togithub.com/swc-project/swc/issues/7832)) ([65db1ba](https://togithub.com/swc-project/swc/commit/65db1badff3108983fcd59f933e9f87c55d62916)) - **(es/types)** Extract `@swc/types` as a small, reusable package ([#&#8203;7834](https://togithub.com/swc-project/swc/issues/7834)) ([f713f1b](https://togithub.com/swc-project/swc/commit/f713f1b2f6783ed6d85edd6decd87daa473acea0)) ### [`v1.3.78`](https://togithub.com/swc-project/swc/blob/HEAD/CHANGELOG.md#1378---2023-08-17) [Compare Source](https://togithub.com/swc-project/swc/compare/v1.3.77...v1.3.78) ##### Bug Fixes - **(es/codegen)** Add quotes to property names when `ascii_only` is `true` ([#&#8203;7820](https://togithub.com/swc-project/swc/issues/7820)) ([04921f3](https://togithub.com/swc-project/swc/commit/04921f301afbc2dc74bed4cb24e7656b60e54327)) - **(es/compat)** Remove wrong logic for object patterns in `object_rest` ([#&#8203;7788](https://togithub.com/swc-project/swc/issues/7788)) ([3766a7c](https://togithub.com/swc-project/swc/commit/3766a7c776b63e159be3f11f5f931c5e5f968cdb)) - **(es/minifier)** Preserve `cooked` while compressing template literals ([#&#8203;7773](https://togithub.com/swc-project/swc/issues/7773)) ([05990a9](https://togithub.com/swc-project/swc/commit/05990a98fd3f06a3c03bd1e795800acf22f16035)) - **(es/minifier)** Abort seq inliner if var is not fn_local or reassigned ([#&#8203;7804](https://togithub.com/swc-project/swc/issues/7804)) ([f8ca366](https://togithub.com/swc-project/swc/commit/f8ca366cc179d2d83d35148c3600b8faa2e7f801)) - **(es/minifier)** Preserve more analysis data upon inlining ([#&#8203;7823](https://togithub.com/swc-project/swc/issues/7823)) ([31de19e](https://togithub.com/swc-project/swc/commit/31de19ece22663623b1fc1fe48c90b7aa41e41e0)) ##### Features - **(es/module)** Improve error message about relative `jsc.baseUrl` ([#&#8203;7827](https://togithub.com/swc-project/swc/issues/7827)) ([9099883](https://togithub.com/swc-project/swc/commit/9099883175c590106109670de01ab32b33303bfd)) ##### Refactor - **(common)** Make `ahash` optional ([#&#8203;7816](https://togithub.com/swc-project/swc/issues/7816)) ([981d7b1](https://togithub.com/swc-project/swc/commit/981d7b152b2f488a67d42052152db22225f1d094)) - **(es/parser)** Remove needless `unsafe` ([#&#8203;7818](https://togithub.com/swc-project/swc/issues/7818)) ([8b809db](https://togithub.com/swc-project/swc/commit/8b809dbe23cab3db2159979cf1852a69c109f1e0))- **general**: Use `ahash` from `swc_common` in more places ([#&#8203;7815](https://togithub.com/swc-project/swc/issues/7815)) ([b43e38d](https://togithub.com/swc-project/swc/commit/b43e38d3f92bc889e263b741dbe173a6f2206d88)) ### [`v1.3.77`](https://togithub.com/swc-project/swc/blob/HEAD/CHANGELOG.md#1377---2023-08-16) [Compare Source](https://togithub.com/swc-project/swc/compare/v1.3.76...v1.3.77) ##### Bug Fixes - **(es)** Resolve `jsc.baseUrl` for `.swcrc` specified by `--config-file` ([#&#8203;7801](https://togithub.com/swc-project/swc/issues/7801)) ([fe1ca26](https://togithub.com/swc-project/swc/commit/fe1ca26218493d2e7d4121433c365a37e13285e6)) - **(es/compat)** Revert [#&#8203;7610](https://togithub.com/swc-project/swc/issues/7610) ([#&#8203;7813](https://togithub.com/swc-project/swc/issues/7813)) ([42dec55](https://togithub.com/swc-project/swc/commit/42dec557ed2e8fd829aba7847b354003cfea1b18)) - **(es/parser)** Revert lexer fix for `<<` ([#&#8203;7807](https://togithub.com/swc-project/swc/issues/7807)) ([e527c12](https://togithub.com/swc-project/swc/commit/e527c12a82740397ed4e909f242326f8e92624a8)) ##### Features - **(es/ast)** Expose `Archived` types ([#&#8203;7811](https://togithub.com/swc-project/swc/issues/7811)) ([478fa47](https://togithub.com/swc-project/swc/commit/478fa4736f355555c7a19e7b674db5d7bd81c0e2)) ##### Refactor - **(es/parser)** Don't attempt to handle shebangs in `read_token_number_sign` ([#&#8203;7803](https://togithub.com/swc-project/swc/issues/7803)) ([5e7834a](https://togithub.com/swc-project/swc/commit/5e7834aa2ecb0cd01b72979f393a517f1c1e5add)) </details> <details> <summary>swc-project/jest (@&#8203;swc/jest)</summary> ### [`v0.2.29`](https://togithub.com/swc-project/jest/compare/v0.2.28...v0.2.29) [Compare Source](https://togithub.com/swc-project/jest/compare/v0.2.28...v0.2.29) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/Unleash/unleash). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi44My4wIiwidXBkYXRlZEluVmVyIjoiMzYuODMuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-14 13:20:32 +02:00
"@swc/jest": "0.2.29",
chore(deps): update dependency @types/bcryptjs to v2.4.3 (#4692) [![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/bcryptjs](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/bcryptjs) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped)) | [`2.4.2` -> `2.4.3`](https://renovatebot.com/diffs/npm/@types%2fbcryptjs/2.4.2/2.4.3) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fbcryptjs/2.4.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fbcryptjs/2.4.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fbcryptjs/2.4.2/2.4.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fbcryptjs/2.4.2/2.4.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/Unleash/unleash). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi44My4wIiwidXBkYXRlZEluVmVyIjoiMzYuODMuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-13 21:58:13 +02:00
"@types/bcryptjs": "2.4.3",
chore(deps): update dependency @types/cors to v2.8.14 (#4693) [![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.13` -> `2.8.14`](https://renovatebot.com/diffs/npm/@types%2fcors/2.8.13/2.8.14) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fcors/2.8.14?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fcors/2.8.14?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fcors/2.8.13/2.8.14?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fcors/2.8.13/2.8.14?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/Unleash/unleash). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi44My4wIiwidXBkYXRlZEluVmVyIjoiMzYuODMuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-13 23:54:24 +02:00
"@types/cors": "2.8.14",
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 (#4717) [![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.5.3` -> `29.5.4`](https://renovatebot.com/diffs/npm/@types%2fjest/29.5.3/29.5.4) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fjest/29.5.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fjest/29.5.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fjest/29.5.3/29.5.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fjest/29.5.3/29.5.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [jest](https://jestjs.io/) ([source](https://togithub.com/jestjs/jest)) | [`29.6.2` -> `29.6.4`](https://renovatebot.com/diffs/npm/jest/29.6.2/29.6.4) | [![age](https://developer.mend.io/api/mc/badges/age/npm/jest/29.6.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/jest/29.6.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/jest/29.6.2/29.6.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/jest/29.6.2/29.6.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>jestjs/jest (jest)</summary> ### [`v29.6.4`](https://togithub.com/jestjs/jest/blob/HEAD/CHANGELOG.md#2964) [Compare Source](https://togithub.com/jestjs/jest/compare/v29.6.3...v29.6.4) ##### Fixes - `[jest-core]` Fix typo in `scheduleAndRun` performance marker ([#&#8203;14434](https://togithub.com/jestjs/jest/pull/14434)) - `[jest-environment-node]` Make sure `atob` and `btoa` are writeable in Node 20 ([#&#8203;14446](https://togithub.com/jestjs/jest/pull/14446)) - `[jest-worker]` Additional error wrapper for `parentPort.postMessage` to fix unhandled `DataCloneError`. ([#&#8203;14437](https://togithub.com/jestjs/jest/pull/14437)) ### [`v29.6.3`](https://togithub.com/jestjs/jest/blob/HEAD/CHANGELOG.md#2963) [Compare Source](https://togithub.com/jestjs/jest/compare/v29.6.2...v29.6.3) ##### Fixes - `[expect, @&#8203;jest/expect-utils]` `ObjectContaining` support `sumbol` as key ([#&#8203;14414](https://togithub.com/jestjs/jest/pull/14414)) - `[expect]` Remove `@types/node` from dependencies ([#&#8203;14385](https://togithub.com/jestjs/jest/pull/14385)) - `[jest-core]` Use workers in watch mode by default to avoid crashes ([#&#8203;14059](https://togithub.com/facebook/jest/pull/14059) & [#&#8203;14085](https://togithub.com/facebook/jest/pull/14085)). - `[jest-reporters]` Update `istanbul-lib-instrument` dependency to v6. ([#&#8203;14401](https://togithub.com/jestjs/jest/pull/14401)) - `[jest-mock]` Revert [#&#8203;13692](https://togithub.com/jestjs/jest/pull/13692) as it was a breaking change ([#&#8203;14429](https://togithub.com/jestjs/jest/pull/14429)) - `[jest-mock]` Revert [#&#8203;13866](https://togithub.com/jestjs/jest/pull/13866) as it was a breaking change ([#&#8203;14429](https://togithub.com/jestjs/jest/pull/14429)) - `[jest-mock]` Revert [#&#8203;13867](https://togithub.com/jestjs/jest/pull/13867) as it was a breaking change ([#&#8203;14429](https://togithub.com/jestjs/jest/pull/14429)) - `[@jest/reporters]` Marks Reporter's hooks as optional ([#&#8203;14433](https://togithub.com/jestjs/jest/pull/14433)) - `[jest-runtime]` Fix dynamic ESM import module bug when loaded module through `jest.isolateModulesAsync` ([#&#8203;14397](https://togithub.com/jestjs/jest/pull/14397)) ##### Chore & Maintenance - `[jest-changed-files, jest-circus, jest-console, @&#8203;jest/core, @&#8203;jest/runtime, @&#8203;jest/transform]` Use `invariant` and `notEmpty` from `jest-util` rather than own internal ([#&#8203;14366](https://togithub.com/jestjs/jest/pull/14366)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/Unleash/unleash). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi44My4wIiwidXBkYXRlZEluVmVyIjoiMzYuODMuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-14 13:31:32 +02:00
"@types/jest": "29.5.4",
"@types/js-yaml": "4.0.5",
"@types/lodash.groupby": "4.6.7",
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 v18.17.15 (#4782) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@types/node](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped)) | [`18.17.14` -> `18.17.15`](https://renovatebot.com/diffs/npm/@types%2fnode/18.17.14/18.17.15) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fnode/18.17.15?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fnode/18.17.15?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fnode/18.17.14/18.17.15?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fnode/18.17.14/18.17.15?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/Unleash/unleash). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi45Ny4xIiwidXBkYXRlZEluVmVyIjoiMzYuOTcuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-20 07:47:19 +02:00
"@types/node": "18.17.15",
chore(deps): update dependency @types/nodemailer to v6.4.10 (#4783) [![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.9` -> `6.4.10`](https://renovatebot.com/diffs/npm/@types%2fnodemailer/6.4.9/6.4.10) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fnodemailer/6.4.10?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fnodemailer/6.4.10?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fnodemailer/6.4.9/6.4.10?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fnodemailer/6.4.9/6.4.10?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/Unleash/unleash). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi45Ny4xIiwidXBkYXRlZEluVmVyIjoiMzYuOTcuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-20 07:58:33 +02:00
"@types/nodemailer": "6.4.10",
"@types/owasp-password-strength-test": "1.3.0",
chore(deps): update dependency @types/pg to v8.10.2 (#3973) [![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/pg](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/pg) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped)) | [`8.10.1` -> `8.10.2`](https://renovatebot.com/diffs/npm/@types%2fpg/8.10.1/8.10.2) | [![age](https://badges.renovateapi.com/packages/npm/@types%2fpg/8.10.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@types%2fpg/8.10.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@types%2fpg/8.10.2/compatibility-slim/8.10.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@types%2fpg/8.10.2/confidence-slim/8.10.1)](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:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMTUuMiIsInVwZGF0ZWRJblZlciI6IjM1LjExNS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-13 22:25:55 +02:00
"@types/pg": "8.10.2",
chore(deps): update dependency @types/semver to v7.5.1 (#4697) [![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/semver](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/semver) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped)) | [`7.5.0` -> `7.5.1`](https://renovatebot.com/diffs/npm/@types%2fsemver/7.5.0/7.5.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fsemver/7.5.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fsemver/7.5.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fsemver/7.5.0/7.5.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fsemver/7.5.0/7.5.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/Unleash/unleash). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi44My4wIiwidXBkYXRlZEluVmVyIjoiMzYuODMuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-14 07:20:39 +02:00
"@types/semver": "7.5.1",
"@types/stoppable": "1.1.1",
"@types/supertest": "2.0.12",
chore(deps): update dependency @types/type-is to v1.6.4 (#4787) [![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/type-is](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/type-is) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped)) | [`1.6.3` -> `1.6.4`](https://renovatebot.com/diffs/npm/@types%2ftype-is/1.6.3/1.6.4) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2ftype-is/1.6.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2ftype-is/1.6.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2ftype-is/1.6.3/1.6.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2ftype-is/1.6.3/1.6.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/Unleash/unleash). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi45Ny4xIiwidXBkYXRlZEluVmVyIjoiMzYuOTcuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-20 09:38:20 +02:00
"@types/type-is": "1.6.4",
chore(deps): update dependency @types/uuid to v9.0.3 (#4699) [![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.2` -> `9.0.3`](https://renovatebot.com/diffs/npm/@types%2fuuid/9.0.2/9.0.3) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fuuid/9.0.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fuuid/9.0.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fuuid/9.0.2/9.0.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fuuid/9.0.2/9.0.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/Unleash/unleash). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi44My4wIiwidXBkYXRlZEluVmVyIjoiMzYuODMuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-14 08:12:29 +02:00
"@types/uuid": "9.0.3",
chore(deps): update typescript-eslint monorepo to v5.62.0 (#4321) [![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.60.1` -> `5.62.0`](https://renovatebot.com/diffs/npm/@typescript-eslint%2feslint-plugin/5.60.1/5.62.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@typescript-eslint%2feslint-plugin/5.62.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@typescript-eslint%2feslint-plugin/5.62.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@typescript-eslint%2feslint-plugin/5.60.1/5.62.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@typescript-eslint%2feslint-plugin/5.60.1/5.62.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@typescript-eslint/parser](https://togithub.com/typescript-eslint/typescript-eslint) | [`5.60.1` -> `5.62.0`](https://renovatebot.com/diffs/npm/@typescript-eslint%2fparser/5.60.1/5.62.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@typescript-eslint%2fparser/5.62.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@typescript-eslint%2fparser/5.62.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@typescript-eslint%2fparser/5.60.1/5.62.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@typescript-eslint%2fparser/5.60.1/5.62.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>typescript-eslint/typescript-eslint (@&#8203;typescript-eslint/eslint-plugin)</summary> ### [`v5.62.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#5620-2023-07-10) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.61.0...v5.62.0) ##### Bug Fixes - **eslint-plugin:** \[comma-spacing] allow no space after trailing comma in objects and arrays ([#&#8203;6938](https://togithub.com/typescript-eslint/typescript-eslint/issues/6938)) ([24bdacc](https://togithub.com/typescript-eslint/typescript-eslint/commit/24bdacc7e5df40c92031a1bd7e9815d66a35b31d)) - **eslint-plugin:** \[prefer-includes] escape special characters ([#&#8203;7161](https://togithub.com/typescript-eslint/typescript-eslint/issues/7161)) ([5a347a5](https://togithub.com/typescript-eslint/typescript-eslint/commit/5a347a5978bc5737412bd12d61eb6058163cf4a0)), closes [#&#8203;7145](https://togithub.com/typescript-eslint/typescript-eslint/issues/7145) - **eslint-plugin:** replace auto-fix of class literal property style rule with suggestion ([#&#8203;7054](https://togithub.com/typescript-eslint/typescript-eslint/issues/7054)) ([a8c824a](https://togithub.com/typescript-eslint/typescript-eslint/commit/a8c824a1e84453f93cd2b464fc102bc878c1aff3)) ##### Features - **eslint-plugin:** \[prefer-nullish-coalescing] add `ignorePrimitives` option ([#&#8203;6487](https://togithub.com/typescript-eslint/typescript-eslint/issues/6487)) ([6edaa04](https://togithub.com/typescript-eslint/typescript-eslint/commit/6edaa04565576f0af7e60bc08602bd781c847804)) You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. ### [`v5.61.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#5610-2023-07-03) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.60.1...v5.61.0) ##### Features - **eslint-plugin:** \[ban-types] ban types in extends and implements ([#&#8203;7129](https://togithub.com/typescript-eslint/typescript-eslint/issues/7129)) ([997783f](https://togithub.com/typescript-eslint/typescript-eslint/commit/997783ff108ca18af709667ef3fdfa7134a8eefe)) - use graphemer instead of grapheme-splitter ([#&#8203;7069](https://togithub.com/typescript-eslint/typescript-eslint/issues/7069)) ([faea3ff](https://togithub.com/typescript-eslint/typescript-eslint/commit/faea3ff8b4d750974c41262b44db314f20d0c99c)) You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. #### [5.60.1](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.60.0...v5.60.1) (2023-06-26) **Note:** Version bump only for package [@&#8203;typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/eslint-plugin) You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. </details> <details> <summary>typescript-eslint/typescript-eslint (@&#8203;typescript-eslint/parser)</summary> ### [`v5.62.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#5620-2023-07-10) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.61.0...v5.62.0) **Note:** Version bump only for package [@&#8203;typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. ### [`v5.61.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#5610-2023-07-03) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.60.1...v5.61.0) **Note:** Version bump only for package [@&#8203;typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. #### [5.60.1](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.60.0...v5.60.1) (2023-06-26) **Note:** Version bump only for package [@&#8203;typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. </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://developer.mend.io/github/Unleash/unleash). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4xMS4wIiwidXBkYXRlZEluVmVyIjoiMzYuMTEuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-21 23:20:23 +02:00
"@typescript-eslint/eslint-plugin": "5.62.0",
"@typescript-eslint/parser": "5.62.0",
chore: simplify package scripts (#3736) # Simplify package scripts This PR's purpose is to raise a discussion surrounding our current package scripts. It includes some suggestions that aim to simplify the scripts and hopefully bring a much more straightforward approach to developing and contributing to Unleash. Building (prod) should only happen **explicitly** and when needed. ## Before PR (current behavior) - Clone the project; - Open 2 terminals: One for `unleash` and another for `unleash/frontend`; - On `unleash`: - Run `yarn` (which will also build, for some reason?); - Run `yarn start:dev` to start backend in dev mode (`tsc-watch`); - On `unleash/frontend`: - Run `yarn` (which will also build, for some reason?); - Run `yarn start` to start frontend in dev mode (`vite`); So it seems to me like we build unnecessarily every time we install dependencies. Neither dev scripts need to build the project, as backend uses `tsc-watch` and frontend uses `vite`. I'm unsure why this is the case, as building can take a very long time. ![image](https://github.com/Unleash/unleash/assets/14320932/5ecb7df1-e5b4-4d70-ba7e-97119f5d1116) There's also some complexity in the way we need to split the terminal to `cd` into `frontend` and treat it as a different project. The fact that we have different script names is also confusing (`yarn start`, `yarn start:dev`, etc). ## After PR - Clone the project; - Run `yarn` to install all dependencies; - Run `yarn dev` to get started developing Unleash; Running `yarn` should take care of everything needed to start developing. This includes installing dependencies for frontend as well. It should not build projects if we are not being explicit about it, especially since we don't need to build them at this stage. ![image](https://github.com/Unleash/unleash/assets/14320932/614e42fc-3467-432f-91fc-624b1b35c7c1) Running `yarn dev` should start the project in dev mode. This means running both projects in `dev` mode, which for `backend` means running `tsc-watch` and for `frontend` means running `vite`. Here this PR attempts to provide a better DX by using [concurrently](https://www.npmjs.com/package/concurrently) and [wait-on](https://www.npmjs.com/package/wait-on) - This means both tasks are ran simultaneously, stdout is labeled accordingly, and are stopped together. It also means that `frontend` waits for `backend` to be serving at `4242` before starting, since `frontend` starts pretty much immediately with `vite` and `backend` takes a bit longer. Of course, when the `backend` is hot-reloading you may still find some `ECONNREFUSED`s on `frontend` stdout while it recompiles. ![image](https://github.com/Unleash/unleash/assets/14320932/8bde8ee2-3cad-4e3f-a0db-9eed60cfb04d) No more splitting your terminal and treating `frontend` as a separate project. ## Discussion points Maybe there's a better alternative to `tsc-watch`? I briefly explored some alternatives and while they had a much faster starting speed, hot-reload was sometimes slower. IMO we should aspire to run `src/server-dev.ts` directly and only compile when needed. Running `dev:backend` still serves a version of the frontend (at 4242). **Why? Can we remove that behavior?** I can't imagine a scenario in dev where we wouldn't want to run the latest version of the frontend with `vite`. ~~**Note:** This PR removes all other out-of-scope scripts to focus on this revamp. If we decide to merge it, we should evaluate what other existing scripts we still want to include. May be a good opportunity to clean up unused ones and only include the ones we really use. This includes scripts that our GH actions rely on.~~ **Update:** In an effort to minimize impact surface of this PR and make it a bit more ready for merging: - It updates some docs in https://github.com/Unleash/unleash/pull/3736/commits/2a4ff805e87b65d9c1256effaa189ddcccba15fb and https://github.com/Unleash/unleash/pull/3736/commits/1bbc4882519b5a82e3116f0be255ad24a6f3ce53 to reflect our new simplified flow; - It includes the old package scripts for now in https://github.com/Unleash/unleash/pull/3736/commits/039bc04699ac880e491fd3ce01f9bcd6f97a94b9; - It updates some of our GH actions to reflect the new scripts in https://github.com/Unleash/unleash/pull/3736/commits/7782cb9b12e37ee844507e41ef2b7137eaf55666; Given its current status I'll promote the PR to "ready for review". I still think we should have a second look at our existing scripts and GH actions to see what we really need and/or should adapt, but it should be a team effort so we have a broader context. Maybe on a follow-up PR. Does this require any changes to related projects (e.g. Enterprise)? --------- Co-authored-by: Gastón Fournier <gaston@getunleash.io>
2023-05-12 12:23:22 +02:00
"concurrently": "^8.0.1",
"copyfiles": "2.4.1",
"coveralls": "3.1.1",
chore(deps): update dependency del-cli to v5.1.0 (#4725) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [del-cli](https://togithub.com/sindresorhus/del-cli) | [`5.0.0` -> `5.1.0`](https://renovatebot.com/diffs/npm/del-cli/5.0.0/5.1.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/del-cli/5.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/del-cli/5.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/del-cli/5.0.0/5.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/del-cli/5.0.0/5.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>sindresorhus/del-cli (del-cli)</summary> ### [`v5.1.0`](https://togithub.com/sindresorhus/del-cli/releases/tag/v5.1.0) [Compare Source](https://togithub.com/sindresorhus/del-cli/compare/v5.0.1...v5.1.0) - Add `--verbose` flag ([#&#8203;37](https://togithub.com/sindresorhus/del-cli/issues/37)) [`f32b531`](https://togithub.com/sindresorhus/del-cli/commit/f32b531) ### [`v5.0.1`](https://togithub.com/sindresorhus/del-cli/releases/tag/v5.0.1) [Compare Source](https://togithub.com/sindresorhus/del-cli/compare/v5.0.0...v5.0.1) - Fix Windows compatibility for use with `npx` [`537e5b3`](https://togithub.com/sindresorhus/del-cli/commit/537e5b3) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/Unleash/unleash). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi44My4wIiwidXBkYXRlZEluVmVyIjoiMzYuODMuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-14 16:06:04 +02:00
"del-cli": "5.1.0",
"eslint": "^8.38.0",
"eslint-config-airbnb-base": "15.0.0",
chore(deps): update dependency eslint-config-airbnb-typescript to v17.1.0 (#4307) [![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-airbnb-typescript](https://togithub.com/iamturns/eslint-config-airbnb-typescript) | [`17.0.0` -> `17.1.0`](https://renovatebot.com/diffs/npm/eslint-config-airbnb-typescript/17.0.0/17.1.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/eslint-config-airbnb-typescript/17.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/eslint-config-airbnb-typescript/17.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/eslint-config-airbnb-typescript/17.0.0/17.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/eslint-config-airbnb-typescript/17.0.0/17.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>iamturns/eslint-config-airbnb-typescript (eslint-config-airbnb-typescript)</summary> ### [`v17.1.0`](https://togithub.com/iamturns/eslint-config-airbnb-typescript/releases/tag/v17.1.0) [Compare Source](https://togithub.com/iamturns/eslint-config-airbnb-typescript/compare/v17.0.0...v17.1.0) ##### Features - support [@&#8203;typescript-eslint](https://togithub.com/typescript-eslint) to v6 ([#&#8203;325](https://togithub.com/iamturns/eslint-config-airbnb-typescript/issues/325)) ([8ef77c9](https://togithub.com/iamturns/eslint-config-airbnb-typescript/commit/8ef77c928c97d977f053c9c638831363a715d4a9)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/Unleash/unleash). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4xMS4wIiwidXBkYXRlZEluVmVyIjoiMzYuMTEuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-21 08:29:48 +02:00
"eslint-config-airbnb-typescript": "17.1.0",
chore(deps): update dependency eslint-config-prettier to v8.10.0 (#4514) [![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.9.0` -> `8.10.0`](https://renovatebot.com/diffs/npm/eslint-config-prettier/8.9.0/8.10.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/eslint-config-prettier/8.10.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/eslint-config-prettier/8.10.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/eslint-config-prettier/8.9.0/8.10.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/eslint-config-prettier/8.9.0/8.10.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>prettier/eslint-config-prettier (eslint-config-prettier)</summary> ### [`v8.10.0`](https://togithub.com/prettier/eslint-config-prettier/blob/HEAD/CHANGELOG.md#Version-8100-2023-08-03) [Compare Source](https://togithub.com/prettier/eslint-config-prettier/compare/v8.9.0...v8.10.0) - Added: \[max-statements-per-line]. Thanks to [@&#8203;Zamiell](https://togithub.com/Zamiell)! </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/Unleash/unleash). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi40My4yIiwidXBkYXRlZEluVmVyIjoiMzYuNDMuMiIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-16 14:00:44 +02:00
"eslint-config-prettier": "8.10.0",
chore(deps): update dependency eslint-plugin-import to v2.28.1 (#4705) [![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.28.0` -> `2.28.1`](https://renovatebot.com/diffs/npm/eslint-plugin-import/2.28.0/2.28.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/eslint-plugin-import/2.28.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/eslint-plugin-import/2.28.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/eslint-plugin-import/2.28.0/2.28.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/eslint-plugin-import/2.28.0/2.28.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>import-js/eslint-plugin-import (eslint-plugin-import)</summary> ### [`v2.28.1`](https://togithub.com/import-js/eslint-plugin-import/blob/HEAD/CHANGELOG.md#2281---2023-08-18) [Compare Source](https://togithub.com/import-js/eslint-plugin-import/compare/v2.28.0...v2.28.1) ##### Fixed - \[`order`]: revert breaking change to single nested group (\[[#&#8203;2854](https://togithub.com/import-js/eslint-plugin-import/issues/2854)], thanks \[[@&#8203;yndajas](https://togithub.com/yndajas)]) ##### Changed - \[Docs] remove duplicate fixable notices in docs (\[[#&#8203;2850](https://togithub.com/import-js/eslint-plugin-import/issues/2850)], thanks \[[@&#8203;bmish](https://togithub.com/bmish)]) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/Unleash/unleash). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi44My4wIiwidXBkYXRlZEluVmVyIjoiMzYuODMuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-14 10:20:44 +02:00
"eslint-plugin-import": "2.28.1",
"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.13.0 (#4797) [![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.12.1` -> `3.13.0`](https://renovatebot.com/diffs/npm/fast-check/3.12.1/3.13.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/fast-check/3.13.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/fast-check/3.13.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/fast-check/3.12.1/3.13.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/fast-check/3.12.1/3.13.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>dubzzz/fast-check (fast-check)</summary> ### [`v3.13.0`](https://togithub.com/dubzzz/fast-check/blob/HEAD/packages/fast-check/CHANGELOG.md#3130) [Compare Source](https://togithub.com/dubzzz/fast-check/compare/v3.12.1...v3.13.0) *New options for `date`, `record` and `dictionary`* \[[Code](https://togithub.com/dubzzz/fast-check/tree/v3.13.0)]\[[Diff](https://togithub.com/dubzzz/fast-check/compare/v3.12.1...v3.13.0)] #### Features - ([PR#4197](https://togithub.com/dubzzz/fast-check/pull/4197)) Add support for "Invalid Date" in `date` - ([PR#4203](https://togithub.com/dubzzz/fast-check/pull/4203)) Deprecate `withDeletedKeys` on `record` - ([PR#4204](https://togithub.com/dubzzz/fast-check/pull/4204)) Support null-proto in `dictionary` - ([PR#4205](https://togithub.com/dubzzz/fast-check/pull/4205)) Support null-proto in `record` #### Fixes - ([PR#4207](https://togithub.com/dubzzz/fast-check/pull/4207)) Bug: Better poisoning resiliency for `dictionary` - ([PR#4194](https://togithub.com/dubzzz/fast-check/pull/4194)) CI: Add some more details onto the PWA - ([PR#4211](https://togithub.com/dubzzz/fast-check/pull/4211)) CI: Rework broken test on `date` - ([PR#4212](https://togithub.com/dubzzz/fast-check/pull/4212)) CI: Rework broken test on `date` (retry) - ([PR#4214](https://togithub.com/dubzzz/fast-check/pull/4214)) CI: Rework another broken test on date - ([PR#4186](https://togithub.com/dubzzz/fast-check/pull/4186)) Doc: Document our approach to dual package - ([PR#4187](https://togithub.com/dubzzz/fast-check/pull/4187)) Doc: Expose website as PWA too - ([PR#4190](https://togithub.com/dubzzz/fast-check/pull/4190)) Move: Move the manifest in /static - ([PR#4206](https://togithub.com/dubzzz/fast-check/pull/4206)) Refactor: Re-use null-proto helpers of `dictionary` on `anything` - ([PR#4189](https://togithub.com/dubzzz/fast-check/pull/4189)) Test: Drop Node 14.x from the test-chain *** </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/Unleash/unleash). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi45Ny4xIiwidXBkYXRlZEluVmVyIjoiMzYuOTcuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-20 16:30:57 +02:00
"fast-check": "3.13.0",
"fetch-mock": "9.11.0",
chore(deps): update dependency husky to v8.0.3 (#2803) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [husky](https://typicode.github.io/husky) ([source](https://togithub.com/typicode/husky)) | [`8.0.2` -> `8.0.3`](https://renovatebot.com/diffs/npm/husky/8.0.2/8.0.3) | [![age](https://badges.renovateapi.com/packages/npm/husky/8.0.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/husky/8.0.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/husky/8.0.3/compatibility-slim/8.0.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/husky/8.0.3/confidence-slim/8.0.2)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>typicode/husky</summary> ### [`v8.0.3`](https://togithub.com/typicode/husky/releases/tag/v8.0.3) [Compare Source](https://togithub.com/typicode/husky/compare/v8.0.2...v8.0.3) - fix: add git not installed message [#&#8203;1208](https://togithub.com/typicode/husky/issues/1208) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/Unleash/unleash). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC43NC4yIiwidXBkYXRlZEluVmVyIjoiMzQuNzQuMiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-03 21:59:24 +01:00
"husky": "8.0.3",
chore(deps): update dependency jest to v29.7.0 (#4799) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [jest](https://jestjs.io/) ([source](https://togithub.com/jestjs/jest)) | [`29.6.4` -> `29.7.0`](https://renovatebot.com/diffs/npm/jest/29.6.4/29.7.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/jest/29.7.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/jest/29.7.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/jest/29.6.4/29.7.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/jest/29.6.4/29.7.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>jestjs/jest (jest)</summary> ### [`v29.7.0`](https://togithub.com/jestjs/jest/blob/HEAD/CHANGELOG.md#2970) [Compare Source](https://togithub.com/jestjs/jest/compare/v29.6.4...v29.7.0) ##### Features - `[create-jest]` Add `npm init` / `yarn create` initialiser for Jest projects ([#&#8203;14465](https://togithub.com/jestjs/jest/pull/14453)) - `[jest-validate]` Allow deprecation warnings for unknown options ([#&#8203;14499](https://togithub.com/jestjs/jest/pull/14499)) ##### Fixes - `[jest-resolver]` Replace unmatched capture groups in `moduleNameMapper` with empty string instead of `undefined` ([#&#8203;14507](https://togithub.com/jestjs/jest/pull/14507)) - `[jest-snapshot]` Allow for strings as well as template literals in inline snapshots ([#&#8203;14465](https://togithub.com/jestjs/jest/pull/14465)) - `[@jest/test-sequencer]` Calculate test runtime if `perStats.duration` is missing ([#&#8203;14473](https://togithub.com/jestjs/jest/pull/14473)) ##### Performance - `[@jest/create-cache-key-function]` Cache access of `NODE_ENV` and `BABEL_ENV` ([#&#8203;14455](https://togithub.com/jestjs/jest/pull/14455)) ##### Chore & Maintenance - `[jest-cli]` Move internal config initialisation logic to the `create-jest` package ([#&#8203;14465](https://togithub.com/jestjs/jest/pull/14453)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/Unleash/unleash). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi45Ny4xIiwidXBkYXRlZEluVmVyIjoiMzYuOTcuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-20 18:14:36 +02:00
"jest": "29.7.0",
"jest-junit": "^16.0.0",
2023-09-15 09:30:54 +02:00
"lint-staged": "13.2.3",
chore(deps): update dependency nock to v13.3.3 (#4710) [![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.2` -> `13.3.3`](https://renovatebot.com/diffs/npm/nock/13.3.2/13.3.3) | [![age](https://developer.mend.io/api/mc/badges/age/npm/nock/13.3.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/nock/13.3.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/nock/13.3.2/13.3.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/nock/13.3.2/13.3.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>nock/nock (nock)</summary> ### [`v13.3.3`](https://togithub.com/nock/nock/releases/tag/v13.3.3) [Compare Source](https://togithub.com/nock/nock/compare/v13.3.2...v13.3.3) ##### Bug Fixes - revert [#&#8203;2350](https://togithub.com/nock/nock/issues/2350) (Push persisted interceptors to the end instead of ignore on remove) ([#&#8203;2511](https://togithub.com/nock/nock/issues/2511)) ([fcea779](https://togithub.com/nock/nock/commit/fcea7792954af0ec25d1d12e1f26ad4ca74e5375)), closes [#&#8203;2500](https://togithub.com/nock/nock/issues/2500) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/Unleash/unleash). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi44My4wIiwidXBkYXRlZEluVmVyIjoiMzYuODMuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-14 11:47:31 +02:00
"nock": "13.3.3",
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.1.2 (#4733) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [superagent](https://togithub.com/ladjs/superagent) | [`8.0.9` -> `8.1.2`](https://renovatebot.com/diffs/npm/superagent/8.0.9/8.1.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/superagent/8.1.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/superagent/8.1.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/superagent/8.0.9/8.1.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/superagent/8.0.9/8.1.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>ladjs/superagent (superagent)</summary> ### [`v8.1.2`](https://togithub.com/ladjs/superagent/releases/tag/v8.1.2) [Compare Source](https://togithub.com/ladjs/superagent/compare/v8.1.1...v8.1.2) - Merge pull request [#&#8203;1776](https://togithub.com/ladjs/superagent/issues/1776) from bjornua/bjornba/bigint-guard-fix [`b83887a`](https://togithub.com/ladjs/superagent/commit/b83887a) - fix: handle BigInts that has a .toJSON property [`36088a6`](https://togithub.com/ladjs/superagent/commit/36088a6) ### [`v8.1.1`](https://togithub.com/ladjs/superagent/releases/tag/v8.1.1) [Compare Source](https://togithub.com/ladjs/superagent/compare/v8.1.0...v8.1.1) - Revert "chore: bump deps, xo linting" [`6feca3f`](https://togithub.com/ladjs/superagent/commit/6feca3f) ### [`v8.1.0`](https://togithub.com/ladjs/superagent/releases/tag/v8.1.0) [Compare Source](https://togithub.com/ladjs/superagent/compare/v8.0.9...v8.1.0) - chore: bump deps, xo linting [`8b5400b`](https://togithub.com/ladjs/superagent/commit/8b5400b) - Merge pull request [#&#8203;1764](https://togithub.com/ladjs/superagent/issues/1764) from tobiasdiez/es6\_http2wrapper [`2fd4292`](https://togithub.com/ladjs/superagent/commit/2fd4292) - Merge pull request [#&#8203;1766](https://togithub.com/ladjs/superagent/issues/1766) from slickmb/fix/emit_end_when_unzipping [`a29a062`](https://togithub.com/ladjs/superagent/commit/a29a062) - Merge pull request [#&#8203;1773](https://togithub.com/ladjs/superagent/issues/1773) from NikoRaisanen/bugfix-handle-bigint [`a62866a`](https://togithub.com/ladjs/superagent/commit/a62866a) - Merge pull request [#&#8203;1774](https://togithub.com/ladjs/superagent/issues/1774) from afharo/remove-v14-destroy-before-abort-hack [`4691583`](https://togithub.com/ladjs/superagent/commit/4691583) - fix: do not force-set `req.destroyed = true` on abort [`70c464c`](https://togithub.com/ladjs/superagent/commit/70c464c) - fix: fixed BigInt sent as json [`259a43f`](https://togithub.com/ladjs/superagent/commit/259a43f) - fix: only emit 'end' after unzip is done writing [`ef969fa`](https://togithub.com/ladjs/superagent/commit/ef969fa) - feat: migrate to es6 class instead of util.inherit in http2wrapper [`7801408`](https://togithub.com/ladjs/superagent/commit/7801408) - fix: fixed eslint-plugin-compat issue [`73c7efb`](https://togithub.com/ladjs/superagent/commit/73c7efb) - chore: fixed rimraf dep causing tests to fail [`988636f`](https://togithub.com/ladjs/superagent/commit/988636f) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/Unleash/unleash). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi44My4wIiwidXBkYXRlZEluVmVyIjoiMzYuODMuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-14 23:29:23 +02:00
"superagent": "8.1.2",
chore(deps): update dependency supertest to v6.3.3 (#2631) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [supertest](https://togithub.com/visionmedia/supertest) | [`6.3.1` -> `6.3.3`](https://renovatebot.com/diffs/npm/supertest/6.3.1/6.3.3) | [![age](https://badges.renovateapi.com/packages/npm/supertest/6.3.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/supertest/6.3.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/supertest/6.3.3/compatibility-slim/6.3.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/supertest/6.3.3/confidence-slim/6.3.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>visionmedia/supertest</summary> ### [`v6.3.3`](https://togithub.com/ladjs/supertest/releases/tag/v6.3.3) [Compare Source](https://togithub.com/visionmedia/supertest/compare/v6.3.2...v6.3.3) - chore: bump deps [`2910f73`](https://togithub.com/visionmedia/supertest/commit/2910f73) ### [`v6.3.2`](https://togithub.com/ladjs/supertest/releases/tag/v6.3.2) [Compare Source](https://togithub.com/visionmedia/supertest/compare/v6.3.1...v6.3.2) - docs: added maintainer note [`e24875d`](https://togithub.com/visionmedia/supertest/commit/e24875d) - docs: fixed links [`5b59ddc`](https://togithub.com/visionmedia/supertest/commit/5b59ddc) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/Unleash/unleash). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC41MS4wIiwidXBkYXRlZEluVmVyIjoiMzQuNTEuMCJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-08 05:33:13 +01:00
"supertest": "6.3.3",
"ts-node": "10.9.1",
chore(deps): update dependency tsc-watch to v6.0.4 (#3704) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [tsc-watch](https://togithub.com/gilamran/tsc-watch) | [`6.0.1` -> `6.0.4`](https://renovatebot.com/diffs/npm/tsc-watch/6.0.1/6.0.4) | [![age](https://badges.renovateapi.com/packages/npm/tsc-watch/6.0.4/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/tsc-watch/6.0.4/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/tsc-watch/6.0.4/compatibility-slim/6.0.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/tsc-watch/6.0.4/confidence-slim/6.0.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>gilamran/tsc-watch</summary> ### [`v6.0.4`](https://togithub.com/gilamran/tsc-watch/blob/HEAD/CHANGELOG.md#v604---29042023) [Compare Source](https://togithub.com/gilamran/tsc-watch/compare/v6.0.3...v6.0.4) - Automate CRLF to LF conversion ### [`v6.0.3`](https://togithub.com/gilamran/tsc-watch/blob/HEAD/CHANGELOG.md#v603---29042023) [Compare Source](https://togithub.com/gilamran/tsc-watch/compare/v6.0.2...v6.0.3) - Fixed (Again CRLF to LF) ### [`v6.0.2`](https://togithub.com/gilamran/tsc-watch/releases/tag/v6.0.2) [Compare Source](https://togithub.com/gilamran/tsc-watch/compare/v6.0.1...v6.0.2) Fixed CRLF to LF issue </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/Unleash/unleash). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS43MS40IiwidXBkYXRlZEluVmVyIjoiMzUuNzEuNCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-06 21:18:11 +02:00
"tsc-watch": "6.0.4",
chore: simplify package scripts (#3736) # Simplify package scripts This PR's purpose is to raise a discussion surrounding our current package scripts. It includes some suggestions that aim to simplify the scripts and hopefully bring a much more straightforward approach to developing and contributing to Unleash. Building (prod) should only happen **explicitly** and when needed. ## Before PR (current behavior) - Clone the project; - Open 2 terminals: One for `unleash` and another for `unleash/frontend`; - On `unleash`: - Run `yarn` (which will also build, for some reason?); - Run `yarn start:dev` to start backend in dev mode (`tsc-watch`); - On `unleash/frontend`: - Run `yarn` (which will also build, for some reason?); - Run `yarn start` to start frontend in dev mode (`vite`); So it seems to me like we build unnecessarily every time we install dependencies. Neither dev scripts need to build the project, as backend uses `tsc-watch` and frontend uses `vite`. I'm unsure why this is the case, as building can take a very long time. ![image](https://github.com/Unleash/unleash/assets/14320932/5ecb7df1-e5b4-4d70-ba7e-97119f5d1116) There's also some complexity in the way we need to split the terminal to `cd` into `frontend` and treat it as a different project. The fact that we have different script names is also confusing (`yarn start`, `yarn start:dev`, etc). ## After PR - Clone the project; - Run `yarn` to install all dependencies; - Run `yarn dev` to get started developing Unleash; Running `yarn` should take care of everything needed to start developing. This includes installing dependencies for frontend as well. It should not build projects if we are not being explicit about it, especially since we don't need to build them at this stage. ![image](https://github.com/Unleash/unleash/assets/14320932/614e42fc-3467-432f-91fc-624b1b35c7c1) Running `yarn dev` should start the project in dev mode. This means running both projects in `dev` mode, which for `backend` means running `tsc-watch` and for `frontend` means running `vite`. Here this PR attempts to provide a better DX by using [concurrently](https://www.npmjs.com/package/concurrently) and [wait-on](https://www.npmjs.com/package/wait-on) - This means both tasks are ran simultaneously, stdout is labeled accordingly, and are stopped together. It also means that `frontend` waits for `backend` to be serving at `4242` before starting, since `frontend` starts pretty much immediately with `vite` and `backend` takes a bit longer. Of course, when the `backend` is hot-reloading you may still find some `ECONNREFUSED`s on `frontend` stdout while it recompiles. ![image](https://github.com/Unleash/unleash/assets/14320932/8bde8ee2-3cad-4e3f-a0db-9eed60cfb04d) No more splitting your terminal and treating `frontend` as a separate project. ## Discussion points Maybe there's a better alternative to `tsc-watch`? I briefly explored some alternatives and while they had a much faster starting speed, hot-reload was sometimes slower. IMO we should aspire to run `src/server-dev.ts` directly and only compile when needed. Running `dev:backend` still serves a version of the frontend (at 4242). **Why? Can we remove that behavior?** I can't imagine a scenario in dev where we wouldn't want to run the latest version of the frontend with `vite`. ~~**Note:** This PR removes all other out-of-scope scripts to focus on this revamp. If we decide to merge it, we should evaluate what other existing scripts we still want to include. May be a good opportunity to clean up unused ones and only include the ones we really use. This includes scripts that our GH actions rely on.~~ **Update:** In an effort to minimize impact surface of this PR and make it a bit more ready for merging: - It updates some docs in https://github.com/Unleash/unleash/pull/3736/commits/2a4ff805e87b65d9c1256effaa189ddcccba15fb and https://github.com/Unleash/unleash/pull/3736/commits/1bbc4882519b5a82e3116f0be255ad24a6f3ce53 to reflect our new simplified flow; - It includes the old package scripts for now in https://github.com/Unleash/unleash/pull/3736/commits/039bc04699ac880e491fd3ce01f9bcd6f97a94b9; - It updates some of our GH actions to reflect the new scripts in https://github.com/Unleash/unleash/pull/3736/commits/7782cb9b12e37ee844507e41ef2b7137eaf55666; Given its current status I'll promote the PR to "ready for review". I still think we should have a second look at our existing scripts and GH actions to see what we really need and/or should adapt, but it should be a team effort so we have a broader context. Maybe on a follow-up PR. Does this require any changes to related projects (e.g. Enterprise)? --------- Co-authored-by: Gastón Fournier <gaston@getunleash.io>
2023-05-12 12:23:22 +02:00
"typescript": "4.8.4",
"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",
2023-07-04 17:02:38 +02:00
"minimatch": "^5.0.0",
"semver": "^7.5.3"
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
}