Skip to content

Commit

Permalink
chore(deps): update esbuild (#17290)
Browse files Browse the repository at this point in the history
  • Loading branch information
amweiss authored May 29, 2024
1 parent 14b5ced commit 5f13bf8
Show file tree
Hide file tree
Showing 3 changed files with 155 additions and 159 deletions.
2 changes: 1 addition & 1 deletion packages/vite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
},
"//": "READ CONTRIBUTING.md to understand what to put under deps vs. devDeps!",
"dependencies": {
"esbuild": "^0.20.1",
"esbuild": "^0.21.3",
"postcss": "^8.4.38",
"rollup": "^4.13.0"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,12 @@ exports[`load > loads modulepreload polyfill 1`] = `
}).observe(document, { childList: true, subtree: true });
function getFetchOpts(link) {
const fetchOpts = {};
if (link.integrity)
fetchOpts.integrity = link.integrity;
if (link.referrerPolicy)
fetchOpts.referrerPolicy = link.referrerPolicy;
if (link.integrity) fetchOpts.integrity = link.integrity;
if (link.referrerPolicy) fetchOpts.referrerPolicy = link.referrerPolicy;
if (link.crossOrigin === "use-credentials")
fetchOpts.credentials = "include";
else if (link.crossOrigin === "anonymous")
fetchOpts.credentials = "omit";
else
fetchOpts.credentials = "same-origin";
else if (link.crossOrigin === "anonymous") fetchOpts.credentials = "omit";
else fetchOpts.credentials = "same-origin";
return fetchOpts;
}
function processPreload(link) {
Expand Down
Loading

0 comments on commit 5f13bf8

Please sign in to comment.