technologiestiftung / odis-geoexplorer-data

All data related scripts for Geoexplorer - a AI-driven search application for Berlin's geo data.
https://github.com/technologiestiftung/odis-geoexplorer
MIT License
0 stars 0 forks source link

chore(deps): update devdependencies-major (major) #8

Open renovate[bot] opened 3 months ago

renovate[bot] commented 3 months ago

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@types/mdast (source) ^3.0.11 -> ^4.0.0 age adoption passing confidence
prettier (source) ^2.8.7 -> ^3.0.0 age adoption passing confidence
tsx (source) ^3.12.6 -> ^4.0.0 age adoption passing confidence

Release Notes

prettier/prettier (prettier) ### [`v3.3.3`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#333) [Compare Source](https://togithub.com/prettier/prettier/compare/3.3.2...3.3.3) [diff](https://togithub.com/prettier/prettier/compare/3.3.2...3.3.3) ##### Add parentheses for nullish coalescing in ternary ([#​16391](https://togithub.com/prettier/prettier/pull/16391) by [@​cdignam-segment](https://togithub.com/cdignam-segment)) This change adds clarity to operator precedence. ```js // Input foo ? bar ?? foo : baz; foo ?? bar ? a : b; a ? b : foo ?? bar; // Prettier 3.3.2 foo ? bar ?? foo : baz; foo ?? bar ? a : b; a ? b : foo ?? bar; // Prettier 3.3.3 foo ? (bar ?? foo) : baz; (foo ?? bar) ? a : b; a ? b : (foo ?? bar); ``` ##### Add parentheses for decorator expressions ([#​16458](https://togithub.com/prettier/prettier/pull/16458) by [@​y-schneider](https://togithub.com/y-schneider)) Prevent parentheses around member expressions or tagged template literals from being removed to follow the stricter parsing rules of TypeScript 5.5. ```ts // Input @​(foo`tagged template`) class X {} // Prettier 3.3.2 @​foo`tagged template` class X {} // Prettier 3.3.3 @​(foo`tagged template`) class X {} ``` ##### Support `@let` declaration syntax ([#​16474](https://togithub.com/prettier/prettier/pull/16474) by [@​sosukesuzuki](https://togithub.com/sosukesuzuki)) Adds support for Angular v18 `@let` declaration syntax. Please see the following code example. The `@let` declaration allows you to define local variables within the template: ```html @​let name = 'Frodo';

Dashboard for {{name}}

Hello, {{name}} ``` For more details, please refer to the excellent blog post by the Angular Team: [Introducing @​let in Angular](https://blog.angular.dev/introducing-let-in-angular-686f9f383f0f). We also appreciate the Angular Team for kindly answering our questions to implement this feature. ### [`v3.3.2`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#332) [Compare Source](https://togithub.com/prettier/prettier/compare/3.3.1...3.3.2) [diff](https://togithub.com/prettier/prettier/compare/3.3.1...3.3.2) ##### Fix handlebars path expressions starts with `@` ([#​16358](https://togithub.com/prettier/prettier/pull/16358) by [@​Princeyadav05](https://togithub.com/Princeyadav05)) ```hbs {{! Input }}
{{@​x.y.z}}
{{! Prettier 3.3.1 }}
{{@​x}}
{{! Prettier 3.3.2 }}
{{@​x.y.z}}
``` ### [`v3.3.1`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#331) [Compare Source](https://togithub.com/prettier/prettier/compare/3.3.0...3.3.1) [diff](https://togithub.com/prettier/prettier/compare/3.3.0...3.3.1) ##### Preserve empty lines in front matter ([#​16347](https://togithub.com/prettier/prettier/pull/16347) by [@​fisker](https://togithub.com/fisker)) ```markdown --- foo: - bar1 - bar2 - bar3 --- Markdown --- foo: - bar1 - bar2 - bar3 --- Markdown --- foo: - bar1 - bar2 - bar3 --- Markdown ``` ##### Preserve explicit language in front matter ([#​16348](https://togithub.com/prettier/prettier/pull/16348) by [@​fisker](https://togithub.com/fisker)) ```markdown ---yaml title: Hello slug: home --- --- title: Hello slug: home --- ---yaml title: Hello slug: home --- ``` ##### Avoid line breaks in import attributes ([#​16349](https://togithub.com/prettier/prettier/pull/16349) by [@​fisker](https://togithub.com/fisker)) ```jsx // Input import something from "./some-very-very-very-very-very-very-very-very-long-path.json" with { type: "json" }; // Prettier 3.3.0 import something from "./some-very-very-very-very-very-very-very-very-long-path.json" with { type: "json" }; // Prettier 3.3.1 import something from "./some-very-very-very-very-very-very-very-very-long-path.json" with { type: "json" }; ``` ### [`v3.3.0`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#330) [Compare Source](https://togithub.com/prettier/prettier/compare/3.2.5...3.3.0) [diff](https://togithub.com/prettier/prettier/compare/3.2.5...3.3.0) πŸ”— [Release Notes](https://prettier.io/blog/2024/06/01/3.3.0.html) ### [`v3.2.5`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#325) [Compare Source](https://togithub.com/prettier/prettier/compare/3.2.4...3.2.5) [diff](https://togithub.com/prettier/prettier/compare/3.2.4...3.2.5) ##### Support Angular inline styles as single template literal ([#​15968](https://togithub.com/prettier/prettier/pull/15968) by [@​sosukesuzuki](https://togithub.com/sosukesuzuki)) [Angular v17](https://blog.angular.io/introducing-angular-v17-4d7033312e4b) supports single string inline styles. ```ts // Input @​Component({ template: `
...
`, styles: `h1 { color: blue; }`, }) export class AppComponent {} // Prettier 3.2.4 @​Component({ template: `
...
`, styles: `h1 { color: blue; }`, }) export class AppComponent {} // Prettier 3.2.5 @​Component({ template: `
...
`, styles: ` h1 { color: blue; } `, }) export class AppComponent {} ``` ##### Unexpected embedded formatting for Angular template ([#​15969](https://togithub.com/prettier/prettier/pull/15969) by [@​JounQin](https://togithub.com/JounQin)) Computed template should not be considered as Angular component template ```ts // Input const template = "foobar"; @​Component({ [template]: `

{{ hello }}

`, }) export class AppComponent {} // Prettier 3.2.4 const template = "foobar"; @​Component({ [template]: `

{{ hello }}

`, }) export class AppComponent {} // Prettier 3.2.5 const template = "foobar"; @​Component({ [template]: `

{{ hello }}

`, }) export class AppComponent {} ``` ##### Use `"json"` parser for `tsconfig.json` by default ([#​16012](https://togithub.com/prettier/prettier/pull/16012) by [@​sosukesuzuki](https://togithub.com/sosukesuzuki)) In [v2.3.0](https://prettier.io/blog/2024/01/12/3.2.0#new-jsonc-parser-added-15831httpsgithubcomprettierprettierpull15831-by-fiskerhttpsgithubcomfisker), we introduced `"jsonc"` parser which adds trialing comma **by default**. When adding a new parser we also define how it will be used based on the [`linguist-languages`](https://www.npmjs.com/package/linguist-languages) data. `tsconfig.json` is a special file used by [TypeScript](https://www.typescriptlang.org/docs/handbook/tsconfig-json.html#using-tsconfigjson-or-jsconfigjson), it uses `.json` file extension, but it actually uses the [JSON with Comments](https://code.visualstudio.com/docs/languages/json#\_json-with-comments) syntax. However, we found that there are many third-party tools not recognize it correctly because of the confusing `.json` file extension. We decide to treat it as a JSON file for now to avoid the extra configuration step. To keep using the `"jsonc"` parser for your `tsconfig.json` files, add the following to your `.pretterrc` file ```json { "overrides": [ { "files": ["tsconfig.json", "jsconfig.json"], "options": { "parser": "jsonc" } } ] } ``` ``` ``` ### [`v3.2.4`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#324) [Compare Source](https://togithub.com/prettier/prettier/compare/3.2.3...3.2.4) [diff](https://togithub.com/prettier/prettier/compare/3.2.3...3.2.4) ##### Fix incorrect parser inference ([#​15947](https://togithub.com/prettier/prettier/pull/15947) by [@​fisker](https://togithub.com/fisker)) Files like `.eslintrc.json` were incorrectly formatted as JSONC files. ```jsx // Input prettier --file-info .eslintrc.json { "ignored": false, "inferredParser": "jsonc" } // Prettier 3.2.4 prettier --file-info .eslintrc.json { "ignored": false, "inferredParser": "json" } ``` ### [`v3.2.3`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#323) [Compare Source](https://togithub.com/prettier/prettier/compare/3.2.2...3.2.3) [diff](https://togithub.com/prettier/prettier/compare/3.2.2...3.2.3) ##### Throw errors for invalid code ([#​15881](https://togithub.com/prettier/prettier/pull/15881) by [@​fisker](https://togithub.com/fisker), [@​Josh-Cena](https://togithub.com/Josh-Cena), [@​auvred](https://togithub.com/auvred)) ```ts // Input 1++; // Prettier 3.2.2 1++; // Prettier 3.2.3 SyntaxError: Invalid left-hand side expression in unary operation (1:1) > 1 | 1++; | ^ ``` ```ts // Input try {} catch (error = 1){} // Prettier 3.2.2 try { } catch (error) {} // Prettier 3.2.3 SyntaxError: Catch clause variable cannot have an initializer. (1:23) > 1 | try {} catch (error = 1){} | ^ ``` ##### Fix parser inference ([#​15927](https://togithub.com/prettier/prettier/pull/15927) by [@​fisker](https://togithub.com/fisker)) ```console // Prettier 3.2.2 prettier --file-info tsconfig.json { "ignored": false, "inferredParser": "json" } // Prettier 3.2.3 prettier --file-info tsconfig.json { "ignored": false, "inferredParser": "jsonc" } ``` ### [`v3.2.2`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#322) [Compare Source](https://togithub.com/prettier/prettier/compare/3.2.1...3.2.2) [diff](https://togithub.com/prettier/prettier/compare/3.2.1...3.2.2) ##### Fix crash when parsing template literal CSS in a JSX style tag using a spread attribute ([#​15896](https://togithub.com/prettier/prettier/pull/15896) by [@​eelco](https://togithub.com/eelco)) For example this code would crash before: ```jsx ``` ##### Fix formatting error on optional call expression and member chain ([#​15920](https://togithub.com/prettier/prettier/pull/15920) by [@​sosukesuzuki](https://togithub.com/sosukesuzuki)) ```jsx // Input a(() => {}, c?.d()); // Prettier 3.2.1 TypeError: Cannot read properties of undefined (reading 'type') // Prettier 3.2.2 a(() => {}, c?.d()); ``` ### [`v3.2.1`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#321) [Compare Source](https://togithub.com/prettier/prettier/compare/3.2.0...3.2.1) [diff](https://togithub.com/prettier/prettier/compare/3.2.0...3.2.1) ##### Fix formatting error on member chain ([#​15915](https://togithub.com/prettier/prettier/pull/15915) by [@​sosukesuzuki](https://togithub.com/sosukesuzuki)) ```jsx // Input test().test2().test2(thing?.something); // Prettier 3.2.0 TypeError: Cannot read properties of undefined (reading 'type') // Prettier 3.2.1 test().test2().test2(thing?.something); ``` ### [`v3.2.0`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#320) [Compare Source](https://togithub.com/prettier/prettier/compare/3.1.1...3.2.0) [diff](https://togithub.com/prettier/prettier/compare/3.1.1...3.2.0) πŸ”— [Release Notes](https://prettier.io/blog/2024/01/13/3.2.0.html) ### [`v3.1.1`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#311) [Compare Source](https://togithub.com/prettier/prettier/compare/3.1.0...3.1.1) [diff](https://togithub.com/prettier/prettier/compare/3.1.0...3.1.1) ##### Fix config file search ([#​15363](https://togithub.com/prettier/prettier/pull/15363) by [@​fisker](https://togithub.com/fisker)) Previously, we start search for config files from the filePath as a directory, if it happened to be a directory and contains config file, it will be used by mistake. ```text β”œβ”€ .prettierrc └─ test.js (A directory) └─ .prettierrc ``` ```js // Prettier 3.1.0 await prettier.resolveConfigFile(new URL("./test.js", import.meta.url)); // /test.js/.prettierrc // Prettier 3.1.1 await prettier.resolveConfigFile(new URL("./test.js", import.meta.url)); // /.prettierrc ``` ##### Skip explicitly passed symbolic links with `--no-error-on-unmatched-pattern` ([#​15533](https://togithub.com/prettier/prettier/pull/15533) by [@​sanmai-NL](https://togithub.com/sanmai-NL)) Since Prettier v3, we stopped following symbolic links, however in some use cases, the symbolic link patterns can't be filtered out, and there is no way to prevent Prettier from throwing errors. In Prettier 3.1.1, you can use `--no-error-on-unmatched-pattern` to simply skip symbolic links. ##### Consistently use tabs in ternaries when `useTabs` is `true` ([#​15662](https://togithub.com/prettier/prettier/pull/15662) by [@​auvred](https://togithub.com/auvred)) ```jsx // Input aaaaaaaaaaaaaaa ? bbbbbbbbbbbbbbbbbb : ccccccccccccccc ? ddddddddddddddd : eeeeeeeeeeeeeee ? fffffffffffffff : gggggggggggggggg; // Prettier 3.1.0 aaaaaaaaaaaaaaa ? bbbbbbbbbbbbbbbbbb : ccccccccccccccc ? ddddddddddddddd : eeeeeeeeeeeeeee ? fffffffffffffff : gggggggggggggggg; // Prettier 3.1.1 aaaaaaaaaaaaaaa ? bbbbbbbbbbbbbbbbbb : ccccccccccccccc ? ddddddddddddddd : eeeeeeeeeeeeeee ? fffffffffffffff : gggggggggggggggg; ``` ##### Improve config file search ([#​15663](https://togithub.com/prettier/prettier/pull/15663) by [@​fisker](https://togithub.com/fisker)) The Prettier config file search performance has been improved by more effective cache strategy. ##### Fix unstable and ugly formatting for comments in destructuring patterns ([#​15708](https://togithub.com/prettier/prettier/pull/15708) by [@​sosukesuzuki](https://togithub.com/sosukesuzuki)) ```tsx // Input const { foo, // bar // baz }: Foo = expr; // Prettier 3.1.0 const { foo1, } // bar // baz : Foo = expr; // Prettier 3.1.0 second output const { foo1, // bar } // baz : Foo = expr; // Prettier 3.1.1 const { foo1, // bar // baz }: Foo = expr; ``` ##### Support "Import Attributes" ([#​15718](https://togithub.com/prettier/prettier/pull/15718) by [@​fisker](https://togithub.com/fisker)) [TypeScript 5.3](https://devblogs.microsoft.com/typescript/announcing-typescript-5-3/#import-attributes) supports the latest updates to the [import attributes](https://togithub.com/tc39/proposal-import-attributes) proposal. ```tsx import something from "./something.json" with { type: "json" }; ``` ##### Fix false claim in docs that cursorOffset is incompatible with rangeStart/rangeEnd ([#​15750](https://togithub.com/prettier/prettier/pull/15750) by [@​ExplodingCabbage](https://togithub.com/ExplodingCabbage)) The cursorOffset option has in fact been compatible with rangeStart/rangeEnd for over 5 years, thanks to work by [@​ds300](https://togithub.com/ds300). However, Prettier's documentation (including the CLI `--help` text) continued to claim otherwise, falsely. The documentation is now fixed. ##### Keep curly braces and `from` keyword in empty `import` statements ([#​15756](https://togithub.com/prettier/prettier/pull/15756) by [@​fisker](https://togithub.com/fisker)) ```js // Input import { } from 'foo'; import { /* comment */ } from 'bar'; // Prettier 3.1.0 import {} from "foo"; import /* comment */ "bar"; // Prettier 3.1.1 import {} from "foo"; import {} from /* comment */ "bar"; ``` ##### Keep empty import attributes and assertions ([#​15757](https://togithub.com/prettier/prettier/pull/15757) by [@​fisker](https://togithub.com/fisker)) ```js // Input import foo from "foo" with {}; import bar from "bar" assert {}; // Prettier 3.1.0 import foo from "foo"; import bar from "bar"; // Prettier 3.1.1 import foo from "foo" with {}; import bar from "bar" assert {}; ``` ### [`v3.1.0`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#310) [Compare Source](https://togithub.com/prettier/prettier/compare/3.0.3...3.1.0) [diff](https://togithub.com/prettier/prettier/compare/3.0.3...3.1.0) πŸ”— [Release Notes](https://prettier.io/blog/2023/11/13/3.1.0.html) ### [`v3.0.3`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#303) [Compare Source](https://togithub.com/prettier/prettier/compare/3.0.2...3.0.3) [diff](https://togithub.com/prettier/prettier/compare/3.0.2...3.0.3) ##### Add `preferUnplugged: true` to `package.json` ([#​15169](https://togithub.com/prettier/prettier/pull/15169) by [@​fisker](https://togithub.com/fisker) and [@​so1ve](https://togithub.com/so1ve)) Prettier v3 uses dynamic imports, user [will need to unplug Prettier](https://togithub.com/yarnpkg/berry/pull/5411#issuecomment-1523502224) when Yarn's PnP mode is enabled, add [`preferUnplugged: true`](https://yarnpkg.com/configuration/manifest#preferUnplugged) to `package.json`, so Yarn will install Prettier as unplug by default. ##### Support shared config that forbids `require()` ([#​15233](https://togithub.com/prettier/prettier/pull/15233) by [@​fisker](https://togithub.com/fisker)) If an external shared config package is used, and the package `exports` don't have `require` or `default` export. In Prettier 3.0.2 Prettier fails when attempt to `require()` the package, and throws an error. ```text Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: No "exports" main defined in /package.json ``` ##### Allow argument of `require()` to break ([#​15256](https://togithub.com/prettier/prettier/pull/15256) by [@​fisker](https://togithub.com/fisker)) ```jsx // Input const plugin = require( global.STANDALONE ? path.join(__dirname, "../standalone.js") : path.join(__dirname, "..") ); // Prettier 3.0.2 const plugin = require(global.STANDALONE ? path.join(__dirname, "../standalone.js") : path.join(__dirname, "..")); // Prettier 3.0.3 const plugin = require( global.STANDALONE ? path.join(__dirname, "../standalone.js") : path.join(__dirname, "..") ); ``` ##### Do not print trailing commas in arrow function type parameter lists in `ts` code blocks ([#​15286](https://togithub.com/prettier/prettier/pull/15286) by [@​sosukesuzuki](https://togithub.com/sosukesuzuki)) ````md ```ts const foo = () => {} ``` ```ts const foo = () => {} ``` ```ts const foo = () => {} ``` ```` ##### Support TypeScript 5.2 `using` / `await using` declaration ([#​15321](https://togithub.com/prettier/prettier/pull/15321) by [@​sosukesuzuki](https://togithub.com/sosukesuzuki)) Support for the upcoming Explicit Resource Management feature in ECMAScript. [`using` / `await using` declaration](https://devblogs.microsoft.com/typescript/announcing-typescript-5-2/#using-declarations-and-explicit-resource-management) ```tsx { using foo = new Foo(); await using bar = new Bar(); } ``` ### [`v3.0.2`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#302) [Compare Source](https://togithub.com/prettier/prettier/compare/3.0.1...3.0.2) [diff](https://togithub.com/prettier/prettier/compare/3.0.1...3.0.2) ##### Break after `=` of assignment if RHS is poorly breakable AwaitExpression or YieldExpression ([#​15204](https://togithub.com/prettier/prettier/pull/15204) by [@​seiyab](https://togithub.com/seiyab)) ```js // Input const { section, rubric, authors, tags } = await utils.upsertCommonData(mainData); // Prettier 3.0.1 const { section, rubric, authors, tags } = await utils.upsertCommonData( mainData, ); // Prettier 3.0.2 const { section, rubric, authors, tags } = await utils.upsertCommonData(mainData); ``` ##### Do not add trailing comma for grouped scss comments ([#​15217](https://togithub.com/prettier/prettier/pull/15217) by [@​auvred](https://togithub.com/auvred)) ```scss /* Input */ $foo: ( 'property': (), // comment 1 // comment 2 ) /* Prettier 3.0.1 */ $foo: ( "property": (), // comment 1 // comment 2, ); /* Prettier 3.0.2 */ $foo: ( "property": (), // comment 1 // comment 2 ); ``` ##### Print `declare` and `export` keywords for nested namespace ([#​15249](https://togithub.com/prettier/prettier/pull/15249) by [@​sosukesuzuki](https://togithub.com/sosukesuzuki)) ```tsx // Input declare namespace abc1.def {} export namespace abc2.def {} // Prettier 3.0.1 namespace abc1.def {} namespace abc2.def {} // Prettier 3.0.2 declare namespace abc1.def {} export namespace abc2.def {} ``` ### [`v3.0.1`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#301) [Compare Source](https://togithub.com/prettier/prettier/compare/3.0.0...3.0.1) [diff](https://togithub.com/prettier/prettier/compare/3.0.0...3.0.1) ##### Fix cursor positioning for a special case ([#​14812](https://togithub.com/prettier/prettier/pull/14812) by [@​fisker](https://togithub.com/fisker)) ```js // <|> is the cursor position /* Input */ // All messages are represented in JSON. // So, the prettier.py controls a subprocess which spawns "node {this_file}". import {<|> } from "fs" /* Prettier 3.0.0 */ // All messages are represented in JSON. // So, the prettier.py <|>controls a subprocess which spawns "node {this_file}". import {} from "fs" /* Prettier 3.0.1 */ // All messages are represented in JSON. // So, the prettier.py controls a subprocess which spawns "node {this_file}". import {<|>} from "fs" ``` ##### Fix plugins/estree.d.ts to make it a module ([#​15018](https://togithub.com/prettier/prettier/pull/15018) by [@​kingyue737](https://togithub.com/kingyue737)) Add `export {}` in `plugins/estree.d.ts` to fix the "File is not a module" error ##### Add parenthesis around leading multiline comment in return statement ([#​15037](https://togithub.com/prettier/prettier/pull/15037) by [@​auvred](https://togithub.com/auvred)) ```jsx // Input function fn() { return ( /** * @​type {...} */ expresssion ) } // Prettier 3.0.0 function fn() { return /** * @​type {...} */ expresssion; } // Prettier 3.0.1 function fn() { return ( /** * @​type {...} */ expresssion ); } ``` ##### Add support for Vue "Generic Components" ([#​15066](https://togithub.com/prettier/prettier/pull/15066) by [@​auvred](https://togithub.com/auvred)) https://blog.vuejs.org/posts/vue-3-3#generic-components ```vue ``` ##### Fix comments print in `IfStatement` ([#​15076](https://togithub.com/prettier/prettier/pull/15076) by [@​fisker](https://togithub.com/fisker)) ```js function a(b) { if (b) return 1; // comment else return 2; } /* Prettier 3.0.0 */ Error: Comment "comment" was not printed. Please report this error! /* Prettier 3.0.1 */ function a(b) { if (b) return 1; // comment else return 2; } ``` ##### Add missing type definition for `printer.preprocess` ([#​15123](https://togithub.com/prettier/prettier/pull/15123) by [@​so1ve](https://togithub.com/so1ve)) ```diff export interface Printer { // ... + preprocess?: + | ((ast: T, options: ParserOptions) => T | Promise) + | undefined; } ``` ##### Add missing `getVisitorKeys` method type definition for `Printer` ([#​15125](https://togithub.com/prettier/prettier/pull/15125) by [@​auvred](https://togithub.com/auvred)) ```tsx const printer: Printer = { print: () => [], getVisitorKeys(node, nonTraversableKeys) { return ["body"]; }, }; ``` ##### Add typing to support `readonly` array properties of AST Node ([#​15127](https://togithub.com/prettier/prettier/pull/15127) by [@​auvred](https://togithub.com/auvred)) ```tsx // Input interface TestNode { readonlyArray: readonly string[]; } declare const path: AstPath; path.map(() => "", "readonlyArray"); // Prettier 3.0.0 interface TestNode { readonlyArray: readonly string[]; } declare const path: AstPath; path.map(() => "", "readonlyArray"); // ^ Argument of type '"readonlyArray"' is not assignable to parameter of type '"regularArray"'. ts(2345) // Prettier 3.0.1 interface TestNode { readonlyArray: readonly string[]; } declare const path: AstPath; path.map(() => "", "readonlyArray"); ``` ##### Add space before unary minus followed by a function call ([#​15129](https://togithub.com/prettier/prettier/pull/15129) by [@​pamelalozano](https://togithub.com/pamelalozano)) ```less // Input div { margin: - func(); } // Prettier 3.0.0 div { margin: -func(); } // Prettier 3.0.1 div { margin: - func(); } ``` ### [`v3.0.0`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#300) [Compare Source](https://togithub.com/prettier/prettier/compare/2.8.8...3.0.0) [diff](https://togithub.com/prettier/prettier/compare/3.0.0-alpha.6...3.0.0) πŸ”— [Release Notes](https://prettier.io/blog/2023/07/05/3.0.0.html)
privatenumber/tsx (tsx) ### [`v4.19.0`](https://togithub.com/privatenumber/tsx/compare/v4.18.0...157c3ec6bcf0b0a5e387080576404c00f7fd662f) [Compare Source](https://togithub.com/privatenumber/tsx/compare/v4.18.0...v4.19.0) ### [`v4.18.0`](https://togithub.com/privatenumber/tsx/compare/v4.17.1...474ea71ff9c9cbd2d3a5dbe0951f2c2d92f2e26a) [Compare Source](https://togithub.com/privatenumber/tsx/compare/v4.17.1...v4.18.0) ### [`v4.17.1`](https://togithub.com/privatenumber/tsx/compare/v4.17.0...af370e7af4837cf3db069c3ee1758c90f94f7d32) [Compare Source](https://togithub.com/privatenumber/tsx/compare/v4.17.0...v4.17.1) ### [`v4.17.0`](https://togithub.com/privatenumber/tsx/compare/v4.16.5...bd83d3bf59e39767ec64eec86fe5b48a8e50b991) [Compare Source](https://togithub.com/privatenumber/tsx/compare/v4.16.5...v4.17.0) ### [`v4.16.5`](https://togithub.com/privatenumber/tsx/releases/tag/v4.16.5) [Compare Source](https://togithub.com/privatenumber/tsx/compare/v4.16.4...v4.16.5) ##### Bug Fixes - **resolver:** directory import nested ".." ([2fada74](https://togithub.com/privatenumber/tsx/commit/2fada74ad363655890695716f762f89276800a46)) *** This release is also available on: - [npm package (@​latest dist-tag)](https://www.npmjs.com/package/tsx/v/4.16.5) ### [`v4.16.4`](https://togithub.com/privatenumber/tsx/releases/tag/v4.16.4) [Compare Source](https://togithub.com/privatenumber/tsx/compare/v4.16.3...v4.16.4) ##### Bug Fixes - **resolver:** handle importing ".." ([3cf0b6a](https://togithub.com/privatenumber/tsx/commit/3cf0b6acb9041b782d46345c23f3f48160e05f49)), closes [#​626](https://togithub.com/privatenumber/tsx/issues/626) *** This release is also available on: - [npm package (@​latest dist-tag)](https://www.npmjs.com/package/tsx/v/4.16.4) ### [`v4.16.3`](https://togithub.com/privatenumber/tsx/compare/v4.16.2...ca4bf11670bdbc29bd5fe413cfa3cedba02c2e4e) [Compare Source](https://togithub.com/privatenumber/tsx/compare/v4.16.2...v4.16.3) ### [`v4.16.2`](https://togithub.com/privatenumber/tsx/compare/v4.16.1...042be032246ef8964a4b6bf4602a9dca7c875d52) [Compare Source](https://togithub.com/privatenumber/tsx/compare/v4.16.1...v4.16.2) ### [`v4.16.1`](https://togithub.com/privatenumber/tsx/releases/tag/v4.16.1) [Compare Source](https://togithub.com/privatenumber/tsx/compare/v4.16.0...v4.16.1) ##### Bug Fixes - **cjs:** isolate implicit resolver enhancement ([#​59](https://togithub.com/privatenumber/tsx/issues/59)) ([143a5bd](https://togithub.com/privatenumber/tsx/commit/143a5bd8394154fbaa2bef235168678ad96a6454)) - **cjs:** namespace filter to preserve file path ([6ef949c](https://togithub.com/privatenumber/tsx/commit/6ef949cf8b62eebfadb029d70c775732c8a87d2a)) - **esm:** implicit resolution with tsconfig paths ([a74aa58](https://togithub.com/privatenumber/tsx/commit/a74aa5857aa848a27f34198aa0ce9d028fda5801)), closes [#​607](https://togithub.com/privatenumber/tsx/issues/607) *** This release is also available on: - [npm package (@​latest dist-tag)](https://www.npmjs.com/package/tsx/v/4.16.1) ### [`v4.16.0`](https://togithub.com/privatenumber/tsx/compare/v4.15.9...da3bcb06d23ffd8ae06fe0eae10b4a4c0b03b060) [Compare Source](https://togithub.com/privatenumber/tsx/compare/v4.15.9...v4.16.0) ### [`v4.15.9`](https://togithub.com/privatenumber/tsx/compare/v4.15.8...c67e3baefdb4b38d44779a44e21f2a989482911c) [Compare Source](https://togithub.com/privatenumber/tsx/compare/v4.15.8...v4.15.9) ### [`v4.15.8`](https://togithub.com/privatenumber/tsx/compare/v4.15.7...ae2a1bcdc1357a56d436acab5782da9a348d2cd5) [Compare Source](https://togithub.com/privatenumber/tsx/compare/v4.15.7...v4.15.8) ### [`v4.15.7`](https://togithub.com/privatenumber/tsx/releases/tag/v4.15.7) [Compare Source](https://togithub.com/privatenumber/tsx/compare/v4.15.6...v4.15.7) ##### Bug Fixes - nyc coverage compatibility ([#​54](https://togithub.com/privatenumber/tsx/issues/54)) ([26d633c](https://togithub.com/privatenumber/tsx/commit/26d633cfcd94dbea2f226d6648b687399b1f8da6)) *** This release is also available on: - [npm package (@​latest dist-tag)](https://www.npmjs.com/package/tsx/v/4.15.7) ### [`v4.15.6`](https://togithub.com/privatenumber/tsx/releases/tag/v4.15.6) [Compare Source](https://togithub.com/privatenumber/tsx/compare/v4.15.5...v4.15.6) ##### Bug Fixes - minimum Node version in warning for `module.register()` ([#​592](https://togithub.com/privatenumber/tsx/issues/592)) ([cb27d4d](https://togithub.com/privatenumber/tsx/commit/cb27d4dfe7670e6cf50f09b48cbd37ac73aa064a)) *** This release is also available on: - [npm package (@​latest dist-tag)](https://www.npmjs.com/package/tsx/v/4.15.6) ### [`v4.15.5`](https://togithub.com/privatenumber/tsx/releases/tag/v4.15.5) [Compare Source](https://togithub.com/privatenumber/tsx/compare/v4.15.4...v4.15.5) ##### Bug Fixes - **cjs:** make transformers overwritable ([c22fa7d](https://togithub.com/privatenumber/tsx/commit/c22fa7d1a90fa34983caddda91b5c1c10e1a4b6c)) *** This release is also available on: - [npm package (@​latest dist-tag)](https://www.npmjs.com/package/tsx/v/4.15.5) ### [`v4.15.4`](https://togithub.com/privatenumber/tsx/releases/tag/v4.15.4) [Compare Source](https://togithub.com/privatenumber/tsx/compare/v4.15.3...v4.15.4) ##### Bug Fixes - **cjs:** handle re-exports from relative paths ([5166122](https://togithub.com/privatenumber/tsx/commit/5166122cff67c42fb0692ced05df9a2447299d70)) *** This release is also available on: - [npm package (@​latest dist-tag)](https://www.npmjs.com/package/tsx/v/4.15.4) ### [`v4.15.3`](https://togithub.com/privatenumber/tsx/releases/tag/v4.15.3) [Compare Source](https://togithub.com/privatenumber/tsx/compare/v4.15.2...v4.15.3) ##### Bug Fixes - **cjs:** load json with namespace ([6b03a38](https://togithub.com/privatenumber/tsx/commit/6b03a38443035f377281c5122eee4c56fefea179)) *** This release is also available on: - [npm package (@​latest dist-tag)](https://www.npmjs.com/package/tsx/v/4.15.3) ### [`v4.15.2`](https://togithub.com/privatenumber/tsx/releases/tag/v4.15.2) [Compare Source](https://togithub.com/privatenumber/tsx/compare/v4.15.1...v4.15.2) ##### Bug Fixes - **esm:** resolve implicit extension in package subpath ([7e1fe22](https://togithub.com/privatenumber/tsx/commit/7e1fe22e142643afc2226a2f1c0d1579c949f0c6)) *** This release is also available on: - [npm package (@​latest dist-tag)](https://www.npmjs.com/package/tsx/v/4.15.2) ### [`v4.15.1`](https://togithub.com/privatenumber/tsx/releases/tag/v4.15.1) [Compare Source](https://togithub.com/privatenumber/tsx/compare/v4.15.0...v4.15.1) ##### Bug Fixes - prevent ERR_DOMAIN_CANNOT_SET_UNCAUGHT_EXCEPTION_CAPTURE ([fb247eb](https://togithub.com/privatenumber/tsx/commit/fb247eb0313a191ba13fb682857309d8c588856a)) *** This release is also available on: - [npm package (@​latest dist-tag)](https://www.npmjs.com/package/tsx/v/4.15.1) ### [`v4.15.0`](https://togithub.com/privatenumber/tsx/releases/tag/v4.15.0) [Compare Source](https://togithub.com/privatenumber/tsx/compare/v4.14.1...v4.15.0) ##### Features - esbuild 0.21 ([#​19](https://togithub.com/privatenumber/tsx/issues/19)) ([6f1d305](https://togithub.com/privatenumber/tsx/commit/6f1d305d4a862811ccd9721d78ace195d10a713f)) - esbuild 0.21.3 ([edbdfdf](https://togithub.com/privatenumber/tsx/commit/edbdfdfbc4e01ec57d335d00c04ae11c374e55e8)) - esbuild 0.21.4 ([c67d746](https://togithub.com/privatenumber/tsx/commit/c67d7468074d023b5c3abfb4b3ebd58484318e24)) *** This release is also available on: - [npm package (@​latest dist-tag)](https://www.npmjs.com/package/tsx/v/4.15.0) ### [`v4.14.1`](https://togithub.com/privatenumber/tsx/releases/tag/v4.14.1) [Compare Source](https://togithub.com/privatenumber/tsx/compare/v4.14.0...v4.14.1) ##### Bug Fixes - **cjs:** only hide transformers when namespaced ([9e647a5](https://togithub.com/privatenumber/tsx/commit/9e647a58eeb635cef85063c80635655776bfe9b6)) *** This release is also available on: - [npm package (@​latest dist-tag)](https://www.npmjs.com/package/tsx/v/4.14.1) ### [`v4.14.0`](https://togithub.com/privatenumber/tsx/releases/tag/v4.14.0) [Compare Source](https://togithub.com/privatenumber/tsx/compare/v4.13.3...v4.14.0) ##### Features - resolve .js β†’ .ts in `package.json` exports & main ([4503421](https://togithub.com/privatenumber/tsx/commit/4503421e601b05078e1adb13b86a1a4619c9805d)) *** This release is also available on: - [npm package (@​latest dist-tag)](https://www.npmjs.com/package/tsx/v/4.14.0) ### [`v4.13.3`](https://togithub.com/privatenumber/tsx/releases/tag/v4.13.3) [Compare Source](https://togithub.com/privatenumber/tsx/compare/v4.13.2...v4.13.3) ##### Bug Fixes - **cjs:** resolve directory import relative to parent ([#​42](https://togithub.com/privatenumber/tsx/issues/42)) ([02d3856](https://togithub.com/privatenumber/tsx/commit/02d3856371794ea16c6dec27489e24f2b1b5249a)) - **esm:** cjs interop to support decorators ([807f467](https://togithub.com/privatenumber/tsx/commit/807f467299c20ead6d8629b055f5cb695284a526)) - **esm:** resolve .ts extension in imports map ([89621bf](https://togithub.com/privatenumber/tsx/commit/89621bf3ada0df8dd44c140991008d5d9e598fb6)) *** This release is also available on: - [npm package (@​latest dist-tag)](https://www.npmjs.com/package/tsx/v/4.13.3) ### [`v4.13.2`](https://togithub.com/privatenumber/tsx/releases/tag/v4.13.2) [Compare Source](https://togithub.com/privatenumber/tsx/compare/v4.13.1...v4.13.2) ##### Bug Fixes - **esm:** ignore transforming .js files with CJS syntax ([#​40](https://togithub.com/privatenumber/tsx/issues/40)) ([87a7683](https://togithub.com/privatenumber/tsx/commit/87a7683ab3d686918ec8f23b43df2961067fc1e0)) *** This release is also available on: - [npm package (@​latest dist-tag)](https://www.npmjs.com/package/tsx/v/4.13.2) ### [`v4.13.1`](https://togithub.com/privatenumber/tsx/releases/tag/v4.13.1) [Compare Source](https://togithub.com/privatenumber/tsx/compare/v4.13.0...v4.13.1) ##### Bug Fixes - **esm/api:** `tsImport()` to parse CJS exports ([0a78bfd](https://togithub.com/privatenumber/tsx/commit/0a78bfd11b20fcb6460fdcdea7d3b1daebfe3ad0)) *** This release is also available on: - [npm package (@​latest dist-tag)](https://www.npmjs.com/package/tsx/v/4.13.1) ### [`v4.13.0`](https://togithub.com/privatenumber/tsx/releases/tag/v4.13.0) [Compare Source](https://togithub.com/privatenumber/tsx/compare/v4.12.1...v4.13.0) ##### Features - **cjs/api:** `register()` to support namespace ([#​35](https://togithub.com/privatenumber/tsx/issues/35)) ([c703300](https://togithub.com/privatenumber/tsx/commit/c7033008467ed87310445138420664ac53404263)) - **esm/api:** `tsImport()` to support loading CommonJS files ([0eb4e91](https://togithub.com/privatenumber/tsx/commit/0eb4e911f31c478400c7f31027f218123450d108)) *** This release is also available on: - [npm package (@​latest dist-tag)](https://www.npmjs.com/package/tsx/v/4.13.0) ### [`v4.12.1`](https://togithub.com/privatenumber/tsx/releases/tag/v4.12.1) [Compare Source](https://togithub.com/privatenumber/tsx/compare/v4.12.0...v4.12.1) ##### Bug Fixes - **esm:** resolve implicit ts paths in packages ([de900a1](https://togithub.com/privatenumber/tsx/commit/de900a196a5a66f5363f40fd6d38b879aee96875)) *** This release is also available on: - [npm package (@​latest dist-tag)](https://www.npmjs.com/package/tsx/v/4.12.1) ### [`v4.12.0`](https://togithub.com/privatenumber/tsx/releases/tag/v4.12.0) [Compare Source](https://togithub.com/privatenumber/tsx/compare/v4.11.2...v4.12.0) ##### Bug Fixes - **cjs:** make resolver chainable ([585f117](https://togithub.com/privatenumber/tsx/commit/585f11727c1d4ec712b801359fa43a1ad93a65f3)) - **esm:** named import from CommonJS file ([#​33](https://togithub.com/privatenumber/tsx/issues/33)) ([7c85303](https://togithub.com/privatenumber/tsx/commit/7c85303b6f049eaa6bad0e75c26c03348049bfcd)) ##### Features - **cjs:** support query for cache busting ([#​37](https://togithub.com/privatenumber/tsx/issues/37)) ([e1464cf](https://togithub.com/privatenumber/tsx/commit/e1464cf7c4d4105d4d9b1eae39f95f3b70be6810)) ##### Performance Improvements - **esm:** only try extensions if file path ([72d0896](https://togithub.com/privatenumber/tsx/commit/72d08965f9f1dd348b6017520ad63bc8373edc72)) *** This release is also available on: - [npm package (@​latest dist-tag)](https://www.npmjs.com/package/tsx/v/4.12.0) ### [`v4.11.2`](https://togithub.com/privatenumber/tsx/releases/tag/v4.11.2) [Compare Source](https://togithub.com/privatenumber/tsx/compare/v4.11.1...v4.11.2) ##### Bug Fixes - **cjs:** esm interop in `.mjs` files ([#​32](https://togithub.com/privatenumber/tsx/issues/32)) ([aa2b639](https://togithub.com/privatenumber/tsx/commit/aa2b639a9bac8ae28a46b847013fda7f5cd4466b)) *** This release is also available on: - [npm package (@​latest dist-tag)](https://www.npmjs.com/package/tsx/v/4.11.2) ### [`v4.11.1`](https://togithub.com/privatenumber/tsx/releases/tag/v4.11.1) [Compare Source](https://togithub.com/privatenumber/tsx/compare/v4.11.0...v4.11.1) ##### Bug Fixes - **cjs/api:** resolve correct module and types when imported ([#​566](https://togithub.com/privatenumber/tsx/issues/566)) ([5e70105](https://togithub.com/privatenumber/tsx/commit/5e701051c4eb639bfd204c805310777789907a55)) *** This release is also available on: - [npm package (@​latest dist-tag)](https://www.npmjs.com/package/tsx/v/4.11.1) ### [`v4.11.0`](https://togithub.com/privatenumber/tsx/releases/tag/v4.11.0) [Compare Source](https://togithub.com/privatenumber/tsx/compare/v4.10.5...v4.11.0) ##### Bug Fixes - only error on invalid tsconfig if explicitly passed in ([#​30](https://togithub.com/privatenumber/tsx/issues/30)) ([b6bf39b](https://togithub.com/privatenumber/tsx/commit/b6bf39b1cc4ca037a16f5b02c619ed5c36e6d598)) ##### Features - **esm api:** configurable `tsconfig` ([3f42ae3](https://togithub.com/privatenumber/tsx/commit/3f42ae3dfc666cd4a6de7376ab051840e18c8c05)) *** This release is also available on: - [npm package (@​latest dist-tag)](https://www.npmjs.com/package/tsx/v/4.11.0) ### [`v4.10.5`](https://togithub.com/privatenumber/tsx/releases/tag/v4.10.5) [Compare Source](https://togithub.com/privatenumber/tsx/compare/v4.10.4...v4.10.5) ##### Bug Fixes - handle parsing variable `of` ([86cf87c](https://togithub.com/privatenumber/tsx/commit/86cf87c861991eddb39cf8ea88b2870b9f536ff5)), closes [#​556](https://togithub.com/privatenumber/tsx/issues/556) *** This release is also available on: - [npm package (@​latest dist-tag)](https://www.npmjs.com/package/tsx/v/4.10.5) ### [`v4.10.4`](https://togithub.com/privatenumber/tsx/compare/v4.10.3...4a8a2dcce25e1223dec65219659065901fd7620f) [Compare Source](https://togithub.com/privatenumber/tsx/compare/v4.10.3...v4.10.4) ### [`v4.10.3`](https://togithub.com/privatenumber/tsx/releases/tag/v4.10.3) [Compare Source](https://togithub.com/privatenumber/tsx/compare/v4.10.2...v4.10.3) ##### Performance Improvements - skip parsing if `import(` is not found in minified code ([5cdd50b](https://togithub.com/privatenumber/tsx/commit/5cdd50bc3fb406c02b9508ea15e33c4f9d597bfb)) *** This release is also available on: - [npm package (@​latest dist-tag)](https://www.npmjs.com/package/tsx/v/4.10.3) ### [`v4.10.2`](https://togithub.com/privatenumber/tsx/compare/v4.10.1...2c87fc156b6343b1ac789ecd5de0a4b64a2f7361) [Compare Source](https://togithub.com/privatenumber/tsx/compare/v4.10.1...v4.10.2) ### [`v4.10.1`](https://togithub.com/privatenumber/tsx/compare/v4.10.0...efb35094f23ea48c51e8f0ec4f1aade47e91dd01) [Compare Source](https://togithub.com/privatenumber/tsx/compare/v4.10.0...v4.10.1) ### [`v4.10.0`](https://togithub.com/privatenumber/tsx/releases/tag/v4.10.0) [Compare Source](https://togithub.com/privatenumber/tsx/compare/v4.9.5...v4.10.0) ##### Features - **esm api:** register to return a namespaced import() method ([53bb4aa](https://togithub.com/privatenumber/tsx/commit/53bb4aa51e0f5c2b85b6c49515a9f2f1b3757c09)) *** This release is also available on: - [npm package (@​latest dist-tag)](https://www.npmjs.com/package/tsx/v/4.10.0) ### [`v4.9.5`](https://togithub.com/privatenumber/tsx/compare/v4.9.4...dae9f0d62dd06591ad2b7abb970e412a15f417a6) [Compare Source](https://togithub.com/privatenumber/tsx/compare/v4.9.4...v4.9.5) ### [`v4.9.4`](https://togithub.com/privatenumber/tsx/releases/tag/v4.9.4) [Compare Source](https://togithub.com/privatenumber/tsx/compare/v4.9.3...v4.9.4) ##### Bug Fixes - **tsImport:** import module from commonjs ([48f0a75](https://togithub.com/privatenumber/tsx/commit/48f0a7552fb6743fa06b63f6f600a9af95cb19f9)) *** This release is also available on: - [npm package (@​latest dist-tag)](https://www.npmjs.com/package/tsx/v/4.9.4) ### [`v4.9.3`](https://togithub.com/privatenumber/tsx/releases/tag/v4.9.3) [Compare Source](https://togithub.com/privatenumber/tsx/compare/v4.9.2...v4.9.3) ##### Bug Fixes - import implicit extensions from packages ([8022fcf](https://togithub.com/privatenumber/tsx/commit/8022fcfd480f21c53d4d351ba4bfbb611145d396)), closes [#​542](https://togithub.com/privatenumber/tsx/issues/542) *** This release is also available on: - [npm package (@​latest dist-tag)](https://www.npmjs.com/package/tsx/v/4.9.3) ### [`v4.9.2`](https://togithub.com/privatenumber/tsx/releases/tag/v4.9.2) [Compare Source](https://togithub.com/privatenumber/tsx/compare/v4.9.1...v4.9.2) ##### Bug Fixes - **esm:** resolve absolute paths ([#​544](https://togithub.com/privatenumber/tsx/issues/544)) ([3a0ea18](https://togithub.com/privatenumber/tsx/commit/3a0ea182d7be3eae2a34e1a028ae6a2e4e9c94fb)) *** This release is also available on: - [npm package (@​latest dist-tag)](https://www.npmjs.com/package/tsx/v/4.9.2) ### [`v4.9.1`](https://togithub.com/privatenumber/tsx/compare/v4.9.0...96bc59680c7300ab6f4f740da26fa16e1970c7c0) [Compare Source](https://togithub.com/privatenumber/tsx/compare/v4.9.0...v4.9.1) ### [`v4.9.0`](https://togithub.com/privatenumber/tsx/compare/v4.8.2...4f515ab0bb8f3c8c610dc57556b978cbf90a5560) [Compare Source](https://togithub.com/privatenumber/tsx/compare/v4.8.2...v4.9.0) ### [`v4.8.2`](https://togithub.com/privatenumber/tsx/releases/tag/v4.8.2) [Compare Source](https://togithub.com/privatenumber/tsx/compare/v4.8.1...v4.8.2) ##### Bug Fixes - **types:** cjs/api to use .d.cts ([4b1f03c](https://togithub.com/privatenumber/tsx/commit/4b1f03c29000a28bfdbc1247eeec131f39078246)) *** This release is also available on: - [npm package (@​latest dist-tag)](https://www.npmjs.com/package/tsx/v/4.8.2) ### [`v4.8.1`](https://togithub.com/privatenumber/tsx/compare/v4.8.0...084dec008149b29c0f56124d4a1400f2bb98f101) [Compare Source](https://togithub.com/privatenumber/tsx/compare/v4.8.0...v4.8.1) ### [`v4.8.0`](https://togithub.com/privatenumber/tsx/compare/v4.7.3...99ba136afc89de486f99dc41562fa5f3a033d6b5) [Compare Source](https://togithub.com/privatenumber/tsx/compare/v4.7.3...v4.8.0) ### [`v4.7.3`](https://togithub.com/privatenumber/tsx/releases/tag/v4.7.3) [Compare Source](https://togithub.com/privatenumber/tsx/compare/v4.7.2...v4.7.3) ##### Bug Fixes - support TS resolution in JS files when `allowJs` is set ([#​535](https://togithub.com/privatenumber/tsx/issues/535)) ([081853e](https://togithub.com/privatenumber/tsx/commit/081853ec56c9cf96f0430e6d889fc77b8b0cf9d8)) *** This release is also available on: - [npm package (@​latest dist-tag)](https://www.npmjs.com/package/tsx/v/4.7.3) ### [`v4.7.2`](https://togithub.com/privatenumber/tsx/compare/v4.7.1...1a10da7bf9d0ca66ced6c897ade8f5f9aae0268d) [Compare Source](https://togithub.com/privatenumber/tsx/compare/v4.7.1...v4.7.2) ### [`v4.7.1`](https://togithub.com/privatenumber/tsx/releases/tag/v4.7.1) [Compare Source](https://togithub.com/privatenumber/tsx/compare/v4.7.0...v4.7.1) ##### Bug Fixes - escape `import.meta.url` passed to esbuild ([#​474](https://togithub.com/privatenumber/tsx/issues/474)) ([e23592e](https://togithub.com/privatenumber/tsx/commit/e23592ea6485cfecfb6915098fc7423fcc03a3b6)) - remove the pipe file before starting the ipc server ([#​459](https://togithub.com/privatenumber/tsx/issues/459)) ([0ed0097](https://togithub.com/privatenumber/tsx/commit/0ed00976165b45cf7928e582ce1debf9d1133ef3)) *** This release is also available on: - [npm package (@​latest dist-tag)](https://www.npmjs.com/package/tsx/v/4.7.1) ### [`v4.7.0`](https://togithub.com/privatenumber/tsx/releases/tag/v4.7.0) [Compare Source](https://togithub.com/privatenumber/tsx/compare/v4.6.2...v4.7.0) ##### Features - upgrade esbuild to v0.19.10 ([#​444](https://togithub.com/privatenumber/tsx/issues/444)) ([e07a6e4](https://togithub.com/privatenumber/tsx/commit/e07a6e4511c06046c4fa3ada3aeef50ace70c8a9)) *** This release is also available on: - [npm package (@​latest dist-tag)](https://www.npmjs.com/package/tsx/v/4.7.0) ### [`v4.6.2`](https://togithub.com/privatenumber/tsx/releases/tag/v4.6.2) [Compare Source](https://togithub.com/privatenumber/tsx/compare/v4.6.1...v4.6.2) ##### Bug Fixes - identify ESM in empty export file ([#​429](https://togithub.com/privatenumber/tsx/issues/429)) ([01592a7](https://togithub.com/privatenumber/tsx/commit/01592a7ccdb23f073b911d356873ba7e7ef1281e)) *** This release is also available on: - [npm package (@​latest dist-tag)](https://www.npmjs.com/package/tsx/v/4.6.2) ### [`v4.6.1`](https://togithub.com/privatenumber/tsx/releases/tag/v4.6.1) [Compare Source](https://togithub.com/privatenumber/tsx/compare/v4.6.0...v4.6.1) ##### Bug Fixes - adjust feature detection for node 18.19 loader changes ([#​422](https://togithub.com/privatenumber/tsx/issues/422)) ([f4f19e0](https://togithub.com/privatenumber/tsx/commit/f4f19e0b87ba00a8bc3a701f2416ed307f9dfad4)) *** This release is also available on: - [npm package (@​latest dist-tag)](https://www.npmjs.com/package/tsx/v/4.6.1) ### [`v4.6.0`](https://togithub.com/privatenumber/tsx/releases/tag/v4.6.0) [Compare Source](https://togithub.com/privatenumber/tsx/compare/v4.5.1...v4.6.0) ##### Features - relay ipc messages ([#​413](https://togithub.com/privatenumber/tsx/issues/413)) ([4f4a99a](https://togithub.com/privatenumber/tsx/commit/4f4a99ae17768bbba49b9be42cc1700a4142dc73)) *** This release is also available on: - [npm package (@​latest dist-tag)](https://www.npmjs.com/package/tsx/v/4.6.0) ### [`v4.5.1`](https://togithub.com/privatenumber/tsx/releases/tag/v4.5.1) [Compare Source](https://togithub.com/privatenumber/tsx/compare/v4.5.0...v4.5.1) ##### Bug Fixes - prevent preflight from running in loader ([79b6f16](https://togithub.com/privatenumber/tsx/commit/79b6f1682e571cb42b49ebbb9419b4c693ee9e0d)) - propagates exit code from child ([#​415](https://togithub.com/privatenumber/tsx/issues/415)) ([438017d](https://togithub.com/privatenumber/tsx/commit/438017d8e557fe5a6ba30988adb758d0b5e721b2)) *** This release is also available on: - [npm package (@​latest dist-tag)](https://www.npmjs.com/package/tsx/v/4.5.1) ### [`v4.5.0`](https://togithub.com/privatenumber/tsx/releases/tag/v4.5.0) [Compare Source](https://togithub.com/privatenumber/tsx/compare/v4.4.0...v4.5.0) ##### Features - **watch:** log reason for rerun & improved exit handling ([#​412](https://togithub.com/privatenumber/tsx/issues/412)) ([fb59907](https://togithub.com/privatenumber/tsx/commit/fb599075416e4aec33d9e16014b6c2a667ae81a9)) *** This release is also available on: - [npm package (@​latest dist-tag)](https://www.npmjs.com/package/tsx/v/4.5.0) ### [`v4.4.0`](https://togithub.com/privatenumber/tsx/releases/tag/v4.4.0) [Compare Source](https://togithub.com/privatenumber/tsx/compare/v4.3.0...v4.4.0) ##### Bug Fixes - send SIGKILL on unresponsive process ([#​395](https://togithub.com/privatenumber/tsx/issues/395)) ([fb61588](https://togithub.com/privatenumber/tsx/commit/fb61588933f7143e81a2243ae3f8d807e5286458)) - **watch:** dont log rerunning on first run ([5a71a87](https://togithub.com/privatenumber/tsx/commit/5a71a870b55b38cd06a1fc3cd37ad9d9b32e9e49)) ##### Features - support TypeScript in `--test` flag ([#​410](https://togithub.com/privatenumber/tsx/issues/410)) ([af1b911](https://togithub.com/privatenumber/tsx/commit/af1b911c0ac3bd13e12a8b71588b2178bf73e345)) *** This release is also available on: - [npm package (@​latest dist-tag)](https://www.npmjs.com/package/tsx/v/4.4.0) ### [`v4.3.0`](https://togithub.com/privatenumber/tsx/releases/tag/v4.3.0) [Compare Source](https://togithub.com/privatenumber/tsx/compare/v4.2.1...v4.3.0) ##### Bug Fixes - cache bust for dynamic-import transfomer change ([15b4277](https://togithub.com/privatenumber/tsx/commit/15b4277502db96ed3e6028c1ba1bd6e9d491f535)) ##### Features - readable transpilation errors ([#​407](https://togithub.com/privatenumber/tsx/issues/407)) ([f58b496](https://togithub.com/privatenumber/tsx/commit/f58b49615ce248fb61ad2a11b19d010b472cfbab)) ##### Performance Improvements - **esbuild:** disable `sourcesContent` ([#​390](https://togithub.com/privatenumber/tsx/issues/390)) ([0b624b3](https://togithub.com/privatenumber/tsx/commit/0b624b34fa57eae1ffc52ff1ff6f8f46832484bb)) *** This release is also available on: - [npm package (@​latest dist-tag)](https://www.npmjs.com/package/tsx/v/4.3.0) ### [`v4.2.1`](https://togithub.com/privatenumber/tsx/releases/tag/v4.2.1) [Compare Source](https://togithub.com/privatenumber/tsx/compare/v4.2.0...v4.2.1) ##### Bug Fixes - source map on dynamic import ([#​406](https://togithub.com/privatenumber/tsx/issues/406)) ([7a0eb7e](https://togithub.com/privatenumber/tsx/commit/7a0eb7e826c4330521298f2833d03f74431b0ff1)) *** This release is also available on: - [npm package (@​latest dist-tag)](https://www.npmjs.com/package/tsx/v/4.2.1) ### [`v4.2.0`](https://togithub.com/privatenumber/tsx/releases/tag/v4.2.0) [Compare Source](https://togithub.com/privatenumber/tsx/compare/v4.1.4...v4.2.0) ##### Features - support TypeScript code in eval flag ([#​402](https://togithub.com/privatenumber/tsx/issues/402)) ([db773c5](https://togithub.com/privatenumber/tsx/commit/db773c566786f5c11b783d58b654a56e7d3669d4)) *** This release is also available on: - [npm package (@​latest dist-tag)](https://www.npmjs.com/package/tsx/v/4.2.0) ### [`v4.1.4`](https://togithub.com/privatenumber/tsx/releases/tag/v4.1.4) [Compare Source](https://togithub.com/privatenumber/tsx/compare/v4.1.3...v4.1.4) ##### Reverts - source-map stripping ([#​398](https://togithub.com/privatenumber/tsx/issues/398)) ([a95a482](https://togithub.com/privatenumber/tsx/commit/a95a482a25b026b877d17b766d68cd38e4caa5ba)) *** This release is also available on: - [npm package (@​latest dist-tag)](https://www.npmjs.com/package/tsx/v/4.1.4) ### [`v4.1.3`](https://togithub.com/privatenumber/tsx/releases/tag/v4.1.3) [Compare Source](https://togithub.com/privatenumber/tsx/compare/v4.1.2...v4.1.3) ##### Bug Fixes - **cache:** version import transformer ([7676143](https://togithub.com/privatenumber/tsx/commit/7676143c291c84e0477c669c792aa16edc0a55c0)) - **source map:** handle source map in middle of file ([#​392](https://togithub.com/privatenumber/tsx/issues/392)) ([497f69a](https://togithub.com/privatenumber/tsx/commit/497f69a65bc12b961c1114cd036063721cf6aa94)) ##### Performance Improvements - **dynamic import:** use string check instead of regex ([f1088e6](https://togithub.com/privatenumber/tsx/commit/f1088e67652956be9d629e963f49573c4603d46c)) *** This release is also available on: - [npm package (@​latest dist-tag)](https://www.npmjs.com/package/tsx/v/4.1.3) ### [`v4.1.2`](https://togithub.com/privatenumber/tsx/releases/tag/v4.1.2) [Compare Source](https://togithub.com/privatenumber/tsx/compare/v4.1.1...v4.1.2) ##### Bug Fixes - dynamic import to work in eval ([#​385](https://togithub.com/privatenumber/tsx/issues/385)) ([6eac49b](https://togithub.com/privatenumber/tsx/commit/6eac49bb78e812bb75af73bf96e7c8d7ee1c7269)) - suppress loader warning in v18.0.0 ([0e52ad8](https://togithub.com/privatenumber/tsx/commit/0e52ad89c5eab809472ce3a9d2ab517a3ac22853)) *** This release is also available on: - [npm package (@​latest dist-tag)](https://www.npmjs.com/package/tsx/v/4.1.2) ### [`v4.1.1`](https://togithub.com/privatenumber/tsx/releases/tag/v4.1.1) [Compare Source](https://togithub.com/privatenumber/tsx/compare/v4.1.0...v4.1.1) ##### Bug Fixes - **dynamic import:** adding interop util at EOF ([#​383](https://togithub.com/privatenumber/tsx/issues/383)) ([0039b60](https://togithub.com/privatenumber/tsx/commit/0039b605a4c6875f2b3308c99dada684bb16beff)) *** This release is also available on: - [npm package (@​latest dist-tag)](https://www.npmjs.com/package/tsx/v/4.1.1) ### [`v4.1.0`](https://togithub.com/privatenumber/tsx/releases/tag/v4.1.0) [Compare Source](https://togithub.com/privatenumber/tsx/compare/v4.0.0...v4.1.0) ##### Bug Fixes - **cache:** use `process.geteuid()` for virtual users ([#​376](https://togithub.com/privatenumber/tsx/issues/376)) ([bf033b0](https://togithub.com/privatenumber/tsx/commit/bf033b0dd759ba51edfd451e3cb5c90f32f11190)) ##### Features - support Node v21 ([#​378](https://togithub.com/privatenumber/tsx/issues/378)) ([02b43e5](https://togithub.com/privatenumber/tsx/commit/02b43e550ce56b8c51547a4c17a772b3a0ba4801)) *** This release is also available on: - [npm package (@​latest dist-tag)](https://www.npmjs.com/package/tsx/v/4.1.0) ### [`v4.0.0`](https://togithub.com/privatenumber/tsx/releases/tag/v4.0.0) [Compar

Configuration

πŸ“… Schedule: Branch creation - "every 2 weeks on Monday before 7am" in timezone Europe/Berlin, 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.



This PR was generated by Mend Renovate. View the repository job log.