Skip to content

Commit

Permalink
ci: Fix dependencies name
Browse files Browse the repository at this point in the history
`npm publish` doesn't allow custom dependency name
  • Loading branch information
DrSensor committed Feb 8, 2023
1 parent c8d7c6d commit ad15309
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
4 changes: 2 additions & 2 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 ad15309

Please sign in to comment.