webext-messenger
Advanced tools
Comparing version 0.29.1 to 0.30.0-0
@@ -1,2 +0,2 @@ | ||
import { errorConstructors } from "serialize-error"; | ||
import { addKnownErrorConstructor } from "serialize-error"; | ||
export const __webextMessenger = true; | ||
@@ -9,4 +9,3 @@ export function isObject(value) { | ||
} | ||
// @ts-expect-error Wrong `errorConstructors` types | ||
errorConstructors.set("MessengerError", MessengerError); | ||
addKnownErrorConstructor(MessengerError); | ||
export function isErrorObject(error) { | ||
@@ -13,0 +12,0 @@ // eslint-disable-next-line @typescript-eslint/no-explicit-any -- This is a type guard function and it uses ?. |
{ | ||
"name": "webext-messenger", | ||
"version": "0.29.1", | ||
"version": "0.30.0-0", | ||
"description": "Browser Extension component messaging framework", | ||
@@ -31,5 +31,5 @@ "keywords": [], | ||
"p-retry": "^6.2.1", | ||
"serialize-error": "^11.0.3", | ||
"type-fest": "^4.29.1", | ||
"webext-detect": "^5.3.1", | ||
"serialize-error": "github:sindresorhus/serialize-error#b6ff2ebcd3ed474787a1666596999b9702fa8fb6", | ||
"type-fest": "^4.31.0", | ||
"webext-detect": "^5.3.2", | ||
"webext-events": "^3.1.1" | ||
@@ -44,3 +44,3 @@ }, | ||
"@types/chrome": "^0.0.287", | ||
"@types/tape": "^5.6.5", | ||
"@types/tape": "^5.8.0", | ||
"@types/webextension-polyfill": "^0.12.1", | ||
@@ -58,3 +58,3 @@ "buffer": "^6.0.3", | ||
"typescript": "^5.7.2", | ||
"vitest": "^2.1.6", | ||
"vitest": "^2.1.8", | ||
"webext-content-scripts": "^2.7.0", | ||
@@ -61,0 +61,0 @@ "webextension-polyfill": "^0.12.0" |
GitHub dependency
Supply chain riskContains a dependency which resolves to a GitHub URL. Dependencies fetched from GitHub specifiers are not immutable can be used to inject untrusted code or reduce the likelihood of a reproducible install.
Found 1 instance in 1 package
37954
742
1
- Removedserialize-error@11.0.3(transitive)
- Removedtype-fest@2.19.0(transitive)
Updatedserialize-error@github:sindresorhus/serialize-error#b6ff2ebcd3ed474787a1666596999b9702fa8fb6
Updatedtype-fest@^4.31.0
Updatedwebext-detect@^5.3.2