Skip to content

Commit

Permalink
⬆️ update typescript
Browse files Browse the repository at this point in the history
  • Loading branch information
Platane committed Feb 20, 2025
1 parent 3c17106 commit 79c2523
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions bun.lock
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@
"devDependencies": {
"@types/bun": "1.2.2",
"prettier": "2.8.8",
"typescript": "5.5.3",
"typescript": "5.7.3",
},
},
"packages/action": {
@@ -1213,7 +1213,7 @@

"type-is": ["type-is@1.6.18", "", { "dependencies": { "media-typer": "0.3.0", "mime-types": "~2.1.24" } }, "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g=="],

"typescript": ["typescript@5.5.3", "", { "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" } }, "sha512-/hreyEujaB0w76zKo6717l3L0o/qEUtRgdvUBvlkhoWeOVMjMuHNHk0BRBzikzuGDqNmPQbg5ifMEqsHLiIUcQ=="],
"typescript": ["typescript@5.7.3", "", { "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" } }, "sha512-84MVSjMEHP+FQRPy3pX9sTVV/INIex71s9TL2Gm5FG/WG1SqXeKyZ0k7/blY/4FdOzI12CBy1vGc4og/eus0fw=="],

"unbzip2-stream": ["unbzip2-stream@1.4.3", "", { "dependencies": { "buffer": "^5.2.1", "through": "^2.3.8" } }, "sha512-mlExGW4w71ebDJviH16lQLtZS32VKqsSfk80GCfUlwT/4/hNRFsoscrF/c++9xinkMzECL1uL9DDwXqFWkruPg=="],

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@
"devDependencies": {
"@types/bun": "1.2.2",
"prettier": "2.8.8",
"typescript": "5.5.3"
"typescript": "5.7.3"
},
"workspaces": [
"packages/*"
2 changes: 1 addition & 1 deletion packages/gif-creator/__tests__/benchmark.ts
Original file line number Diff line number Diff line change
@@ -45,7 +45,7 @@ const animationOptions: AnimationOptions = { frameDuration: 100, step: 1 };
) {
const stats: number[] = [];

let buffer: Buffer;
let buffer: Uint8Array;
const start = Date.now();
const chainL = chain.slice(0, length);
for (let k = 0; k < 10 && (Date.now() - start < 10 * 1000 || k < 2); k++) {
2 changes: 1 addition & 1 deletion packages/gif-creator/index.ts
Original file line number Diff line number Diff line change
@@ -95,5 +95,5 @@ export const createGif = async (
].flat()
);

return fs.readFileSync(optimizedFileName);
return new Uint8Array(fs.readFileSync(optimizedFileName));
});

0 comments on commit 79c2523

Please sign in to comment.