diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e5156277..dbee3965 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -38,11 +38,11 @@ jobs: id: yarn-cache with: path: | - node_modules + .yarn/cache .yarn/install-state.gz - key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} + key: ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock', 'package.json') }} restore-keys: | - ${{ runner.os }}-yarn- + ${{ runner.os }}-yarn-${{ hashFiles('package.json') }}- - name: Install dependencies env: diff --git a/package.json b/package.json index d0aa50f2..79166af1 100644 --- a/package.json +++ b/package.json @@ -45,9 +45,9 @@ "@hapi/boom": "^10.0.1", "async-mutex": "^0.5.0", "fflate": "^0.8.2", - "libsignal": "https://github.com/whiskeysockets/libsignal-node.git", - "lru-cache": "^11.1.0", - "music-metadata": "^11.7.0", + "libsignal": "github:whiskeysockets/libsignal-node", + "lru-cache": "^11.2.6", + "music-metadata": "^11.12.0", "p-queue": "^9.0.0", "pino": "^10.3.1", "prom-client": "^15.1.3", @@ -61,13 +61,13 @@ "@types/jest": "^30.0.0", "@types/node": "^20.19.33", "@types/ws": "^8.0.0", - "@typescript-eslint/eslint-plugin": "^8", - "@typescript-eslint/parser": "^8", + "@typescript-eslint/eslint-plugin": "^8.55.0", + "@typescript-eslint/parser": "^8.55.0", "@whiskeysockets/eslint-config": "^1.0.0", "conventional-changelog": "^7.1.1", "conventional-changelog-angular": "^8.0.0", "esbuild-register": "^3.6.0", - "eslint": "^9", + "eslint": "^9.39.2", "eslint-config-prettier": "^10.1.2", "eslint-plugin-prettier": "^5.4.0", "jest": "^30.0.5", @@ -75,10 +75,10 @@ "jiti": "^2.4.2", "json": "^11.0.0", "link-preview-js": "^4.0.0", - "lru-cache": "^11.1.0", + "lru-cache": "^11.2.6", "open": "^11.0.0", "pino-pretty": "^13.1.1", - "prettier": "^3.5.3", + "prettier": "^3.8.1", "protobufjs-cli": "^1.1.3", "release-it": "^19.2.4", "ts-jest": "^29.4.0", diff --git a/yarn.lock b/yarn.lock index 3d6c5324..53f310d0 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2394,7 +2394,7 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/eslint-plugin@npm:^8, @typescript-eslint/eslint-plugin@npm:^8.37.0": +"@typescript-eslint/eslint-plugin@npm:^8.37.0": version: 8.53.1 resolution: "@typescript-eslint/eslint-plugin@npm:8.53.1" dependencies: @@ -2414,7 +2414,27 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/parser@npm:^8, @typescript-eslint/parser@npm:^8.37.0": +"@typescript-eslint/eslint-plugin@npm:^8.55.0": + version: 8.55.0 + resolution: "@typescript-eslint/eslint-plugin@npm:8.55.0" + dependencies: + "@eslint-community/regexpp": "npm:^4.12.2" + "@typescript-eslint/scope-manager": "npm:8.55.0" + "@typescript-eslint/type-utils": "npm:8.55.0" + "@typescript-eslint/utils": "npm:8.55.0" + "@typescript-eslint/visitor-keys": "npm:8.55.0" + ignore: "npm:^7.0.5" + natural-compare: "npm:^1.4.0" + ts-api-utils: "npm:^2.4.0" + peerDependencies: + "@typescript-eslint/parser": ^8.55.0 + eslint: ^8.57.0 || ^9.0.0 + typescript: ">=4.8.4 <6.0.0" + checksum: 10c0/e15973dfc822f6a455142433fa393ea2dd9fd4ba443e0d2fb68c6be7cd9a36e13412f061ccfe436a2c90fa070c4538bdd50985d374e85606c98800d372c17eb9 + languageName: node + linkType: hard + +"@typescript-eslint/parser@npm:^8.37.0": version: 8.53.1 resolution: "@typescript-eslint/parser@npm:8.53.1" dependencies: @@ -2430,6 +2450,22 @@ __metadata: languageName: node linkType: hard +"@typescript-eslint/parser@npm:^8.55.0": + version: 8.55.0 + resolution: "@typescript-eslint/parser@npm:8.55.0" + dependencies: + "@typescript-eslint/scope-manager": "npm:8.55.0" + "@typescript-eslint/types": "npm:8.55.0" + "@typescript-eslint/typescript-estree": "npm:8.55.0" + "@typescript-eslint/visitor-keys": "npm:8.55.0" + debug: "npm:^4.4.3" + peerDependencies: + eslint: ^8.57.0 || ^9.0.0 + typescript: ">=4.8.4 <6.0.0" + checksum: 10c0/8b8f8caf64a43b98bff8e7bb99cd62d7c72daeee44e80e0a5f693dd376d9c898997e0b9fd5521604d1445bcb24552f54aed5cae022072f8c354a2baf2a452284 + languageName: node + linkType: hard + "@typescript-eslint/project-service@npm:8.53.1": version: 8.53.1 resolution: "@typescript-eslint/project-service@npm:8.53.1" @@ -2443,6 +2479,19 @@ __metadata: languageName: node linkType: hard +"@typescript-eslint/project-service@npm:8.55.0": + version: 8.55.0 + resolution: "@typescript-eslint/project-service@npm:8.55.0" + dependencies: + "@typescript-eslint/tsconfig-utils": "npm:^8.55.0" + "@typescript-eslint/types": "npm:^8.55.0" + debug: "npm:^4.4.3" + peerDependencies: + typescript: ">=4.8.4 <6.0.0" + checksum: 10c0/f35273a63635d2de84409f68dfcea901ed2cd3f08206abb825d742b929c8fce66e0a6a32524d87ce895a7c4c2549e4388baa08644c0a5244c9708151b0f62f52 + languageName: node + linkType: hard + "@typescript-eslint/scope-manager@npm:8.53.1": version: 8.53.1 resolution: "@typescript-eslint/scope-manager@npm:8.53.1" @@ -2453,6 +2502,16 @@ __metadata: languageName: node linkType: hard +"@typescript-eslint/scope-manager@npm:8.55.0": + version: 8.55.0 + resolution: "@typescript-eslint/scope-manager@npm:8.55.0" + dependencies: + "@typescript-eslint/types": "npm:8.55.0" + "@typescript-eslint/visitor-keys": "npm:8.55.0" + checksum: 10c0/c42bd6b8e4936cac8bee3adbc2f707e3aee5f16af3dd18c1d095f4a1b881471b58de73abc0ad176db98654683a808946902e51d86efff39dc7610d29152c3078 + languageName: node + linkType: hard + "@typescript-eslint/tsconfig-utils@npm:8.53.1, @typescript-eslint/tsconfig-utils@npm:^8.53.1": version: 8.53.1 resolution: "@typescript-eslint/tsconfig-utils@npm:8.53.1" @@ -2462,6 +2521,15 @@ __metadata: languageName: node linkType: hard +"@typescript-eslint/tsconfig-utils@npm:8.55.0, @typescript-eslint/tsconfig-utils@npm:^8.55.0": + version: 8.55.0 + resolution: "@typescript-eslint/tsconfig-utils@npm:8.55.0" + peerDependencies: + typescript: ">=4.8.4 <6.0.0" + checksum: 10c0/77b9a0d0b1d6ab0ce26c81394bb1aa969649016d2857e5f915a15b88012ac3dccec9fc5ff65535e1cc373434e1462513f7964e416a8d7a695f7277dcd39ec2af + languageName: node + linkType: hard + "@typescript-eslint/type-utils@npm:8.53.1": version: 8.53.1 resolution: "@typescript-eslint/type-utils@npm:8.53.1" @@ -2478,6 +2546,22 @@ __metadata: languageName: node linkType: hard +"@typescript-eslint/type-utils@npm:8.55.0": + version: 8.55.0 + resolution: "@typescript-eslint/type-utils@npm:8.55.0" + dependencies: + "@typescript-eslint/types": "npm:8.55.0" + "@typescript-eslint/typescript-estree": "npm:8.55.0" + "@typescript-eslint/utils": "npm:8.55.0" + debug: "npm:^4.4.3" + ts-api-utils: "npm:^2.4.0" + peerDependencies: + eslint: ^8.57.0 || ^9.0.0 + typescript: ">=4.8.4 <6.0.0" + checksum: 10c0/4987440d6e1ee2ae8024259796381612ab2fc81821ff93c45400f803726ea4894a25d07afa5f80cdf3081a189d99dc83a3a8dcd94ff9a4cab81461fe28ab9aef + languageName: node + linkType: hard + "@typescript-eslint/types@npm:8.53.1, @typescript-eslint/types@npm:^8.53.1": version: 8.53.1 resolution: "@typescript-eslint/types@npm:8.53.1" @@ -2485,6 +2569,13 @@ __metadata: languageName: node linkType: hard +"@typescript-eslint/types@npm:8.55.0, @typescript-eslint/types@npm:^8.55.0": + version: 8.55.0 + resolution: "@typescript-eslint/types@npm:8.55.0" + checksum: 10c0/dc572f55966e2f0fee149e5d5e42a91cedcdeac451bff29704eb701f9336f123bbc7d7abcfbda717f9e1ef6b402fa24679908bc6032e67513287403037ef345f + languageName: node + linkType: hard + "@typescript-eslint/typescript-estree@npm:8.53.1": version: 8.53.1 resolution: "@typescript-eslint/typescript-estree@npm:8.53.1" @@ -2504,6 +2595,25 @@ __metadata: languageName: node linkType: hard +"@typescript-eslint/typescript-estree@npm:8.55.0": + version: 8.55.0 + resolution: "@typescript-eslint/typescript-estree@npm:8.55.0" + dependencies: + "@typescript-eslint/project-service": "npm:8.55.0" + "@typescript-eslint/tsconfig-utils": "npm:8.55.0" + "@typescript-eslint/types": "npm:8.55.0" + "@typescript-eslint/visitor-keys": "npm:8.55.0" + debug: "npm:^4.4.3" + minimatch: "npm:^9.0.5" + semver: "npm:^7.7.3" + tinyglobby: "npm:^0.2.15" + ts-api-utils: "npm:^2.4.0" + peerDependencies: + typescript: ">=4.8.4 <6.0.0" + checksum: 10c0/2db3ff9489945ad04508b14009eb0f6b2b7c6c2469805327fa09ffa460af354cd181ff2e8153f9008bd60254efb54a004a59ccacbdbc9c963956e2c2c1189dbc + languageName: node + linkType: hard + "@typescript-eslint/utils@npm:8.53.1": version: 8.53.1 resolution: "@typescript-eslint/utils@npm:8.53.1" @@ -2519,6 +2629,21 @@ __metadata: languageName: node linkType: hard +"@typescript-eslint/utils@npm:8.55.0": + version: 8.55.0 + resolution: "@typescript-eslint/utils@npm:8.55.0" + dependencies: + "@eslint-community/eslint-utils": "npm:^4.9.1" + "@typescript-eslint/scope-manager": "npm:8.55.0" + "@typescript-eslint/types": "npm:8.55.0" + "@typescript-eslint/typescript-estree": "npm:8.55.0" + peerDependencies: + eslint: ^8.57.0 || ^9.0.0 + typescript: ">=4.8.4 <6.0.0" + checksum: 10c0/b57b86ac531e433c8057279805e6c903250460bc937cea46ec3b9284181a38f23b7c1ef092e8a1e37179432b39bd587c33db7f031b4243b1207ef37f23e4f24f + languageName: node + linkType: hard + "@typescript-eslint/visitor-keys@npm:8.53.1": version: 8.53.1 resolution: "@typescript-eslint/visitor-keys@npm:8.53.1" @@ -2529,6 +2654,16 @@ __metadata: languageName: node linkType: hard +"@typescript-eslint/visitor-keys@npm:8.55.0": + version: 8.55.0 + resolution: "@typescript-eslint/visitor-keys@npm:8.55.0" + dependencies: + "@typescript-eslint/types": "npm:8.55.0" + eslint-visitor-keys: "npm:^4.2.1" + checksum: 10c0/995c5ca91f7c7c1f3c4fdb4f98654abdff55efa570076b9b012da4cc203ebe7e2aee57ba83208ae51c2aef496c45cb8f6909560349131b779f31ce6f8758da23 + languageName: node + linkType: hard + "@ungap/structured-clone@npm:^1.3.0": version: 1.3.0 resolution: "@ungap/structured-clone@npm:1.3.0" @@ -2952,14 +3087,14 @@ __metadata: "@types/jest": "npm:^30.0.0" "@types/node": "npm:^20.19.33" "@types/ws": "npm:^8.0.0" - "@typescript-eslint/eslint-plugin": "npm:^8" - "@typescript-eslint/parser": "npm:^8" + "@typescript-eslint/eslint-plugin": "npm:^8.55.0" + "@typescript-eslint/parser": "npm:^8.55.0" "@whiskeysockets/eslint-config": "npm:^1.0.0" async-mutex: "npm:^0.5.0" conventional-changelog: "npm:^7.1.1" conventional-changelog-angular: "npm:^8.0.0" esbuild-register: "npm:^3.6.0" - eslint: "npm:^9" + eslint: "npm:^9.39.2" eslint-config-prettier: "npm:^10.1.2" eslint-plugin-prettier: "npm:^5.4.0" fflate: "npm:^0.8.2" @@ -2967,15 +3102,15 @@ __metadata: jimp: "npm:^1.6.0" jiti: "npm:^2.4.2" json: "npm:^11.0.0" - libsignal: "https://github.com/whiskeysockets/libsignal-node.git" + libsignal: "github:whiskeysockets/libsignal-node" link-preview-js: "npm:^4.0.0" - lru-cache: "npm:^11.1.0" - music-metadata: "npm:^11.7.0" + lru-cache: "npm:^11.2.6" + music-metadata: "npm:^11.12.0" open: "npm:^11.0.0" p-queue: "npm:^9.0.0" pino: "npm:^10.3.1" pino-pretty: "npm:^13.1.1" - prettier: "npm:^3.5.3" + prettier: "npm:^3.8.1" prom-client: "npm:^15.1.3" protobufjs: "npm:^7.2.4" protobufjs-cli: "npm:^1.1.3" @@ -4069,7 +4204,7 @@ __metadata: languageName: node linkType: hard -"eslint@npm:^9": +"eslint@npm:^9.39.2": version: 9.39.2 resolution: "eslint@npm:9.39.2" dependencies: @@ -5873,7 +6008,7 @@ __metadata: languageName: node linkType: hard -"libsignal@https://github.com/whiskeysockets/libsignal-node.git": +"libsignal@github:whiskeysockets/libsignal-node": version: 2.0.1 resolution: "libsignal@https://github.com/whiskeysockets/libsignal-node.git#commit=1c30d7d7e76a3b0aa120b04dc6a26f5a12dccf67" dependencies: @@ -6020,7 +6155,7 @@ __metadata: languageName: node linkType: hard -"lru-cache@npm:^11.0.0, lru-cache@npm:^11.2.1": +"lru-cache@npm:^11.0.0, lru-cache@npm:^11.2.1, lru-cache@npm:^11.2.6": version: 11.2.6 resolution: "lru-cache@npm:11.2.6" checksum: 10c0/73bbffb298760e71b2bfe8ebc16a311c6a60ceddbba919cfedfd8635c2d125fbfb5a39b71818200e67973b11f8d59c5a9e31d6f90722e340e90393663a66e5cd @@ -6369,9 +6504,9 @@ __metadata: languageName: node linkType: hard -"music-metadata@npm:^11.7.0": - version: 11.10.6 - resolution: "music-metadata@npm:11.10.6" +"music-metadata@npm:^11.12.0": + version: 11.12.0 + resolution: "music-metadata@npm:11.12.0" dependencies: "@borewit/text-codec": "npm:^0.2.1" "@tokenizer/token": "npm:^0.3.0" @@ -6382,8 +6517,8 @@ __metadata: strtok3: "npm:^10.3.4" token-types: "npm:^6.1.2" uint8array-extras: "npm:^1.5.0" - win-guid: "npm:^0.1.3" - checksum: 10c0/1e17573d588313f1c9b88dc07f993a351214bde09da3313d4cbd16341c47d3759b0e9bd35c6b2c8e777cc0575be28e90d3973abfa9faf3f28bb323ab9dedfda5 + win-guid: "npm:^0.2.1" + checksum: 10c0/014a120b8941ab80452171def0ec3cba013041ba4b94f8061ad493a037d3423e6d316131a13fb0433404685ebd3c8e3ae2255c1bafaeb20673fcd73af2df0148 languageName: node linkType: hard @@ -7110,12 +7245,12 @@ __metadata: languageName: node linkType: hard -"prettier@npm:^3.5.3": - version: 3.8.0 - resolution: "prettier@npm:3.8.0" +"prettier@npm:^3.8.1": + version: 3.8.1 + resolution: "prettier@npm:3.8.1" bin: prettier: bin/prettier.cjs - checksum: 10c0/8926e9c9941a293b76c2d799089d038e9f6d84fb37702fc370bedd03b3c70d7fcf507e2e3c4f151f222d81820a3b74cac5e692c955cfafe34dd0d02616ce8327 + checksum: 10c0/33169b594009e48f570471271be7eac7cdcf88a209eed39ac3b8d6d78984039bfa9132f82b7e6ba3b06711f3bfe0222a62a1bfb87c43f50c25a83df1b78a2c42 languageName: node linkType: hard @@ -8434,10 +8569,10 @@ __metadata: languageName: node linkType: hard -"win-guid@npm:^0.1.3": - version: 0.1.3 - resolution: "win-guid@npm:0.1.3" - checksum: 10c0/20ab9bfb1d189746b955579adca96084e6d2f3ef216adf1c08a567484500f1b2902a414bc0120472b6b797b4f95629da658a1f01315519525b1d4b5d07b0629b +"win-guid@npm:^0.2.1": + version: 0.2.1 + resolution: "win-guid@npm:0.2.1" + checksum: 10c0/4ef31b8553f9f6c775f71f8cda399b6089444657c8dec9cf3ffb4c4f074fb6a11806d7e7bcc4a1fa92015bcb54f1085ae860e9b9a9dca83129bdb3cd90f8c54a languageName: node linkType: hard