chore: Update zod dependency from 3.24.2 to 3.24.3

Add bio field to test profile schema
This commit is contained in:
Shibo Lyu 2025-04-27 23:22:32 +08:00
parent 77befc142a
commit 2c84f4dee7
3 changed files with 44 additions and 11 deletions

View file

@ -10,7 +10,7 @@
"@deno/dnt": "jsr:@deno/dnt@^0.41.3",
"@std/expect": "jsr:@std/expect@^1.0.15",
"@std/testing": "jsr:@std/testing@^1.0.11",
"zod": "npm:zod@^3.24.2"
"zod": "npm:zod@^3.24.3"
},
"tasks": {
"build:npm": "deno run -A ./scripts/build_npm.ts"

51
deno.lock generated
View file

@ -7,14 +7,16 @@
"jsr:@deno/graph@~0.73.1": "0.73.1",
"jsr:@std/assert@0.223": "0.223.0",
"jsr:@std/assert@0.226": "0.226.0",
"jsr:@std/assert@^1.0.12": "1.0.12",
"jsr:@std/assert@^1.0.12": "1.0.13",
"jsr:@std/assert@^1.0.5": "1.0.5",
"jsr:@std/bytes@0.223": "0.223.0",
"jsr:@std/data-structures@^1.0.6": "1.0.7",
"jsr:@std/expect@^1.0.15": "1.0.15",
"jsr:@std/fmt@0.223": "0.223.0",
"jsr:@std/fmt@1": "1.0.5",
"jsr:@std/fmt@1": "1.0.7",
"jsr:@std/fs@0.223": "0.223.0",
"jsr:@std/fs@1": "1.0.13",
"jsr:@std/fs@1": "1.0.17",
"jsr:@std/fs@^1.0.16": "1.0.17",
"jsr:@std/fs@^1.0.4": "1.0.4",
"jsr:@std/fs@^1.0.5": "1.0.6",
"jsr:@std/fs@^1.0.9": "1.0.13",
@ -23,16 +25,17 @@
"jsr:@std/internal@^1.0.6": "1.0.6",
"jsr:@std/io@0.223": "0.223.0",
"jsr:@std/path@0.223": "0.223.0",
"jsr:@std/path@1": "1.0.8",
"jsr:@std/path@1": "1.0.9",
"jsr:@std/path@1.0.0-rc.1": "1.0.0-rc.1",
"jsr:@std/path@^1.0.4": "1.0.6",
"jsr:@std/path@^1.0.6": "1.0.6",
"jsr:@std/path@^1.0.8": "1.0.8",
"jsr:@std/path@^1.0.8": "1.0.9",
"jsr:@std/path@^1.0.9": "1.0.9",
"jsr:@std/path@~0.225.2": "0.225.2",
"jsr:@std/testing@^1.0.11": "1.0.11",
"jsr:@ts-morph/bootstrap@0.24": "0.24.0",
"jsr:@ts-morph/common@0.24": "0.24.0",
"npm:zod@^3.24.2": "3.24.2"
"npm:zod@^3.24.3": "3.24.3"
},
"jsr": {
"@david/code-block-writer@13.0.2": {
@ -83,9 +86,18 @@
"jsr:@std/internal@^1.0.6"
]
},
"@std/assert@1.0.13": {
"integrity": "ae0d31e41919b12c656c742b22522c32fb26ed0cba32975cb0de2a273cb68b29",
"dependencies": [
"jsr:@std/internal@^1.0.6"
]
},
"@std/bytes@0.223.0": {
"integrity": "84b75052cd8680942c397c2631318772b295019098f40aac5c36cead4cba51a8"
},
"@std/data-structures@1.0.7": {
"integrity": "16932d2c8d281f65eaaa2209af2473209881e33b1ced54cd1b015e7b4cdbb0d2"
},
"@std/expect@1.0.3": {
"integrity": "d9cbd03323ef7feafd1e969ed85d5edb04ebbd9937b0fe7a52d5ff53be8e913a",
"dependencies": [
@ -109,6 +121,9 @@
"@std/fmt@1.0.5": {
"integrity": "0cfab43364bc36650d83c425cd6d99910fc20c4576631149f0f987eddede1a4d"
},
"@std/fmt@1.0.7": {
"integrity": "2a727c043d8df62cd0b819b3fb709b64dd622e42c3b1bb817ea7e6cc606360fb"
},
"@std/fs@0.223.0": {
"integrity": "3b4b0550b2c524cbaaa5a9170c90e96cbb7354e837ad1bdaf15fc9df1ae9c31c"
},
@ -142,6 +157,12 @@
"jsr:@std/path@^1.0.8"
]
},
"@std/fs@1.0.17": {
"integrity": "1c00c632677c1158988ef7a004cb16137f870aafdb8163b9dce86ec652f3952b",
"dependencies": [
"jsr:@std/path@^1.0.9"
]
},
"@std/internal@1.0.3": {
"integrity": "208e9b94a3d5649bd880e9ca38b885ab7651ab5b5303a56ed25de4755fb7b11e"
},
@ -176,8 +197,18 @@
"@std/path@1.0.8": {
"integrity": "548fa456bb6a04d3c1a1e7477986b6cffbce95102d0bb447c67c4ee70e0364be"
},
"@std/path@1.0.9": {
"integrity": "260a49f11edd3db93dd38350bf9cd1b4d1366afa98e81b86167b4e3dd750129e"
},
"@std/testing@1.0.11": {
"integrity": "12b3db12d34f0f385a26248933bde766c0f8c5ad8b6ab34d4d38f528ab852f48"
"integrity": "12b3db12d34f0f385a26248933bde766c0f8c5ad8b6ab34d4d38f528ab852f48",
"dependencies": [
"jsr:@std/assert@^1.0.12",
"jsr:@std/data-structures",
"jsr:@std/fs@^1.0.16",
"jsr:@std/internal@^1.0.6",
"jsr:@std/path@^1.0.8"
]
},
"@ts-morph/bootstrap@0.24.0": {
"integrity": "a826a2ef7fa8a7c3f1042df2c034d20744d94da2ee32bf29275bcd4dffd3c060",
@ -194,8 +225,8 @@
}
},
"npm": {
"zod@3.24.2": {
"integrity": "sha512-lY7CDW43ECgW9u1TcT3IoXHflywfVqDYze4waEz812jR/bZ8FHDsl7pFQoSZTz5N+2NqRXs8GBwnAwo3ZNxqhQ=="
"zod@3.24.3": {
"integrity": "sha512-HhY1oqzWCQWuUqvBFnsyrtZRhyPeR7SUGv+C4+MsisMuVfSPx8HpwWqH8tRahSlt6M3PiFAcoeFhZAqIXTxoSg=="
}
},
"remote": {
@ -218,7 +249,7 @@
"jsr:@deno/dnt@~0.41.3",
"jsr:@std/expect@^1.0.15",
"jsr:@std/testing@^1.0.11",
"npm:zod@^3.24.2"
"npm:zod@^3.24.3"
]
}
}

View file

@ -8,6 +8,7 @@ let actKeyPair: BlahKeyPair;
const profile: BlahProfile = {
typ: "profile",
name: "Shibo Lyu",
bio: "Test bio",
preferred_chat_server_urls: [],
id_urls: ["https://localhost"],
};
@ -42,6 +43,7 @@ Deno.test("created identity profile signed correctly", async () => {
);
expect(record.typ).toBe("profile");
expect(record.name).toBe("Shibo Lyu");
expect(record.bio).toBe("Test bio");
expect(record.preferred_chat_server_urls).toEqual([]);
expect(record.id_urls).toEqual(["https://localhost"]);
});