diff --git a/module.ts b/module.ts index 7302207..c7f15f0 100644 --- a/module.ts +++ b/module.ts @@ -6,8 +6,8 @@ class USVString { encode = (input: string) => this.#encoder.encode(input); } -export type { ElementHandlers } from "npm:html-rewriter-wasm"; -import * as cf from "npm:html-rewriter-wasm"; +export type { ElementHandlers } from "html-rewriter-wasm"; +import * as cf from "html-rewriter-wasm"; export class HTMLRewriter { static #string = new USVString(); diff --git a/package.json b/package.json index 2d2c9e2..d86d20d 100644 --- a/package.json +++ b/package.json @@ -22,6 +22,6 @@ }, "homepage": "https://github.com/DrSensor/safe-html-rewriter#readme", "dependencies": { - "npm:html-rewriter-wasm": "npm:html-rewriter-wasm@^0.4.1" + "html-rewriter-wasm": "^0.4.1" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 3166571..ed89688 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1,10 +1,10 @@ lockfileVersion: 5.4 specifiers: - npm:html-rewriter-wasm: npm:html-rewriter-wasm@^0.4.1 + html-rewriter-wasm: ^0.4.1 dependencies: - npm:html-rewriter-wasm: /html-rewriter-wasm/0.4.1 + html-rewriter-wasm: 0.4.1 packages: