Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update all non-major dependencies #21

Merged
merged 1 commit into from Jan 21, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 21, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
postcss (source) 8.4.20 -> 8.4.21 age adoption passing confidence
prettier (source) 2.8.1 -> 2.8.3 age adoption passing confidence
typescript (source) 4.9.3 -> 4.9.4 age adoption passing confidence
vite (source) 4.0.0 -> 4.0.4 age adoption passing confidence
vue-tsc 1.0.11 -> 1.0.24 age adoption passing confidence

Release Notes

postcss/postcss

v8.4.21

Compare Source

  • Fixed Input#error types (by Aleks Hudochenkov).
prettier/prettier

v2.8.3

Compare Source

diff

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

Compare Source

diff

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)
{{! Input }}
<div />
<div></div>
<custom-component />
<custom-component></custom-component>
<i />
<i></i>
<Component />
<Component></Component>

{{! Prettier 2.8.1 }}
<div></div>
<div></div>
<custom-component></custom-component>
<custom-component></custom-component>
<i></i>
<i></i>
<Component />
<Component />

{{! Prettier 2.8.2 }}
<div />
<div></div>
<custom-component />
<custom-component></custom-component>
<i />
<i></i>
<Component />
<Component />
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.

{{! Input }}
{{#when isAtWork as |work|}}
  Ship that
  {{work}}!
{{else when isReading as |book|}}
  You can finish
  {{book}}
  eventually...
{{else}}
  Go to bed!
{{/when}}

{{! Prettier 2.8.1 }}
{{#when isAtWork as |work|}}
  Ship that
  {{work}}!
{{else when isReading}}
  You can finish
  {{book}}
  eventually...
{{else}}
  Go to bed!
{{/when}}

{{! Prettier 2.8.2 }}
{{#when isAtWork as |work|}}
  Ship that
  {{work}}!
{{else when isReading as |book|}}
  You can finish
  {{book}}
  eventually...
{{else}}
  Go to bed!
{{/when}}
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
@&#8203;variable: {
  field: something;
};

// Prettier 2.8.1
@&#8203;variable: {
  field: something;
}; ;

// Prettier 2.8.2
@&#8203;variable: {
  field: something;
};
Fix no space after unary minus when followed by opening parenthesis in LESS (#​14008 by @​mvorisek)
// Input
.unary_minus_single {
  margin: -(@&#8203;a);
}

.unary_minus_multi {
  margin: 0 -(@&#8203;a);
}

.binary_minus {
  margin: 0 - (@&#8203;a);
}

// Prettier 2.8.1
.unary_minus_single {
  margin: - (@&#8203;a);
}

.unary_minus_multi {
  margin: 0 - (@&#8203;a);
}

.binary_minus {
  margin: 0 - (@&#8203;a);
}

// Prettier 2.8.2
.unary_minus_single {
  margin: -(@&#8203;a);
}

.unary_minus_multi {
  margin: 0 -(@&#8203;a);
}

.binary_minus {
  margin: 0 - (@&#8203;a);
}
Do not change case of property name if inside a variable declaration in LESS (#​14034 by @​mvorisek)
// Input
@&#8203;var: {
  preserveCase: 0;
};

// Prettier 2.8.1
@&#8203;var: {
  preservecase: 0;
};

// Prettier 2.8.2
@&#8203;var: {
  preserveCase: 0;
};
Fix formatting for auto-accessors with comments (#​14038 by @​fisker)
// Input
class A {
  @&#8203;dec()
  // comment
  accessor b;
}

// Prettier 2.8.1
class A {
  @&#8203;dec()
  accessor // comment
  b;
}

// Prettier 2.8.1 (second format)
class A {
  @&#8203;dec()
  accessor; // comment
  b;
}

// Prettier 2.8.2
class A {
  @&#8203;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 with 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: @&#8203;colors[@&#8203;white];
}

// Prettier 2.8.1
a {
  color: @&#8203;colors[ @&#8203;white];
}

// Prettier 2.8.2
<Same as input>
Microsoft/TypeScript

v4.9.4: TypeScript 4.9.4

Compare Source

For release notes, check out the release announcement.

For the complete list of fixed issues, check out the

Downloads are available on:

Changes:

This list of changes was auto generated.

vitejs/vite

v4.0.4

Compare Source

v4.0.3

Compare Source

v4.0.2

Compare Source

v4.0.1

Compare Source

johnsoncodehk/volar

v1.0.24

Compare Source

  • feat: add vueCompilerOptions.macros setting for vue-macros plugins
  • feat(framework): expose FileCapabilities.full, FileRangeCapabilities.full, MirrorBehaviorCapabilities.full
  • feat: renamed normalizeComponentAutoImportName setting to normalizeComponentImportName
  • feat: support normalize component name for import statement completion (#​2286)
  • feat: normalize Index to folder name when normalizeComponentImportName enabled (https://github.com/johnsoncodehk/volar/issues/2071#issuecomment-1373701277)
  • feat: support update imports on multiple files move
  • fix(typescript-plugin): fixed Projects must list all files or use an 'include' pattern error (#​2271)
  • fix: language client sending parseSfc requests when not a vue document changed
  • fix: typescript actions not working for codeActionsOnSave setting (#​2188)
  • fix: fixed c is not iterable error edge case (#​2282)
  • fix: cannot select workspace tsdk on status bar with takeover mode
  • fix(plugin-api): cannot catch errors for getEmbeddedFileNames(), resolveEmbeddedFile()
  • fix(component-meta): cannot detection of slots in script-less SFC (#​2113)
  • perf(component-meta): resolve schema on demand (#​2288)
Platinum Sponsors
Gold Sponsors
Silver Sponsors

v1.0.22

Compare Source

  • fix: document folding ranges not working in .ts

v1.0.21

Compare Source

  • fix: cannot jump to .vue definition from .ts with takeover mode
  • fix: cannot detect @volar/vue-language-plugin-pug installed (#​2272)
  • fix: ignore incremental update for v-for expression (#​2266)
  • fix: auto insert spaces for {{}} not working
  • fix: completion in template inserts stray leading dot (#​2155)
  • fix: if source document EOL is \r\n, virtual document mapping decorations range incorrect

v1.0.20

Compare Source

  • feat: support browser navigation for embedded preview
  • feat: released pug extension (#​2274)
  • feat: add volar.takeOverMode.extension setting for choice extension that takeover *.ts language support
  • fix(typescript-vue-plugin): can't always get latest status of .vue files (#​2271)
  • fix: multi-line template interpolation formatting indentation incorrect
  • refactor(framework): simplify LanguageServerPlugin api and dependency injection connection (#​2273)
  • refactor(framework): combine createLanguageService and createDocumentService

v1.0.19

Compare Source

  • feat: add experimentalAdditionalLanguageModules option for vueCompilerOptions (#​2267)
  • fix: TS typescript/javascript.preferences.autoImportFileExcludePatterns setting not working
  • fix: formatting not working for extra vue file extensions (#​2263)
  • fix(doctor): accidentally report @vue/compiler-dom warning (#​2262)
  • fix(vue-component-meta): required property incorrect (#​2256)
  • fix(preview): cannot start preview if project never start run vite server (#​2223)
  • fix: references codeLens not working

v1.0.18

Compare Source

  • feat: check deprecated properties for vueCompilerOptions in tsconfig
  • fix: auto add spaces for {{}} not working if template block not at the top
  • fix: remove duplicate file watchers for .vue files
  • fix: auto complete randomly report [TS Error] { } and failed (#​2190)
  • fix: cross-file renaming cannot be performed consecutively
  • fix: should not report unknown tag error without strictTemplates enabled (#​2255)

v1.0.17

Compare Source

  • feat: support syntax highlighting for lang="json5" (#​2244)
  • feat: support for generating virtual file from multiple sources (#​2253)
  • feat: display mapping data on hover for virtual document
  • feat: re-support component semantic token (#​2252)
  • fix(vue-tsc): cannot resolve hook path from extends options
  • fix: fixed workspace configs caching not working edge case (#​2062)
  • fix: cannot find volar.config.js for sub folder tsconfig project
  • fix: emmet abbreviation suggestion keeps disappearing every third letter (#​2240)
  • fix: {{ }} colorizedBracketPairs not working (#​1759)
  • fix: fixed volar-base language servers executePluginCommand duplicate registration error
  • fix: avoid throw on un-exist workspace folder (#​2039)
  • fix: ignore class, style attrs when v-bind exist (#​2166)
  • fix: functional component type check not working when return type includes props property (#​2206)
  • fix: v-slot error when noPropertyAccessFromIndexSignature is enabled (#​2236)
  • fix: skipTemplateCodegen should ignore template slots emit (#​2237)
  • fix: recursive closing of html tag edge cases (#​2238) (#​2247)
  • fix: double quotes not allowed in attribute value (#​2250)
  • perf: embedded files on demand calculation not working

v1.0.16

Compare Source

  • feat(component-meta): make schema.ignore accept functions (#​2232)
  • feat: add volar.icon.splitEditors setting (#​2163)
  • feat: support twoslash queries in .ts when using takeover mode
  • fix: fixed typescript-vue-plugin performance regression (#​2228)
  • fix: deleting space for {{ |}} become {{ | }} (#​2222)
  • fix: dynamic slot name type <slot :name="(name as 'a' | 'b')" /> not working (#​2233)
  • fix: typed template slots missing when template only exist dynamic slots (#​2233)
  • fix: fixed template Type 'void' has no call signatures errors (#​2225)
  • fix(vue-tsc): shim vue-tsc/out/proxy.js for vite-plugin-checker (https://github.com/fi3ework/vite-plugin-checker/issues/193)
  • perf: rewrite typescript-vue-plugin for much better performance and fixed path resolve edge case (#​2137)

v1.0.14

Compare Source

  • feat: add angular language server example (#​2215)
  • feat(vue-tsc): support for hook api (#​2217)
  • feat: add vue-tsc-eslint-hook module to support use eslint in vue-tsc (#​2220)
  • feat: add setting volar.vueserver.maxFileSize (#​2186)
  • feat: add setting volar.doctor.checkVueTsc and disable by default (#​2186)
  • feat: add setting volar.vueserver.configFilePath (#​2078)
  • feat: auto add space between double curly brackets (#​2088)
  • feat: support formatting for style v-bind (#​2105)
  • fix: virtual code mapping ignored offset 0 (#​2052)
  • fix: auto complete ref value with '.value' not working (#​2203)
  • fix: template AST broken by slot name incremental update (#​2207)
  • fix: preview not working for Vite v4 (#​2198)

v1.0.13

Compare Source

  • feat(web-ide): show loading file at status bar
  • feat(web-ide): support node_modules types via CDN
  • feat(web-ide): support locale typescript diagnostic messages
  • fix(web-ide): cannot use default typescript lib types
  • fix(web-ide): cannot found match tsconfig
  • fix: volar.config.js plugins dirty cache between different tsconfig projects

v1.0.12

Compare Source

  • feat: added @volar/vscode-language-client package (#​2181)
  • fix: document content messed up randomly (#​1807)
  • fix: "Show Virtual Files" mapping background color unclear with light theme (#​2147) (#​2170)
  • fix: props type checking not working for Element Plus components (#​2176) (#​2180)
  • fix: attribute values being wrapped in parentheses while typing (#​2182)
  • fix: formatting crashes (#​2077)
  • fix: cannot emit component type with DefineComponent when template has slots (#​2161)

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.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

Copy link
Member

@gifaldyazkaa gifaldyazkaa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@gifaldyazkaa gifaldyazkaa merged commit f4139e0 into master Jan 21, 2023
@gifaldyazkaa gifaldyazkaa deleted the renovate/all-minor-patch branch January 21, 2023 11:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant