Skip to content

Commit

Permalink
Replace use of soon to be deprecated method (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
benmccann authored Nov 6, 2023
1 parent 2b92306 commit b5d651e
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 73 deletions.
1 change: 1 addition & 0 deletions packages/svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
"vite": "^3.0.0 || ^4.0.0"
},
"dependencies": {
"estree-walker": "^3.0.3",
"magic-string": "^0.30.0",
"svelte": "^3.58.0",
"svelte-parse-markup": "^0.1.1"
Expand Down
2 changes: 1 addition & 1 deletion packages/svelte/src/shared.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import path from 'node:path'
import { walk } from 'svelte/compiler'
import { walk } from 'estree-walker'
import { parse } from 'svelte-parse-markup'
import MagicString from 'magic-string'
import { dedent, hash } from '@whyframe/core/pluginutils'
Expand Down
82 changes: 10 additions & 72 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b5d651e

Please sign in to comment.