Zum Inhalt springen

30 Einträge aus 1 Quelle. Zuletzt aktualisiert:

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Oxc

oxlint 1.87.0: neue Korrekturvorschläge und Fehlerbehebungen

oxlint v1.87.0 ergänzt Korrekturvorschläge für die Regeln react/no-unescaped-entities, unicorn/no-useless-switch-case und react/jsx-no-target-blank und behebt mehrere Fehler in jsx-a11y-, unicorn-, eslint- und Parser-Regeln.

🚀 Features

  • 42dcfd2 linter/react/no-unescaped-entities: Implement suggestion (#27292) (Mikhail Baev)
  • cd4510d linter/unicorn/no-useless-switch-case: Implement suggestion (#27245) (Mikhail Baev)
  • 1a7c902 linter/react/jsx-no-target-blank: Implement suggestion (#27181) (Mikhail Baev)

🐛 Bug Fixes

  • 176b4b9 linter/jsx-a11y/label-has-associated-control: Validate label attribute values (#27302) (sama Pyb)
  • 7d381c3 linter/jsx-a11y/mouse-events-have-key-events: Handle nullish event handlers (#27306) (sama Pyb)
  • 4e09837 linter/jsx-a11y/lang: Validate lang expression strings (#27304) (sama Pyb)
  • 7d28a66 linter/unicorn/numeric-separators-style: Report misgrouped BigInt literals (#27207) (breken)
  • e928322 linter/unicorn/no-zero-fractions: Parenthesize separator and large integers in fixer (#27206) (breken)
  • 3d61a59 parser: Validate TypeScript type member separators (#27222) (camc314)
  • f08236b linter/eslint/prefer-exponentiation-operator: Preserve autofix precedence (#27150) (camc314)
  • 7d60ae3 linter/valid-title: Continue checks after allowed words (#27146) (Cameron)
  • ad5dd5d linter/eslint/no-unused-vars: Respect disabled argument checks for used ignore patterns (#26925) (camc314)

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Oxc

oxfmt 0.72.0: Markdown-Formatierung mit oxc_formatter_markdown

oxfmt v0.72.0 formatiert Markdown-Dateien (parser:markdown) nun mit oxc_formatter_markdown (Breaking Change), verbessert die Verarbeitung von eingebettetem CSS und behebt zahlreiche Formatierungsfehler in Markdown, CSS und JSON.

💥 BREAKING CHANGES

  • e2c68b1 oxfmt: [BREAKING] Format parser:markdown files by oxc_formatter_markdown (#27256) (leaysgur)

🚀 Features

  • b538e3c formatter_css: Parse embedded CSS as a block's contents (#27284) (leaysgur)

🐛 Bug Fixes

  • 71e400b formatter_markdown: Fixed remaining issues found by fuzz (#27334) (leaysgur)
  • 7d0e54d formatter_markdown: Preserve line breaks around Chinese/Japanese characters in all proseWrap (#27331) (leaysgur)
  • e9ae2d8 formatter_css: Fix layouts found in mdn-content repo (css-in-md) (#27326) (leaysgur)
  • df85b4c oxfmt: Keep blank lines after a line break in Prettier Doc to IR (#27325) (leaysgur)
  • 7f65b75 formatter: Format assignment target property as assignment-like (#27289) (leaysgur)
  • 6c08f2a formatter_css: Apply the url() import exception to a lone comma group (#27288) (leaysgur)
  • 1967302 formatter_css: Hug a spaced ident ( only at the at-rule prelude head (#27283) (leaysgur)
  • 2445064 formatter_markdown: Keep a preserved line break before a delimiter row that opens no table (#27278) (leaysgur)
  • dd72fbf formatter_markdown: Keep container columns as spaces under useTabs (#27277) (leaysgur)
  • 1686018 oxfmt: Make one state conditionalGroup fit up to first hardline (#27275) (leaysgur)
  • fd4ddce formatter_json: Flatten block comment only array|object (#27274) (leaysgur)
  • 267557c formatter,oxfmt: Embed only original JSDoc plugin supported languages (#27241) (leaysgur) …

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Oxc

oxc crates 0.153.0: neue Minifier-Optimierungen, Parser-Korrekturen

oxc crates v0.153.0 bringt neue Minifier-Optimierungen wie das Zusammenführen von Import- und Export-Anweisungen und behebt viele Parser-Fehler, vor allem bei TypeScript-Syntax.

🚀 Features

  • 61003c7 minifier: Fold undefined argument in non delegating yield (#27324) (Armano)
  • 07833c0 ast: Tie debug_name return lifetime to the underlying AST node (#27295) (sadan)
  • adb1139 minifier: Merge import statements against the same module (#25534) (翠)
  • cc82598 minifier: Merge import and export statements against the same module (#25533) (翠)
  • 1c352ce minifier: Minimize bitwise binary expressions (#27107) (Armano)
  • d1a0bcc minifier: Merge statements after terminating if block branches (#26667) (Armano)
  • 7a95376 minifier: Merge adjucent if stmt with the same content (#26445) (Armano)

🐛 Bug Fixes

  • 6a7d48b parser: Report abstract private field error on modifier (#27314) (camc314)
  • 2ff6fb5 parser: Include generator marker in overload diagnostic span (#27313) (camc314)
  • 4359a66 parser: Reject TypeScript class modifiers in JavaScript (#27312) (camc314)
  • 565d75d minifier: Correct indopedency when processing nested sequences (#27273) (Armano)
  • d0b9372 parser: Remove type-dependent tuple rest diagnostics (#27234) (camc314)
  • 3d61a59 parser: Validate TypeScript type member separators (#27222) (camc314)
  • b2793fa parser: Reject module syntax in script (#27220) (leaysgur)
  • 5914a24 parser: Report TS1243 for abstract async methods (#27192) (camc314)
  • c6c6e5e parser: Report TS1242 for interfaces with abstract modifier (#27191) (camc314)
  • dd0bbb9 parser: Avoid duplicate index signature modifier diagnostic (#27190) (camc314) …

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Oxc

oxlint 1.86.0: neue Regel und Option allowCompoundComponents

oxlint v1.86.0 unterstützt die Option allowCompoundComponents in react/only-export-components, ergänzt die Regel typescript/no-generated-empty-object-type und behebt diverse Fehler in Linter-Regeln, React Compiler und Parser.

🚀 Features

  • 9d80eed linter/react/only-export-components: Support allowCompoundComponents (#27117) (Kuroda Kayn)
  • e05b155 linter: Add typescript/no-generated-empty-object-type (#26958) (camc314)

🐛 Bug Fixes

  • 8306aa4 linter/typescript/no-unnecessary-parameter-property-assignment: Account for parameter property reassignment (#26955) (camc314)
  • 42dfbb5 linter/eslint/one-var: Keep declare when splitting declarations (#27081) (Cheolhee Lee)
  • 2ba7e33 linter/eslint/require-await: Count await using as an await (#27080) (Cheolhee Lee)
  • 611e4ed linter/plugins: Include executing selectors in JS plugin rule timings (#27111) (overlookmotel)
  • 2cac66f react-compiler: Handle recursive function expressions (#26796) (Brennan Butler)
  • e996e6c react-compiler: Treat zero-argument new Date as impure (#26894) (Boshen)
  • 571cfa3 oxlint: Skip type-aware lint rules in type-check-only mode (#27076) (camc314)
  • d0b2462 oxlint: Skip undefined children in CFG walker (#27075) (camc314)
  • 5186328 parser: Handle HTML comment values (#22933) (Boshen)
  • 0b630e8 linter/typescript/unified-signatures: Align rule with upstream (#26956) (camc314)
  • ebb22f1 linter/node/no-exports-assign: Change category from style to suspicious (#26555) (Bartok)
  • cce28a0 linter/import/no-duplicates: Distinguish import attributes (#26936) (camc314)
  • feb733b linter/unicorn/prefer-spread: Stop checking string split calls (#26935) (camc314) …

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Oxc

oxfmt 0.71.0: Prettier 3.9.9 gebündelt und Formatierungskorrekturen

oxfmt v0.71.0 aktualisiert das gebündelte Prettier auf 3.9.9 und behebt zahlreiche Fehler bei der Formatierung von Kommentaren, JSDoc und Markdown sowie bei wiederholten CLI-Aufrufen im selben Prozess.

🚀 Features

  • e0b1f9f oxfmt: Bump bundled Prettier version to 3.9.9 (#27002) (leaysgur)
  • 342527d oxfmt: Bump bundled Prettier version to 3.9.8 (#26999) (leaysgur)

🐛 Bug Fixes

  • eeba1db formatter: Skip test-call layout when arguments have comments (#27119) (leaysgur)
  • 1f7b8ad oxfmt: Allow repeated CLI calls in the same process (#27051) (Liang)
  • 7bcb807 formatter_markdown: Keep blank line between HTML and nested list (#27112) (leaysgur)
  • 10b10c5 formatter: Keep comments around = on their side and line (#27041) (leaysgur)
  • 9aad365 formatter: Keep comments deferred before an assignment operator (#26997) (waltu)
  • 8fbddb1 formatter/jsdoc: More alignment with original plugin (#27039) (leaysgur)
  • 50be18e formatter: Keep trailing spaces on normal block comments (#27037) (leaysgur)
  • 56d1880 formatter: Nestle adjacent block comments (#27036) (leaysgur)
  • 3be5d94 formatter: Treat /*** comments as JSDoc (#27035) (leaysgur)
  • cd45f71 formatter: Keep trailing double spaces on JSDoc lines (#26861) (John Costa)
  • fd695f4 formatter_markdown: Fix more mismatches found in ecosystem-ci repos (#27003) (leaysgur)
  • 4e77d59 formatter_markdown: Keep a math span after a kept line break from opening a block (#27001) (leaysgur)
  • 584b8b0 formatter_markdown: Keep a shape line after a multi-line inline node or link title (#27000) (leaysgur)
  • b939645 formatter_markdown: Keep a line break before an inline liquid tag under preserve (#26998) (leaysgur)

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Oxc

oxc crates 0.152.0: neue JSStr-Typen und schnellerer Minifier

oxc crates v0.152.0 fügt unter anderem die Typen JSStr, JSChar und JSStrBuilder, Unterstützung für Buffer-Boundary-Assertions in regulären Ausdrücken, die React-Compiler-Option reportDiagnostics und threadlose WASI-Builds hinzu und verbessert die Minifier-Leistung.

🚀 Features

  • 02331c8 str: Add JSStr, JSChar and JSStrBuilder types (#26435) (Dunqing)
  • 52ae63f regular_expression: Support buffer boundary assertions (#27048) (Boshen)
  • 3255b89 transform-react: Add reportDiagnostics option to expose recoverable React Compiler diagnostics (#26624) (Jack)
  • f585cb4 napi: Add threadless WASI builds (#26898) (Boshen)

🐛 Bug Fixes

  • c380c85 minifier: Preserve iife with directives (#27060) (Armano)
  • c55b35d str: Correct clippy reason (#27013) (overlookmotel)
  • 8fbddb1 formatter/jsdoc: More alignment with original plugin (#27039) (leaysgur)
  • 5186328 parser: Handle HTML comment values (#22933) (Boshen)
  • 01ff33e parser: Reject module export names containing a lone surrogate (#26953) (Dunqing)
  • d79ad19 codegen: Remove redundant dollar escapes in minified templates (#26924) (camc314)

⚡ Performance

  • 0afbf85 minifier: Fold logical expressions in place (#26768) (Armano)
  • 3471f29 minifier: Avoid creation of empty block when folding try finally (#26971) (Armano)
  • 3893d64 minifier: Update boolean context expressions in place (#26823) (Armano)
  • de8af47 minifier: Take return argument directly when converting arrow fn (#26830) (Armano)
  • fc37ba0 minifier: Reduce allocations when minimizing assignments (#26609) (Armano)
  • dce64f6 minifier: Use ident hashes for catch var and arguments (#26907) (Armano)
  • 57610b3 minifier: Use ident hashes in label comparison (#26887) (Armano)

📚 Documentation …

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Oxc

oxlint 1.85.0: keine verschachtelten Konfigurationen im Vite+-Modus

oxlint v1.85.0 sucht im Vite+-Modus keine verschachtelten Konfigurationsdateien mehr.

🚀 Features

  • 415b742 oxlint,oxfmt: Do not discover nested config in Vite+ mode (#26763) (leaysgur)

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Oxc

oxfmt 0.70.0: keine verschachtelten Konfigurationen im Vite+-Modus

oxfmt v0.70.0 sucht im Vite+-Modus keine verschachtelten Konfigurationsdateien mehr.

🚀 Features

  • 415b742 oxlint,oxfmt: Do not discover nested config in Vite+ mode (#26763) (leaysgur)

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Oxc

oxc crates 0.151.0: Fehlerbehebungen und bessere Leistung

oxc crates v0.151.0 behebt Fehler in Minifier, Transformer und Parser und verbessert die Leistung von Minifier und Semantic-Analyse.

🚀 Features

  • 1fac655 coverage: Support new TypeScript fixture layout (#26226) (camc314)

🐛 Bug Fixes

  • cd7228f minifier: Add missing negation for boolean literal (#26847) (Armano)
  • 32305e2 transformer: Skip enum reverse mappings for syntactic string initializers (#26724) (Dunqing)
  • 7811f0a parser: Preserve reparsed await tokens (#26619) (camc314)
  • 9220158 transformer: Skip recovered using loop patterns (#26722) (camc314)
  • 3130405 parser: Recover await using object binding patterns (#26721) (camc314)
  • 827fdbd parser: Reject invalid modifiers on import aliases (#26622) (camc314)

⚡ Performance

  • 3f1e3aa minifier: Preallocate stmts vec size to avoid excesive reallocs (#26856) (Armano)
  • bd3f69e semantic: Reuse identifier hashes in enum member lookups (#26773) (camc314)
  • 5f72954 minifier: Reduce allocations when processing if statements (#26666) (Armano)

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Oxc

oxlint v1.84.0 & oxfmt v0.69.0: vite.config-Varianten und Plugin-Laufzeiten

oxlint v1.84.0 und oxfmt v0.69.0 finden alle vite.config.*-Varianten, oxlint meldet Laufzeiten von JavaScript-Plugin-Regeln und bietet einen Vorschlag für unicorn/no-unreadable-iife, dazu kommen mehrere Fehlerbehebungen und eine Leistungsverbesserung.

Table of Contents

  • Oxlint v1.84.0
  • Oxfmt v0.69.0

Oxlint v1.84.0

🚀 Features

  • 809090c oxlint,oxfmt: Find all vite.config.* variants (#26755) (leaysgur)
  • a047b67 linter: Report JavaScript plugin rule timings (#26415) (Alexander Lichter)
  • 2300898 linter/unicorn/no-unreadable-iife: Implement suggestion (#26658) (Mikhail Baev)

🐛 Bug Fixes

  • 12cb547 linter/eslint/no-unused-vars: Report private namespace bindings (#26842) (camc314)
  • 927bfa4 oxlint/lsp: Align nested config handling with configPath semantics (#26762) (leaysgur)
  • e096dfd linter/esliny/no-unused-vars: Handle comments when removing imports (#26781) (camc314)
  • 9d48bae linter/esliny/no-unused-vars: Preserve rest bindings when removing array elements (#26778) (camc314)
  • 62a2bb2 linter/eslint/preserve-caught-error: Prevent conflicting fixes with prefer-optional-catch-binding (#26726) (camc314)
  • 0d565bc linter/unicorn/consistent-function-scoping: Detect ancestor-only function captures (#26625) (camc314)
  • 3c98cde linter/vitest/prefer-to-be-truthy: Suggest assertion rewrites (#26761) (camc314)
  • 7811f0a parser: Preserve reparsed await tokens (#26619) (camc314)
  • e15f103 linter/react: Add a few more missing properties to no-unknown-property (#26572) (Connor Shea)

⚡ Performance

  • c6a00e6 linter/eslint/no-restricted-exports: Skip inactive configurations (#26772) (camc314) …

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Oxc

oxc crates v0.150.0: Math-Globals, Codegen-Option ascii_only

oxc crates v0.150.0 definiert Math-Konstanten als bekannte Globals, fügt die Codegen-Option ascii_only hinzu, negiert im Minifier Vergleiche wie typeof x < 'u' und behebt viele Parser-Fehler.

🚀 Features

  • ca649e0 ecma: Define math constants as known globals and resolve their types (#26585) (Armano)
  • 9ef028c codegen: Add ascii_only option (#25994) (Samuel Attard)
  • 80a76a0 minifier: Negate binary comparison for typeof x < 'u' (#26367) (Armano)

🐛 Bug Fixes

  • 8ca76da parser: Reject accessor modifiers on methods (#26617) (camc314)
  • 1916f31 parser: Reject readonly modifier on constructors (#26612) (camc314)
  • 1c42008 parser: Handle escaped let in for loops (#26583) (camc314)
  • d21d5cf parser: Recognize annotated empty arrows in conditionals (#26537) (camc314)
  • d7713ad parser: Classify Unicode line breaks in block comments (#26536) (camc314)
  • 75cd919 transformer: Preserve receivers in private optional chains (#26535) (camc314)
  • b32d25d parser: Reject escaped import-phase keywords (#26534) (camc314)
  • 47b8311 parser: Recognize contextual binding names in type lookaheads (#26532) (camc314)
  • d6b6705 parser: Require arrow separator in TypeScript function types (#26529) (camc314)
  • e98beef parser: Disambiguate await using in for initializers (#26527) (camc314)
  • 92afee6 parser: Allow parenthesized JSX comma expressions with preserve_parens=false (#26524) (camc314)
  • 31508b1 parser: Reject return types on constructor overloads (#26523) (camc314)
  • a091fc4 parser: Validate await context for await using declarations (#26495) (camc314)
  • 5501e86 parser: Disallow in expressions in using for-loop initializers (#26490) (camc314) …

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Oxc

oxlint v1.83.0 & oxfmt v0.68.0: Anpassung an React 19.3

oxlint v1.83.0 passt React-Lint-Regeln an Änderungen in React 19.3 an und behebt zahlreiche Fehler in unicorn-, eslint- und typescript-Regeln.

Table of Contents

  • Oxlint v1.83.0
  • Oxfmt v0.68.0

Oxlint v1.83.0

🚀 Features

  • afe950d linter/react: Update lint rules to accomodate changes in React 19.3 (#26571) (Connor Shea)

🐛 Bug Fixes

  • fb87ed7 linter/unicorn/prefer-array-flat-map: Report .filter().flatMap() chains (#26626) (camc314)
  • 336b654 linter/unicorn/prefer-at: Report single-character substring calls (#26623) (camc314)
  • a5bba6d linter/eslint/no-unused-vars: Respect rest params after-used option (#26579) (Bartok)
  • c1470a2 linter/eslint/no-unused-vars: Preserve ambient implicit exports (#26582) (Dex Hunter)
  • 9a469d2 linter/unicorn/prefer-global-this: Preserve window event method references (#26611) (Dex Hunter)
  • aaff758 linter/unicorn/prefer-default-parameters: Report violation for ??= and ||= (#26607) (Bartok)
  • 2bed25a linter/unicorn/prefer-array-flat: Skip plain concat normalization (#26604) (im10furry)
  • 72bc7f2 oxlint: Replace backlashes path for "no js runtime" diagnostic (#26599) (Sysix)
  • 1aa5ec1 linter/typescript/prefer-for-of: Handle computed collections (#26584) (camc314)
  • 1e90019 linter/typescript: Mark no-unnecessary-type-parameters and prefer-find suggestions as implemented (#26586) (Mikhail Baev)
  • 4231536 linter: Compare label text in runtime optimization assertion (#26526) (camc314)
  • 36d5534 linter: Include file path in diagnostic assertion (#26525) (camc314) …

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Oxc

oxc crates v0.149.0: panicked wird zu fatal_error (Breaking Change)

oxc crates v0.149.0 benennt im Parser panicked in ParserReturn zu fatal_error um und reduziert MAX_LEN (beides Breaking Changes), ergänzt Minifier- und Allocator-Funktionen und behebt Fehler in Codegen, Parser und Transformer.

💥 BREAKING CHANGES

  • 66744f0 parser: [BREAKING] Rename panicked to fatal_error in ParserReturn (#26382) (overlookmotel)
  • 2c9a947 parser: [BREAKING] Reduce MAX_LEN to 256 bytes below u32::MAX (#26352) (overlookmotel)

🚀 Features

  • 32bdc5b allocator: Construct ArenaHashSet with any Default hasher (#26372) (Dunqing)
  • a17de58 minifier: Process of return/throw in non last position and fix async * inlining (#26214) (Armano)
  • bfb4c57 parser: Distinguish unapplied no-side-effects comments (#26120) (碳苯 Carbon)
  • 1d9b9d3 ast: Add GetNodeId trait (#26145) (camc314)

🐛 Bug Fixes

  • b156333 codegen: Order accessibility before abstract on accessors (#26392) (camc314)
  • 116c8b8 transformer/class-properties: Keep private methods in class-expression scope (#26308) (Changsu Seong)
  • 1400a0f parser: Require a string source after export ... from (#26389) (camc314)
  • 2da73b7 codegen: Print matching quoted import names as identifiers (#26386) (camc314)
  • 0a81d29 codegen: Preserve private-in left operand precedence (#26383) (camc314)
  • 9a02337 parser: Correctly round large nondecimal literals (#26379) (camc314)
  • 3d95477 transformer: Gate async-only rewrites by owning transform (#26326) (Dunqing)
  • f45a9ee transformer: Limit arguments capture to lowered async functions (#26317) (Dunqing)
  • 789969f transformer: Gate this capture by owning async transform (#26227) (Dunqing)
  • affeb14 minifier: Mangle class private members in Node API (#26118) (碳苯 Carbon)…

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Oxc

oxlint v1.82.0 & oxfmt v0.67.0: fatal_error statt panicked im Parser

oxlint v1.82.0 und oxfmt v0.67.0 benennen im Parser panicked in ParserReturn zu fatal_error um (Breaking Change), unterstützen die Option checkConditionalExpressions in no-unmodified-loop-condition und beheben zahlreiche Linter-Fehler.

Table of Contents

  • Oxlint v1.82.0
  • Oxfmt v0.67.0

Oxlint v1.82.0

💥 BREAKING CHANGES

  • 66744f0 parser: [BREAKING] Rename panicked to fatal_error in ParserReturn (#26382) (overlookmotel)

🚀 Features

  • 6a0e19c linter/eslint/no-unmodified-loop-condition: Support checkConditionalExpressions option (#26249) (camc314)

🐛 Bug Fixes

  • aa38ddf linter/unicorn/numeric-separators-style: Correct schema defaults (#26393) (camc314)
  • 562dd14 jsx-a11y/anchor-has-content: Allow anchors passed as custom component props (#26360) (Mikhail Baev)
  • 253cdb2 linter/eslint/id-length: Exempt TS interface/type-literal members with never (#26310) (Pearce Ropion)
  • 8c7ea76 ast_visit: Account for trimmed source offsets (#26223) (Cameron)
  • 5f9cffc linter/typescript/no-explicit-any: Fix rest parameter to unknown[] (#26279) (camc314)
  • 4de9fa3 linter/react/jsx-no-literals: Check nested JSX expression literals (#26253) (camc314)
  • 07851b9 parser: Fix debug assert failure when lexer error with tokens enabled (#26229) (overlookmotel)
  • 9cee146 oxlint/lsp: Don't try to parse fix message, always fallback (#26204) (Sysix)
  • a662c40 linter/eslint/no-useless-assignment: Handle destructuring assignments (#25925) (camc314)
  • 304bd9a linter/eslint/no-array-constructor: Handle ASI hazards in fixer (#26166) (Hamody We)
  • b41bb35 linter: Qualify rules in rules output (#26250) (camc314) …

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Oxc

oxc crates v0.148.0: Neue Minifier-Optimierungen, Allocator-Änderung

oxc crates v0.148.0 macht Allocator::cursor_ptr und data_end_ptr privat (Breaking Change), bringt neue Minifier-Optimierungen, hängt alle Kommentare im Parser an Knoten an und behebt viele Fehler.

💥 BREAKING CHANGES

  • a31567a allocator: [BREAKING] Make Allocator::cursor_ptr and data_end_ptr private (#26081) (overlookmotel)

🚀 Features

  • 115955d minifier: Drop cases whose condition is statically false (#26172) (Armano)
  • 784e9fa minifier: Invert !0 and !1 in place for boolean context to 1 and 0 (#26050) (Armano)
  • 1e902cc minifier: Expand fold leading assignments into the var decl (#26142) (Armano)
  • 3ed4f6a minifier: Expand de morgan's optimization to allow move of ! (#25930) (Armano)
  • 5672585 parser: Attach all comments to nodes (#25944) (camc314)

🐛 Bug Fixes

  • a3d33dd semantic: Skip body bindings in type parameters and this param (#26169) (Dunqing)
  • 4adfb4c semantic: Validate chained continue labels (#26157) (camc314)
  • b874f48 ecmascript: Math.round only exact half ties (#26150) (camc314)
  • a625378 minifier: Coerce omitted indexOf search argument (#26149) (camc314)
  • dc7398b ecmascript: Trim trailing whitespace in string to number (#26148) (camc314)
  • 243b685 transformer/object-rest: Lower multiple declarators correctly (#26147) (camc314)
  • dc09a3a parser: Avoid panic on escaped string export names (#26146) (camc314)
  • e412cf2 linter: Clamp invalid JS plugin locations (#26144) (camc314)
  • c3dedc9 semantic: Skip function body bindings in parameters (#26099) (Dunqing)
  • e74de61 transform-react: Match Babel diagnostic reporting (#26128) (Boshen) …

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Oxc

oxlint v1.81.0 & oxfmt v0.66.0: Vorschlag für nextjs/no-typos

oxlint v1.81.0 ergänzt einen Vorschlag für nextjs/no-typos und behebt zahlreiche Fehler in Linter-Regeln, LSP und JS-Plugins; oxfmt v0.66.0 ist mit aufgeführt.

Table of Contents

  • Oxlint v1.81.0
  • Oxfmt v0.66.0

Oxlint v1.81.0

🚀 Features

  • 60b945d linter/nextjs/no-typos: Implement suggestion (#26091) (Mikhail Baev)

🐛 Bug Fixes

  • 33ac4b0 linter/lsp: Prevent tsgolint from holding onto processes (#25570) (Adrian Schaedle)
  • baf4b1e linter/import/no-empty-named-blocks: Make empty value import removal a suggestion (#26155) (camc314)
  • 77cfaec linter/eslint/object-shorthand: Preserve __proto__ semantics (#26154) (camc314)
  • fa3c082 linter/unicorn/prefer-set-size: Ignore shadowed Set constructors (#26153) (camc314)
  • e412cf2 linter: Clamp invalid JS plugin locations (#26144) (camc314)
  • d86c113 linter: Normalize reversed JS plugin locations (#26138) (camc314)
  • 73c09b2 linter/eslint/no-use-before-define: Run on JS, JSX files (#26114) (camc314)
  • 03ef0f2 linter/unicorn/no-useless-spread: Treat typed arrays as a distinct value hint (#26067) (Aadharsh Pannirselvam)
  • bd15905 linter/react/no-unstable-nested-components: Check nested component object property names (#26101) (camc314)
  • 3910e2b linter/eslint/no-unassigned-vars: Skip Svelte and Vue files (#26042) (Hamody We)
  • 047f7ca linter/plugins: Fix interaction between JS plugins and Vue rules (#26080) (overlookmotel)
  • 8531b9b linter/plugins: Alter method for obtaining mutable Program when sending AST to JS plugins (#26077) (overlookmotel)
  • dc464ff linter/unicorn/prefer-math-min-max: Avoid unsafe autofix (#26060) (camc314) …

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Oxc

oxc crates v0.147.0: switch-Faltung im Minifier, schnellere Codegen-Pakete

oxc crates v0.147.0 faltet im Minifier switch-Anweisungen außerhalb von Blöcken, behebt Fehler in Codegen, Parser und Minifier und verbessert die Leistung der Codegen-Pakete.

🚀 Features

  • b6e9e5e minifier: Fold switch stmt whose parent is not block stmt (#25403) (Armano)

🐛 Bug Fixes

  • 8db1053 codegen: Require sourcemap for example (#26047) (camc314)
  • 8a9bdbd estree: Include decorators in FormalParameterRest spans (#26021) (camc314)
  • 6f0c7cf minifier: Avoid merging if to for in sloppy mode when containing function declaration (#25638) (sapphi-red)
  • 2cde1f6 rust: Address nightly deprecations (#25998) (Boshen)
  • 6c5ad1b codegen: Only add mapping names for PrivateIdentifiers which have changed (#25958) (overlookmotel)
  • 2dad1e0 parser: Track irregular line terminators in trivia (#25947) (camc314)
  • 58ba651 minifier: Avoid merging if to for when the body contains a function declaration (#25637) (sapphi-red)
  • a185ac3 codegen: Print # before private identifier in TS signature key (#25938) (overlookmotel)
  • af82a07 minifier: Keep unary + when the other operand has side effects (#25645) (Kotaro Chikuba)

⚡ Performance

  • 20711f4 packages/codegen: Remove node param from write and markMap functions in sourcemap builds (#25989) (overlookmotel)
  • 29a7749 packages/codegen: Pass start and end to write and mark functions (#25986) (overlookmotel)
  • 8ae741b packages/codegen: Replace write calls with writeIdent (#25984) (overlookmotel)
  • a78ed30 packages/codegen: Remove last param from writeWithMapNamed (#25983) (overlookmotel) …

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Oxc

oxlint v1.80.0 & oxfmt v0.65.0: Decorators bleiben vor export erhalten

oxlint v1.80.0 liefert einen Vorschlag für typescript/no-confusing-non-null-assertion und behebt mehrere Regelfehler, oxfmt v0.65.0 bewahrt Klassen-Decorators vor export bei unterdrückten Anweisungen.

Table of Contents

  • Oxlint v1.80.0
  • Oxfmt v0.65.0

Oxlint v1.80.0

🚀 Features

  • 70c3e35 linter/typescript/no-confusing-non-null-assertion: Implement suggestion (#26012) (Mikhail Baev)

🐛 Bug Fixes

  • 17ae11c linter/oxc/double-comparisons: Handle grouped logical expressions (#26044) (camc314)
  • 8a353a7 linter/eslint/no-control-regex: Refine help message text (#25996) (Rahul Mishra)
  • 8a9bdbd estree: Include decorators in FormalParameterRest spans (#26021) (camc314)
  • 8d94cd1 linter/eslint/no-useless-rename: Preserve type modifiers (#26020) (Cameron)
  • 2cde1f6 rust: Address nightly deprecations (#25998) (Boshen)
  • 51d36d7 linter/vue: Resolve vue imports via shared import helpers (#25903) (Connor Shea)
  • 83a68d2 linter/react/no-react-children: Resolve react imports by symbol (#25901) (Connor Shea)
  • 124e196 linter: Resolve globals by reference, not by name (#25905) (Connor Shea)
  • a701bcc linter: Remove invalid React compiler doc links (#25900) (Boshen)

📚 Documentation

  • 9b7e153 linter: Set version to 1.79.0 for rules shipped in 1.79.0 (#25902) (connorshea)

Oxfmt v0.65.0

🐛 Bug Fixes

  • bf37dd5 formatter: Preserve class decorators before export when the statement is suppressed (#26034) (leaysgur)

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Oxc

oxc crates v0.146.0: Bessere Negation im Minifier, Codegen-Fixes

oxc crates v0.146.0 verbessert die Negation von Ausdrücken im Minifier, behebt Codegen- und isolated-declarations-Fehler und steigert die Leistung der Codegen-Pakete.

🚀 Features

  • 83cb516 minifier: Improve negation of expressions in boolean context (#25755) (Armano)

🐛 Bug Fixes

  • 82a790d codegen: Narrow printSync input type (#25871) (camc314)
  • 134fb22 isolated-declarations: Preserve unresolved parameter types (#25909) (Dunqing)
  • 526c2b3 codegen: Remove deprecated test APIs (#25889) (camc314)
  • 344a9b2 codegen: Align enum template sourcemaps (#25872) (camc314)

⚡ Performance

  • 603b904 packages/codegen: Check sourceText only once (#25887) (overlookmotel)
  • 5ef0c93 minifier: Unwrap all unary exprs without creating dummy expressions (#25891) (Armano)
  • 8783524 packages/codegen: Remove loop from growMappingBuffer (#25886) (overlookmotel)
  • b6b14c0 packages/codegen: Remove redundant branch (#25885) (overlookmotel)
  • be6adf0 packages/sourcemap: Make location passed to recordSourceMapping always a number (#25884) (overlookmotel)
  • f720f15 packages/codegen: Take named-mapping only code off hot path in recordSourceMapping (#25883) (overlookmotel)
  • a734af5 packages/codegen: Remove redundant setting of last in printImportAttributes and printIf (#25882) (overlookmotel)
  • c6e44c6 packages/codegen: Combine 2 writes in printJSXElement (#25881) (overlookmotel)
  • 8801662 packages/codegen: Remove redundant mapping from printParams (#25880) (overlookmotel)

📚 Documentation

  • 5ad330e packages/codegen: Reformat comments (#25876) (overlookmotel)

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Oxc

oxc crates v0.145.0: printSync gibt Objekt zurück, neues oxc-codegen-Paket

oxc crates v0.145.0 lässt printSync im Codegen ein Objekt zurückgeben (Breaking Change), bringt ein oxc-codegen-Paket mit Source-Map-Unterstützung, Property-Name-Mangling im Minifier und ein Relay-Transform-Plugin.

💥 BREAKING CHANGES

  • 365274e packages/codegen: [BREAKING] printSync return an object (#25720) (overlookmotel)

🚀 Features

  • 6a7eb60 packages/codegen: Alter capitalization of sourceFilename option (#25854) (overlookmotel)
  • 300763f packages/codegen: Add full source map support (#25585) (camc314)
  • a169e4a napi/minify: Expose property name mangling options (#24741) (Dunqing)
  • 2f5cdb1 minifier: Add property name mangling (#24740) (Dunqing)
  • 4922141 mangler: Deduplicate private accessor names (#25601) (camc314)
  • 1c4f519 napi: Add Relay transform plugin (#25503) (Boshen)
  • a4478e9 codegen: Add oxc-codegen package (#25488) (overlookmotel)

🐛 Bug Fixes

  • 0fbcf64 codegen: Validate sourcemap options (#25860) (camc314)
  • 345f981 react_compiler: Skip node_modules by default (#25859) (Boshen)
  • ab81f3f minifier: Drop side-effect-free additions (#25639) (Dunqing)
  • 241c559 napi/minify: Accept RegExp for property filters (#25827) (Dunqing)
  • 4cc7ea4 codegen: Reject invalid indent options (#25807) (camc314)
  • 53f9295 isolated-declarations: Preserve undefined for defaulted any (#25292) (camc314)
  • 8ab883a codegen: Preserve property key annotations (#25766) (Dunqing)
  • b13fd48 minifier: Model uninitialized module vars as undefined (#25497) (Dunqing)
  • f6000ac ecmascript: Fold ** with Number::exponentiate, not IEEE pow (#25644) (Kotaro Chikuba)
  • b846abc isolated-declarations: Handle ambient expando properties (#25655) (camc314) …

Originalquelle(öffnet in neuem Tab)Problem melden