2014-10-20 13:03:43 +02:00
|
|
|
|
{
|
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.",
|
2024-06-19 12:17:27 +02:00
|
|
|
|
"version": "6.0.4+main",
|
2024-04-11 09:20:00 +02:00
|
|
|
|
"keywords": [
|
|
|
|
|
"unleash",
|
|
|
|
|
"feature toggle",
|
|
|
|
|
"feature",
|
|
|
|
|
"toggle",
|
|
|
|
|
"feature flag",
|
|
|
|
|
"flag"
|
|
|
|
|
],
|
2016-11-10 15:52:49 +01:00
|
|
|
|
"files": [
|
2021-02-12 11:42:00 +01:00
|
|
|
|
"dist",
|
2022-08-26 09:25:31 +02:00
|
|
|
|
"docs",
|
2023-04-18 14:42:49 +02:00
|
|
|
|
"frontend/build",
|
2023-04-18 15:44:19 +02:00
|
|
|
|
"frontend/build/*",
|
2024-06-27 12:52:43 +02:00
|
|
|
|
"frontend/build/**/*",
|
2023-04-18 14:42:49 +02:00
|
|
|
|
"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": {
|
2023-10-23 11:29:50 +02:00
|
|
|
|
"node": ">=18 <21"
|
2016-05-01 15:43:25 +02:00
|
|
|
|
},
|
2016-08-22 15:12:05 +02:00
|
|
|
|
"license": "Apache-2.0",
|
2021-02-12 11:42:00 +01:00
|
|
|
|
"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",
|
2023-05-16 13:38:21 +02:00
|
|
|
|
"copy-templates": "copyfiles -u 1 src/mailtemplates/**/*.mustache dist/",
|
|
|
|
|
"build:backend": "tsc --pretty --strictNullChecks false",
|
2023-05-16 10:51:27 +02:00
|
|
|
|
"build:frontend": "yarn --cwd ./frontend run build",
|
2024-06-27 12:52:43 +02:00
|
|
|
|
"build:frontend:if-needed": "./scripts/build-frontend-if-needed.sh",
|
|
|
|
|
"build": "yarn run clean && 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\"",
|
2023-06-12 09:15:09 +02:00
|
|
|
|
"prepare:backend": "concurrently \"yarn:copy-templates\" \"yarn:build:backend\"",
|
2024-06-27 12:52:43 +02:00
|
|
|
|
"start:dev": "yarn run clean && TZ=UTC NODE_ENV=development tsc-watch --strictNullChecks false --onSuccess \"node dist/server-dev.js\"",
|
2021-02-12 11:42:00 +01:00
|
|
|
|
"db-migrate": "db-migrate --migrations-dir ./src/migrations",
|
2023-10-02 14:25:46 +02:00
|
|
|
|
"lint": "biome check .",
|
2024-06-04 15:01:43 +02:00
|
|
|
|
"lint:fix": "biome check . --write",
|
2022-08-30 14:39:28 +02:00
|
|
|
|
"local:package": "del-cli --force build && mkdir build && cp -r dist docs CHANGELOG.md LICENSE README.md package.json build",
|
2024-06-27 12:52:43 +02:00
|
|
|
|
"build:watch": "yarn run clean && tsc -w --strictNullChecks false",
|
2024-03-19 11:53:19 +01:00
|
|
|
|
"prepare": "husky && yarn --cwd ./frontend install && if [ ! -d ./dist ]; then yarn build; fi",
|
2024-03-12 16:34:55 +01:00
|
|
|
|
"test": "NODE_ENV=test PORT=4243 node --trace-warnings node_modules/.bin/jest",
|
2022-09-26 12:30:10 +02:00
|
|
|
|
"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",
|
2023-05-25 13:03:54 +02:00
|
|
|
|
"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",
|
2023-04-20 11:37:56 +02:00
|
|
|
|
"seed:setup": "ts-node --compilerOptions '{\"strictNullChecks\": false}' src/test/e2e/seed/segment.seed.ts",
|
2022-03-29 14:59:14 +02:00
|
|
|
|
"seed:serve": "UNLEASH_DATABASE_NAME=unleash_test UNLEASH_DATABASE_SCHEMA=seed yarn run start:dev",
|
2022-04-06 20:34:03 +02:00
|
|
|
|
"clean": "del-cli --force dist",
|
2022-10-18 21:24:12 +02:00
|
|
|
|
"preversion": "./scripts/check-release.sh",
|
2024-06-27 12:52:43 +02:00
|
|
|
|
"heroku-postbuild": "cd frontend && yarn && yarn build",
|
|
|
|
|
"prepack": "./scripts/prepack.sh"
|
2016-11-10 15:52:49 +01:00
|
|
|
|
},
|
2023-05-25 13:03:54 +02:00
|
|
|
|
"jest-junit": {
|
|
|
|
|
"suiteName": "Unleash Unit Tests",
|
|
|
|
|
"outputDirectory": "./reports",
|
|
|
|
|
"outputName": "jest-junit.xml",
|
|
|
|
|
"uniqueOutputName": "false",
|
|
|
|
|
"classNameTemplate": "{classname}-{title}",
|
|
|
|
|
"titleTemplate": "{classname}-{title}",
|
|
|
|
|
"ancestorSeparator": " › ",
|
|
|
|
|
"usePathForSuiteName": "true"
|
|
|
|
|
},
|
2021-05-28 11:10:24 +02:00
|
|
|
|
"jest": {
|
2021-08-12 15:04:37 +02:00
|
|
|
|
"automock": false,
|
2021-10-26 19:50:13 +02:00
|
|
|
|
"maxWorkers": 4,
|
2022-06-01 15:02:01 +02:00
|
|
|
|
"testTimeout": 10000,
|
2022-09-01 21:22:15 +02:00
|
|
|
|
"globalSetup": "./scripts/jest-setup.js",
|
2021-05-28 11:10:24 +02:00
|
|
|
|
"transform": {
|
2024-06-27 12:52:43 +02:00
|
|
|
|
"^.+\\.tsx?$": [
|
|
|
|
|
"@swc/jest"
|
|
|
|
|
]
|
2021-05-28 11:10:24 +02:00
|
|
|
|
},
|
|
|
|
|
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
|
2024-05-06 14:40:47 +02:00
|
|
|
|
"testPathIgnorePatterns": [
|
|
|
|
|
"/dist/",
|
|
|
|
|
"/node_modules/",
|
|
|
|
|
"/frontend/",
|
|
|
|
|
"/website/"
|
|
|
|
|
],
|
2024-06-27 12:52:43 +02:00
|
|
|
|
"moduleFileExtensions": [
|
|
|
|
|
"ts",
|
|
|
|
|
"tsx",
|
|
|
|
|
"js",
|
|
|
|
|
"jsx",
|
|
|
|
|
"json"
|
|
|
|
|
],
|
2021-05-28 11:10:24 +02:00
|
|
|
|
"coveragePathIgnorePatterns": [
|
|
|
|
|
"/node_modules/",
|
|
|
|
|
"/dist/",
|
|
|
|
|
"/src/migrations",
|
|
|
|
|
"/src/test"
|
|
|
|
|
]
|
2019-06-06 08:10:58 +02:00
|
|
|
|
},
|
2016-11-10 15:52:49 +01:00
|
|
|
|
"dependencies": {
|
2023-11-23 13:41:49 +01:00
|
|
|
|
"@slack/web-api": "^6.10.0",
|
2023-11-06 08:22:02 +01:00
|
|
|
|
"@wesleytodd/openapi": "^0.3.0",
|
2023-10-26 09:09:03 +02:00
|
|
|
|
"ajv": "^8.12.0",
|
2022-06-08 08:01:14 +02:00
|
|
|
|
"ajv-formats": "^2.1.1",
|
2022-08-20 07:29:46 +02:00
|
|
|
|
"async": "^3.2.4",
|
2022-01-06 20:43:57 +01:00
|
|
|
|
"bcryptjs": "^2.4.3",
|
2021-05-28 11:10:24 +02:00
|
|
|
|
"compression": "^1.7.4",
|
2022-07-28 10:34:19 +02:00
|
|
|
|
"connect-session-knex": "^3.0.0",
|
2023-10-26 09:09:03 +02:00
|
|
|
|
"cookie-parser": "^1.4.6",
|
2020-10-02 16:38:51 +02:00
|
|
|
|
"cookie-session": "^2.0.0-rc.1",
|
2021-04-16 15:29:23 +02:00
|
|
|
|
"cors": "^2.8.5",
|
2021-10-26 20:13:30 +02:00
|
|
|
|
"date-fns": "^2.25.0",
|
2023-09-14 16:05:15 +02:00
|
|
|
|
"db-migrate": "0.11.14",
|
2023-10-01 06:33:03 +02:00
|
|
|
|
"db-migrate-pg": "1.5.2",
|
2021-09-03 12:06:58 +02:00
|
|
|
|
"db-migrate-shared": "1.2.0",
|
2023-03-17 14:10:21 +01:00
|
|
|
|
"deep-object-diff": "^1.1.9",
|
2023-10-26 09:09:03 +02:00
|
|
|
|
"deepmerge": "^4.3.1",
|
2019-10-03 15:32:48 +02:00
|
|
|
|
"errorhandler": "^1.5.1",
|
2024-06-03 12:58:20 +02:00
|
|
|
|
"express": "4.19.2",
|
2023-10-26 09:09:03 +02:00
|
|
|
|
"express-rate-limit": "^7.1.2",
|
|
|
|
|
"express-session": "^1.17.3",
|
2021-09-13 10:23:57 +02:00
|
|
|
|
"fast-json-patch": "^3.1.0",
|
2023-03-17 14:10:21 +01:00
|
|
|
|
"hash-sum": "^2.0.0",
|
2022-11-09 23:07:20 +01:00
|
|
|
|
"helmet": "^6.0.0",
|
2023-06-08 13:14:53 +02:00
|
|
|
|
"http-errors": "^2.0.0",
|
2024-02-19 10:54:40 +01:00
|
|
|
|
"ip": "^2.0.1",
|
2020-09-28 21:54:44 +02:00
|
|
|
|
"joi": "^17.3.0",
|
2024-02-14 01:49:32 +01:00
|
|
|
|
"js-sha256": "^0.11.0",
|
2021-09-28 20:53:39 +02:00
|
|
|
|
"js-yaml": "^4.1.0",
|
2024-03-13 08:41:48 +01:00
|
|
|
|
"json-diff": "^1.0.6",
|
2024-01-15 04:35:46 +01:00
|
|
|
|
"json-schema-to-ts": "2.12.0",
|
2022-10-25 13:10:27 +02:00
|
|
|
|
"json2csv": "^5.0.7",
|
2023-10-26 09:09:03 +02:00
|
|
|
|
"knex": "^2.5.1",
|
Clean up old errors (#3633)
This PR attempts to improve the error handling introduced in #3607.
## About the changes
## **tl;dr:**
- Make `UnleashError` constructor protected
- Make all custom errors inherit from `UnleashError`.
- Add tests to ensure that all special error cases include their
relevant data
- Remove `PasswordMismatchError` and `BadRequestError`. These don't
exist.
- Add a few new error types: `ContentTypeError`, `NotImplementedError`,
`UnauthorizedError`
- Remove the `...rest` parameter from error constructor
- Add an unexported `GenericUnleashError` class
- Move OpenAPI conversion function to `BadDataError` clas
- Remove explicit `Error.captureStackTrace`. This is done automatically.
- Extract `getPropFromString` function and add tests
### **In a more verbose fashion**
The main thing is that all our internal errors now inherit
from`UnleashError`. This allows us to simplify the `UnleashError`
constructor and error handling in general while still giving us the
extra benefits we added to that class. However, it _does_ also mean that
I've had to update **all** existing error classes.
The constructor for `UnleashError` is now protected and all places that
called that constructor directly have been updated. Because the base
error isn't available anymore, I've added three new errors to cover use
cases that we didn't already have covered: `NotImplementedError`,
`UnauthorizedError`, `ContentTypeError`. This is to stay consistent in
how we report errors to the user.
There is also an internal class, `GenericUnleashError` that inherits
from the base error. This class is only used in conversions for cases
where we don't know what the error is. It is not exported.
In making all the errors inherit, I've also removed the `...rest`
parameter from the `UnleashError` constructor. We don't need this
anymore.
Following on from the fixes with missing properties in #3638, I have
added tests for all errors that contain extra data.
Some of the error names that were originally used when creating the list
don't exist in the backend. `BadRequestError` and
`PasswordMismatchError` have been removed.
The `BadDataError` class now contains the conversion code for OpenAPI
validation errors. In doing so, I extracted and tested the
`getPropFromString` function.
### Main files
Due to the nature of the changes, there's a lot of files to look at. So
to make it easier to know where to turn your attention:
The changes in `api-error.ts` contain the main changes: protected
constructor, removal of OpenAPI conversion (moved into `BadDataError`.
`api-error.test.ts` contains tests to make sure that errors work as
expected.
Aside from `get-prop-from-string.ts` and the tests, everything else is
just the required updates to go through with the changes.
## Discussion points
I've gone for inheritance of the Error type over composition. This is in
large part because throwing actual Error instances instead of just
objects is preferable (because they collect stack traces, for instance).
However, it's quite possible that we could solve the same thing in a
more elegant fashion using composition.
## For later / suggestions for further improvements
The `api-error` files still contain a lot of code. I think it might be
beneficial to break each Error into a separate folder that includes the
error, its tests, and its schema (if required). It would help decouple
it a bit.
We don't currently expose the schema anywhere, so it's not available in
the openapi spec. We should look at exposing it too.
Finally, it would be good to go through each individual error message
and update each one to be as helpful as possible.
2023-05-11 11:10:57 +02:00
|
|
|
|
"lodash.get": "^4.4.2",
|
2023-06-13 13:56:26 +02:00
|
|
|
|
"lodash.groupby": "^4.6.0",
|
2023-10-18 16:34:42 +02:00
|
|
|
|
"lodash.sortby": "^4.7.0",
|
2019-11-18 08:11:38 +01:00
|
|
|
|
"log4js": "^6.0.0",
|
2024-05-24 14:19:10 +02:00
|
|
|
|
"make-fetch-happen": "^13.0.0",
|
2021-01-19 10:42:45 +01:00
|
|
|
|
"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",
|
2021-01-19 10:42:45 +01:00
|
|
|
|
"mustache": "^4.1.0",
|
2024-02-20 11:38:26 +01:00
|
|
|
|
"nodemailer": "^6.9.9",
|
2022-06-08 10:22:45 +02:00
|
|
|
|
"openapi-types": "^12.0.0",
|
2021-04-09 13:46:53 +02:00
|
|
|
|
"owasp-password-strength-test": "^1.3.0",
|
2016-11-12 11:21:40 +01:00
|
|
|
|
"parse-database-url": "^0.3.0",
|
2022-02-21 12:46:28 +01:00
|
|
|
|
"pg": "^8.7.3",
|
2021-04-22 10:07:10 +02:00
|
|
|
|
"pg-connection-string": "^2.5.0",
|
2017-11-03 23:14:31 +01:00
|
|
|
|
"pkginfo": "^0.4.1",
|
2021-09-27 22:57:08 +02:00
|
|
|
|
"prom-client": "^14.0.0",
|
2016-12-01 17:43:08 +01:00
|
|
|
|
"response-time": "^2.3.2",
|
2023-04-03 14:17:44 +02:00
|
|
|
|
"sanitize-filename": "^1.6.3",
|
2024-06-04 15:01:43 +02:00
|
|
|
|
"semver": "^7.6.2",
|
2018-05-14 13:49:31 +02:00
|
|
|
|
"serve-favicon": "^2.5.0",
|
2024-05-08 10:06:31 +02:00
|
|
|
|
"slug": "^9.0.0",
|
2021-06-17 20:33:34 +02:00
|
|
|
|
"stoppable": "^1.1.0",
|
2022-07-28 09:19:58 +02:00
|
|
|
|
"ts-toolbelt": "^9.6.0",
|
2022-01-20 15:00:16 +01:00
|
|
|
|
"type-is": "^1.6.18",
|
2024-06-19 11:54:21 +02:00
|
|
|
|
"unleash-client": "5.5.5",
|
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#​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%)
([#​597](https://togithub.com/uuidjs/uuid/issues/597))
([3a033f6](https://togithub.com/uuidjs/uuid/commit/3a033f6bab6bb3780ece6d645b902548043280bc))
- remove UMD build
([#​645](https://togithub.com/uuidjs/uuid/issues/645))
([e948a0f](https://togithub.com/uuidjs/uuid/commit/e948a0f22bf22f4619b27bd913885e478e20fe6f)),
closes [#​620](https://togithub.com/uuidjs/uuid/issues/620)
- use native crypto.randomUUID when available
([#​600](https://togithub.com/uuidjs/uuid/issues/600))
([c9e076c](https://togithub.com/uuidjs/uuid/commit/c9e076c852edad7e9a06baaa1d148cf4eda6c6c4))
##### Bug Fixes
- add Jest/jsdom compatibility
([#​642](https://togithub.com/uuidjs/uuid/issues/642))
([16f9c46](https://togithub.com/uuidjs/uuid/commit/16f9c469edf46f0786164cdf4dc980743984a6fd))
- change default export to named function
([#​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
([#​622](https://togithub.com/uuidjs/uuid/issues/622))
([fcd7388](https://togithub.com/uuidjs/uuid/commit/fcd73881692d9fabb63872576ba28e30ff852091))
- run npm audit fix
([#​644](https://togithub.com/uuidjs/uuid/issues/644))
([04686f5](https://togithub.com/uuidjs/uuid/commit/04686f54c5fed2cfffc1b619f4970c4bb8532353))
- upgrading from uuid3 broken link
([#​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
([#​603](https://togithub.com/uuidjs/uuid/issues/603))
([aa11485](https://togithub.com/uuidjs/uuid/commit/aa114858260402107ec8a1e1a825dea0a259bcb5))
- drop support for legacy browsers (IE11, Safari 10)
([#​604](https://togithub.com/uuidjs/uuid/issues/604))
([0f433e5](https://togithub.com/uuidjs/uuid/commit/0f433e5ec444edacd53016de67db021102f36148))
- drop node 10.x to upgrade dev dependencies
([#​653](https://togithub.com/uuidjs/uuid/issues/653))
([28a5712](https://togithub.com/uuidjs/uuid/commit/28a571283f8abda6b9d85e689f95b7d3ee9e282e)),
closes [#​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
([#​537](https://togithub.com/uuidjs/uuid/issues/537))
([16c8f6d](https://togithub.com/uuidjs/uuid/commit/16c8f6df2f6b09b4d6235602d6a591188320a82e)),
closes [#​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
([#​515](https://togithub.com/uuidjs/uuid/issues/515))
([c65a0f3](https://togithub.com/uuidjs/uuid/commit/c65a0f3fa73b901959d638d1e3591dfacdbed867)),
closes [#​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": {
|
2022-08-01 12:42:02 +02:00
|
|
|
|
"@apidevtools/swagger-parser": "10.1.0",
|
2024-06-19 02:42:08 +02:00
|
|
|
|
"@babel/core": "7.24.7",
|
chore(deps): update dependency @biomejs/biome to v1.8.1 (#7038)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@biomejs/biome](https://biomejs.dev)
([source](https://togithub.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome))
| [`1.8.0` ->
`1.8.1`](https://renovatebot.com/diffs/npm/@biomejs%2fbiome/1.8.0/1.8.1)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@biomejs%2fbiome/1.8.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@biomejs%2fbiome/1.8.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@biomejs%2fbiome/1.8.0/1.8.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@biomejs%2fbiome/1.8.0/1.8.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
---
### Release Notes
<details>
<summary>biomejs/biome (@​biomejs/biome)</summary>
###
[`v1.8.1`](https://togithub.com/biomejs/biome/blob/HEAD/CHANGELOG.md#v181-2024-06-10)
[Compare
Source](https://togithub.com/biomejs/biome/compare/378c05edd47608a1b8cba725564c807b2e772bd6...39db99b1cd087d6aa46ecfecba6adbfa0d45a303)
##### Analyzer
##### CLI
##### Bug fixes
- Fix [#​3069](https://togithub.com/biomejs/biome/issues/3069),
prevent overwriting paths when using `--staged` or `--changed` options.
Contributed by [@​unvalley](https://togithub.com/unvalley)
- Fix a case where the file link inside a diagnostic wasn't correctly
displayed inside a terminal run by VSCode. Contributed by
[@​uncenter](https://togithub.com/uncenter)
##### Configuration
##### Bug fixes
- Fix [#​3067](https://togithub.com/biomejs/biome/issues/3067), by
assigning the correct default value to `indentWidth`. Contributed by
[@​ematipico](https://togithub.com/ematipico)
##### Editors
##### Formatter
##### Bug fixes
- Fix the bug where whitespace after the & character in CSS nesting was
incorrectly trimmed, ensuring proper targeting of child classes
[#​3061](https://togithub.com/biomejs/biome/issues/3061).
Contributed by [@​denbezrukov](https://togithub.com/denbezrukov)
- Fix [#​3068](https://togithub.com/biomejs/biome/issues/3068)
where the CSS formatter was inadvertently converting variable
declarations and function calls to lowercase. Contributed by
[@​denbezrukov](https://togithub.com/denbezrukov)
- Fix the formatting of CSS grid layout properties. Contributed by
[@​denbezrukov](https://togithub.com/denbezrukov)
##### JavaScript APIs
##### Linter
##### Bug fixes
- The `noEmptyBlock` css lint rule now treats empty blocks containing
comments as valid ones. Contributed by
[@​Sec-ant](https://togithub.com/Sec-ant)
- [useLiteralKeys](https://biomejs.dev/linter/rules/use-literal-keys/)
no longer reports quoted member names
([#​3085](https://togithub.com/biomejs/biome/issues/3085)).
Previously
[useLiteralKeys](https://biomejs.dev/linter/rules/use-literal-keys/)
reported quoted member names that can be unquoted.
For example, the rule suggested the following fix:
```diff
- const x = { "prop": 0 };
+ const x = { prop: 0 };
```
This conflicted with the option
[quoteProperties](https://biomejs.dev/reference/configuration/#javascriptformatterquoteproperties)
of our formatter.
The rule now ignores quoted member names.
Contributed by [@​Conaclos](https://togithub.com/Conaclos)
-
[noEmptyInterface](https://biomejs.dev/linter/rules/no-empty-interface/)
now ignores empty interfaces in ambient modules
([#​3110](https://togithub.com/biomejs/biome/issues/3110)).
Contributed by [@​Conaclos](https://togithub.com/Conaclos)
-
[noUnusedVariables](https://biomejs.dev/linter/rules/no-unused-variables/)
and
[noUnusedFunctionParameters](https://biomejs.dev/linter/rules/no-unused-function-parameters/)
no longer report the parameters of a constructor type
([#​3135](https://togithub.com/biomejs/biome/issues/3135)).
Previously, `arg` was reported as unused in a constructor type like:
```ts
export type Classlike = new (arg: unknown) => string;
```
Contributed by [@​Conaclos](https://togithub.com/Conaclos)
-
[noStringCaseMismatch](https://biomejs.dev/linter/rules/no-string-case-mismatch/)
now ignores escape sequences
([#​3134](https://togithub.com/biomejs/biome/issues/3134)).
The following code is no longer reported by the rule:
```js
s.toUpperCase() === "\u001b";
```
Contributed by [@​Conaclos](https://togithub.com/Conaclos)
##### Parser
##### New features
- Implemented CSS Unknown At-Rule parsing, allowing the parser to
gracefully handle unsupported or unrecognized CSS at-rules. Contributed
by [@​denbezrukov](https://togithub.com/denbezrukov)
##### Bug fixes
- Fix [#​3055](https://togithub.com/biomejs/biome/issues/3055)
CSS: Layout using named grid lines is now correctly parsed. Contributed
by [@​denbezrukov](https://togithub.com/denbezrukov)
- Fix [#​3091](https://togithub.com/biomejs/biome/issues/3091).
Allows the parser to handle nested style rules and at-rules properly,
enhancing the parser's compatibility with the CSS Nesting Module.
Contributed by [@​denbezrukov](https://togithub.com/denbezrukov)
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, Automerge - At any time (no
schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/Unleash/unleash).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNTEuMiIsInVwZGF0ZWRJblZlciI6IjM3LjM5My4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-10 18:22:22 +02:00
|
|
|
|
"@biomejs/biome": "1.8.1",
|
2024-06-27 12:52:43 +02:00
|
|
|
|
"@cyclonedx/yarn-plugin-cyclonedx": "^1.0.0-rc.7",
|
2024-06-26 21:51:57 +02:00
|
|
|
|
"@swc/core": "1.6.3",
|
2024-02-13 20:51:51 +01:00
|
|
|
|
"@swc/jest": "0.2.36",
|
2023-11-27 11:22:24 +01:00
|
|
|
|
"@types/bcryptjs": "2.4.6",
|
2023-11-28 02:45:23 +01:00
|
|
|
|
"@types/cors": "2.8.17",
|
2023-11-27 13:44:56 +01:00
|
|
|
|
"@types/express": "4.17.21",
|
2024-03-12 02:58:12 +01:00
|
|
|
|
"@types/express-session": "1.18.0",
|
2021-10-16 07:47:36 +02:00
|
|
|
|
"@types/faker": "5.5.9",
|
2023-03-17 14:10:21 +01:00
|
|
|
|
"@types/hash-sum": "^1.0.0",
|
2024-02-08 19:40:38 +01:00
|
|
|
|
"@types/jest": "29.5.12",
|
2023-11-27 15:07:50 +01:00
|
|
|
|
"@types/js-yaml": "4.0.9",
|
2023-11-27 19:00:52 +01:00
|
|
|
|
"@types/lodash.groupby": "4.6.9",
|
2023-11-28 09:41:10 +01:00
|
|
|
|
"@types/make-fetch-happen": "10.0.4",
|
2023-11-28 10:04:09 +01:00
|
|
|
|
"@types/memoizee": "0.4.11",
|
2023-11-28 10:10:17 +01:00
|
|
|
|
"@types/mime": "3.0.4",
|
2024-06-27 00:38:49 +02:00
|
|
|
|
"@types/node": "20.14.6",
|
2024-05-09 22:38:11 +02:00
|
|
|
|
"@types/nodemailer": "6.4.15",
|
2023-11-28 13:00:26 +01:00
|
|
|
|
"@types/owasp-password-strength-test": "1.3.2",
|
2024-05-24 09:33:38 +02:00
|
|
|
|
"@types/pg": "8.11.6",
|
2024-03-05 02:47:37 +01:00
|
|
|
|
"@types/semver": "7.5.8",
|
2024-05-08 09:26:35 +02:00
|
|
|
|
"@types/slug": "^5.0.8",
|
2023-11-28 16:14:28 +01:00
|
|
|
|
"@types/stoppable": "1.1.3",
|
2024-01-17 12:36:17 +01:00
|
|
|
|
"@types/supertest": "6.0.2",
|
2023-11-28 17:03:18 +01:00
|
|
|
|
"@types/type-is": "1.6.6",
|
2024-02-09 13:25:51 +01:00
|
|
|
|
"@types/uuid": "9.0.8",
|
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",
|
2021-09-27 09:09:49 +02:00
|
|
|
|
"copyfiles": "2.4.1",
|
|
|
|
|
"coveralls": "3.1.1",
|
2023-09-14 16:06:04 +02:00
|
|
|
|
"del-cli": "5.1.0",
|
2022-01-05 11:00:08 +01:00
|
|
|
|
"faker": "5.5.3",
|
2024-06-04 03:52:13 +02:00
|
|
|
|
"fast-check": "3.19.0",
|
2021-09-27 09:09:49 +02:00
|
|
|
|
"fetch-mock": "9.11.0",
|
2024-03-18 13:58:05 +01:00
|
|
|
|
"husky": "^9.0.11",
|
2023-09-20 18:14:36 +02:00
|
|
|
|
"jest": "29.7.0",
|
2023-05-25 13:03:54 +02:00
|
|
|
|
"jest-junit": "^16.0.0",
|
2024-06-24 00:28:38 +02:00
|
|
|
|
"lint-staged": "15.2.7",
|
2024-03-07 22:57:48 +01:00
|
|
|
|
"nock": "13.5.4",
|
2024-03-13 02:12:54 +01:00
|
|
|
|
"openapi-enforcer": "1.23.0",
|
2021-09-27 09:09:49 +02:00
|
|
|
|
"proxyquire": "2.1.3",
|
2021-11-19 13:48:49 +01:00
|
|
|
|
"source-map-support": "0.5.21",
|
2024-05-08 00:12:36 +02:00
|
|
|
|
"superagent": "9.0.2",
|
2024-05-23 14:14:09 +02:00
|
|
|
|
"supertest": "7.0.0",
|
2024-01-09 19:15:53 +01:00
|
|
|
|
"ts-node": "10.9.2",
|
2024-04-12 20:23:24 +02:00
|
|
|
|
"tsc-watch": "6.2.0",
|
chore(deps): update dependency typescript to v5.4.5 (#7329)
[![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](https://www.typescriptlang.org/)
([source](https://togithub.com/Microsoft/TypeScript)) | [`4.8.4` ->
`5.4.5`](https://renovatebot.com/diffs/npm/typescript/4.8.4/5.4.5) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/typescript/5.4.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/typescript/5.4.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/typescript/4.8.4/5.4.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/typescript/4.8.4/5.4.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [typescript](https://www.typescriptlang.org/)
([source](https://togithub.com/Microsoft/TypeScript)) | [`5.4.2` ->
`5.4.5`](https://renovatebot.com/diffs/npm/typescript/5.4.2/5.4.5) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/typescript/5.4.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/typescript/5.4.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/typescript/5.4.2/5.4.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/typescript/5.4.2/5.4.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
---
### Release Notes
<details>
<summary>Microsoft/TypeScript (typescript)</summary>
###
[`v5.4.5`](https://togithub.com/microsoft/TypeScript/releases/tag/v5.4.5):
TypeScript 5.4.5
[Compare
Source](https://togithub.com/Microsoft/TypeScript/compare/v5.4.4...v5.4.5)
For release notes, check out the [release
announcement](https://devblogs.microsoft.com/typescript/announcing-typescript-5-4/).
For the complete list of fixed issues, check out the
- [fixed issues query for Typescript 5.4.0
(Beta)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.4.0%22+is%3Aclosed+).
- [fixed issues query for Typescript 5.4.1
(RC)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.4.1%22+is%3Aclosed+).
- [fixed issues query for Typescript 5.4.2
(Stable)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.4.2%22+is%3Aclosed+).
- [fixed issues query for Typescript 5.4.3
(Stable)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.4.3%22+is%3Aclosed+).
- [fixed issues query for Typescript 5.4.4
(Stable)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.4.4%22+is%3Aclosed+).
- [fixed issues query for Typescript 5.4.5
(Stable)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.4.5%22+is%3Aclosed+).
Downloads are available on:
- [NuGet
package](https://www.nuget.org/packages/Microsoft.TypeScript.MSBuild)
###
[`v5.4.4`](https://togithub.com/microsoft/TypeScript/releases/tag/v5.4.4):
TypeScript 5.4.4
[Compare
Source](https://togithub.com/Microsoft/TypeScript/compare/v5.4.3...v5.4.4)
For release notes, check out the [release
announcement](https://devblogs.microsoft.com/typescript/announcing-typescript-5-4/).
For the complete list of fixed issues, check out the
- [fixed issues query for Typescript 5.4.0
(Beta)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.4.0%22+is%3Aclosed+).
- [fixed issues query for Typescript 5.4.1
(RC)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.4.1%22+is%3Aclosed+).
- [fixed issues query for Typescript 5.4.2
(Stable)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.4.2%22+is%3Aclosed+).
- [fixed issues query for Typescript 5.4.3
(Stable)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.4.3%22+is%3Aclosed+).
- [fixed issues query for Typescript 5.4.4
(Stable)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.4.4%22+is%3Aclosed+).
Downloads are available on:
- [NuGet
package](https://www.nuget.org/packages/Microsoft.TypeScript.MSBuild)
###
[`v5.4.3`](https://togithub.com/microsoft/TypeScript/releases/tag/v5.4.3):
TypeScript 5.4.3
[Compare
Source](https://togithub.com/Microsoft/TypeScript/compare/v5.4.2...v5.4.3)
For release notes, check out the [release
announcement](https://devblogs.microsoft.com/typescript/announcing-typescript-5-4/).
For the complete list of fixed issues, check out the
- [fixed issues query for Typescript 5.4.0
(Beta)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.4.0%22+is%3Aclosed+).
- [fixed issues query for Typescript 5.4.1
(RC)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.4.1%22+is%3Aclosed+).
- [fixed issues query for Typescript 5.4.2
(Stable)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.4.2%22+is%3Aclosed+).
- [fixed issues query for Typescript 5.4.3
(Stable)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.4.3%22+is%3Aclosed+).
Downloads are available on:
- [NuGet
package](https://www.nuget.org/packages/Microsoft.TypeScript.MSBuild)
###
[`v5.4.2`](https://togithub.com/microsoft/TypeScript/releases/tag/v5.4.2):
TypeScript 5.4
[Compare
Source](https://togithub.com/Microsoft/TypeScript/compare/v5.3.3...v5.4.2)
For release notes, check out the [release
announcement](https://devblogs.microsoft.com/typescript/announcing-typescript-5-4/).
For the complete list of fixed issues, check out the
- [fixed issues query for Typescript 5.4.0
(Beta)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.4.0%22+is%3Aclosed+).
- [fixed issues query for Typescript 5.4.1
(RC)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.4.1%22+is%3Aclosed+).
- [fixed issues query for Typescript 5.4.2
(Stable)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.4.2%22+is%3Aclosed+).
Downloads are available on:
- [NuGet
package](https://www.nuget.org/packages/Microsoft.TypeScript.MSBuild)
###
[`v5.3.3`](https://togithub.com/microsoft/TypeScript/releases/tag/v5.3.3):
TypeScript 5.3.3
[Compare
Source](https://togithub.com/Microsoft/TypeScript/compare/v5.3.2...v5.3.3)
For release notes, check out the [release
announcement](https://devblogs.microsoft.com/typescript/announcing-typescript-5-3/).
For the complete list of fixed issues, check out the
- [fixed issues query for Typescript 5.3.0
(Beta)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.3.0%22+is%3Aclosed+).
- [fixed issues query for Typescript 5.3.1
(RC)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.3.1%22+is%3Aclosed+).
- [fixed issues query for Typescript 5.3.2
(Stable)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.3.2%22+is%3Aclosed+).
- [fixed issues query for Typescript 5.3.3
(Stable)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.3.3%22+is%3Aclosed+).
Downloads are available on:
- [NuGet
package](https://www.nuget.org/packages/Microsoft.TypeScript.MSBuild)
###
[`v5.3.2`](https://togithub.com/microsoft/TypeScript/releases/tag/v5.3.2):
TypeScript 5.3
[Compare
Source](https://togithub.com/Microsoft/TypeScript/compare/v5.2.2...v5.3.2)
For release notes, check out the [release
announcement](https://devblogs.microsoft.com/typescript/announcing-typescript-5-3/).
For the complete list of fixed issues, check out the
- [fixed issues query for Typescript 5.3.0
(Beta)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.3.0%22+is%3Aclosed+).
- [fixed issues query for Typescript 5.3.1
(RC)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.3.1%22+is%3Aclosed+).
- [fixed issues query for Typescript 5.3.2
(Stable)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.3.2%22+is%3Aclosed+).
Downloads are available on:
- [NuGet
package](https://www.nuget.org/packages/Microsoft.TypeScript.MSBuild)
###
[`v5.2.2`](https://togithub.com/microsoft/TypeScript/releases/tag/v5.2.2):
TypeScript 5.2
[Compare
Source](https://togithub.com/Microsoft/TypeScript/compare/v5.1.6...v5.2.2)
For release notes, check out the [release
announcement](https://devblogs.microsoft.com/typescript/announcing-typescript-5-2/).
For the complete list of fixed issues, check out the
- [fixed issues query for Typescript 5.2.0
(Beta)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.2.0%22+is%3Aclosed+).
- [fixed issues query for Typescript 5.2.1
(RC)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.2.1%22+is%3Aclosed+).
- [fixed issues query for Typescript 5.2.2
(Stable)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.2.2%22+is%3Aclosed+).
Downloads are available on:
- [NuGet
package](https://www.nuget.org/packages/Microsoft.TypeScript.MSBuild)
###
[`v5.1.6`](https://togithub.com/microsoft/TypeScript/releases/tag/v5.1.6):
TypeScript 5.1.6
[Compare
Source](https://togithub.com/Microsoft/TypeScript/compare/v5.1.5...v5.1.6)
For release notes, check out the [release
announcement](https://devblogs.microsoft.com/typescript/announcing-typescript-5-1/).
For the complete list of fixed issues, check out the
- [fixed issues query for Typescript v5.1.0
(Beta)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.1.0%22+is%3Aclosed+).
- [fixed issues query for Typescript v5.1.1
(RC)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.1.1%22+is%3Aclosed+).
- [fixed issues query for Typescript v5.1.2
(Stable)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.1.2%22+is%3Aclosed+).
- [fixed issues query for Typescript v5.1.3
(Stable)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.1.3%22+is%3Aclosed+).
- (5.1.4 [intentionally
skipped](https://togithub.com/microsoft/TypeScript/issues/53031#issuecomment-1610038922))
- [fixed issues query for Typescript v5.1.5
(Stable)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.1.5%22+is%3Aclosed+).
- [fixed issues query for Typescript v5.1.6
(Stable)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.1.6%22+is%3Aclosed+).
Downloads are available on
[npm](https://www.npmjs.com/package/typescript)
###
[`v5.1.5`](https://togithub.com/microsoft/TypeScript/releases/tag/v5.1.5):
TypeScript 5.1.5
[Compare
Source](https://togithub.com/Microsoft/TypeScript/compare/v5.1.3...v5.1.5)
For release notes, check out the [release
announcement](https://devblogs.microsoft.com/typescript/announcing-typescript-5-1/).
For the complete list of fixed issues, check out the
- [fixed issues query for Typescript v5.1.0
(Beta)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.1.0%22+is%3Aclosed+).
- [fixed issues query for Typescript v5.1.1
(RC)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.1.1%22+is%3Aclosed+).
- [fixed issues query for Typescript v5.1.2
(Stable)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.1.2%22+is%3Aclosed+).
- [fixed issues query for Typescript v5.1.3
(Stable)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.1.3%22+is%3Aclosed+).
- (5.1.4 [intentionally
skipped](https://togithub.com/microsoft/TypeScript/issues/53031#issuecomment-1610038922))
- [fixed issues query for Typescript v5.1.5
(Stable)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.1.5%22+is%3Aclosed+).
Downloads are available on:
- [npm](https://www.npmjs.com/package/typescript)
- [NuGet
package](https://www.nuget.org/packages/Microsoft.TypeScript.MSBuild)
###
[`v5.1.3`](https://togithub.com/microsoft/TypeScript/releases/tag/v5.1.3):
TypeScript 5.1.3
[Compare
Source](https://togithub.com/Microsoft/TypeScript/compare/v5.0.4...v5.1.3)
For release notes, check out the [release
announcement](https://devblogs.microsoft.com/typescript/announcing-typescript-5-1/).
For the complete list of fixed issues, check out the
- [fixed issues query for Typescript 5.1.0
(Beta)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.1.0%22+is%3Aclosed+).
- [fixed issues query for Typescript 5.1.1
(RC)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.1.1%22+is%3Aclosed+).
- [fixed issues query for Typescript 5.1.3
(Stable)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.1.3%22+is%3Aclosed+).
Downloads are available on:
- [NuGet
package](https://www.nuget.org/packages/Microsoft.TypeScript.MSBuild)
###
[`v5.0.4`](https://togithub.com/microsoft/TypeScript/releases/tag/v5.0.4):
TypeScript 5.0.4
[Compare
Source](https://togithub.com/Microsoft/TypeScript/compare/v5.0.3...v5.0.4)
For release notes, check out the [release
announcement](https://devblogs.microsoft.com/typescript/announcing-typescript-5-0/).
For the complete list of fixed issues, check out the
- [fixed issues query for Typescript v5.0.0
(Beta)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.0.0%22+is%3Aclosed+).
- [fixed issues query for Typescript v5.0.1
(RC)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.0.1%22+is%3Aclosed+).
- [fixed issues query for Typescript v5.0.2
(Stable)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.0.2%22+is%3Aclosed+).
- [fixed issues query for Typescript v5.0.3
(Stable)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.0.3%22+is%3Aclosed+).
- [fixed issues query for Typescript v5.0.4
(Stable)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.0.4%22+is%3Aclosed+).
Downloads are available on:
- [npm](https://www.npmjs.com/package/typescript)
- [NuGet
package](https://www.nuget.org/packages/Microsoft.TypeScript.MSBuild)
###
[`v5.0.3`](https://togithub.com/microsoft/TypeScript/releases/tag/v5.0.3):
TypeScript 5.0.3
[Compare
Source](https://togithub.com/Microsoft/TypeScript/compare/v5.0.2...v5.0.3)
For release notes, check out the [release
announcement](https://devblogs.microsoft.com/typescript/announcing-typescript-5-0/).
For the complete list of fixed issues, check out the
- [fixed issues query for Typescript v5.0.0
(Beta)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.0.0%22+is%3Aclosed+).
- [fixed issues query for Typescript v5.0.1
(RC)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.0.1%22+is%3Aclosed+).
- [fixed issues query for Typescript v5.0.2
(Stable)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.0.2%22+is%3Aclosed+).
- [fixed issues query for Typescript v5.0.3
(Stable)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.0.3%22+is%3Aclosed+).
Downloads are available on:
- [npm](https://www.npmjs.com/package/typescript)
- [NuGet
package](https://www.nuget.org/packages/Microsoft.TypeScript.MSBuild)
###
[`v5.0.2`](https://togithub.com/microsoft/TypeScript/releases/tag/v5.0.2):
TypeScript 5.0
[Compare
Source](https://togithub.com/Microsoft/TypeScript/compare/v4.9.5...v5.0.2)
For release notes, check out the [release
announcement](https://devblogs.microsoft.com/typescript/announcing-typescript-5-0/).
For the complete list of fixed issues, check out the
- [fixed issues query for Typescript v5.0.0
(Beta)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=is%3Aissue+milestone%3A%22TypeScript+5.0.0%22+is%3Aclosed+).
- [fixed issues query for Typescript v5.0.1
(RC)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=is%3Aissue+milestone%3A%22TypeScript+5.0.1%22+is%3Aclosed+).
- [fixed issues query for Typescript v5.0.2
(Stable)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=is%3Aissue+milestone%3A%22TypeScript+5.0.2%22+is%3Aclosed+).
Downloads are available on:
- [npm](https://www.npmjs.com/package/typescript)
- [NuGet
package](https://www.nuget.org/packages/Microsoft.TypeScript.MSBuild)
###
[`v4.9.5`](https://togithub.com/microsoft/TypeScript/releases/tag/v4.9.5):
TypeScript 4.9.5
[Compare
Source](https://togithub.com/Microsoft/TypeScript/compare/v4.9.4...v4.9.5)
For release notes, check out the [release
announcement](https://devblogs.microsoft.com/typescript/announcing-typescript-4-9/).
Downloads are available on:
- [npm](https://www.npmjs.com/package/typescript)
- [NuGet
package](https://www.nuget.org/packages/Microsoft.TypeScript.MSBuild)
#### Changes:
-
[`69e88ef`](https://togithub.com/Microsoft/TypeScript/commit/69e88ef5513a81acf69ec78f4af1f927da0d0584)
Port ignore deprecations to 4.9
([#​52419](https://togithub.com/Microsoft/TypeScript/issues/52419))
-
[`daf4e81`](https://togithub.com/Microsoft/TypeScript/commit/daf4e817a18def96b70ac34703b158ff0e6d58df)
Port timestamp fix to 4.9
([#​52426](https://togithub.com/Microsoft/TypeScript/issues/52426))
###
[`v4.9.4`](https://togithub.com/microsoft/TypeScript/releases/tag/v4.9.4):
TypeScript 4.9.4
[Compare
Source](https://togithub.com/Microsoft/TypeScript/compare/v4.9.3...v4.9.4)
For release notes, check out the [release
announcement](https://devblogs.microsoft.com/typescript/announcing-typescript-4-9).
For the complete list of fixed issues, check out the
- [fixed issues query for Typescript
v4.9.4](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=is%3Aissue+milestone%3A%22TypeScript+4.9.4%22+is%3Aclosed+).
Downloads are available on:
- [npm](https://www.npmjs.com/package/typescript)
- [NuGet
package](https://www.nuget.org/packages/Microsoft.TypeScript.MSBuild)
#### Changes:
-
[`e286821`](https://togithub.com/Microsoft/TypeScript/commit/e2868216f637e875a74c675845625eb15dcfe9a2)
Bump version to 4.9.4 and LKG.
-
[`eb5419f`](https://togithub.com/Microsoft/TypeScript/commit/eb5419fc8d980859b98553586dfb5f40d811a745)
Cherry-pick
[#​51704](https://togithub.com/Microsoft/TypeScript/issues/51704)
to release 4.9
([#​51712](https://togithub.com/Microsoft/TypeScript/issues/51712))
-
[`b4d382b`](https://togithub.com/Microsoft/TypeScript/commit/b4d382b9b12460adf2da4cc0d1429cf19f8dc8be)
Cherry-pick changes for narrowing to tagged literal types.
-
[`e7a02f4`](https://togithub.com/Microsoft/TypeScript/commit/e7a02f43fce47e1a39259ada5460bcc33c8e98b5)
Port of
[#​51626](https://togithub.com/Microsoft/TypeScript/issues/51626)
and
[#​51689](https://togithub.com/Microsoft/TypeScript/issues/51689)
to release-4.9
([#​51627](https://togithub.com/Microsoft/TypeScript/issues/51627))
-
[`1727912`](https://togithub.com/Microsoft/TypeScript/commit/1727912f0437a7f367d90040fc4b0b4f3efd017a)
Cherry-pick fix around `visitEachChild` to release-4.9.
([#​51544](https://togithub.com/Microsoft/TypeScript/issues/51544))
This list of changes was [auto
generated](https://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/\_release?releaseId=117&\_a=release-summary).
###
[`v4.9.3`](https://togithub.com/microsoft/TypeScript/releases/tag/v4.9.3):
TypeScript 4.9
[Compare
Source](https://togithub.com/Microsoft/TypeScript/compare/v4.8.4...v4.9.3)
For release notes, check out the [release
announcement](https://devblogs.microsoft.com/typescript/announcing-typescript-4-9/).
Downloads are available on:
- [npm](https://www.npmjs.com/package/typescript)
- [NuGet
package](https://www.nuget.org/packages/Microsoft.TypeScript.MSBuild)
#### Changes:
-
[`93bd577`](https://togithub.com/Microsoft/TypeScript/commit/93bd577458d55cd720b2677705feab5c91eb12ce)
Bump version to 4.9.3 and LKG.
-
[`107f832`](https://togithub.com/Microsoft/TypeScript/commit/107f832b80df2dc97748021cb00af2b6813db75b)
Update LKG.
-
[`31bee56`](https://togithub.com/Microsoft/TypeScript/commit/31bee5682df130a14ffdd5742f994dbe7313dd0e)
Cherry-pick PR
[#​50977](https://togithub.com/Microsoft/TypeScript/issues/50977)
into release-4.9
([#​51363](https://togithub.com/Microsoft/TypeScript/issues/51363))
\[
[#​50872](https://togithub.com/Microsoft/TypeScript/issues/50872)
]
-
[`1e2fa7a`](https://togithub.com/Microsoft/TypeScript/commit/1e2fa7ae15f8530910fef8b916ec8a4ed0b59c45)
Update version to 4.9.2-rc and LKG.
-
[`7ab89e5`](https://togithub.com/Microsoft/TypeScript/commit/7ab89e5c6e401d161f31f28a6c555a3ba530910e)
Merge remote-tracking branch 'origin/main' into release-4.9
-
[`e5cd686`](https://togithub.com/Microsoft/TypeScript/commit/e5cd686defb1a4cbdb36bd012357ba5bed28f371)
Update package-lock.json
-
[`8d40dc1`](https://togithub.com/Microsoft/TypeScript/commit/8d40dc15d1b9945837e7860320fdccfe27c40cad)
Update package-lock.json
-
[`5cfb3a2`](https://togithub.com/Microsoft/TypeScript/commit/5cfb3a2fe344a5350734305193e6cc99516285ca)
Only call return() for an abrupt completion in user code
([#​51297](https://togithub.com/Microsoft/TypeScript/issues/51297))
-
[`a7a9d15`](https://togithub.com/Microsoft/TypeScript/commit/a7a9d158e817fcb0e94dc1c24e0a401b21be0cc9)
Fix for broken baseline in yieldInForInInDownlevelGenerator
([#​51345](https://togithub.com/Microsoft/TypeScript/issues/51345))
-
[`7f8426f`](https://togithub.com/Microsoft/TypeScript/commit/7f8426f4df0d0a7dd8b72079dafc3e60164a23b1)
fix for-in enumeration containing yield in generator
([#​51295](https://togithub.com/Microsoft/TypeScript/issues/51295))
<details><summary><b>See More</b></summary>
-
[`3d2b401`](https://togithub.com/Microsoft/TypeScript/commit/3d2b4017eb6b9a2b94bc673291e56ae95e8beddd)
Fix assertion functions accessed via wildcard imports
([#​51324](https://togithub.com/Microsoft/TypeScript/issues/51324))
-
[`64d0d5a`](https://togithub.com/Microsoft/TypeScript/commit/64d0d5ae140b7b26a09e75114517b418d6bcaa9f)
fix(51301): Fixing an unused import at the end of a line removes the
newline
([#​51320](https://togithub.com/Microsoft/TypeScript/issues/51320))
-
[`754eeb2`](https://togithub.com/Microsoft/TypeScript/commit/754eeb2986bde30d5926e0fa99c87dda9266d01b)
Update CodeQL workflow and configuration, fix found bugs
([#​51263](https://togithub.com/Microsoft/TypeScript/issues/51263))
-
[`d8aad26`](https://togithub.com/Microsoft/TypeScript/commit/d8aad262006ad2d2c91aa7a0e4449b4b83c57f7b)
Update package-lock.json
-
[`d4f26c8`](https://togithub.com/Microsoft/TypeScript/commit/d4f26c840b1db76c0b25a405c8e73830a2b45cbc)
fix(51245): Class with parameter decorator in arrow function causes
"convert to default export" refactoring failure
([#​51256](https://togithub.com/Microsoft/TypeScript/issues/51256))
-
[`16faf45`](https://togithub.com/Microsoft/TypeScript/commit/16faf45682173ea437a50330feb4785578923d7f)
Update package-lock.json
-
[`8b1ecdb`](https://togithub.com/Microsoft/TypeScript/commit/8b1ecdb701e2a2e19e9f8bcdd6b2beac087eabee)
fix(50654): "Move to a new file" breaks the declaration of referenced
variable
([#​50681](https://togithub.com/Microsoft/TypeScript/issues/50681))
-
[`170a17f`](https://togithub.com/Microsoft/TypeScript/commit/170a17fad57eae619c5ef2b7bdb3ac00d6c32c47)
Dom update 2022-10-25
([#​51300](https://togithub.com/Microsoft/TypeScript/issues/51300))
-
[`9c4e14d`](https://togithub.com/Microsoft/TypeScript/commit/9c4e14d75174432f6a4dc5967a09712a6784ab88)
Remove "No type information for this code" from baseline
([#​51311](https://togithub.com/Microsoft/TypeScript/issues/51311))
-
[`88d25b4`](https://togithub.com/Microsoft/TypeScript/commit/88d25b4f232929df59729156dfda6b65277affec)
fix(50068): Refactors trigger debug failure when JSX text has a ' and a
tag on the same line.
([#​51299](https://togithub.com/Microsoft/TypeScript/issues/51299))
-
[`8bee69a`](https://togithub.com/Microsoft/TypeScript/commit/8bee69acf410d4986cb0cc102b949e2d133d5380)
Update package-lock.json
-
[`702de1e`](https://togithub.com/Microsoft/TypeScript/commit/702de1eeaaef88a189e4d06e5a2aae287853790a)
Fix early call to return/throw on generator
([#​51294](https://togithub.com/Microsoft/TypeScript/issues/51294))
-
[`2c12b14`](https://togithub.com/Microsoft/TypeScript/commit/2c12b1499908ad7718e65d20e264561207c22375)
Add a GH Action to file a new issue if we go a week without seeing a
typescript-error-deltas issue
([#​51271](https://togithub.com/Microsoft/TypeScript/issues/51271))
-
[`6af270d`](https://togithub.com/Microsoft/TypeScript/commit/6af270dee09d62516f6dc02ec102a745ffebc037)
Update package-lock.json
-
[`2cc4c16`](https://togithub.com/Microsoft/TypeScript/commit/2cc4c16a26672a7ba6c97ba16309fcf334db7cae)
Update package-lock.json
-
[`6093491`](https://togithub.com/Microsoft/TypeScript/commit/60934915d9ccc4ca9c0fb2cd060d7ec81601942b)
Fix apparent typo in getStringMappingType
([#​51248](https://togithub.com/Microsoft/TypeScript/issues/51248))
-
[`61c2609`](https://togithub.com/Microsoft/TypeScript/commit/61c26096e3373719ece686b84c698423890e9a5f)
Update package-lock.json
-
[`ef69116`](https://togithub.com/Microsoft/TypeScript/commit/ef69116c41cb6805f89e6592eacb0ccb7f02207d)
Generate shortest `rootDirs` module specifier instead of first possible
([#​51244](https://togithub.com/Microsoft/TypeScript/issues/51244))
-
[`bbb42f4`](https://togithub.com/Microsoft/TypeScript/commit/bbb42f453dc684e03d977c5b70391124d57543a9)
Fix typo in canWatchDirectoryOrFile found by CodeQL
([#​51262](https://togithub.com/Microsoft/TypeScript/issues/51262))
-
[`a56b254`](https://togithub.com/Microsoft/TypeScript/commit/a56b254ad3c52b598bc5d44f83f3d0a1cf806068)
Include 'this' type parameter in isRelatedTo fast path
([#​51230](https://togithub.com/Microsoft/TypeScript/issues/51230))
-
[`3abd351`](https://togithub.com/Microsoft/TypeScript/commit/3abd351c0eea55758f27ee5558a4a1525b77f45b)
Fix super property transform in async arrow in method
([#​51240](https://togithub.com/Microsoft/TypeScript/issues/51240))
-
[`eed0511`](https://togithub.com/Microsoft/TypeScript/commit/eed05112180e0d94f78aa02d676d49468f15dc31)
Update package-lock.json
-
[`2625c1f`](https://togithub.com/Microsoft/TypeScript/commit/2625c1feae25aede35465ca835440fc57bf13d52)
Make the init config category order predictable
([#​51247](https://togithub.com/Microsoft/TypeScript/issues/51247))
-
[`1ca99b3`](https://togithub.com/Microsoft/TypeScript/commit/1ca99b34029dafad2c18af7bdc0711f4abf7e522)
fix(50551): Destructuring assignment with var bypasses "variable is used
before being assigned" check (2454)
([#​50560](https://togithub.com/Microsoft/TypeScript/issues/50560))
-
[`3f28fa1`](https://togithub.com/Microsoft/TypeScript/commit/3f28fa12dfecb8dfd66ce4684bf26f64e1f092f1)
Update package-lock.json
-
[`906ebe4`](https://togithub.com/Microsoft/TypeScript/commit/906ebe49334a3a9c2dbd73cd3c902898bc712b66)
Revert structuredTypeRelatedTo change and fix isUnitLikeType
([#​51076](https://togithub.com/Microsoft/TypeScript/issues/51076))
-
[`8ac4652`](https://togithub.com/Microsoft/TypeScript/commit/8ac465239f52de1da3ada8cdc4c3f107f4d62e45)
change type
([#​51231](https://togithub.com/Microsoft/TypeScript/issues/51231))
-
[`245a02c`](https://togithub.com/Microsoft/TypeScript/commit/245a02cbed7ad50a21289730159abc8d19a66f40)
fix(51222): Go-to-definition on return statements should jump to the
containing function declaration
([#​51227](https://togithub.com/Microsoft/TypeScript/issues/51227))
-
[`2dff34e`](https://togithub.com/Microsoft/TypeScript/commit/2dff34e8c4a91c0005ca9ccfb7e045e225b6f2e4)
markAliasReferenced should include ExportValue as well
([#​51219](https://togithub.com/Microsoft/TypeScript/issues/51219))
-
[`5ef2634`](https://togithub.com/Microsoft/TypeScript/commit/5ef2634f3df138323383c7f2e5a05163a924ee86)
Update package-lock.json
-
[`d0f0e35`](https://togithub.com/Microsoft/TypeScript/commit/d0f0e35c88ae017fc4c1213eb2f83303ee22ebde)
Remove old tslint comments
([#​51220](https://togithub.com/Microsoft/TypeScript/issues/51220))
-
[`85d405a`](https://togithub.com/Microsoft/TypeScript/commit/85d405a1d74c0730a9d8d6307b26e8d6f3f75421)
Fixed a false positive "await has no effect on the type" diagnostic with
mixed generic union
([#​50833](https://togithub.com/Microsoft/TypeScript/issues/50833))
-
[`1f8959f`](https://togithub.com/Microsoft/TypeScript/commit/1f8959f5dc04b2b2c2fc8a7dc53b6ac761e1f754)
fix: avoid downleveled dynamic import closing over specifier expression
([#​49663](https://togithub.com/Microsoft/TypeScript/issues/49663))
-
[`11066b2`](https://togithub.com/Microsoft/TypeScript/commit/11066b264f5d30fb5ac1f6c2f3a155c0190e75d2)
Rename internal functions to `narrowTypeBySwitchOnTypeOf` and
`narrowTypeByInKeyword`
([#​51215](https://togithub.com/Microsoft/TypeScript/issues/51215))
-
[`4c9afe8`](https://togithub.com/Microsoft/TypeScript/commit/4c9afe8812fcdb4658472ccbced4a5cd4bae70ea)
Update package-lock.json
-
[`f25bcb7`](https://togithub.com/Microsoft/TypeScript/commit/f25bcb7c27d78ce89e9c9356d27058cf86dbfb5c)
fix(49196): add jsdoc snippet for interface member functions
([#​51135](https://togithub.com/Microsoft/TypeScript/issues/51135))
-
[`7406ee9`](https://togithub.com/Microsoft/TypeScript/commit/7406ee9c145cd7d6117391818d5a1eca2d66ca8f)
fix(51170): Completing an unimplemented property overwrites rest of line
([#​51175](https://togithub.com/Microsoft/TypeScript/issues/51175))
-
[`a1d82fc`](https://togithub.com/Microsoft/TypeScript/commit/a1d82fc9dcced6ca6bde6e21c385d152d083679f)
Remove some unnecessary code discovered by rollup
([#​51204](https://togithub.com/Microsoft/TypeScript/issues/51204))
-
[`0481773`](https://togithub.com/Microsoft/TypeScript/commit/0481773a27fc6a0132c34502fd2a3b0c73cf63a3)
LEGO: Merge pull request 51200
-
[`98c19cb`](https://togithub.com/Microsoft/TypeScript/commit/98c19cbbbe83c2ae3c89a4e08317a4b9ccbcb206)
LEGO: Merge pull request 51190
-
[`13c9b05`](https://togithub.com/Microsoft/TypeScript/commit/13c9b05384544262363f3fd8b942b36aeb84fc61)
Update package-lock.json
-
[`673475e`](https://togithub.com/Microsoft/TypeScript/commit/673475e1c5e582f2fd0bf8d89e33c7708607c8d8)
Update package-lock.json
-
[`f6cf510`](https://togithub.com/Microsoft/TypeScript/commit/f6cf51053e024714dd6b8463fe6f8e7e33461e6b)
Add more tracing to node16/nodenext resolution
([#​51168](https://togithub.com/Microsoft/TypeScript/issues/51168))
-
[`83c5581`](https://togithub.com/Microsoft/TypeScript/commit/83c5581588f660247bd9648bafe67b49de060a55)
Update package-lock.json
-
[`be5f0fe`](https://togithub.com/Microsoft/TypeScript/commit/be5f0fe5acfed5146514ebe7c1b65529def8e490)
Add an extra regression test for awaited unresolvable recursive union
([#​51167](https://togithub.com/Microsoft/TypeScript/issues/51167))
-
[`2cb7e77`](https://togithub.com/Microsoft/TypeScript/commit/2cb7e779d70d57ef0d46dd3f768e646b8bbe783a)
fix(50416): correctly names disabled export refactors
([#​50663](https://togithub.com/Microsoft/TypeScript/issues/50663))
\[
[#​50416](https://togithub.com/Microsoft/TypeScript/issues/50416)
]
-
[`2bcfed0`](https://togithub.com/Microsoft/TypeScript/commit/2bcfed01f3458996e71ce37af43e3495cb7e4950)
feat(37440): Provide a quick-fix for non-exported types
([#​51038](https://togithub.com/Microsoft/TypeScript/issues/51038))
-
[`a24201c`](https://togithub.com/Microsoft/TypeScript/commit/a24201c8ef6f82b5729ab677b7a1a1d6d745fcb8)
Remove VSDevMode.ps1 and createPlaygroundBuild
([#​51166](https://togithub.com/Microsoft/TypeScript/issues/51166))
-
[`2da62a7`](https://togithub.com/Microsoft/TypeScript/commit/2da62a784bbba237b8239e84c8629cfafb0f595e)
fix(51112): omit parameter names that precede the type
([#​51142](https://togithub.com/Microsoft/TypeScript/issues/51142))
-
[`cf1b6b7`](https://togithub.com/Microsoft/TypeScript/commit/cf1b6b73330eab2dd484d71cbdb662a83b3c726f)
feat(51163): show QF to fill in the missing properties for the mapped
type.
([#​51165](https://togithub.com/Microsoft/TypeScript/issues/51165))
-
[`bdcc240`](https://togithub.com/Microsoft/TypeScript/commit/bdcc240d68245e4be865b385bd6a8fd8fa546f56)
Remove bug-causing carve-out in conditional type instantiation that
hopefully is no longer required
([#​51151](https://togithub.com/Microsoft/TypeScript/issues/51151))
-
[`37317a2`](https://togithub.com/Microsoft/TypeScript/commit/37317a208f34c141b64e26d0e92b3aed346e531f)
Check nested weak types in intersections on target side of relation
([#​51140](https://togithub.com/Microsoft/TypeScript/issues/51140))
-
[`9f49f9c`](https://togithub.com/Microsoft/TypeScript/commit/9f49f9ccb05a7bb56b8ca84b8036a3ad4e0e7c2b)
Update package-lock.json
-
[`4f54e7e`](https://togithub.com/Microsoft/TypeScript/commit/4f54e7e947298162d29f3104265e74dcfbc90d82)
Fix isExhaustiveSwitchStatement to better handle circularities
([#​51095](https://togithub.com/Microsoft/TypeScript/issues/51095))
-
[`503604c`](https://togithub.com/Microsoft/TypeScript/commit/503604c884bd0557c851b11b699ef98cdb65b93b)
Overloads shouldn't gain
[@​deprecated](https://togithub.com/deprecated) tags of other
overloads in quick info
([#​50904](https://togithub.com/Microsoft/TypeScript/issues/50904))
-
[`e14a229`](https://togithub.com/Microsoft/TypeScript/commit/e14a2298c5add93816c6f487bcfc5ac72e3a4c59)
Update package-lock.json
-
[`67256e5`](https://togithub.com/Microsoft/TypeScript/commit/67256e50c41aa9178a60c52de8416477f070b190)
Remove unused declarations array in extractSymbol's TargetRange
([#​51091](https://togithub.com/Microsoft/TypeScript/issues/51091))
-
[`9c87ded`](https://togithub.com/Microsoft/TypeScript/commit/9c87ded2b3fc4ba4a9a7656e9be39d5e404e6ab6)
fix(51100): ensure tsserver shuts down when parent process is killed
([#​51107](https://togithub.com/Microsoft/TypeScript/issues/51107))
-
[`c01ae01`](https://togithub.com/Microsoft/TypeScript/commit/c01ae01fac37268bac3362fb6e6d26db730f7ed5)
Fix nightly publish oops in Gulpfile
([#​51131](https://togithub.com/Microsoft/TypeScript/issues/51131))
-
[`a7d10f1`](https://togithub.com/Microsoft/TypeScript/commit/a7d10f15bbd28166b869ae00482214e360891613)
Update package-lock.json
-
[`d0bfd8c`](https://togithub.com/Microsoft/TypeScript/commit/d0bfd8caed521bfd24fc44960d9936a891744bb7)
fix(51072): ts.preProcessFile finds import in template string after
conditional expression with template strings
([#​51082](https://togithub.com/Microsoft/TypeScript/issues/51082))
-
[`ad56b5c`](https://togithub.com/Microsoft/TypeScript/commit/ad56b5ca56b763ab377e07121ecfebb457a2e810)
Convert scripts/Gulpfile to checked mjs/cjs so they can run without
compilation
([#​50988](https://togithub.com/Microsoft/TypeScript/issues/50988))
-
[`dbeae5d`](https://togithub.com/Microsoft/TypeScript/commit/dbeae5d943c784661862c52b8e215a2907c31a33)
fix(51017): Make lineText in the references response opt-out
([#​51081](https://togithub.com/Microsoft/TypeScript/issues/51081))
-
[`d06a592`](https://togithub.com/Microsoft/TypeScript/commit/d06a592d02955822a7407b70969fb7a82bc17d59)
Properly defer resolution of mapped types with generic `as` clauses
([#​51050](https://togithub.com/Microsoft/TypeScript/issues/51050))
-
[`42b1049`](https://togithub.com/Microsoft/TypeScript/commit/42b1049aee8c655631cb4f0065de86ec1023d20a)
Update package-lock.json
-
[`5f3e6cc`](https://togithub.com/Microsoft/TypeScript/commit/5f3e6cc4980d26af5d8a8f463e59b2c3338165c6)
Plugin probe location is higher priority than peer node_modules
([#​51079](https://togithub.com/Microsoft/TypeScript/issues/51079))
\[
[#​34616](https://togithub.com/Microsoft/TypeScript/issues/34616)
]
-
[`2648f6a`](https://togithub.com/Microsoft/TypeScript/commit/2648f6ab09e3176c7da2c07c54066d3a3433a298)
Plugins in project were adding up after every config file reload
([#​51087](https://togithub.com/Microsoft/TypeScript/issues/51087))
-
[`c18791c`](https://togithub.com/Microsoft/TypeScript/commit/c18791ccf165672df3b55f5bdd4a8655f33be26c)
Fix incorrect options type to WatchOptions
([#​51064](https://togithub.com/Microsoft/TypeScript/issues/51064))
-
[`b0795e9`](https://togithub.com/Microsoft/TypeScript/commit/b0795e9c94757a8ee78077d160cde8819a9801ea)
Update package-lock.json
-
[`43c6fd4`](https://togithub.com/Microsoft/TypeScript/commit/43c6fd4c09464204bc6a6e1c6c1d32fa12270414)
Covert some of the config testing to baselines for easy validation
([#​51063](https://togithub.com/Microsoft/TypeScript/issues/51063))
-
[`fc5e72b`](https://togithub.com/Microsoft/TypeScript/commit/fc5e72b92cb8ea13c5e0f2cfc35d8b2cbfd1fe36)
Remove unused defaultWatchFileKind method since useFsEvents is default
for tsserver and tsc
([#​51044](https://togithub.com/Microsoft/TypeScript/issues/51044))
-
[`8af9a93`](https://togithub.com/Microsoft/TypeScript/commit/8af9a936b5240398370887c22cacaff65fee707b)
Use typescript.d.ts in APISample tests
([#​51061](https://togithub.com/Microsoft/TypeScript/issues/51061))
-
[`4953316`](https://togithub.com/Microsoft/TypeScript/commit/49533168dbb4e19f243b9dbdfd6a3aac69f5b3dd)
Remove configureLanguageServiceBuild, instrumenter
([#​51048](https://togithub.com/Microsoft/TypeScript/issues/51048))
-
[`9dfffd0`](https://togithub.com/Microsoft/TypeScript/commit/9dfffd0fbb406d7f2e5e2ca85768624ca388a7bf)
Update GitHub Actions
([#​51045](https://togithub.com/Microsoft/TypeScript/issues/51045))
-
[`4635a5c`](https://togithub.com/Microsoft/TypeScript/commit/4635a5cef9aefa9aa847ef7ce2e6767ddf4f54c2)
Update package-lock.json
-
[`33a34e5`](https://togithub.com/Microsoft/TypeScript/commit/33a34e5b96bfe086266f4765ab9789a2a02507f9)
Adding a JSDoc comment to the es5 type declarations to describe the
functionality of Date.now()
([#​50630](https://togithub.com/Microsoft/TypeScript/issues/50630))
-
[`299745c`](https://togithub.com/Microsoft/TypeScript/commit/299745cb217c2fc061f75b3735f8420d78b8360a)
Fix crash in goto-def on `@override`
([#​51016](https://togithub.com/Microsoft/TypeScript/issues/51016))
-
[`7dcf11f`](https://togithub.com/Microsoft/TypeScript/commit/7dcf11f13985be927886ebea353d282a9b3418e0)
fix(50750): Object type literal with string literal property in
contextual typing position causes language service error on all literal
type references
([#​50757](https://togithub.com/Microsoft/TypeScript/issues/50757))
-
[`5cd49f6`](https://togithub.com/Microsoft/TypeScript/commit/5cd49f6cbcd2effe9d425dee3a39cb49209bb656)
Update package-lock.json
-
[`8a1b858`](https://togithub.com/Microsoft/TypeScript/commit/8a1b85880f89c9cff606c5844e8883e5f483c7db)
Update package-lock.json
-
[`96894db`](https://togithub.com/Microsoft/TypeScript/commit/96894db6cb5b7af6857b4d0c7f70f7d8ac782d51)
Include type parameter defaults in contextual typing
([#​50994](https://togithub.com/Microsoft/TypeScript/issues/50994))
\[
[#​51002](https://togithub.com/Microsoft/TypeScript/issues/51002)
]
-
[`0d0a793`](https://togithub.com/Microsoft/TypeScript/commit/0d0a79371471d627ae298a145f8009b05cbccb72)
Allow Unicode extended escapes in ES5 and earlier
([#​50918](https://togithub.com/Microsoft/TypeScript/issues/50918))
-
[`58bae8d`](https://togithub.com/Microsoft/TypeScript/commit/58bae8db69b275a3efa57b14b486778c55185552)
Update package-lock.json
-
[`0ce72ef`](https://togithub.com/Microsoft/TypeScript/commit/0ce72ef6c8b39cd2d07e5b0eb3a0c144a7783ad2)
Add option to OrganizeImports for removal only
([#​50931](https://togithub.com/Microsoft/TypeScript/issues/50931))
-
[`42f9143`](https://togithub.com/Microsoft/TypeScript/commit/42f9143e114c5c07f40df83ed07ffeb3cbaf2101)
feat: codefix for `for await of`
([#​50623](https://togithub.com/Microsoft/TypeScript/issues/50623))
-
[`ecf50e8`](https://togithub.com/Microsoft/TypeScript/commit/ecf50e81a7a9cccd9bf5ea7598764082981faab0)
Properly compute `SymbolFlags.Optional` for intersected properties
([#​50958](https://togithub.com/Microsoft/TypeScript/issues/50958))
-
[`d1586de`](https://togithub.com/Microsoft/TypeScript/commit/d1586de0434567b998876929eb8229235b85b350)
Fully resolve aliases when checking symbol flags
([#​50853](https://togithub.com/Microsoft/TypeScript/issues/50853))
-
[`45148dd`](https://togithub.com/Microsoft/TypeScript/commit/45148dd715a7c3776840778b4df41e7e0bd0bf12)
Update LKG to 4.8.4
([#​50987](https://togithub.com/Microsoft/TypeScript/issues/50987))
-
[`9a83f25`](https://togithub.com/Microsoft/TypeScript/commit/9a83f2551ded0d88a0ba0ec9af260f83eb3568cd)
Update package-lock.json
-
[`865848f`](https://togithub.com/Microsoft/TypeScript/commit/865848fcfb9e6ce7dd64be563fc09f83d4bc9df5)
Fix `<=` and `>` comparisons when compared against prerelease versions
([#​50915](https://togithub.com/Microsoft/TypeScript/issues/50915))
-
[`fbfe934`](https://togithub.com/Microsoft/TypeScript/commit/fbfe9340a90777dee03b30f736fab44056123be0)
Fix comparability between type parameters related by a union constraint
([#​50978](https://togithub.com/Microsoft/TypeScript/issues/50978))
-
[`b09e93d`](https://togithub.com/Microsoft/TypeScript/commit/b09e93d3f6d3e999df001b53984954974c25b81f)
Merge pull request
[#​50041](https://togithub.com/Microsoft/TypeScript/issues/50041)
from microsoft/fix/47969
-
[`0ac12bb`](https://togithub.com/Microsoft/TypeScript/commit/0ac12bbe7a410238ca992a42f41816a97f6906f4)
Update package-lock.json
-
[`8192d55`](https://togithub.com/Microsoft/TypeScript/commit/8192d550496d884263e292488e325ae96893dc78)
Pick correct compilerOptions when checking if we can share
emitSignatures
([#​50910](https://togithub.com/Microsoft/TypeScript/issues/50910))
\[
[#​50902](https://togithub.com/Microsoft/TypeScript/issues/50902)
]
-
[`16faef1`](https://togithub.com/Microsoft/TypeScript/commit/16faef1d8d522b66b6c672bdd15b4026e2018a62)
During uptodate ness check with buildInfo, check if there are errors
explicitly with noEmit
([#​50974](https://togithub.com/Microsoft/TypeScript/issues/50974))
\[
[#​50959](https://togithub.com/Microsoft/TypeScript/issues/50959)
]
-
[`63791f5`](https://togithub.com/Microsoft/TypeScript/commit/63791f52d4e7a3bf461b974e94abd8cbb6b546c5)
Update package-lock.json
-
[`09368bc`](https://togithub.com/Microsoft/TypeScript/commit/09368bcbaebd157d1e66859ab6f5b30c2fd6eaff)
Handle if project for open file will get recollected because of pending
cleanup from closed script info
([#​50908](https://togithub.com/Microsoft/TypeScript/issues/50908))
\[
[#​50868](https://togithub.com/Microsoft/TypeScript/issues/50868)
]
-
[`c81bf4d`](https://togithub.com/Microsoft/TypeScript/commit/c81bf4d8b0c12410a082d6598fcc24cc721b6e9e)
fix(49594): Typescript 4.7.3 bracketed class property compilation error
strictPropertyInitialization:true
([#​49619](https://togithub.com/Microsoft/TypeScript/issues/49619))
-
[`bc9cbbe`](https://togithub.com/Microsoft/TypeScript/commit/bc9cbbef421ae907f7dfd5a84ca69c4f68a8935b)
Merge pull request
[#​49912](https://togithub.com/Microsoft/TypeScript/issues/49912)
from microsoft/fix/47508
-
[`5a10f46`](https://togithub.com/Microsoft/TypeScript/commit/5a10f46c0028790120cb85c826efa4248707a964)
Update package-lock.json
-
[`8e71f42`](https://togithub.com/Microsoft/TypeScript/commit/8e71f429c811ac7811533d7b0e02c32bad5a1b47)
Fixing pr comments
-
[`c100c64`](https://togithub.com/Microsoft/TypeScript/commit/c100c6488db0482dcc1455290f456dece91cac0a)
Update package-lock.json
-
[`2a91107`](https://togithub.com/Microsoft/TypeScript/commit/2a91107f7548eeb5e32673e76277d27264ea88e2)
Update package-lock.json
-
[`4ab9e76`](https://togithub.com/Microsoft/TypeScript/commit/4ab9e76fb748b08712f9d0017dd8f0ba74d1859f)
Use paths in package.json 'files' array that work with npm 6 and later.
([#​50930](https://togithub.com/Microsoft/TypeScript/issues/50930))
-
[`549b542`](https://togithub.com/Microsoft/TypeScript/commit/549b5429d4837344e8c99657109bb6538fd2dbb5)
Use paths in package.json 'files' array that work with npm 6 and later.
-
[`7f37d25`](https://togithub.com/Microsoft/TypeScript/commit/7f37d251fc69da34659e4c60792177e1e9a8e7a6)
Update version to 4.9.1-beta and LKG.
-
[`f16ca7d`](https://togithub.com/Microsoft/TypeScript/commit/f16ca7dd364e57ee7ce337f987b20dbc1e34941f)
Remove 'async' dependency, used only in errorCheck.ts, modernize file
([#​50667](https://togithub.com/Microsoft/TypeScript/issues/50667))
-
[`c6bef3f`](https://togithub.com/Microsoft/TypeScript/commit/c6bef3f02874bddf6df120aa4f0d130c58478468)
LEGO: Merge pull request 50921
-
[`6753027`](https://togithub.com/Microsoft/TypeScript/commit/675302730b8ca525d47c910bf2d3174bd3b66a1b)
Update package-lock.json
-
[`9740bcc`](https://togithub.com/Microsoft/TypeScript/commit/9740bcc53418e8792a4dbb978059ff5a02b55c91)
Pluralized `hasInvalidatedResolution` -> `hasInvalidatedResolutions`
([#​50912](https://togithub.com/Microsoft/TypeScript/issues/50912))
-
[`84c29cd`](https://togithub.com/Microsoft/TypeScript/commit/84c29cd576fd1facb9b3a353d5342df04acdb184)
🤖 Pick PR
[#​50912](https://togithub.com/Microsoft/TypeScript/issues/50912)
(Pluralized \`hasInvalidatedResolutio...) into release-4.9
([#​50913](https://togithub.com/Microsoft/TypeScript/issues/50913))
-
[`a26f634`](https://togithub.com/Microsoft/TypeScript/commit/a26f63424de249bb106804dfc9a024bb525de93e)
Merge remote-tracking branch 'origin/main' into release-4.9
-
[`a455955`](https://togithub.com/Microsoft/TypeScript/commit/a455955aac85ecc5b2182fe50b83670188955feb)
Make hasInvalidatedResolution non internal for program and add it
watchApi
([#​50776](https://togithub.com/Microsoft/TypeScript/issues/50776))
\[
[#​48057](https://togithub.com/Microsoft/TypeScript/issues/48057)
]
-
[`645d1cd`](https://togithub.com/Microsoft/TypeScript/commit/645d1cd7c1ee1d65a87b2183b173611467256a09)
Fix assert in addIndirectUser in FAR
([#​50905](https://togithub.com/Microsoft/TypeScript/issues/50905))
-
[`bbec17d`](https://togithub.com/Microsoft/TypeScript/commit/bbec17d9003246fa00d6bf676bb4ce7c54ff2be4)
LEGO: Merge pull request 50900
-
[`a9ecc67`](https://togithub.com/Microsoft/TypeScript/commit/a9ecc675d636c3bbca697bc4881b019e8645a7a6)
Update package-lock.json
-
[`221cf55`](https://togithub.com/Microsoft/TypeScript/commit/221cf55a21e448bd3fe2cf26a754c9c0dda3dca3)
package.json `exports` should have priority over `typesVersions`
([#​50890](https://togithub.com/Microsoft/TypeScript/issues/50890))
-
[`acb8977`](https://togithub.com/Microsoft/TypeScript/commit/acb89771901f8c81c6046fa7c16361a83388ddab)
Remove .github/tsc.json
([#​50664](https://togithub.com/Microsoft/TypeScript/issues/50664))
-
[`7a3de81`](https://togithub.com/Microsoft/TypeScript/commit/7a3de819bfb93fb27ef7ea8305d2df069866c380)
fix(49993): skip the quick fix for an expression with an enum type
([#​50625](https://togithub.com/Microsoft/TypeScript/issues/50625))
-
[`2644f28`](https://togithub.com/Microsoft/TypeScript/commit/2644f2867734d77a3a3939c55d5cc0a5004df0ed)
fix(49200): skip duplicated method declarations
([#​50609](https://togithub.com/Microsoft/TypeScript/issues/50609))
-
[`98652a3`](https://togithub.com/Microsoft/TypeScript/commit/98652a349a67be718e8e8b5fcf590972eb62a104)
Bump version to 4.9.0-beta and LKG.
-
[`4d91204`](https://togithub.com/Microsoft/TypeScript/commit/4d91204c9d9f27756785f62fade44d93824d47f4)
fix(37030): Expand Selection in function and arrow function skips body
block
([#​50711](https://togithub.com/Microsoft/TypeScript/issues/50711))
-
[`e2dd508`](https://togithub.com/Microsoft/TypeScript/commit/e2dd5084f75ac37a78102d212b67d36595596137)
DOM update 2022/09/21
([#​50884](https://togithub.com/Microsoft/TypeScript/issues/50884))
-
[`1d9ab83`](https://togithub.com/Microsoft/TypeScript/commit/1d9ab83914a551936ce5ef80340ee65cfd1422ba)
fix(50866): emit modifiers from export declarations
([#​50874](https://togithub.com/Microsoft/TypeScript/issues/50874))
-
[`92a1b12`](https://togithub.com/Microsoft/TypeScript/commit/92a1b124c178e1ff4871b29cb9abc00307e21742)
LEGO: Merge pull request 50877
-
[`e383db6`](https://togithub.com/Microsoft/TypeScript/commit/e383db692eb44561333c1bbe353788b337aebc99)
Fix debug.ts \__debugKind check
([#​50871](https://togithub.com/Microsoft/TypeScript/issues/50871))
-
[`01054e0`](https://togithub.com/Microsoft/TypeScript/commit/01054e05ab7638e96515619c4ce62200fdf4e0fd)
Consistently add undefined/missing to optional tuple element types
([#​50831](https://togithub.com/Microsoft/TypeScript/issues/50831))
-
[`d90795e`](https://togithub.com/Microsoft/TypeScript/commit/d90795e799ca8e41aabd6d0852abb585138200ef)
Improve escape sequence handling in private names
([#​50856](https://togithub.com/Microsoft/TypeScript/issues/50856))
-
[`938a69a`](https://togithub.com/Microsoft/TypeScript/commit/938a69a526166ca4e7880fa140fba432936f0fe3)
Fix import statement completions followed by interface declaration
([#​50350](https://togithub.com/Microsoft/TypeScript/issues/50350))
-
[`e002159`](https://togithub.com/Microsoft/TypeScript/commit/e002159ad133a024bae48a2e190e54ad93f6b52d)
feat(49962): Disallow comparison against NaN
([#​50626](https://togithub.com/Microsoft/TypeScript/issues/50626))
-
[`80ae43d`](https://togithub.com/Microsoft/TypeScript/commit/80ae43d2399503a04651e3705823137d36148b00)
Fixing spaces
-
[`abc58bd`](https://togithub.com/Microsoft/TypeScript/commit/abc58bdabcf536bd5204fbc84fb7f45d75f1a9ad)
Fixing baseline errors
-
[`305f4bd`](https://togithub.com/Microsoft/TypeScript/commit/305f4bd420bf9edc0239fd3a740aa83fbdeb9ba2)
Merge branch 'main' into fix/47969
-
[`23746af`](https://togithub.com/Microsoft/TypeScript/commit/23746af766b53fcc3afecfa16478809a5a36628a)
fix(50591): RangeError: Maximum call stack size exceeded
([#​50594](https://togithub.com/Microsoft/TypeScript/issues/50594))
-
[`168186f`](https://togithub.com/Microsoft/TypeScript/commit/168186f93d23ae59dbea3fea2adba453527343fd)
Allow a union property of a private/protected member and an intersection
property including that same member
([#​50328](https://togithub.com/Microsoft/TypeScript/issues/50328))
-
[`812ebcf`](https://togithub.com/Microsoft/TypeScript/commit/812ebcf6e3aebfa72b976a6ae4d65929759a2867)
Update package-lock.json
-
[`16156b1`](https://togithub.com/Microsoft/TypeScript/commit/16156b1baf26a39ce428423f7106f3ef2b4e98bb)
Add rules from eslint's recommended set that triggered good lints
([#​50422](https://togithub.com/Microsoft/TypeScript/issues/50422))
-
[`a11c416`](https://togithub.com/Microsoft/TypeScript/commit/a11c41621bbbab100a391dd348651c6661549663)
Improve checking of `in` operator
([#​50666](https://togithub.com/Microsoft/TypeScript/issues/50666))
-
[`67f2b62`](https://togithub.com/Microsoft/TypeScript/commit/67f2b62ed2bd1de0299781ba659fa638346bcecf)
Gabritto/jsemitfixsilly
([#​50849](https://togithub.com/Microsoft/TypeScript/issues/50849))
-
[`3014dec`](https://togithub.com/Microsoft/TypeScript/commit/3014dec8878a9ff8d86186a6ac3fd9fad4f3b739)
Don't elide imports when transforming JS files
([#​50404](https://togithub.com/Microsoft/TypeScript/issues/50404))
-
[`57c7aa7`](https://togithub.com/Microsoft/TypeScript/commit/57c7aa755ca3028ff13eb6a37d91775a6fac71e3)
LEGO: Merge pull request 50842
-
[`48a8e89`](https://togithub.com/Microsoft/TypeScript/commit/48a8e8953a1e609970dc85e08f99ac499bfe8356)
Improve check of whether type query node possibly contains reference to
type parameter
([#​50070](https://togithub.com/Microsoft/TypeScript/issues/50070))
-
[`af9ced1`](https://togithub.com/Microsoft/TypeScript/commit/af9ced11f50c8ac15079d2f88f8961f1e5b62f7f)
LEGO: Merge pull request 50825
-
[`a8e13f7`](https://togithub.com/Microsoft/TypeScript/commit/a8e13f7340c5229426072d443fa511bba82a0054)
Fixed an issue with destructured bindings from a generic union
constraint not being narrowed correctly
([#​50221](https://togithub.com/Microsoft/TypeScript/issues/50221))
-
[`08af0b6`](https://togithub.com/Microsoft/TypeScript/commit/08af0b6bf0041fef52ca8c1b69d6d4a3db439196)
Update package-lock.json
-
[`0df46e8`](https://togithub.com/Microsoft/TypeScript/commit/0df46e873322b8eeb271a442eaf034d91ae68770)
Fix test around RegExp match vs. exec results
([#​50813](https://togithub.com/Microsoft/TypeScript/issues/50813))
-
[`906510e`](https://togithub.com/Microsoft/TypeScript/commit/906510e0f30590a4c8fdc892905ccb8dbe512e3d)
Fixes for pr
-
[`2970c5d`](https://togithub.com/Microsoft/TypeScript/commit/2970c5d1671b2376711cd55594c4597d6da7d8c3)
make `RegExpExecArray` always include index 0
([#​50713](https://togithub.com/Microsoft/TypeScript/issues/50713))
-
[`0507192`](https://togithub.com/Microsoft/TypeScript/commit/05071920a03f8ea530fe01f79f2537c999ec8b02)
Accepting baselines
-
[`29e50b3`](https://togithub.com/Microsoft/TypeScript/commit/29e50b314900d22b08f6472918f59ae2b40aba08)
Rewording documentation
-
[`01cae69`](https://togithub.com/Microsoft/TypeScript/commit/01cae69e3403a831bc5c752b95c8b7547dd95821)
fix(50796): omit questionToken in object literal method completions
([#​50802](https://togithub.com/Microsoft/TypeScript/issues/50802))
-
[`3b84f76`](https://togithub.com/Microsoft/TypeScript/commit/3b84f76fb23bd39d14c7243e5cd495fd207916c0)
Fix crash caused by incorrect bounds check (regression in 4.8)
([#​50797](https://togithub.com/Microsoft/TypeScript/issues/50797))
-
[`7e51306`](https://togithub.com/Microsoft/TypeScript/commit/7e51306d30b72ce474054c3f3047f57d90dca41a)
Update package-lock.json
-
[`8b35c13`](https://togithub.com/Microsoft/TypeScript/commit/8b35c1300e14ebc026b4f1621db8f6f1bba30833)
The error "Object is possibly null or undefined" is ambiguous.
([#​49797](https://togithub.com/Microsoft/TypeScript/issues/49797))
-
[`a3f51b3`](https://togithub.com/Microsoft/TypeScript/commit/a3f51b3b8278b7dc5f59d83f35458338f57c81c7)
Update user baselines +cc
[@​sandersn](https://togithub.com/sandersn)
([#​43554](https://togithub.com/Microsoft/TypeScript/issues/43554))
-
[`ba10a0d`](https://togithub.com/Microsoft/TypeScript/commit/ba10a0d7c06df259e620645a8d6fd9a5262d8b5d)
Removing duplicated code
-
[`ec6ae1c`](https://togithub.com/Microsoft/TypeScript/commit/ec6ae1c4d0f48f15cd01b1502d0b2e5ac387dcf5)
Partially revert
[#​41044](https://togithub.com/Microsoft/TypeScript/issues/41044),
restoring parameter destructurings in d.ts files
([#​50779](https://togithub.com/Microsoft/TypeScript/issues/50779))
-
[`28232ca`](https://togithub.com/Microsoft/TypeScript/commit/28232ca4b8833957cdf8d592f085fb80d97ef604)
LEGO: Merge pull request 50783
-
[`49cfa1d`](https://togithub.com/Microsoft/TypeScript/commit/49cfa1db17b593191601736a11cbf165d42510a0)
Update package-lock.json
-
[`4110b80`](https://togithub.com/Microsoft/TypeScript/commit/4110b80fbb24f2ac6dd284ef3511ca69ac6db517)
Fix equality narrowing and comparable relation for intersections with {}
([#​50735](https://togithub.com/Microsoft/TypeScript/issues/50735))
-
[`b23f1d6`](https://togithub.com/Microsoft/TypeScript/commit/b23f1d6b59beabde1072d14b7fb65781ce209c15)
LEGO: Merge pull request 50771
-
[`618fb2d`](https://togithub.com/Microsoft/TypeScript/commit/618fb2d8b92357d564ddb8596296ecaba5468002)
Update package-lock.json
-
[`08b91f6`](https://togithub.com/Microsoft/TypeScript/commit/08b91f6b827e9ee98407c0eb969579ab77fa9f0c)
fix(50717): tsc crashes when it sees a JSDoc tag inside an
[@​override](https://togithub.com/override) annotation
([#​50724](https://togithub.com/Microsoft/TypeScript/issues/50724))
-
[`60963d7`](https://togithub.com/Microsoft/TypeScript/commit/60963d7216266bca6ef3236f43913de703fe5c7a)
Discriminant of type `never` should never be matched
([#​50755](https://togithub.com/Microsoft/TypeScript/issues/50755))
-
[`e37ea53`](https://togithub.com/Microsoft/TypeScript/commit/e37ea53715a725dd13699dc1be5190c6ebd0d8f8)
Update package-lock.json
-
[`a88c366`](https://togithub.com/Microsoft/TypeScript/commit/a88c36655b575d3039f187e64016b971efc0f173)
Fix test baselining for tsserver host timeouts
([#​50748](https://togithub.com/Microsoft/TypeScript/issues/50748))
-
[`6d38487`](https://togithub.com/Microsoft/TypeScript/commit/6d384876e5adeffd6e04cf4e6dd7ea5fc0dd0584)
Fix workflow typo
([#​50746](https://togithub.com/Microsoft/TypeScript/issues/50746))
-
[`6b890f9`](https://togithub.com/Microsoft/TypeScript/commit/6b890f93c491d3496dfd7909592c1df8a771fcd0)
Handle more places where package direcroy is converted to canonical file
path
([#​50740](https://togithub.com/Microsoft/TypeScript/issues/50740))
-
[`f5f2923`](https://togithub.com/Microsoft/TypeScript/commit/f5f2923c7d0f0963a78b9c5f233b635d4e78ae91)
Revert removal of nonInferrableAnyType
([#​50691](https://togithub.com/Microsoft/TypeScript/issues/50691))
-
[`7120b52`](https://togithub.com/Microsoft/TypeScript/commit/7120b520cfe7b92d2b4bbfd679f1f5bd0c559c2c)
Update twoslash workflow
([#​50738](https://togithub.com/Microsoft/TypeScript/issues/50738))
-
[`68d526c`](https://togithub.com/Microsoft/TypeScript/commit/68d526c200a0a5c5102458689
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, Automerge - At any time (no
schedule defined).
🚦 **Automerge**: 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://developer.mend.io/github/Unleash/unleash).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zOTMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjM5My4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-10 12:24:17 +02:00
|
|
|
|
"typescript": "5.4.5",
|
2023-11-23 13:45:36 +01:00
|
|
|
|
"wait-on": "^7.2.0"
|
2017-06-28 14:10:32 +02:00
|
|
|
|
},
|
2019-10-05 08:10:38 +02:00
|
|
|
|
"resolutions": {
|
2022-08-20 07:29:46 +02:00
|
|
|
|
"async": "^3.2.4",
|
2024-03-07 01:54:55 +01:00
|
|
|
|
"es5-ext": "0.10.64",
|
2022-01-05 10:01:39 +01:00
|
|
|
|
"node-forge": "^1.0.0",
|
2021-09-27 13:26:18 +02:00
|
|
|
|
"set-value": "^4.0.1",
|
|
|
|
|
"ansi-regex": "^5.0.1",
|
2021-12-03 12:56:34 +01:00
|
|
|
|
"ssh2": "^1.4.0",
|
2022-11-03 14:43:36 +01:00
|
|
|
|
"json-schema": "^0.4.0",
|
2024-02-20 10:37:27 +01:00
|
|
|
|
"ip": "^2.0.1",
|
2024-06-04 09:35:00 +02:00
|
|
|
|
"tar": "6.2.1",
|
2023-07-04 17:02:38 +02:00
|
|
|
|
"minimatch": "^5.0.0",
|
2024-06-04 15:01:43 +02:00
|
|
|
|
"semver": "^7.6.2",
|
2024-05-09 00:49:09 +02:00
|
|
|
|
"tough-cookie": "4.1.4"
|
2019-10-05 08:10:38 +02:00
|
|
|
|
},
|
2017-06-28 14:14:55 +02:00
|
|
|
|
"lint-staged": {
|
2024-06-27 12:52:43 +02:00
|
|
|
|
"*.{js,ts}": [
|
|
|
|
|
"biome check --write --no-errors-on-unmatched"
|
|
|
|
|
],
|
|
|
|
|
"*.{jsx,tsx}": [
|
|
|
|
|
"biome check --write --no-errors-on-unmatched"
|
|
|
|
|
],
|
|
|
|
|
"*.json": [
|
|
|
|
|
"biome format --write --no-errors-on-unmatched"
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"packageManager": "yarn@4.3.1"
|
2014-10-23 14:13:17 +02:00
|
|
|
|
}
|