Skip to content

Commit

Permalink
Update vscode-oniguruma
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Sep 13, 2023
1 parent 607c3f9 commit cc3a7b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/get-oniguruma.fetch.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export async function getOniguruma(options) {
const url =
options && options.getOnigurumaUrlFetch
? await options.getOnigurumaUrlFetch()
: new URL('https://esm.sh/vscode-oniguruma@1/release/onig.wasm')
: new URL('https://esm.sh/vscode-oniguruma@2/release/onig.wasm')

// @ts-expect-error: TS doesn’t understand Fetch in Node yet.
return fetch(url)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"dependencies": {
"@types/hast": "^3.0.0",
"import-meta-resolve": "^3.0.0",
"vscode-oniguruma": "^1.0.0",
"vscode-oniguruma": "^2.0.0",
"vscode-textmate": "^9.0.0"
},
"devDependencies": {
Expand Down

0 comments on commit cc3a7b2

Please sign in to comment.