dominikg / tsconfck

A utility to find and parse tsconfig files without depending on typescript
Other
293 stars 14 forks source link

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

Closed renovate[bot] closed 2 years ago

renovate[bot] commented 2 years ago

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
esbuild ^0.14.1 -> ^0.14.2 age adoption passing confidence
eslint (source) ^8.3.0 -> ^8.4.0 age adoption passing confidence
prettier (source) ^2.5.0 -> ^2.5.1 age adoption passing confidence
tsup ^5.10.0 -> ^5.10.1 age adoption passing confidence

Release Notes

evanw/esbuild ### [`v0.14.2`](https://togithub.com/evanw/esbuild/blob/master/CHANGELOG.md#​0142) [Compare Source](https://togithub.com/evanw/esbuild/compare/v0.14.1...v0.14.2) - Add `[ext]` placeholder for path templates ([#​1799](https://togithub.com/evanw/esbuild/pull/1799)) This release adds the `[ext]` placeholder to the `--entry-names=`, `--chunk-names=`, and `--asset-names=` configuration options. The `[ext]` placeholder takes the value of the file extension without the leading `.`, and can be used to place output files with different file extensions into different folders. For example, `--asset-names=assets/[ext]/[name]-[hash]` might generate an output path of `assets/png/image-LSAMBFUD.png`. This feature was contributed by [@​LukeSheard](https://togithub.com/LukeSheard). - Disable star-to-clause transform for external imports ([#​1801](https://togithub.com/evanw/esbuild/issues/1801)) When bundling is enabled, esbuild automatically transforms `import * as x from 'y'; x.z()` into `import {z} as 'y'; z()` to improve tree shaking. This avoids needing to create the import namespace object `x` if it's unnecessary, which can result in the removal of large amounts of unused code. However, this transform shouldn't be done for external imports because that incorrectly changes the semantics of the import. If the export `z` doesn't exist in the previous example, the value `x.z` is a property access that is undefined at run-time, but the value `z` is an import error that will prevent the code from running entirely. This release fixes the problem by avoiding doing this transform for external imports: ```js // Original code import * as x from 'y'; x.z(); // Old output (with --bundle --format=esm --external:y) import { z } from "y"; z(); // New output (with --bundle --format=esm --external:y) import * as x from "y"; x.z(); ``` - Disable `calc()` transform for numbers with many fractional digits ([#​1821](https://togithub.com/evanw/esbuild/issues/1821)) Version 0.13.12 introduced simplification of `calc()` expressions in CSS when minifying. For example, `calc(100% / 4)` turns into `25%`. However, this is problematic for numbers with many fractional digits because either the number is printed with reduced precision, which is inaccurate, or the number is printed with full precision, which could be longer than the original expression. For example, turning `calc(100% / 3)` into `33.33333%` is inaccurate and turning it into `33.333333333333336%` likely isn't desired. In this release, minification of `calc()` is now disabled when any number in the result cannot be represented to full precision with at most five fractional digits. - Fix an edge case with `catch` scope handling ([#​1812](https://togithub.com/evanw/esbuild/issues/1812)) This release fixes a subtle edge case with `catch` scope and destructuring assignment. Identifiers in computed properties and/or default values inside the destructuring binding pattern should reference the outer scope, not the inner scope. The fix was to split the destructuring pattern into its own scope, separate from the `catch` body. Here's an example of code that was affected by this edge case: ```js // Original code let foo = 1 try { throw ['a', 'b'] } catch ({ [foo]: y }) { let foo = 2 assert(y === 'b') } // Old output (with --minify) let foo=1;try{throw["a","b"]}catch({[o]:t}){let o=2;assert(t==="b")} // New output (with --minify) let foo=1;try{throw["a","b"]}catch({[foo]:t}){let o=2;assert(t==="b")} ``` - Go 1.17.2 was upgraded to Go 1.17.4 The previous release was built with Go 1.17.2, but this release is built with Go 1.17.4. This is just a routine upgrade. There are no changes significant to esbuild outside of some security-related fixes to Go's HTTP stack (but you shouldn't be running esbuild's dev server in production anyway). One notable change related to this is that esbuild's publishing script now ensures that git's state is free of uncommitted and/or untracked files before building. Previously this wasn't the case because publishing esbuild involved changing the version number, running the publishing script, and committing at the end, which meant that files were uncommitted during the build process. I also typically had some untracked test files in the same directory during publishing (which is harmless). This matters because there's an upcoming change in Go 1.18 where the Go compiler will include metadata about whether there are untracked files or not when doing a build: [https://github.com/golang/go/issues/37475](https://togithub.com/golang/go/issues/37475). Changing esbuild's publishing script should mean that when esbuild upgrades to Go 1.18, esbuild's binary executables will be marked as being built off of a specific commit without any modifications. This is important for reproducibility. Checking out a specific esbuild commit and building it should give a bitwise-identical binary executable to one that I published. But if this metadata indicated that there were untracked files during the published build, then the resulting executable would no longer be bitwise-identical.
eslint/eslint ### [`v8.4.0`](https://togithub.com/eslint/eslint/releases/v8.4.0) [Compare Source](https://togithub.com/eslint/eslint/compare/v8.3.0...v8.4.0) ##### Features - [`5771663`](https://togithub.com/eslint/eslint/commit/5771663e8d3e86fec9454ee0af439c6989506bf3) feat: add `allowReserved` parser option ([#​15387](https://togithub.com/eslint/eslint/issues/15387)) (Milos Djermanovic) - [`32ac37a`](https://togithub.com/eslint/eslint/commit/32ac37a76b2e009a8f106229bc7732671d358189) feat: Flat config support in Linter (refs [#​13481](https://togithub.com/eslint/eslint/issues/13481)) ([#​15185](https://togithub.com/eslint/eslint/issues/15185)) (Nicholas C. Zakas) - [`d041f34`](https://togithub.com/eslint/eslint/commit/d041f345cdf0306f15faa2f305fe1d21ef137eb1) feat: Treat Class/New Expressions as truthy in no-constant-condition ([#​15326](https://togithub.com/eslint/eslint/issues/15326)) (Jordan Eldredge) - [`8f44cf5`](https://togithub.com/eslint/eslint/commit/8f44cf505765b663e371412ab57f0f1dbbe78513) feat: report only lines that exceed the limit in max-lines-per-function ([#​15140](https://togithub.com/eslint/eslint/issues/15140)) (Sneh Khatri) - [`808ad35`](https://togithub.com/eslint/eslint/commit/808ad35f204c838cd5eb8d766807dc43692f42f9) feat: pass cwd to formatters (refs [eslint/rfcs#​57](https://togithub.com/eslint/rfcs/issues/57)) ([#​13392](https://togithub.com/eslint/eslint/issues/13392)) (Toru Nagashima) - [`f1b7499`](https://togithub.com/eslint/eslint/commit/f1b7499a5162d3be918328ce496eb80692353a5a) feat: support async formatters ([#​15243](https://togithub.com/eslint/eslint/issues/15243)) (MO) ##### Bug Fixes - [`4940cc5`](https://togithub.com/eslint/eslint/commit/4940cc5c4903a691fe51d409137dd573c4c7706e) fix: mark --rulesdir option as deprecated in CLI docs ([#​15310](https://togithub.com/eslint/eslint/issues/15310)) (Kevin Partington) ##### Documentation - [`54deec5`](https://togithub.com/eslint/eslint/commit/54deec56bc25d516becaf767769ee7543f491d62) docs: update integrations.md ([#​15380](https://togithub.com/eslint/eslint/issues/15380)) (Vlad Sholokhov) - [`fa0423a`](https://togithub.com/eslint/eslint/commit/fa0423af7f8453f6c97b915b3b026f258b76a600) docs: fix typo in PR template ([#​15365](https://togithub.com/eslint/eslint/issues/15365)) (Nitin Kumar) - [`e233920`](https://togithub.com/eslint/eslint/commit/e233920857e282ba22116ad5f1dcc6dfabc8ef5b) docs: enable a few more markdownlint rules and fix violations ([#​15368](https://togithub.com/eslint/eslint/issues/15368)) (Bryan Mishkin) - [`632176d`](https://togithub.com/eslint/eslint/commit/632176dc43180ea4e7f99da429fee3ee3814a04d) docs: Dedent needlessly indented example in getter-return docs ([#​15363](https://togithub.com/eslint/eslint/issues/15363)) (Jordan Eldredge) - [`4497e88`](https://togithub.com/eslint/eslint/commit/4497e880248c24dc19eea8a5466555b847c0c7eb) docs: Update release notes blog post template ([#​15285](https://togithub.com/eslint/eslint/issues/15285)) (Nicholas C. Zakas) ##### Chores - [`efede90`](https://togithub.com/eslint/eslint/commit/efede90d59edc5cca9cd739df7e98f1ff00ca37d) chore: upgrade [@​eslint/eslintrc](https://togithub.com/eslint/eslintrc)[@​1](https://togithub.com/1).0.5 ([#​15389](https://togithub.com/eslint/eslint/issues/15389)) (Milos Djermanovic) - [`0b8c846`](https://togithub.com/eslint/eslint/commit/0b8c846c77234125fbb211980bc1e62dc8791513) chore: fix update-readme to avoid multiple consecutive blank lines ([#​15375](https://togithub.com/eslint/eslint/issues/15375)) (Milos Djermanovic) - [`94b2a8b`](https://togithub.com/eslint/eslint/commit/94b2a8b3d1f7d139dd6b06216a64727b7d5f009b) chore: Use default Chromium binary in M1 Mac tests ([#​15371](https://togithub.com/eslint/eslint/issues/15371)) (Brandon Mills) - [`ba58d94`](https://togithub.com/eslint/eslint/commit/ba58d94cb51d4d2644c024446d5750eaf4853129) ci: use node `v16` for Verify Files ([#​15364](https://togithub.com/eslint/eslint/issues/15364)) (Nitin Kumar) - [`1e32ee5`](https://togithub.com/eslint/eslint/commit/1e32ee591e978188b121604d0af9cbc04a50a3b5) chore: add jsdoc type annotation to rules ([#​15291](https://togithub.com/eslint/eslint/issues/15291)) (Bryan Mishkin)
prettier/prettier ### [`v2.5.1`](https://togithub.com/prettier/prettier/blob/master/CHANGELOG.md#​251) [Compare Source](https://togithub.com/prettier/prettier/compare/2.5.0...2.5.1) [diff](https://togithub.com/prettier/prettier/compare/2.5.0...2.5.1) ##### Improve formatting for empty tuple types ([#​11884](https://togithub.com/prettier/prettier/pull/11884) by [@​sosukesuzuki](https://togithub.com/sosukesuzuki)) ```tsx // Input type Foo = Foooooooooooooooooooooooooooooooooooooooooooooooooooooooooo extends [] ? Foo3 : Foo4; // Prettier 2.5.0 type Foo = Foooooooooooooooooooooooooooooooooooooooooooooooooooooooooo extends [ ] ? Foo3 : Foo4; // Prettier 2.5.0 (tailingCommma = all) // Invalid TypeScript code type Foo = Foooooooooooooooooooooooooooooooooooooooooooooooooooooooooo extends [ , ] ? Foo3 : Foo4; // Prettier 2.5.1 type Foo = Foooooooooooooooooooooooooooooooooooooooooooooooooooooooooo extends [] ? Foo3 : Foo4; ``` ##### Fix compatibility with Jest inline snapshot test ([#​11892](https://togithub.com/prettier/prettier/pull/11892) by [@​fisker](https://togithub.com/fisker)) A internal change in Prettier@v2.5.0 accidentally breaks the Jest inline snapshot test. ##### Support Glimmer's named blocks ([#​11899](https://togithub.com/prettier/prettier/pull/11899) by [@​duailibe](https://togithub.com/duailibe)) Prettier already supported this feature, but it converted empty named blocks to self-closing, which is not supported by the Glimmer compiler. See: [Glimmer's named blocks](https://emberjs.github.io/rfcs/0460-yieldable-named-blocks.html). ```hbs // Input <:named> // Prettier 2.5.0 <:named /> // Prettier 2.5.1 <:named> ```
egoist/tsup ### [`v5.10.1`](https://togithub.com/egoist/tsup/releases/v5.10.1) [Compare Source](https://togithub.com/egoist/tsup/compare/v5.10.0...v5.10.1) ##### Bug Fixes - only use esm shim for node platform ([#​475](https://togithub.com/egoist/tsup/issues/475)) ([29dcb8e](https://togithub.com/egoist/tsup/commit/29dcb8ea898560b0f036275fb2721cd7467ce4da)) - Preserve usused imports when esbuild transforms ts in svelte ([#​476](https://togithub.com/egoist/tsup/issues/476)) ([1056575](https://togithub.com/egoist/tsup/commit/10565759ed37058835ee9b7e3222df67435c95a1)) - shim `__dirname`, `__filename` in esm bundle ([d0870dd](https://togithub.com/egoist/tsup/commit/d0870dd3bdf939d03d577355de8f56583c8be403)) - **svelte:** handle `lang="ts"` ([ab5829d](https://togithub.com/egoist/tsup/commit/ab5829d44c126769ddba43255d819bc32dfa246a))

Configuration

📅 Schedule: "before 3am on Monday" (UTC).

🚦 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.



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