Skip to content

Commit cff26ec

Browse files
authored
feat(deps): update esbuild from ^0.25.0 to ^0.27.0 (#21183)
1 parent 317b3b2 commit cff26ec

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

packages/vite/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
},
8282
"//": "READ CONTRIBUTING.md to understand what to put under deps vs. devDeps!",
8383
"dependencies": {
84-
"esbuild": "^0.25.0",
84+
"esbuild": "^0.27.0",
8585
"fdir": "^6.5.0",
8686
"picomatch": "^4.0.3",
8787
"postcss": "^8.5.6",

playground/lib/__tests__/lib.spec.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@ describe.runIf(isBuild)('build', () => {
2929
)
3030
const namedCode = readFile('dist/named/my-lib-named.iife.js')
3131
// esbuild helpers are injected inside of the IIFE wrapper
32-
expect(code).toMatch(/^var MyLib=function\(\)\{\s*"use strict";/)
32+
expect(code).toMatch(/^var MyLib=\(function\(\)\{\s*"use strict";/)
3333
expect(noMinifyCode).toMatch(
34-
/^var MyLib\s*=\s*function\(\)\s*\{\s*"use strict";/,
34+
/^var MyLib\s*=\s*\(function\(\)\s*\{\s*"use strict";/,
3535
)
3636
expect(namedCode).toMatch(
37-
/^var MyLibNamed=function\([^()]+\)\{\s*"use strict";/,
37+
/^var MyLibNamed=\(function\([^()]+\)\{\s*"use strict";/,
3838
)
3939
})
4040

pnpm-lock.yaml

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)