Skip to content

Commit

Permalink
upgrade deps
Browse files Browse the repository at this point in the history
  • Loading branch information
zuisong committed Nov 16, 2023
1 parent 01dfa48 commit d6e87d4
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 31 deletions.
4 changes: 2 additions & 2 deletions build-common.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import {
Metadata,
userscriptMetadataGenerator,
} from "userscript-metadata-generator";
import packageJson from "./package.json" assert { type: "json" };
} from "esm.sh/userscript-metadata-generator@0.2.4";
import packageJson from "./package.json" with { type: "json" };
export function meta(): string {
const metadata: Metadata = {
name: "notion-kroki",
Expand Down
7 changes: 3 additions & 4 deletions deno.jsonc
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
{
"imports": {
"deno_std/": "https://deno.land/[email protected]/",
"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"
"deno_std/": "https://deno.land/[email protected]/",
"esm.sh/": "https://esm.sh/v134/",
"@happy-dom/global-registrator": "npm:@happy-dom/global-registrator"
},
"scopes": {},
"compilerOptions": {
Expand Down
43 changes: 22 additions & 21 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 "npm:@rollup/wasm-node@4.3.0";
import * as rollup from "npm:@rollup/wasm-node@4.4.1";
export { default as resolveUri } from "esm.sh/@jridgewell/[email protected]";
export { rollup };
2 changes: 1 addition & 1 deletion notion-kroki.user.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions rollup.config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
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/[email protected].2?bundle";
import * as babel from "esm.sh/@babel/[email protected].3?bundle";
import * as terser from "esm.sh/[email protected]?bundle";

const config: rollup.InputOptions & { output: rollup.OutputOptions } = {
Expand All @@ -15,7 +15,7 @@ const config: rollup.InputOptions & { output: rollup.OutputOptions } = {
plugins: [
denoResolve(import.meta.url),
{
name: "esbuild",
name: "babel",
transform(rawCode, fileName) {
const { code, map } = babel.transform(rawCode, {
filename: fileName,
Expand Down

0 comments on commit d6e87d4

Please sign in to comment.