Upgrade: [dependabot] - bump esbuild from 0.27.2 to 0.27.3
Type: Pull Request
State: Open
Association: Unknown
Comments: 2
(4 months ago)
(4 months ago)
dependencies javascript
Bumps esbuild from 0.27.2 to 0.27.3.
Release notes
Sourced from esbuild's releases.
v0.27.3
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 theclipPathelement in the SVG file. Previously esbuild's CSS bundler didn't preserve the URL fragment when bundling the SVG using thedataurlloader, 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'); }
... (truncated)
Changelog
Sourced from esbuild's changelog.
0.27.3
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 theclipPathelement in the SVG file. Previously esbuild's CSS bundler didn't preserve the URL fragment when bundling the SVG using thedataurlloader, 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'); }
... (truncated)
Commits
9129e00publish 0.27.3 to npme20e411small fix to release notes0dc0f2dfix #4322: parse and print CSS@scoperules55fe391update firefox css gradient support2c35297update gradient lowering transform9209e44Update Go to 1.25.7 (#4388)e8d861bclose #4374: compat table for theusingfeature19b8887no longer needwilliamkapke/node-compat-table7e44218thekangax/compat-tablerepo moved to a new url23b9338runmake update-compat-table- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Package Dependencies
Technical Details
| ID: | 13591160 |
| UUID: | 3907871580 |
| Node ID: | PR_kwDOM-t4a87CDfit |
| Host: | GitHub |
| Repository: | NHSDigital/eps-cdk-utils |