extension 4.0.15 → 4.0.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +16 -6
- package/dist/49.cjs +142 -12
- package/dist/browsers.cjs +190 -23
- package/dist/cli.cjs +190 -23
- package/dist/extension/browsers/browsers-lib/banner.d.ts +1 -0
- package/dist/extension/browsers/browsers-lib/messages.d.ts +2 -0
- package/dist/extension/browsers/browsers-lib/ready-stamp.d.ts +1 -0
- package/dist/extension/browsers/browsers-lib/shared-utils.d.ts +1 -0
- package/dist/extension/browsers/browsers-types.d.ts +6 -0
- package/dist/extension/browsers/index.d.ts +6 -1
- package/dist/extension/browsers/run-chromium/cdp/cdp-extension-controller/ensure.d.ts +11 -0
- package/dist/extension/browsers/run-chromium/cdp/cdp-extension-controller/index.d.ts +5 -0
- package/dist/extension/browsers/run-chromium/chromium-launch/index.d.ts +6 -1
- package/dist/extension/browsers/run-chromium/chromium-types.d.ts +2 -0
- package/dist/extension/browsers/run-firefox/firefox-launch/index.d.ts +2 -0
- package/dist/extension/browsers/run-firefox/firefox-types.d.ts +4 -1
- package/dist/extension/browsers/run-firefox/rdp/rdp-extension-controller/index.d.ts +1 -0
- package/dist/extension/browsers/run-firefox/rdp/remote-firefox/addons-install.d.ts +7 -0
- package/dist/extension/browsers/run-firefox/rdp/remote-firefox/index.d.ts +2 -0
- package/package.json +7 -7
- package/dist/extension/browsers/browsers-lib/html-merge.d.ts +0 -1
|
@@ -18,6 +18,7 @@ export declare class FirefoxRDPController {
|
|
|
18
18
|
private readonly debugPort;
|
|
19
19
|
constructor(plugin: PluginLike, debugPort: number);
|
|
20
20
|
ensureLoaded(compilation: CompilationLike): Promise<void>;
|
|
21
|
+
getAddonInstallRefusalReason(): string | null;
|
|
21
22
|
enableUnifiedLogging(opts: {
|
|
22
23
|
level?: string;
|
|
23
24
|
contexts?: string[] | undefined;
|
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
import type { CompilationLike } from '../../../browsers-types';
|
|
2
2
|
import type { MessagingClient } from './messaging-client';
|
|
3
|
+
export type AddonInstallOutcome = {
|
|
4
|
+
status: 'refused';
|
|
5
|
+
reason: string;
|
|
6
|
+
} | {
|
|
7
|
+
status: 'unknown';
|
|
8
|
+
};
|
|
9
|
+
export declare function classifyAddonInstallFailure(error: unknown): AddonInstallOutcome;
|
|
3
10
|
export declare function getAddonsActorWithRetry(client: MessagingClient, cached: string | undefined, tries?: number, delayMs?: number): Promise<string | undefined>;
|
|
4
11
|
export declare function computeCandidateAddonPaths(compilation: CompilationLike, extensionsToLoad: string[], projectContext?: string): string[];
|
|
5
12
|
export declare function waitForManagerWelcome(client: MessagingClient): Promise<void>;
|
|
@@ -6,6 +6,8 @@ export declare class RemoteFirefox {
|
|
|
6
6
|
private cachedAddonsActor;
|
|
7
7
|
private lastInstalledAddonPath;
|
|
8
8
|
private derivedExtensionId;
|
|
9
|
+
private addonInstallRefusalReason;
|
|
10
|
+
getAddonInstallRefusalReason(): string | null;
|
|
9
11
|
private selectPrimaryAddonPath;
|
|
10
12
|
constructor(configOptions: PluginInterface & {
|
|
11
13
|
browserVersionLine?: string;
|
package/package.json
CHANGED
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"extension": "./bin/extension.cjs"
|
|
39
39
|
},
|
|
40
40
|
"name": "extension",
|
|
41
|
-
"version": "4.0.
|
|
41
|
+
"version": "4.0.16",
|
|
42
42
|
"description": "The cross-browser extension framework. Build Chrome, Edge, Firefox, and Safari extensions with no build configuration.",
|
|
43
43
|
"homepage": "https://extension.js.org/",
|
|
44
44
|
"bugs": {
|
|
@@ -95,9 +95,6 @@
|
|
|
95
95
|
"cli"
|
|
96
96
|
],
|
|
97
97
|
"dependencies": {
|
|
98
|
-
"@types/chrome": "^0.1.33",
|
|
99
|
-
"@types/node": "^26",
|
|
100
|
-
"@types/webextension-polyfill": "0.12.4",
|
|
101
98
|
"brave-location": "3.1.0",
|
|
102
99
|
"chrome-location2": "4.1.0",
|
|
103
100
|
"chromium-location": "2.1.1",
|
|
@@ -109,9 +106,9 @@
|
|
|
109
106
|
"vivaldi-location2": "2.1.0",
|
|
110
107
|
"waterfox-location": "2.1.0",
|
|
111
108
|
"yandex-location": "2.1.0",
|
|
112
|
-
"extension-create": "4.0.
|
|
113
|
-
"extension-develop": "4.0.
|
|
114
|
-
"extension-install": "4.0.
|
|
109
|
+
"extension-create": "4.0.16",
|
|
110
|
+
"extension-develop": "4.0.16",
|
|
111
|
+
"extension-install": "4.0.16",
|
|
115
112
|
"commander": "^15.0.0",
|
|
116
113
|
"pintor": "0.3.0",
|
|
117
114
|
"semver": "^7.7.3",
|
|
@@ -122,8 +119,11 @@
|
|
|
122
119
|
},
|
|
123
120
|
"devDependencies": {
|
|
124
121
|
"@rslib/core": "^0.23.1",
|
|
122
|
+
"@types/chrome": "^0.1.33",
|
|
125
123
|
"@types/cross-spawn": "^6.0.6",
|
|
124
|
+
"@types/node": "^26",
|
|
126
125
|
"@types/semver": "^7.7.1",
|
|
126
|
+
"@types/webextension-polyfill": "0.12.4",
|
|
127
127
|
"@types/ws": "^8.18.1",
|
|
128
128
|
"webextension-polyfill": "^0.12.0",
|
|
129
129
|
"tsconfig": "*",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function mergeShadowIntoDocument(mainHTML: string, shadowContent: string): string;
|