Skip to content

Commit a55b5eb

Browse files
committed
chore: Update dependencies
- Bumped `@playwright/test` to v1.55.1 for the latest features and fixes. - Updated `node-addon-api` to v8.5.0 and `node-gyp` to v11.4.2 for enhanced compatibility. - Upgraded `eslint-plugin-import` to v2.32.0 and `ts-jest` to v29.4.4. - Adjusted other dependencies like `typescript` to v5.9 for improved functionality.
1 parent 0f4dca7 commit a55b5eb

File tree

3 files changed

+400
-121
lines changed

3 files changed

+400
-121
lines changed

package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,24 +38,24 @@
3838
},
3939
"dependencies": {
4040
"@napi-rs/canvas": "0.1.65",
41-
"node-addon-api": "^8.3.0",
42-
"node-gyp": "^11.0.0",
41+
"node-addon-api": "^8.5.0",
42+
"node-gyp": "^11.4.2",
4343
"pdfjs-dist": "4.10.38"
4444
},
4545
"devDependencies": {
4646
"@jest/globals": "^29.7.0",
47-
"@playwright/test": "^1.43.0",
47+
"@playwright/test": "^1.55.1",
4848
"@types/jest": "^29.5.12",
4949
"@types/node": "^22.13.0",
5050
"@typescript-eslint/eslint-plugin": "^7.5.0",
5151
"@typescript-eslint/parser": "^7.5.0",
5252
"eslint": "8.57.0",
53-
"eslint-plugin-import": "2.31.0",
53+
"eslint-plugin-import": "2.32.0",
5454
"eslint-plugin-simple-import-sort": "^12.1.1",
5555
"jest": "^29.7.0",
56-
"playwright-core": "^1.43.0",
57-
"ts-jest": "^29.1.2",
58-
"typescript": "^5.7"
56+
"playwright-core": "^1.55.1",
57+
"ts-jest": "^29.4.4",
58+
"typescript": "^5.9"
5959
},
6060
"packageManager": "yarn@4.6.0",
6161
"engines": {

src/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { existsSync, statSync, writeFileSync } from 'node:fs'
22

3-
export function sameFileSize(buffer: Buffer, filePath: string, update: 'all' | 'none' | 'missing'): boolean {
3+
export function sameFileSize(buffer: Buffer, filePath: string, update: 'all' | 'changed' | 'missing' | 'none'): boolean {
44
if (update === 'all' || !existsSync(filePath)) {
55
writeFileSync(filePath, buffer)
66

0 commit comments

Comments
 (0)