Skip to content

Commit

Permalink
Merge pull request #15 from bridge-core/Thomas/DenoWith
Browse files Browse the repository at this point in the history
fix: resolve deprecated import assertion
  • Loading branch information
ThomasOrs authored Nov 10, 2024
2 parents 5a9f91a + d64266b commit 736ad47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/deps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export {
} from 'https://raw.githubusercontent.com/bridge-core/dash-compiler/main/dist/dash-compiler.bundled.es.js'
export { default as json5 } from 'https://esm.sh/[email protected]'
export { debounce } from 'https://deno.land/[email protected]/async/mod.ts?s=debounce'
import { default as dashPackageJson } from 'https://raw.githubusercontent.com/bridge-core/dash-compiler/main/package.json' assert { type: 'json' }
import { default as dashPackageJson } from 'https://raw.githubusercontent.com/bridge-core/dash-compiler/main/package.json' with { type: 'json' }

let swcVersion = dashPackageJson.dependencies['@swc/wasm-web']
if (swcVersion.startsWith('^')) swcVersion = swcVersion.slice(1)
Expand Down

0 comments on commit 736ad47

Please sign in to comment.