Skip to content

Comments

chore(deps): update dependency esbuild to v0.27.3#142

Open
topicus-education-renovate-bot[bot] wants to merge 1 commit intomainfrom
renovate/esbuild-0.27.x-lockfile
Open

chore(deps): update dependency esbuild to v0.27.3#142
topicus-education-renovate-bot[bot] wants to merge 1 commit intomainfrom
renovate/esbuild-0.27.x-lockfile

Conversation

@topicus-education-renovate-bot
Copy link
Contributor

This PR contains the following updates:

Package Change Age Confidence
esbuild 0.27.20.27.3 age confidence

Release Notes

evanw/esbuild (esbuild)

v0.27.3

Compare Source

  • Preserve URL fragments in data URLs (#​4370)

    Consider the following HTML, CSS, and SVG:

    • index.html:

      <!DOCTYPE html>
      <html>
        <head><link rel="stylesheet" href="icons.css"></head>
        <body><div class="triangle"></div></body>
      </html>
    • icons.css:

      .triangle {
        width: 10px;
        height: 10px;
        background: currentColor;
        clip-path: url(./triangle.svg#x);
      }
    • triangle.svg:

      <svg xmlns="http://www.w3.org/2000/svg">
        <defs>
          <clipPath id="x">
            <path d="M0 0H10V10Z"/>
          </clipPath>
        </defs>
      </svg>

    The CSS uses a URL fragment (the #x) to reference the clipPath element in the SVG file. Previously esbuild's CSS bundler didn't preserve the URL fragment when bundling the SVG using the dataurl loader, which broke the bundled CSS. With this release, esbuild will now preserve the URL fragment in the bundled CSS:

    /* icons.css */
    .triangle {
      width: 10px;
      height: 10px;
      background: currentColor;
      clip-path: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg"><defs><clipPath id="x"><path d="M0 0H10V10Z"/></clipPath></defs></svg>#x');
    }
  • Parse and print CSS @scope rules (#​4322)

    This release includes dedicated support for parsing @scope rules in CSS. These rules include optional "start" and "end" selector lists. One important consequence of this is that the local/global status of names in selector lists is now respected, which improves the correctness of esbuild's support for CSS modules. Minification of selectors inside @scope rules has also improved slightly.

    Here's an example:

    /* Original code */
    @&#8203;scope (:global(.foo)) to (:local(.bar)) {
      .bar {
        color: red;
      }
    }
    
    /* Old output (with --loader=local-css --minify) */
    @&#8203;scope (:global(.foo)) to (:local(.bar)){.o{color:red}}
    
    /* New output (with --loader=local-css --minify) */
    @&#8203;scope(.foo)to (.o){.o{color:red}}
  • Fix a minification bug with lowering of for await (#​4378, #​4385)

    This release fixes a bug where the minifier would incorrectly strip the variable in the automatically-generated catch clause of lowered for await loops. The code that generated the loop previously failed to mark the internal variable references as used.

  • Update the Go compiler from v1.25.5 to v1.25.7 (#​4383, #​4388)

    This PR was contributed by @​MikeWillCook.


Configuration

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

🚦 Automerge: Enabled.

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

🔕 Ignore: Close this PR and you won't be reminded about this update again.


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

This PR has been generated by Renovate Bot.

@topicus-education-renovate-bot
Copy link
Contributor Author

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: pnpm-lock.yaml
[22:22:33.078] INFO (140): Installing tool node@24.13.0...
[22:22:37.832] ERROR (140): failed to check url
    url: "https://github.com/containerbase/node-prebuild/releases/download/24.13.0/node-24.13.0-x86_64.tar.xz.sha512"
    err: {
      "type": "HTTPError",
      "message": "Request failed with status code 502 (Bad Gateway or Proxy Error): HEAD https://github.com/containerbase/node-prebuild/releases/download/24.13.0/node-24.13.0-x86_64.tar.xz.sha512",
      "stack":
          HTTPError: Request failed with status code 502 (Bad Gateway or Proxy Error): HEAD https://github.com/containerbase/node-prebuild/releases/download/24.13.0/node-24.13.0-x86_64.tar.xz.sha512
              at _Request.<anonymous> (/snapshot/dist/containerbase-cli.js:39181:32)
              at Object.onceWrapper (node:events:623:26)
              at _Request.emit (node:events:520:35)
              at _Request.emit (node:domain:489:12)
              at _Request._onResponseBase (/snapshot/dist/containerbase-cli.js:38636:14)
              at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
              at async _Request._onResponse (/snapshot/dist/containerbase-cli.js:38677:7)
      "name": "HTTPError",
      "code": "ERR_NON_2XX_3XX_RESPONSE",
      "timings": {
        "start": 1770589357814,
        "socket": 1770589357814,
        "lookup": 1770589357814,
        "connect": 1770589357814,
        "secureConnect": 1770589357814,
        "upload": 1770589357816,
        "response": 1770589357823,
        "end": 1770589357824,
        "phases": {
          "wait": 0,
          "dns": 0,
          "tcp": 9,
          "tls": 11,
          "request": 2,
          "firstByte": 7,
          "download": 1,
          "total": 10
        }
      },
      "options": {
        "agent": {},
        "decompress": true,
        "timeout": {},
        "prefixUrl": "",
        "ignoreInvalidCookies": false,
        "context": {},
        "hooks": {
          "init": [],
          "beforeRequest": [],
          "beforeError": [],
          "beforeRedirect": [],
          "beforeRetry": [],
          "beforeCache": [],
          "afterResponse": []
        },
        "followRedirect": true,
        "maxRedirects": 10,
        "throwHttpErrors": true,
        "username": "",
        "password": "",
        "http2": false,
        "allowGetBody": false,
        "copyPipedHeaders": true,
        "headers": {
          "user-agent": "containerbase/14.0.1 node/24.13.0 (https://github.com/containerbase)",
          "accept-encoding": "gzip, deflate, br, zstd"
        },
        "methodRewriting": false,
        "retry": {
          "limit": 2,
          "methods": [
            "GET",
            "PUT",
            "HEAD",
            "DELETE",
            "OPTIONS",
            "TRACE"
          ],
          "statusCodes": [
            408,
            413,
            429,
            500,
            502,
            503,
            504,
            521,
            522,
            524
          ],
          "errorCodes": [
            "ETIMEDOUT",
            "ECONNRESET",
            "EADDRINUSE",
            "ECONNREFUSED",
            "EPIPE",
            "ENOTFOUND",
            "ENETUNREACH",
            "EAI_AGAIN"
          ],
          "backoffLimit": null,
          "noise": 100,
          "enforceRetryRules": false
        },
        "method": "HEAD",
        "cacheOptions": {},
        "https": {},
        "resolveBodyOnly": false,
        "isStream": false,
        "responseType": "text",
        "url": "https://github.com/containerbase/node-prebuild/releases/download/24.13.0/node-24.13.0-x86_64.tar.xz.sha512",
        "pagination": {
          "countLimit": null,
          "backoff": 0,
          "requestLimit": 10000,
          "stackAllItems": false
        },
        "setHost": true,
        "enableUnixSockets": false,
        "strictContentLength": false
      }
    }
[22:22:37.867] ERROR (140): Request failed with status code 502 (Bad Gateway or Proxy Error): HEAD https://github.com/containerbase/node-prebuild/releases/download/24.13.0/node-24.13.0-x86_64.tar.xz.sha512
[22:22:37.868] FATAL (140): Install tool node failed in 4.8s.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants