diff --git a/.pnp.cjs b/.pnp.cjs index 309fcc9f2..5b4f6b5b4 100644 --- a/.pnp.cjs +++ b/.pnp.cjs @@ -42,7 +42,7 @@ const RAW_RUNTIME_STATE = ["prism-react-renderer", "virtual:b39e3a7e2ec66f40b8a99cafe747344af27c3270071689aa7e004d4eb2f26f735a61860e8d886e7308fdd44a094357b730d76c254db8943fba77d40b0c008363#npm:2.4.1"],\ ["react", "npm:18.3.1"],\ ["react-dom", "virtual:b39e3a7e2ec66f40b8a99cafe747344af27c3270071689aa7e004d4eb2f26f735a61860e8d886e7308fdd44a094357b730d76c254db8943fba77d40b0c008363#npm:18.3.1"],\ - ["typescript", "patch:typescript@npm%3A5.9.3#optional!builtin::version=5.9.3&hash=5786d5"]\ + ["typescript", "patch:typescript@npm%3A6.0.2#optional!builtin::version=6.0.2&hash=5786d5"]\ ],\ "linkType": "SOFT"\ }]\ @@ -17048,7 +17048,7 @@ const RAW_RUNTIME_STATE = ["prism-react-renderer", "virtual:b39e3a7e2ec66f40b8a99cafe747344af27c3270071689aa7e004d4eb2f26f735a61860e8d886e7308fdd44a094357b730d76c254db8943fba77d40b0c008363#npm:2.4.1"],\ ["react", "npm:18.3.1"],\ ["react-dom", "virtual:b39e3a7e2ec66f40b8a99cafe747344af27c3270071689aa7e004d4eb2f26f735a61860e8d886e7308fdd44a094357b730d76c254db8943fba77d40b0c008363#npm:18.3.1"],\ - ["typescript", "patch:typescript@npm%3A5.9.3#optional!builtin::version=5.9.3&hash=5786d5"]\ + ["typescript", "patch:typescript@npm%3A6.0.2#optional!builtin::version=6.0.2&hash=5786d5"]\ ],\ "linkType": "SOFT"\ }]\ @@ -23510,10 +23510,10 @@ const RAW_RUNTIME_STATE = }]\ ]],\ ["typescript", [\ - ["patch:typescript@npm%3A5.9.3#optional!builtin::version=5.9.3&hash=5786d5", {\ - "packageLocation": "./.yarn/cache/typescript-patch-6fda4d02cf-696e1b017b.zip/node_modules/typescript/",\ + ["patch:typescript@npm%3A6.0.2#optional!builtin::version=6.0.2&hash=5786d5", {\ + "packageLocation": "./.yarn/cache/typescript-patch-a9c0baa67b-e5501dfcf8.zip/node_modules/typescript/",\ "packageDependencies": [\ - ["typescript", "patch:typescript@npm%3A5.9.3#optional!builtin::version=5.9.3&hash=5786d5"]\ + ["typescript", "patch:typescript@npm%3A6.0.2#optional!builtin::version=6.0.2&hash=5786d5"]\ ],\ "linkType": "HARD"\ }]\ @@ -24770,16 +24770,16 @@ function convertToBigIntStats(stats) { if (Object.hasOwn(stats, key)) { const element = stats[key]; if (typeof element === `number`) { - bigintStats[key] = BigInt(element); + bigintStats[key] = BigInt(Math.floor(element)); } else if (nodeUtils__namespace.types.isDate(element)) { bigintStats[key] = new Date(element); } } } - bigintStats.atimeNs = bigintStats.atimeMs * BigInt(1e6); - bigintStats.mtimeNs = bigintStats.mtimeMs * BigInt(1e6); - bigintStats.ctimeNs = bigintStats.ctimeMs * BigInt(1e6); - bigintStats.birthtimeNs = bigintStats.birthtimeMs * BigInt(1e6); + bigintStats.atimeNs = bigintStats.atimeMs * BigInt(1e6) + BigInt(Math.floor(stats.atimeMs % 1 * 1e3)) * BigInt(1e3); + bigintStats.mtimeNs = bigintStats.mtimeMs * BigInt(1e6) + BigInt(Math.floor(stats.mtimeMs % 1 * 1e3)) * BigInt(1e3); + bigintStats.ctimeNs = bigintStats.ctimeMs * BigInt(1e6) + BigInt(Math.floor(stats.ctimeMs % 1 * 1e3)) * BigInt(1e3); + bigintStats.birthtimeNs = bigintStats.birthtimeMs * BigInt(1e6) + BigInt(Math.floor(stats.birthtimeMs % 1 * 1e3)) * BigInt(1e3); return bigintStats; } function areStatsEqual(a, b) { diff --git a/.yarn/cache/typescript-npm-5.9.3-48715be868-c089d9d3da.zip b/.yarn/cache/typescript-npm-5.9.3-48715be868-c089d9d3da.zip deleted file mode 100644 index 0eabff58d..000000000 Binary files a/.yarn/cache/typescript-npm-5.9.3-48715be868-c089d9d3da.zip and /dev/null differ diff --git a/.yarn/cache/typescript-npm-6.0.2-60d858c598-b9fc2fcee7.zip b/.yarn/cache/typescript-npm-6.0.2-60d858c598-b9fc2fcee7.zip new file mode 100644 index 000000000..ef1e7a117 Binary files /dev/null and b/.yarn/cache/typescript-npm-6.0.2-60d858c598-b9fc2fcee7.zip differ diff --git a/.yarn/cache/typescript-patch-6fda4d02cf-696e1b017b.zip b/.yarn/cache/typescript-patch-6fda4d02cf-696e1b017b.zip deleted file mode 100644 index 6cd392703..000000000 Binary files a/.yarn/cache/typescript-patch-6fda4d02cf-696e1b017b.zip and /dev/null differ diff --git a/.yarn/cache/typescript-patch-a9c0baa67b-e5501dfcf8.zip b/.yarn/cache/typescript-patch-a9c0baa67b-e5501dfcf8.zip new file mode 100644 index 000000000..da48bd30a Binary files /dev/null and b/.yarn/cache/typescript-patch-a9c0baa67b-e5501dfcf8.zip differ diff --git a/package.json b/package.json index 3b548dbb1..68b68f46e 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ "@docusaurus/tsconfig": "^3.5.1", "@docusaurus/types": "^3.5.1", "@types/react": "^18.3.3", - "typescript": "~5.9.0" + "typescript": "~6.0.0" }, "browserslist": { "production": [ diff --git a/yarn.lock b/yarn.lock index 6fbc4a6af..d05cc13ac 100644 --- a/yarn.lock +++ b/yarn.lock @@ -11344,7 +11344,7 @@ __metadata: prism-react-renderer: "npm:2.4.1" react: "npm:18.3.1" react-dom: "npm:18.3.1" - typescript: "npm:~5.9.0" + typescript: "npm:~6.0.0" languageName: unknown linkType: soft @@ -15993,23 +15993,23 @@ __metadata: languageName: node linkType: hard -"typescript@npm:~5.9.0": - version: 5.9.3 - resolution: "typescript@npm:5.9.3" +"typescript@npm:~6.0.0": + version: 6.0.2 + resolution: "typescript@npm:6.0.2" bin: tsc: bin/tsc tsserver: bin/tsserver - checksum: 10/c089d9d3da2729fd4ac517f9b0e0485914c4b3c26f80dc0cffcb5de1719a17951e92425d55db59515c1a7ddab65808466debb864d0d56dcf43f27007d0709594 + checksum: 10/b9fc2fcee7ee8e5ca6f5138181964550531e18e2d20ecb71b802d4d495881e3444e0ef94cbb6e84eb2ba41e913f6feae3ca33cc722b32e6e6dfadb32d23b80e6 languageName: node linkType: hard -"typescript@patch:typescript@npm%3A~5.9.0#optional!builtin": - version: 5.9.3 - resolution: "typescript@patch:typescript@npm%3A5.9.3#optional!builtin::version=5.9.3&hash=5786d5" +"typescript@patch:typescript@npm%3A~6.0.0#optional!builtin": + version: 6.0.2 + resolution: "typescript@patch:typescript@npm%3A6.0.2#optional!builtin::version=6.0.2&hash=5786d5" bin: tsc: bin/tsc tsserver: bin/tsserver - checksum: 10/696e1b017bc2635f4e0c94eb4435357701008e2f272f553d06e35b494b8ddc60aa221145e286c28ace0c89ee32827a28c2040e3a69bdc108b1a5dc8fb40b72e3 + checksum: 10/e5501dfcf8c5b6b9a61f6fa53decc40187cebe3a2b7b2bd51c615007ad4cf6d58298461fef63294f6be9d5f2f33019b2a2e2bf02d9cb7d7f6ec94372bf24ffa2 languageName: node linkType: hard