Update dependency @actions/core to v1.10.1 @renovate (#19)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| @actions/core (source) | 1.10.0 -> 1.10.1 |
Release Notes
Update EndBug/add-and-commit action to v9.1.4 @renovate (#18)
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| EndBug/add-and-commit | action | patch | v9.1.3 -> v9.1.4 |
Release Notes
EndBug/add-and-commit (EndBug/add-and-commit)
v9.1.4
What's Changed
- chore(deps): bump string-argv from 0.3.1 to 0.3.2 by @dependabot in https://github.com/EndBug/add-and-commit/pull/506
- chore(deps-dev): bump all-contributors-cli from 6.25.0 to 6.25.1 by @dependabot in https://github.com/EndBug/add-and-commit/pull/507
- chore(deps-dev): bump all-contributors-cli from 6.25.1 to 6.26.0 by @dependabot in https://github.com/EndBug/add-and-commit/pull/509
- chore(deps-dev): bump typescript from 5.0.4 to 5.1.3 by @dependabot in https://github.com/EndBug/add-and-commit/pull/512
- chore(deps-dev): bump typescript from 5.1.3 to 5.1.6 by @dependabot in https://github.com/EndBug/add-and-commit/pull/515
- docs: add justanotheranonymoususer as a contributor for bug by @allcontributors in https://github.com/EndBug/add-and-commit/pull/517
- chore(deps-dev): bump all-contributors-cli from 6.26.0 to 6.26.1 by @dependabot in https://github.com/EndBug/add-and-commit/pull/518
- chore(deps): bump semver from 5.7.1 to 5.7.2 by @dependabot in https://github.com/EndBug/add-and-commit/pull/520
- chore(deps-dev): bump @typescript-eslint/parser from 6.0.0 to 6.1.0 by @dependabot in https://github.com/EndBug/add-and-commit/pull/522
- chore(deps-dev): bump @typescript-eslint/eslint-plugin from 6.0.0 to 6.2.0 by @dependabot in https://github.com/EndBug/add-and-commit/pull/524
- chore(deps-dev): bump eslint-config-prettier from 8.8.0 to 8.9.0 by @dependabot in https://github.com/EndBug/add-and-commit/pull/525
- chore(deps-dev): bump @typescript-eslint/parser from 6.1.0 to 6.2.0 by @dependabot in https://github.com/EndBug/add-and-commit/pull/526
- chore(deps-dev): bump prettier from 3.0.0 to 3.0.1 by @dependabot in https://github.com/EndBug/add-and-commit/pull/527
- chore(deps-dev): bump @typescript-eslint/parser from 6.2.0 to 6.2.1 by @dependabot in https://github.com/EndBug/add-and-commit/pull/528
- chore(deps-dev): bump @typescript-eslint/parser from 6.2.1 to 6.3.0 by @dependabot in https://github.com/EndBug/add-and-commit/pull/532
- chore(deps-dev): bump @typescript-eslint/eslint-plugin from 6.2.0 to 6.4.0 by @dependabot in https://github.com/EndBug/add-and-commit/pull/534
- chore(deps-dev): bump prettier from 3.0.1 to 3.0.2 by @dependabot in https://github.com/EndBug/add-and-commit/pull/536
- chore(deps-dev): bump @typescript-eslint/parser from 6.3.0 to 6.4.1 by @dependabot in https://github.com/EndBug/add-and-commit/pull/537
- chore(deps-dev): bump @typescript-eslint/eslint-plugin from 6.4.0 to 6.4.1 by @dependabot in https://github.com/EndBug/add-and-commit/pull/539
- chore(deps-dev): bump typescript from 5.1.6 to 5.2.2 by @dependabot in https://github.com/EndBug/add-and-commit/pull/538
- chore(deps-dev): bump eslint-config-prettier from 8.9.0 to 9.0.0 by @dependabot in https://github.com/EndBug/add-and-commit/pull/530
- chore(deps-dev): bump prettier from 3.0.2 to 3.0.3 by @dependabot in https://github.com/EndBug/add-and-commit/pull/541
- chore(deps-dev): bump @typescript-eslint/parser from 6.4.1 to 6.5.0 by @dependabot in https://github.com/EndBug/add-and-commit/pull/540
- ci(deps): bump actions/checkout from 3 to 4 by @dependabot in https://github.com/EndBug/add-and-commit/pull/544
- chore(deps-dev): bump @vercel/ncc from 0.36.1 to 0.38.0 by @dependabot in https://github.com/EndBug/add-and-commit/pull/545
- chore(deps-dev): bump @typescript-eslint/parser from 6.5.0 to 6.6.0 by @dependabot in https://github.com/EndBug/add-and-commit/pull/546
- chore(deps-dev): bump @typescript-eslint/eslint-plugin from 6.4.1 to 6.7.0 by @dependabot in https://github.com/EndBug/add-and-commit/pull/547
- chore(deps-dev): bump @types/js-yaml from 4.0.5 to 4.0.6 by @dependabot in https://github.com/EndBug/add-and-commit/pull/549
- chore(deps-dev): bump @typescript-eslint/parser from 6.6.0 to 6.7.0 by @dependabot in https://github.com/EndBug/add-and-commit/pull/548
- chore(deps): bump @actions/core from 1.10.0 to 1.10.1 by @dependabot in https://github.com/EndBug/add-and-commit/pull/550
- chore(deps-dev): bump @typescript-eslint/parser from 6.7.0 to 6.7.2 by @dependabot in https://github.com/EndBug/add-and-commit/pull/551
- chore(deps-dev): bump @typescript-eslint/eslint-plugin from 6.7.0 to 6.7.2 by @dependabot in https://github.com/EndBug/add-and-commit/pull/552
- chore(deps-dev): bump @typescript-eslint/parser from 6.7.2 to 6.7.3 by @dependabot in https://github.com/EndBug/add-and-commit/pull/553
- chore(deps-dev): bump @typescript-eslint/eslint-plugin from 6.7.2 to 6.7.4 by @dependabot in https://github.com/EndBug/add-and-commit/pull/555
- chore(deps-dev): bump @typescript-eslint/parser from 6.7.3 to 6.7.4 by @dependabot in https://github.com/EndBug/add-and-commit/pull/557
- chore(deps-dev): bump eslint-plugin-prettier from 5.0.0 to 5.0.1 by @dependabot in https://github.com/EndBug/add-and-commit/pull/558
- chore(deps-dev): bump @typescript-eslint/parser from 6.7.4 to 6.7.5 by @dependabot in https://github.com/EndBug/add-and-commit/pull/559
- chore(deps-dev): bump @types/js-yaml from 4.0.6 to 4.0.7 by @dependabot in https://github.com/EndBug/add-and-commit/pull/560
- chore(deps-dev): bump @typescript-eslint/eslint-plugin from 6.7.4 to 6.8.0 by @dependabot in https://github.com/EndBug/add-and-commit/pull/562
- chore(deps-dev): bump @types/js-yaml from 4.0.7 to 4.0.8 by @dependabot in https://github.com/EndBug/add-and-commit/pull/563
- chore(deps-dev): bump @vercel/ncc from 0.38.0 to 0.38.1 by @dependabot in https://github.com/EndBug/add-and-commit/pull/565
- chore(deps-dev): bump @typescript-eslint/parser from 6.7.5 to 6.9.0 by @dependabot in https://github.com/EndBug/add-and-commit/pull/566
- ci(deps): bump actions/setup-node from 3 to 4 by @dependabot in https://github.com/EndBug/add-and-commit/pull/567
- chore(deps-dev): bump @typescript-eslint/eslint-plugin from 6.8.0 to 6.9.0 by @dependabot in https://github.com/EndBug/add-and-commit/pull/568
- chore(deps-dev): bump @typescript-eslint/parser from 6.9.0 to 6.9.1 by @dependabot in https://github.com/EndBug/add-and-commit/pull/569
- chore(deps-dev): bump @typescript-eslint/eslint-plugin from 6.9.0 to 6.10.0 by @dependabot in https://github.com/EndBug/add-and-commit/pull/571
- typo in README git add -> git tag by @cderv in https://github.com/EndBug/add-and-commit/pull/572
- docs: add cderv as a contributor for doc by @allcontributors in https://github.com/EndBug/add-and-commit/pull/573
- READMEmd: use latest versions of GitHub actions by @deining in https://github.com/EndBug/add-and-commit/pull/574
- docs: add deining as a contributor for doc by @allcontributors in https://github.com/EndBug/add-and-commit/pull/575
- chore(deps-dev): bump @types/js-yaml from 4.0.8 to 4.0.9 by @dependabot in https://github.com/EndBug/add-and-commit/pull/576
- chore(deps-dev): bump prettier from 3.0.3 to 3.1.0 by @dependabot in https://github.com/EndBug/add-and-commit/pull/578
- chore(deps-dev): bump @typescript-eslint/parser from 6.9.1 to 6.10.0 by @dependabot in https://github.com/EndBug/add-and-commit/pull/577
- chore(deps-dev): bump @typescript-eslint/parser from 6.10.0 to 6.11.0 by @dependabot in https://github.com/EndBug/add-and-commit/pull/579
- chore(deps-dev): bump @typescript-eslint/eslint-plugin from 6.10.0 to 6.12.0 by @dependabot in https://github.com/EndBug/add-and-commit/pull/581
- chore(deps-dev): bump @typescript-eslint/parser from 6.11.0 to 6.12.0 by @dependabot in https://github.com/EndBug/add-and-commit/pull/584
- chore(deps-dev): bump typescript from 5.2.2 to 5.3.2 by @dependabot in https://github.com/EndBug/add-and-commit/pull/585
- chore(deps-dev): bump eslint-config-prettier from 9.0.0 to 9.1.0 by @dependabot in https://github.com/EndBug/add-and-commit/pull/587
- chore(deps-dev): bump @typescript-eslint/eslint-plugin from 6.12.0 to 6.13.1 by @dependabot in https://github.com/EndBug/add-and-commit/pull/588
- chore(deps-dev): bump @typescript-eslint/parser from 6.12.0 to 6.13.2 by @dependabot in https://github.com/EndBug/add-and-commit/pull/590
- chore(deps-dev): bump prettier from 3.1.0 to 3.1.1 by @dependabot in https://github.com/EndBug/add-and-commit/pull/593
- chore(deps-dev): bump @typescript-eslint/eslint-plugin from 6.13.1 to 6.14.0 by @dependabot in https://github.com/EndBug/add-and-commit/pull/594
- chore(deps-dev): bump typescript from 5.3.2 to 5.3.3 by @dependabot in https://github.com/EndBug/add-and-commit/pull/592
- ci(deps): bump github/codeql-action from 2 to 3 by @dependabot in https://github.com/EndBug/add-and-commit/pull/595
- chore(deps-dev): bump @typescript-eslint/parser from 6.13.2 to 6.14.0 by @dependabot in https://github.com/EndBug/add-and-commit/pull/596
- chore(deps-dev): bump @typescript-eslint/eslint-plugin from 6.14.0 to 6.15.0 by @dependabot in https://github.com/EndBug/add-and-commit/pull/598
- chore(deps-dev): bump eslint-plugin-prettier from 5.0.1 to 5.1.2 by @dependabot in https://github.com/EndBug/add-and-commit/pull/599
- chore(deps-dev): bump @typescript-eslint/parser from 6.14.0 to 6.16.0 by @dependabot in https://github.com/EndBug/add-and-commit/pull/601
- chore(deps-dev): bump @typescript-eslint/parser from 6.16.0 to 6.18.0 by @dependabot in https://github.com/EndBug/add-and-commit/pull/604
- chore(deps-dev): bump @typescript-eslint/eslint-plugin from 6.15.0 to 6.18.1 by @dependabot in https://github.com/EndBug/add-and-commit/pull/605
- chore(deps-dev): bump eslint-plugin-prettier from 5.1.2 to 5.1.3 by @dependabot in https://github.com/EndBug/add-and-commit/pull/606
- chore(deps-dev): bump prettier from 3.1.1 to 3.2.2 by @dependabot in https://github.com/EndBug/add-and-commit/pull/607
- chore(deps-dev): bump @typescript-eslint/parser from 6.18.0 to 6.18.1 by @dependabot in https://github.com/EndBug/add-and-commit/pull/608
- chore(deps-dev): bump @typescript-eslint/parser from 6.18.1 to 6.19.0 by @dependabot in https://github.com/EndBug/add-and-commit/pull/609
- chore(deps-dev): bump prettier from 3.2.2 to 3.2.4 by @dependabot in https://github.com/EndBug/add-and-commit/pull/610
- chore(deps-dev): bump @typescript-eslint/eslint-plugin from 6.18.1 to 6.19.1 by @dependabot in https://github.com/EndBug/add-and-commit/pull/612
- fix: bump node to v20 by @EndBug in https://github.com/EndBug/add-and-commit/pull/614
- docs: add mdboom as a contributor for maintenance by @allcontributors in https://github.com/EndBug/add-and-commit/pull/615
New Contributors
- @cderv made their first contribution in https://github.com/EndBug/add-and-commit/pull/572
- @deining made their first contribution in https://github.com/EndBug/add-and-commit/pull/574
Full Changelog: EndBug/add-and-commit@v9.1.3...v9.1.4
Update dependency ts-jest to v29.1.2 @renovate (#12)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| ts-jest (source) | 29.0.3 -> 29.1.2 |
Release Notes
kulshekhar/ts-jest (ts-jest)
v29.1.2
Bug Fixes
- calculated cache key based on
supportsStaticESM(a5d6f2d) - correct error handling in
processAsync(e7be4bf), closes #4207 - use
Config.ProjectConfig(918312b), closes #4028
v29.1.1
Security Fixes
- bump
semverto7.5.3
v29.1.0
Features
29.0.5 (2023-01-13)
Reverts
- Revert "fix(transformer): don't use cache when
tsJestConfigis different (#3966)" (185eb18), closes #3966
29.0.4 (2023-01-10)
Bug Fixes
- transformer: don't use cache when
tsJestConfigis different (#3966) (a445638) - bump
json5to2.2.3(#3976)(b9f7809)
29.0.3 (2022-09-28)
Bug Fixes
- merge config from
globalswith transformer config correctly (#3842) (9c9fd60), closes #3841 - presets: allow merging transform config when using presets (#3833) (afc6a94)
Features
29.0.2 (2022-09-23)
Bug Fixes
- mark
ts-jestas optional inConfigGlobals(#3816) (cbb88bb), closes #3815 - use correct typings for
config:initcommand (#3825) (21b94db)
29.0.2 (2022-09-22)
Bug Fixes
29.0.1 (2022-09-13)
Bug Fixes
Features
v29.0.5
Reverts
- Revert "fix(transformer): don't use cache when
tsJestConfigis different (#3966)" (185eb18), closes #3966
v29.0.4
Bug Fixes
Update dependency eslint-config-prettier to v8.10.0 @renovate (#8)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| eslint-config-prettier | 8.5.0 -> 8.10.0 |
Release Notes
prettier/eslint-config-prettier (eslint-config-prettier)
v8.10.0
- Added: [max-statements-per-line]. Thanks to @Zamiell!
v8.9.0
- Added: [vue/array-element-newline]. Thanks to @xcatliu!
v8.8.0
- Added: [@typescript-eslint/lines-around-comment]. Thanks to @ttionya!
v8.7.0
- Added: [@typescript-eslint/block-spacing]. Thanks to @ttionya!
- Added: [@typescript-eslint/key-spacing]. Thanks to @ttionya!
v8.6.0
- Added: [vue/multiline-ternary]. Thanks to @xcatliu!
Update dependency @vercel/ncc to v0.38.1 - autoclosed @renovate (#6)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| @vercel/ncc | 0.34.0 -> 0.38.1 |
Release Notes
vercel/ncc (@vercel/ncc)
v0.38.1
Bug Fixes
v0.38.0
Features
v0.37.0
Features
v0.36.1
Bug Fixes
- add missing pr title lint action (#1032) (c2d03cf)
- add
ncc --versionandncc --help(#1030) (d38b619)
v0.36.0
Bug Fixes
- gitignore should include release.config.js (#1016) (44e2eac)
- node 18 by update source-map used by Terser to 0.7.4 (#999) (2f69f83)
Features
Update dependency @types/node to v18.19.21 @renovate (#5)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| @types/node (source) | 18.7.23 -> 18.19.21 |
Update cloudposse/actions action to v0.33.0 @renovate (#2)
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| cloudposse/actions | action | minor | 0.31.0 -> 0.33.0 |
Release Notes
cloudposse/actions (cloudposse/actions)
v0.33.0
v0.32.0: 0.32.0 Update cloned actions
What's Changed
- Use args with status updater instead of env vars, update checkout to v3 by @Nuru in https://github.com/cloudposse/actions/pull/133
- Renamed access token by @zdmytriv in https://github.com/cloudposse/actions/pull/137
- Update cloned GitHub actions by @Nuru in https://github.com/cloudposse/actions/pull/136
- Update cloned actions to current by @Nuru in https://github.com/cloudposse/actions/pull/138
New Contributors
- @zdmytriv made their first contribution in https://github.com/cloudposse/actions/pull/137
Full Changelog: cloudposse-archives/actions@0.31.0...0.32.0
Update dependency prettier to v2.8.8 @renovate (#10)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| prettier (source) | 2.7.1 -> 2.8.8 |
Release Notes
prettier/prettier (prettier)
v2.8.8
This version is a republished version of v2.8.7.
A bad version was accidentally published and it can't be unpublished, apologies for the churn.
v2.8.7
Allow multiple decorators on same getter/setter (#14584 by @fisker)
// Input
class A {
@​decorator()
get foo () {}
@​decorator()
set foo (value) {}
}
// Prettier 2.8.6
SyntaxError: Decorators cannot be applied to multiple get/set accessors of the same name. (5:3)
3 | get foo () {}
4 |
> 5 | @​decorator()
| ^^^^^^^^^^^^
6 | set foo (value) {}
7 | }
// Prettier 2.8.7
class A {
@​decorator()
get foo() {}
@​decorator()
set foo(value) {}
}v2.8.6
Allow decorators on private members and class expressions (#14548 by @fisker)
// Input
class A {
@​decorator()
#privateMethod () {}
}
// Prettier 2.8.5
SyntaxError: Decorators are not valid here. (2:3)
1 | class A {
> 2 | @​decorator()
| ^^^^^^^^^^^^
3 | #privateMethod () {}
4 | }
// Prettier 2.8.6
class A {
@​decorator()
#privateMethod() {}
}v2.8.5
Support TypeScript 5.0 (#14391 by @fisker, #13819 by @fisker, @sosukesuzuki)
TypeScript 5.0 introduces two new syntactic features:
constmodifiers for type parametersexport type *declarations
Add missing parentheses for decorator (#14393 by @fisker)
// Input
class Person {
@​(myDecoratorArray[0])
greet() {}
}
// Prettier 2.8.4
class Person {
@​myDecoratorArray[0]
greet() {}
}
// Prettier 2.8.5
class Person {
@​(myDecoratorArray[0])
greet() {}
}Add parentheses for TypeofTypeAnnotation to improve readability (#14458 by @fisker)
// Input
type A = (typeof node.children)[];
// Prettier 2.8.4
type A = typeof node.children[];
// Prettier 2.8.5
type A = (typeof node.children)[];Support max_line_length=off when parsing .editorconfig (#14516 by @josephfrazier)
If an .editorconfig file is in your project and it sets max_line_length=off for the file you're formatting,
it will be interpreted as a printWidth of Infinity rather than being ignored
(which previously resulted in the default printWidth of 80 being applied, if not overridden by Prettier-specific configuration).
<!-- Input -->
<div className='HelloWorld' title={`You are visitor number ${ num }`} onMouseOver={onMouseOver}/>
<!-- Prettier 2.8.4 -->
<div
className="HelloWorld"
title={`You are visitor number ${num}`}
onMouseOver={onMouseOver}
/>;
<!-- Prettier 2.8.5 -->
<div className="HelloWorld" title={`You are visitor number ${num}`} onMouseOver={onMouseOver} />;v2.8.4
Fix leading comments in mapped types with readonly (#13427 by @thorn0, @sosukesuzuki)
// Input
type Type = {
// comment
readonly [key in Foo];
};
// Prettier 2.8.3
type Type = {
readonly // comment
[key in Foo];
};
// Prettier 2.8.4
type Type = {
// comment
readonly [key in Foo];
};Group params in opening block statements (#14067 by @jamescdavis)
This is a follow-up to #13930 to establish wrapping consistency between opening block statements and else blocks by
grouping params in opening blocks. This causes params to break to a new line together and not be split across lines
unless the length of params exceeds the print width. This also updates the else block wrapping to behave exactly the
same as opening blocks.
Ignore files in .sl/ (#14206 by @bolinfest)
In Sapling SCM, .sl/ is the folder where it stores its state, analogous to .git/ in Git. It should be ignored in Prettier like the other SCM folders.
Recognize @satisfies in Closure-style type casts (#14262 by @fisker)
// Input
const a = /** @​satisfies {Record<string, string>} */ ({hello: 1337});
const b = /** @​type {Record<string, string>} */ ({hello: 1337});
// Prettier 2.8.3
const a = /** @​satisfies {Record<string, string>} */ { hello: 1337 };
const b = /** @​type {Record<string, string>} */ ({ hello: 1337 });
// Prettier 2.8.4
const a = /** @​satisfies {Record<string, string>} */ ({hello: 1337});
const b = /** @​type {Record<string, string>} */ ({hello: 1337});Fix parens in inferred function return types with extends (#14279 by @fisker)
// Input
type Foo<T> = T extends ((a) => a is infer R extends string) ? R : never;
// Prettier 2.8.3 (First format)
type Foo<T> = T extends (a) => a is infer R extends string ? R : never;
// Prettier 2.8.3 (Second format)
SyntaxError: '?' expected.
// Prettier 2.8.4
type Foo<T> = T extends ((a) => a is infer R extends string) ? R : never;v2.8.3
Allow self-closing tags on custom elements (#14170 by @fisker)
See Angular v15.1.0 release note for details.
// Input
<app-test/>
// Prettier 2.8.2
SyntaxError: Only void and foreign elements can be self closed "app-test" (1:1)
> 1 | <app-test/>
| ^^^^^^^^^
2 |
// Prettier 2.8.3
<app-test />v2.8.2
Don't lowercase link references (#13155 by @DerekNonGeneric & @fisker)
<!-- Input -->
We now don't strictly follow the release notes format suggested by [Keep a Changelog].
[Keep a Changelog]: https://example.com/
<!-- Prettier 2.8.1 -->
We now don't strictly follow the release notes format suggested by [Keep a Changelog].
[keep a changelog]: https://example.com/
<!--
^^^^^^^^^^^^^^^^^^ lowercased
-->
<!-- Prettier 2.8.2 -->
<Same as input>Preserve self-closing tags (#13691 by @dcyriller)
Allow custom "else if"-like blocks with block params (#13930 by @jamescdavis)
#13507 added support for custom block keywords used with else, but failed to allow block params. This updates printer-glimmer to allow block params with custom "else if"-like blocks.
Preserve empty lines between nested SCSS maps (#13931 by @jneander)
/* Input */
$map: (
'one': (
'key': 'value',
),
'two': (
'key': 'value',
),
)
/* Prettier 2.8.1 */
$map: (
'one': (
'key': 'value',
),
'two': (
'key': 'value',
),
)
/* Prettier 2.8.2 */
$map: (
'one': (
'key': 'value',
),
'two': (
'key': 'value',
),
)Fix missing parentheses when an expression statement starts with let[ (#14000, #14044 by @fisker, @thorn0)
// Input
(let[0] = 2);
// Prettier 2.8.1
let[0] = 2;
// Prettier 2.8.1 (second format)
SyntaxError: Unexpected token (1:5)
> 1 | let[0] = 2;
| ^
2 |
// Prettier 2.8.2
(let)[0] = 2;Fix semicolon duplicated at the end of LESS file (#14007 by @mvorisek)
// Input
@​variable: {
field: something;
};
// Prettier 2.8.1
@​variable: {
field: something;
}; ;
// Prettier 2.8.2
@​variable: {
field: something;
};Fix no space after unary minus when followed by opening parenthesis in LESS (#14008 by @mvorisek)
// Input
.unary_minus_single {
margin: -(@​a);
}
.unary_minus_multi {
margin: 0 -(@​a);
}
.binary_minus {
margin: 0 - (@​a);
}
// Prettier 2.8.1
.unary_minus_single {
margin: - (@​a);
}
.unary_minus_multi {
margin: 0 - (@​a);
}
.binary_minus {
margin: 0 - (@​a);
}
// Prettier 2.8.2
.unary_minus_single {
margin: -(@​a);
}
.unary_minus_multi {
margin: 0 -(@​a);
}
.binary_minus {
margin: 0 - (@​a);
}Do not change case of property name if inside a variable declaration in LESS (#14034 by @mvorisek)
// Input
@​var: {
preserveCase: 0;
};
// Prettier 2.8.1
@​var: {
preservecase: 0;
};
// Prettier 2.8.2
@​var: {
preserveCase: 0;
};Fix formatting for auto-accessors with comments (#14038 by @fisker)
// Input
class A {
@​dec()
// comment
accessor b;
}
// Prettier 2.8.1
class A {
@​dec()
accessor // comment
b;
}
// Prettier 2.8.1 (second format)
class A {
@​dec()
accessor; // comment
b;
}
// Prettier 2.8.2
class A {
@​dec()
// comment
accessor b;
}Add parentheses for TSTypeQuery to improve readability (#14042 by @onishi-kohei)
// Input
a as (typeof node.children)[number]
a as (typeof node.children)[]
a as ((typeof node.children)[number])[]
// Prettier 2.8.1
a as typeof node.children[number];
a as typeof node.children[];
a as typeof node.children[number][];
// Prettier 2.8.2
a as (typeof node.children)[number];
a as (typeof node.children)[];
a as (typeof node.children)[number][];Fix displacing of comments in default switch case (#14047 by @thorn0)
It was a regression in Prettier 2.6.0.
// Input
switch (state) {
default:
result = state; // no change
break;
}
// Prettier 2.8.1
switch (state) {
default: // no change
result = state;
break;
}
// Prettier 2.8.2
switch (state) {
default:
result = state; // no change
break;
}Support type annotations on auto accessors via babel-ts (#14049 by @sosukesuzuki)
The bug that @babel/parser cannot parse auto accessors with type annotations has been fixed. So we now support it via babel-ts parser.
class Foo {
accessor prop: number;
}Fix formatting of empty type parameters (#14073 by @fisker)
// Input
const foo: bar</* comment */> = () => baz;
// Prettier 2.8.1
Error: Comment "comment" was not printed. Please report this error!
// Prettier 2.8.2
const foo: bar</* comment */> = () => baz;Add parentheses to head of ExpressionStatement instead of the whole statement (#14077 by @fisker)
// Input
({}).toString.call(foo) === "[object Array]"
? foo.forEach(iterateArray)
: iterateObject(foo);
// Prettier 2.8.1
({}.toString.call(foo) === "[object Array]"
? foo.forEach(iterateArray)
: iterateObject(foo));
// Prettier 2.8.2
({}).toString.call(foo.forEach) === "[object Array]"
? foo.forEach(iterateArray)
: iterateObject(foo);Fix comments after directive (#14081 by @fisker)
// Input
"use strict" /* comment */;
// Prettier 2.8.1 (with other js parsers except `babel`)
Error: Comment "comment" was not printed. Please report this error!
// Prettier 2.8.2
<Same as input>Fix formatting for comments inside JSX attribute (#14082 by @fisker)
// Input
function MyFunctionComponent() {
<button label=/*old*/"new">button</button>
}
// Prettier 2.8.1
Error: Comment "old" was not printed. Please report this error!
// Prettier 2.8.2
function MyFunctionComponent() {
<button label=/*old*/ "new">button</button>;
}Quote numeric keys for json-stringify parser (#14083 by @fisker)
// Input
{0: 'value'}
// Prettier 2.8.1
{
0: "value"
}
// Prettier 2.8.2
{
"0": "value"
}Fix removing commas from function arguments in maps (#14089 by @sosukesuzuki)
/* Input */
$foo: map-fn(
(
"#{prop}": inner-fn($first, $second),
)
);
/* Prettier 2.8.1 */
$foo: map-fn(("#{prop}": inner-fn($first $second)));
/* Prettier 2.8.2 */
$foo: map-fn(
(
"#{prop}": inner-fn($first, $second),
)
);
Do not insert space in LESS property access (#14103 by @fisker)
// Input
a {
color: @​colors[@​white];
}
// Prettier 2.8.1
a {
color: @​colors[ @​white];
}
// Prettier 2.8.2
<Same as input>v2.8.1
Fix SCSS map in arguments (#9184 by @agamkrbit)
// Input
$display-breakpoints: map-deep-merge(
(
"print-only": "only print",
"screen-only": "only screen",
"xs-only": "only screen and (max-width: #{map-get($grid-breakpoints, "sm")-1})",
),
$display-breakpoints
);
// Prettier 2.8.0
$display-breakpoints: map-deep-merge(
(
"print-only": "only print",
"screen-only": "only screen",
"xs-only": "only screen and (max-width: #{map-get($grid-breakpoints, " sm
")-1})",
),
$display-breakpoints
);
// Prettier 2.8.1
$display-breakpoints: map-deep-merge(
(
"print-only": "only print",
"screen-only": "only screen",
"xs-only": "only screen and (max-width: #{map-get($grid-breakpoints, "sm")-1})",
),
$display-breakpoints
);Support auto accessors syntax (#13919 by @sosukesuzuki)
Support for Auto Accessors Syntax landed in TypeScript 4.9.
(Doesn't work well with babel-ts parser)
class Foo {
accessor foo: number = 3;
}v2.8.0
Update dependency typescript to v4.9.5 @renovate (#13)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| typescript (source) | 4.8.4 -> 4.9.5 |
Release Notes
Microsoft/TypeScript (typescript)
v4.9.5: TypeScript 4.9.5
For release notes, check out the release announcement.
Downloads are available on:
Changes:
v4.9.4: TypeScript 4.9.4
For release notes, check out the release announcement.
For the complete list of fixed issues, check out the
Downloads are available on:
Changes:
e286821Bump version to 4.9.4 and LKG.eb5419fCherry-pick #51704 to release 4.9 (#51712)b4d382bCherry-pick changes for narrowing to tagged literal types.e7a02f4Port of #51626 and #51689 to release-4.9 (#51627)1727912Cherry-pick fix aroundvisitEachChildto release-4.9. (#51544)
This list of changes was auto generated.
v4.9.3: TypeScript 4.9
For release notes, check out the release announcement.
Downloads are available on:
Changes:
93bd577Bump version to 4.9.3 and LKG.107f832Update LKG.31bee56Cherry-pick PR #50977 into release-4.9 (#51363) [ #50872 ]1e2fa7aUpdate version to 4.9.2-rc and LKG.7ab89e5Merge remote-tracking branch 'origin/main' into release-4.9e5cd686Update package-lock.json8d40dc1Update package-lock.json5cfb3a2Only call return() for an abrupt completion in user code (#51297)a7a9d15Fix for broken baseline in yieldInForInInDownlevelGenerator (#51345)7f8426ffix for-in enumeration containing yield in generator (#51295)
See More
3d2b401Fix assertion functions accessed via wildcard imports (#51324)64d0d5afix(51301): Fixing an unused import at the end of a line removes the newline (#51320)754eeb2Update CodeQL workflow and configuration, fix found bugs (#51263)d8aad26Update package-lock.jsond4f26c8fix(51245): Class with parameter decorator in arrow function causes "convert to default export" refactoring failure (#51256)16faf45Update package-lock.json8b1ecdbfix(50654): "Move to a new file" breaks the declaration of referenced variable (#50681)170a17fDom update 2022-10-25 (#51300)9c4e14dRemove "No type information for this code" from baseline (#51311)88d25b4fix(50068): Refactors trigger debug failure when JSX text has a ' and a tag on the same line. (#51299)8bee69aUpdate package-lock.json702de1eFix early call to return/throw on generator (#51294)2c12b14Add a GH Action to file a new issue if we go a week without seeing a typescript-error-deltas issue (#51271)6af270dUpdate package-lock.json2cc4c16Update package-lock.json6093491Fix apparent typo in getStringMappingType (#51248)61c2609Update package-lock.jsonef69116Generate shortestrootDirsmodule specifier instead of first possible (#51244)bbb42f4Fix typo in canWatchDirectoryOrFile found by CodeQL (#51262)a56b254Include 'this' type parameter in isRelatedTo fast path (#51230)3abd351Fix super property transform in async arrow in method (#51240)eed0511Update package-lock.json2625c1fMake the init config category order predictable (#51247)1ca99b3fix(50551): Destructuring assignment with var bypasses "variable is used before being assigned" check (2454) (#50560)3f28fa1Update package-lock.json906ebe4Revert structuredTypeRelatedTo change and fix isUnitLikeType (#51076)8ac4652change type (#51231)245a02cfix(51222): Go-to-definition on return statements should jump to the containing function declaration (#51227)2dff34emarkAliasReferenced should include ExportValue as well (#51219)5ef2634Update package-lock.jsond0f0e35Remove old tslint comments (#51220)85d405aFixed a false positive "await has no effect on the type" diagnostic with mixed generic union (#50833)1f8959ffix: avoid downleveled dynamic import closing over specifier expression (#49663)11066b2Rename internal functions tonarrowTypeBySwitchOnTypeOfandnarrowTypeByInKeyword(#51215)4c9afe8Update package-lock.jsonf25bcb7fix(49196): add jsdoc snippet for interface member functions (#51135)7406ee9fix(51170): Completing an unimplemented property overwrites rest of line (#51175)a1d82fcRemove some unnecessary code discovered by rollup (#51204)0481773LEGO: Merge pull request 5120098c19cbLEGO: Merge pull request 5119013c9b05Update package-lock.json673475eUpdate package-lock.jsonf6cf510Add more tracing to node16/nodenext resolution (#51168)83c5581Update package-lock.jsonbe5f0feAdd an extra regression test for awaited unresolvable recursive union (#51167)2cb7e77fix(50416): correctly names disabled export refactors (#50663) [ #50416 ]2bcfed0feat(37440): Provide a quick-fix for non-exported types (#51038)a24201cRemove VSDevMode.ps1 and createPlaygroundBuild (#51166)2da62a7fix(51112): omit parameter names that precede the type (#51142)cf1b6b7feat(51163): show QF to fill in the missing properties for the mapped type. (#51165)bdcc240Remove bug-causing carve-out in conditional type instantiation that hopefully is no longer required (#51151)37317a2Check nested weak types in intersections on target side of relation (#51140)9f49f9cUpdate package-lock.json4f54e7eFix isExhaustiveSwitchStatement to better handle circularities (#51095)503604cOverloads shouldn't gain @deprecated tags of other overloads in quick info (#50904)e14a229Update package-lock.json67256e5Remove unused declarations array in extractSymbol's TargetRange (#51091)9c87dedfix(51100): ensure tsserver shuts down when parent process is killed (#51107)c01ae01Fix nightly publish oops in Gulpfile (#51131)a7d10f1Update package-lock.jsond0bfd8cfix(51072): ts.preProcessFile finds import in template string after conditional expression with template strings (#51082)ad56b5cConvert scripts/Gulpfile to checked mjs/cjs so they can run without compilation (#50988)dbeae5dfix(51017): Make lineText in the references response opt-out (#51081)d06a592Properly defer resolution of mapped types with genericasclauses (#51050)42b1049Update package-lock.json5f3e6ccPlugin probe location is higher priority than peer node_modules (#51079) [ #34616 ]2648f6aPlugins in project were adding up after every config file reload (#51087)c18791cFix incorrect options type to WatchOptions (#51064)b0795e9Update package-lock.json43c6fd4Covert some of the config testing to baselines for easy validation (#51063)fc5e72bRemove unused defaultWatchFileKind method since useFsEvents is default for tsserver and tsc (#51044)8af9a93Use typescript.d.ts in APISample tests (#51061)4953316Remove configureLanguageServiceBuild, instrumenter (#51048)9dfffd0Update GitHub Actions (#51045)4635a5cUpdate package-lock.json33a34e5Adding a JSDoc comment to the es5 type declarations to describe the functionality of Date.now() (#50630)299745cFix crash in goto-def on@override(#51016)7dcf11ffix(50750): Object type literal with string literal property in contextual typing position causes language service error on all literal type references (#50757)5cd49f6Update package-lock.json8a1b858Update package-lock.json96894dbInclude type parameter defaults in contextual typing (#50994) [ #51002 ]0d0a793Allow Unicode extended escapes in ES5 and earlier (#50918)58bae8dUpdate package-lock.json0ce72efAdd option to OrganizeImports for removal only (#50931)42f9143feat: codefix forfor await of(#50623)ecf50e8Properly computeSymbolFlags.Optionalfor intersected properties (#50958)d1586deFully resolve aliases when checking symbol flags (#50853)45148ddUpdate LKG to 4.8.4 (#50987)9a83f25Update package-lock.json865848fFix<=and>comparisons when compared against prerelease versions (#50915)fbfe934Fix comparability between type parameters related by a union constraint (#50978)b09e93dMerge pull request #50041 from microsoft/fix/479690ac12bbUpdate package-lock.json8192d55Pick correct compilerOptions when checking if we can share emitSignatures (#50910) [ #50902 ]16faef1During uptodate ness check with buildInfo, check if there are errors explicitly with noEmit (#50974) [ #50959 ]63791f5Update package-lock.json09368bcHandle if project for open file will get recollected because of pending cleanup from closed script info (#50908) [ #50868 ]c81bf4dfix(49594): Typescript 4.7.3 bracketed class property compilation error strictPropertyInitialization:true (#49619)bc9cbbeMerge pull request #49912 from microsoft/fix/475085a10f46Update package-lock.json8e71f42Fixing pr commentsc100c64Update package-lock.json2a91107Update package-lock.json4ab9e76Use paths in package.json 'files' array that work with npm 6 and later. (#50930)549b542Use paths in package.json 'files' array that work with npm 6 and later.7f37d25Update version to 4.9.1-beta and LKG.f16ca7dRemove 'async' dependency, used only in errorCheck.ts, modernize file (#50667)c6bef3fLEGO: Merge pull request 509216753027Update package-lock.json9740bccPluralizedhasInvalidatedResolution->hasInvalidatedResolutions(#50912)84c29cd🤖 Pick PR #50912 (Pluralized `hasInvalidatedResolutio...) into release-4.9 (#50913)a26f634Merge remote-tracking branch 'origin/main' into release-4.9a455955Make hasInvalidatedResolution non internal for program and add it watchApi (#50776) [ #48057 ]645d1cdFix assert in addIndirectUser in FAR (#50905)bbec17dLEGO: Merge pull request 50900a9ecc67Update package-lock.json221cf55package.jsonexportsshould have priority overtypesVersions(#50890)acb8977Remove .github/tsc.json (#50664)7a3de81fix(49993): skip the quick fix for an expression with an enum type (#50625)2644f28fix(49200): skip duplicated method declarations (#50609)98652a3Bump version to 4.9.0-beta and LKG.4d91204fix(37030): Expand Selection in function and arrow function skips body block (#50711)e2dd508DOM update 2022/09/21 (#50884)1d9ab83fix(50866): emit modifiers from export declarations (#50874)92a1b12LEGO: Merge pull request 50877e383db6Fix debug.ts __debugKind check (#50871)01054e0Consistently add undefined/missing to optional tuple element types (#50831)d90795eImprove escape sequence handling in private names (#50856)938a69aFix import statement completions followed by interface declaration (#50350)e002159feat(49962): Disallow comparison against NaN (#50626)80ae43dFixing spacesabc58bdFixing baseline errors305f4bdMerge branch 'main' into fix/4796923746affix(50591): RangeError: Maximum call stack size exceeded (#50594)168186fAllow a union property of a private/protected member and an intersection property including that same member (#50328)812ebcfUpdate package-lock.json16156b1Add rules from eslint's recommended set that triggered good lints (#50422)a11c416Improve checking ofinoperator (#50666)67f2b62Gabritto/jsemitfixsilly (#50849)3014decDon't elide imports when transforming JS files (#50404)57c7aa7LEGO: Merge pull request 5084248a8e89Improve check of whether type query node possibly contains reference to type parameter (#50070)af9ced1LEGO: Merge pull request 50825a8e13f7Fixed an issue with destructured bindings from a generic union constraint not being narrowed correctly (#50221)08af0b6Update package-lock.json0df46e8Fix test around RegExp match vs. exec results (#50813)906510eFixes for pr2970c5dmakeRegExpExecArrayalways include index 0 (#50713)0507192Accepting baselines29e50b3Rewording documentation01cae69fix(50796): omit questionToken in object literal method completions (#50802)3b84f76Fix crash caused by incorrect bounds check (regression in 4.8) (#50797)7e51306Update package-lock.json8b35c13The error "Object is possibly null or undefined" is ambiguous. (#49797)a3f51b3Update user baselines +cc @sandersn (#43554)ba10a0dRemoving duplicated codeec6ae1cPartially revert #41044, restoring parameter destructurings in d.ts files (#50779)28232caLEGO: Merge pull request 5078349cfa1dUpdate package-lock.json4110b80Fix equality narrowing and comparable relation for intersections with {} (#50735)b23f1d6LEGO: Merge pull request 50771618fb2dUpdate package-lock.json08b91f6fix(50717): tsc crashes when it sees a JSDoc tag inside an @override annotation (#50724)60963d7Discriminant of typenevershould never be matched (#50755)e37ea53Update package-lock.jsona88c366Fix test baselining for tsserver host timeouts (#50748)6d38487Fix workflow typo (#50746)6b890f9Handle more places where package direcroy is converted to canonical file path (#50740)f5f2923Revert removal of nonInferrableAnyType (#50691)7120b52Update twoslash workflow (#50738)68d526cDon't run linter after tests runs (#50597)8e5e2e0Fix backticks in our JSDoc comments (#50737)a4cabe7Support for auto-accessor fields from the Stage 3 Decorators proposal (#49705)7737473Update package-lock.json12ab0feUpdate package-lock.jsoneb40134Don't leave space for property access on non-integer literals (#50703)a70bb9dPreserve special intersections in mapped types (#50704)1a1c271Don't remove space before dot if in property access on numeric literal (#50695)7c918fbBaseline host state when baselining tsserver tests (#50678)2f1ba45Update LKG and devDep of typescript to v4.8.3 (#50689)be4e9baUpdate package-lock.jsonf46a680Remove error message in node16 (#50673)ab831d0Ignore--helpand-?intsc initgeneratedcompilerOptions(#50628)bb6f36fForward intersection state flag to conditional type target check (#50620)b58721fUpdate package-lock.json3c3820bSimplify CI detection (#50661)9ac1fceFix eslint not looking at certain scripts, fix lints (#50660)fd05c0cMake useFsEvents as default strategy for the watching (#50366)5c2f770Remove unused cancellation from build (#50658)66fbf05Update package-lock.json7910c50Update package-lock.jsonfd3a84cReport every instance of TS1208 (#50101)62f980aCheck if its same buildinfo only for directly referenced projects and not recursively (#50617) [ #50545 ]856c7c5Allow{}to narrow in same special cases asunknown(#50601)854d448inoperator shouldn't narrow{}originating inunknown(#50610)549e61dUpdate package-lock.jsonbcf9949fix(50079): show deprecated on JSX attributes (#50084)5df09a5Use bidirectional comparability in narrowing (#50592)891cdc5Remove unused baselines (#50593)6db2c88{} & null and {} & undefined should always be never (#50553)238c341Defer distributing index over generic object types (#50540)2983092Do not canonicalize the file names when getting absolute paths during nodenext resolution (#50557) [ #50544 ]dcade77Update package-lock.jsona9797d2fix(50340): typeof ... === "undefined" check on discriminated union of undefined and object type doesn't narrow correctly (#50344)43f8ae6Only normalize intersections that include {} (#50535)d293e72Rename API to importPlugin (#50554)cd312d3Managing control flow19defbfUpdate package-lock.jsonf071d30Move contributing related info out of README to CONTRIBUTING (#50543)488d0eeRetain name and propertyName in declaration emit copies of binding patterns if property name is a keyword (#50537)8b482b5Update package-lock.jsonc89f355Remove redundant pretest script (#50518)6d170b4Handle intersections in isGenericTypeWithoutNullableConstraint (#50497)ed6889cLEGO: Merge pull request 5050629cbfe9LEGO: Merge pull request 504936faa291LEGO: Merge pull request 5048471b2ba6Reuse computed type of condition expressions (#49881)8778c1dUpdate package-lock.json4579245fix(50427): allow convert function expressions (#50430)cbc0b17Push package-lock.json updates via typescript-bot token (#50476)bb3a7aefix(50415): Language server debug failure - Did not expect GetAccessor to have an Identifier in its trivia (#50470)3557092Rephrase error message to be 100% technically correct (#50471)71d1911add unknown to DateTimeFormatTypes (#50402)8f89599Don't include .gitattributes in package (#50475)6e8337eOptimize substitution types (#50397)226dd0bFix typechecking related lints that changed post 4.8, update LKG to 4.8.2 (#50472)164dddcfeat(7481): Operator to ensure an expression is contextually typed by, and satisfies, some type (#46827)0715791Update package-lock.jsone675ea8Remove AUTHORS.md, .mailmap, authors.ts script (#50410)38076dfFix auto import crash due to difference inpathshandling (#50419)12eb519fix(50435): Duplicate seeming Code Actions for convert const to let (#50442)a08b045Jsdoc property description (#50269) [ #47933 ]5ba22e0Remove top level loc folder (#50421)c4eb37cUpdate package-lock.json8d7ad8cfix(50375): Errors for missing enum-named properties should attempt to preserve names (#50382)fb717dfDiscard union types before considering weak type checks on unit-like types (#50423)b9a5bbcSyntax operations also need to ensure project is present for the open script infos since update could be pending to make sure open script info has project (#50418) [ #50131 ]1d4fbbbUpdate package-lock.json44ce3cffix(50224): Intellisense for strings within a type's Union doesn't work properly for JSX (#50231)6ee5db9Use package.json files array instead of .npmignore (#50408)
This list of changes was auto generated.