Skip to content

Commit

Permalink
upgrade deps
Browse files Browse the repository at this point in the history
  • Loading branch information
zuisong committed Nov 7, 2023
1 parent 9e62d62 commit 01dfa48
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 22 deletions.
2 changes: 1 addition & 1 deletion deno.jsonc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"imports": {
"deno_std/": "https://deno.land/std@0.202.0/",
"deno_std/": "https://deno.land/std@0.205.0/",
"esm.sh/": "https://esm.sh/v133/",
"@happy-dom/global-registrator": "npm:@happy-dom/global-registrator",
"userscript-metadata-generator": "https://raw.githubusercontent.com/trim21/userscript-metadata-generator/v0.2.4/src/index.ts"
Expand Down
37 changes: 21 additions & 16 deletions deno.lock

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

2 changes: 1 addition & 1 deletion deps.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
import * as rollup from "esm.sh/rollup@3.29.4?bundle";
import * as rollup from "npm:@rollup/[email protected]";
export { default as resolveUri } from "esm.sh/@jridgewell/[email protected]";
export { rollup };
2 changes: 1 addition & 1 deletion rollup-deno-plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class DenoResolve {
private async info(nameStr: string, cwd?: string) {
const p = new Deno.Command(Deno.execPath(), {
args: ["info", nameStr, "--json"],
cwd: cwd,
cwd,
});
const output = await p.output();
if (!output.success) {
Expand Down
6 changes: 3 additions & 3 deletions rollup.config.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { meta } from "./build-common.ts";
import { rollup } from "./deps.ts";
import denoResolve from "./rollup-deno-plugin.ts";
import * as babel from "esm.sh/@babel/standalone?bundle";
import * as terser from "esm.sh/terser?bundle";
import * as babel from "esm.sh/@babel/standalone@7.23.2?bundle";
import * as terser from "esm.sh/terser@5.23.0?bundle";

const config: rollup.RollupInoutOptions & { output: rollup.OutputOptions } = {
const config: rollup.InputOptions & { output: rollup.OutputOptions } = {
input: ["./src/index.ts"],
output: {
sourcemap: true,
Expand Down

0 comments on commit 01dfa48

Please sign in to comment.