diff --git a/package-lock.json b/package-lock.json index 5610812..24589cc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -16,7 +16,7 @@ }, "devDependencies": { "@parcel/config-webextension": "^2.6.2", - "@sindresorhus/tsconfig": "^4.0.0", + "@sindresorhus/tsconfig": "^5.0.0", "@types/chrome": "^0.0.245", "@types/tape": "^5.6.1", "@types/webextension-polyfill": "^0.10.5", @@ -10777,12 +10777,12 @@ } }, "node_modules/@sindresorhus/tsconfig": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@sindresorhus/tsconfig/-/tsconfig-4.0.0.tgz", - "integrity": "sha512-ZPfPpln4Yl07TE5ULbCkESdvfNq+zen9QPIEnvKSPYgHBhbLSGPGH/G4uF76RUijc/LA7PkVXljjxT4b+5/vpQ==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/@sindresorhus/tsconfig/-/tsconfig-5.0.0.tgz", + "integrity": "sha512-LvvySslVPhAwo7dT+iovKXKCmJD82yYAsH/3D5BSyT3YP9Dvhdlhy0eQr0DBE0CxeFO6Wdbco3+nB+c2QYcAaA==", "dev": true, "engines": { - "node": ">=16" + "node": ">=18" } }, "node_modules/@swc/helpers": { diff --git a/package.json b/package.json index 43026db..cd3b737 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ }, "devDependencies": { "@parcel/config-webextension": "^2.6.2", - "@sindresorhus/tsconfig": "^4.0.0", + "@sindresorhus/tsconfig": "^5.0.0", "@types/chrome": "^0.0.245", "@types/tape": "^5.6.1", "@types/webextension-polyfill": "^0.10.5", diff --git a/source/thisTarget.ts b/source/thisTarget.ts index a20d387..6866449 100644 --- a/source/thisTarget.ts +++ b/source/thisTarget.ts @@ -142,7 +142,6 @@ const storeTabData = once(async () => { tabDataStatus = "error"; throw new MessengerError( "Tab registration failed. This page won’t be able to receive messages that require tab information", - // @ts-expect-error TODO: update lib to accept Error#cause { cause: error } ); }