Skip to content

Commit

Permalink
Updated dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
karelklima committed Dec 4, 2023
1 parent ac24d11 commit 5c61d33
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
16 changes: 8 additions & 8 deletions _npm.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* This script builds the NPM package from Deno source
*/
import { build, emptyDir } from "https://deno.land/x/dnt@0.35.0/mod.ts";
import { build, emptyDir } from "https://deno.land/x/dnt@0.39.0/mod.ts";

await emptyDir("./npm");

Expand All @@ -27,13 +27,13 @@ await build({
},
bugs: {
url: "https://github.com/karelklima/workflowy/issues",
},
mappings: {
"https://deno.land/x/[email protected]/mod.ts": {
package: "zod",
version: "^3.21.4",
},
},
}
},
mappings: {
"https://deno.land/x/zod@v3.22.4/mod.ts": {
name: "zod",
version: "^3.22.4",
}
},
postBuild() {
// steps to run after building and before running the tests
Expand Down
4 changes: 2 additions & 2 deletions deps.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export {
getSetCookies,
setCookie,
} from "https://deno.land/std@0.184.0/http/cookie.ts";
} from "https://deno.land/std@0.208.0/http/cookie.ts";

export { z } from "https://deno.land/x/zod@v3.21.4/mod.ts";
export { z } from "https://deno.land/x/zod@v3.22.4/mod.ts";
2 changes: 1 addition & 1 deletion src/document.ts
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ export class List {
*
* @returns list in OPML format
*/
public toOpml(top: boolean = true): string {
public toOpml(top = true): string {
const escapeQuotes = (text: string) => text.replace(/"/g, '"');
const content = `<outline${this.isCompleted ? ' _complete="true"' : ''} text="${escapeQuotes(this.name)}"${this.note ? ` _note="${escapeQuotes(this.note)}"` : ''}>${this.items.map((list) => list.toOpml(false)).join('')}</outline>`;
return top
Expand Down
2 changes: 1 addition & 1 deletion tests/test_deps.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export {
assertEquals,
assertObjectMatch,
} from "https://deno.land/std@0.184.0/testing/asserts.ts";
} from "https://deno.land/std@0.208.0/assert/mod.ts";

0 comments on commit 5c61d33

Please sign in to comment.