• 0.1.19 1adbfc3eda

    chore(deps): update dependencies (non-major) (#38)
    All checks were successful
    CD / Release (push) Successful in 53s

    gitea-actions released this 2025-12-12 12:59:35 +01:00 | 25 commits to main since this release

    This PR contains the following updates:

    Package Change Age Confidence
    @types/conventional-commits-parser (source) 5.0.1 -> 5.0.2 age confidence
    @types/node (source) 24.10.0 -> 24.10.2 age confidence
    esbuild 0.27.0 -> 0.27.1 age confidence
    jest (source) 30.0.5 -> 30.2.0 age confidence
    prettier (source) 3.6.2 -> 3.7.4 age confidence
    ts-jest (source) 29.4.5 -> 29.4.6 age confidence
    typescript (source) 5.9.2 -> 5.9.3 age confidence

    Release Notes

    evanw/esbuild (esbuild)

    v0.27.1

    Compare Source

    • Fix bundler bug with var nested inside if (#​4348)

      This release fixes a bug with the bundler that happens when importing an ES module using require (which causes it to be wrapped) and there's a top-level var inside an if statement without being wrapped in a { ... } block (and a few other conditions). The bundling transform needed to hoist these var declarations outside of the lazy ES module wrapper for correctness. See the issue for details.

    • Fix minifier bug with for inside try inside label (#​4351)

      This fixes an old regression from version v0.21.4. Some code was introduced to move the label inside the try statement to address a problem with transforming labeled for await loops to avoid the await (the transformation involves converting the for await loop into a for loop and wrapping it in a try statement). However, it introduces problems for cross-compiled JVM code that uses all three of these features heavily. This release restricts this transform to only apply to for loops that esbuild itself generates internally as part of the for await transform. Here is an example of some affected code:

      // Original code
      d: {
        e: {
          try {
            while (1) { break d }
          } catch { break e; }
        }
      }
      
      // Old output (with --minify)
      a:try{e:for(;;)break a}catch{break e}
      
      // New output (with --minify)
      a:e:try{for(;;)break a}catch{break e}
      
    • Inline IIFEs containing a single expression (#​4354)

      Previously inlining of IIFEs (immediately-invoked function expressions) only worked if the body contained a single return statement. Now it should also work if the body contains a single expression statement instead:

      // Original code
      const foo = () => {
        const cb = () => {
          console.log(x())
        }
        return cb()
      }
      
      // Old output (with --minify)
      const foo=()=>(()=>{console.log(x())})();
      
      // New output (with --minify)
      const foo=()=>{console.log(x())};
      
    • The minifier now strips empty finally clauses (#​4353)

      This improvement means that finally clauses containing dead code can potentially cause the associated try statement to be removed from the output entirely in minified builds:

      // Original code
      function foo(callback) {
        if (DEBUG) stack.push(callback.name);
        try {
          callback();
        } finally {
          if (DEBUG) stack.pop();
        }
      }
      
      // Old output (with --minify --define:DEBUG=false)
      function foo(a){try{a()}finally{}}
      
      // New output (with --minify --define:DEBUG=false)
      function foo(a){a()}
      
    • Allow tree-shaking of the Symbol constructor

      With this release, calling Symbol is now considered to be side-effect free when the argument is known to be a primitive value. This means esbuild can now tree-shake module-level symbol variables:

      // Original code
      const a = Symbol('foo')
      const b = Symbol(bar)
      
      // Old output (with --tree-shaking=true)
      const a = Symbol("foo");
      const b = Symbol(bar);
      
      // New output (with --tree-shaking=true)
      const b = Symbol(bar);
      
    jestjs/jest (jest)

    v30.2.0

    Compare Source

    Chore & Maintenance
    • [*] Update example repo for testing React Native projects (#​15832)
    • [*] Update jest-watch-typeahead to v3 (#​15830)

    v30.1.3

    Compare Source

    Fixes
    • Fix unstable_mockModule with node: prefixed core modules.

    v30.1.2

    Compare Source

    Fixes
    • [jest-snapshot-utils] Correct snapshot header regexp to work with newline across OSes (#​15803)

    v30.1.1

    Compare Source

    Fixes
    • [jest-snapshot-utils] Fix deprecated goo.gl snapshot warning not handling Windows end-of-line sequences (#​15800)
    • [jest-snapshot-utils] Improve messaging about goo.gl snapshot link change (#​15821)

    v30.1.0

    Compare Source

    prettier/prettier (prettier)

    v3.7.4

    Compare Source

    diff

    LWC: Avoid quote around interpolations (#​18383 by @​kovsu)
    <!-- Input -->
    <div foo={bar}>   </div>
    
    <!-- Prettier 3.7.3 (--embedded-language-formatting off) -->
    <div foo="{bar}"></div>
    
    <!-- Prettier 3.7.4 (--embedded-language-formatting off) -->
    <div foo={bar}></div>
    
    TypeScript: Fix comment inside union type gets duplicated (#​18393 by @​fisker)
    // Input
    type Foo = (/** comment */ a | b) | c;
    
    // Prettier 3.7.3
    type Foo = /** comment */ (/** comment */ a | b) | c;
    
    // Prettier 3.7.4
    type Foo = /** comment */ (a | b) | c;
    
    TypeScript: Fix unstable comment print in union type comments (#​18395 by @​fisker)
    // Input
    type X = (A | B) & (
      // comment
      A | B
    );
    
    // Prettier 3.7.3 (first format)
    type X = (A | B) &
      (// comment
      A | B);
    
    // Prettier 3.7.3 (second format)
    type X = (
      | A
      | B // comment
    ) &
      (A | B);
    
    // Prettier 3.7.4
    type X = (A | B) &
      // comment
      (A | B);
    

    v3.7.3

    Compare Source

    diff

    API: Fix prettier.getFileInfo() change that breaks VSCode extension (#​18375 by @​fisker)

    An internal refactor accidentally broke the VSCode extension plugin loading.

    v3.7.2

    Compare Source

    diff

    JavaScript: Fix string print when switching quotes (#​18351 by @​fisker)
    // Input
    console.log("A descriptor\\'s .kind must be \"method\" or \"field\".")
    
    // Prettier 3.7.1
    console.log('A descriptor\\'s .kind must be "method" or "field".');
    
    // Prettier 3.7.2
    console.log('A descriptor\\\'s .kind must be "method" or "field".');
    
    JavaScript: Preserve quote for embedded HTML attribute values (#​18352 by @​kovsu)
    // Input
    const html = /* HTML */ ` <div class="${styles.banner}"></div> `;
    
    // Prettier 3.7.1
    const html = /* HTML */ ` <div class=${styles.banner}></div> `;
    
    // Prettier 3.7.2
    const html = /* HTML */ ` <div class="${styles.banner}"></div> `;
    
    TypeScript: Fix comment in empty type literal (#​18364 by @​fisker)
    // Input
    export type XXX = {
      // tbd
    };
    
    // Prettier 3.7.1
    export type XXX = { // tbd };
    
    // Prettier 3.7.2
    export type XXX = {
      // tbd
    };
    

    v3.7.1

    Compare Source

    diff

    API: Fix performance regression in doc printer (#​18342 by @​fisker)

    Prettier 3.7.0 can be very slow when formatting big files, the regression has been fixed.

    v3.7.0

    Compare Source

    diff

    🔗 Release Notes

    kulshekhar/ts-jest (ts-jest)

    v29.4.6

    Compare Source

    Bug Fixes
    microsoft/TypeScript (typescript)

    v5.9.3: TypeScript 5.9.3

    Compare Source

    Note: this tag was recreated to point at the correct commit. The npm package contained the correct content.

    For release notes, check out the release announcement

    Downloads are available on:


    Configuration

    📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

    🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

    Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

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


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

    This PR has been generated by Renovate Bot.

    Reviewed-on: #38
    Reviewed-by: t.behrendt t.behrendt@noreply.localhost
    Co-authored-by: Renovate Bot renovate@t00n.de
    Co-committed-by: Renovate Bot renovate@t00n.de

    Downloads