File tree Expand file tree Collapse file tree 3 files changed +8
-7
lines changed Expand file tree Collapse file tree 3 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 66 "dependencies" : {
77 "copy-to-clipboard" : " ^3.3.3" ,
88 "date-fns" : " ^4.1.0" ,
9- "esbuild-wasm" : " ^0.25.9 " ,
9+ "esbuild-wasm" : " ^0.25.10 " ,
1010 "highlight.js" : " ^11.11.1" ,
1111 "lodash" : " ^4.17.21" ,
1212 "prism-react-renderer" : " ^2.4.1" ,
Original file line number Diff line number Diff line change 11import { initialize , transform } from "esbuild-wasm" ;
2+ import { version } from "esbuild-wasm/package.json" ;
23
34let initializeEsBuild : Promise < void > | null = null ;
45
@@ -16,7 +17,7 @@ export const initializeTsxTransformer = async () => {
1617 if ( ! initializeEsBuild ) {
1718 try {
1819 initializeEsBuild = initialize ( {
19- wasmURL : " https://unpkg.com/esbuild-wasm/esbuild.wasm" ,
20+ wasmURL : ` https://unpkg.com/esbuild-wasm@ ${ version } /esbuild.wasm` ,
2021 } ) ;
2122 } catch ( error ) {
2223 console . error ( `Initializing tsx transformer failed:` , error ) ;
Original file line number Diff line number Diff line change @@ -2680,12 +2680,12 @@ __metadata:
26802680 languageName : node
26812681 linkType : hard
26822682
2683- " esbuild-wasm@npm:^0.25.9 " :
2684- version : 0.25.9
2685- resolution : " esbuild-wasm@npm:0.25.9 "
2683+ " esbuild-wasm@npm:^0.25.10 " :
2684+ version : 0.25.10
2685+ resolution : " esbuild-wasm@npm:0.25.10 "
26862686 bin :
26872687 esbuild : bin/esbuild
2688- checksum : 10c0/8c4865d061c94303939549ba67930dfdd51ced9a46ef1b09f63b15696de5075690c4680f616a1932cb0296eed615eb1fa0670337104c4c83d95fac1c2217cf00
2688+ checksum : 10c0/2cc225d595be2a0d4c5d599d51fe87845cbd1750b40e84869c51d068c2067d33e307d8cb33d0eec2f638621415075fff01ac2a0ed71ea319c2e3070028d2d410
26892689 languageName : node
26902690 linkType : hard
26912691
@@ -4878,7 +4878,7 @@ __metadata:
48784878 " @vitejs/plugin-react " : " npm:^5.0.3"
48794879 copy-to-clipboard : " npm:^3.3.3"
48804880 date-fns : " npm:^4.1.0"
4881- esbuild-wasm : " npm:^0.25.9 "
4881+ esbuild-wasm : " npm:^0.25.10 "
48824882 eslint : " npm:^9.35.0"
48834883 eslint-plugin-react : " npm:^7.37.5"
48844884 eslint-plugin-react-hooks : " npm:^6.0.0"
You canāt perform that action at this time.
0 commit comments