extension 4.0.22 → 4.0.24

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.
@@ -10,6 +10,7 @@ type HostPort = {
10
10
  };
11
11
  type BinaryProvenance = 'managed' | 'pinned' | 'system' | 'snapshot';
12
12
  export declare function expectedChromiumExtensionId(outPath: string): string;
13
+ export declare function expectedGeckoExtensionId(outPath: string): string;
13
14
  export declare function printDevBannerOnce(opts: {
14
15
  browser: BrowserType;
15
16
  outPath: string;
@@ -9,8 +9,8 @@ export declare function bestEffortBannerPrintFailed(message: string): string;
9
9
  export declare function firefoxRdpRuntimeCapabilitySummary(state: 'available' | 'unavailable'): string;
10
10
  export declare function skippingBrowserLaunchDueToCompileErrors(): string;
11
11
  export declare function browserNotInstalledError(browser: Browser, browserBinaryLocation: string): string;
12
- export declare function usingManagedChromiumFamilyFallback(requestedBrowser: Browser, fallbackBrowser: Browser, binaryPath: string): string;
13
- export declare function preferringSystemBrowserOverSnapshot(systemBinary: string, snapshotBinary: string): string;
12
+ export declare function usingManagedChromiumFamilyFallback(requestedBrowser: Browser, _fallbackBrowser: Browser, _binaryPath: string): string;
13
+ export declare function preferringSystemBrowserOverSnapshot(_systemBinary: string, _snapshotBinary: string): string;
14
14
  export declare function mv2NotSupportedByChromium(extensionPath: string): string;
15
15
  export declare function mv3BackgroundScriptsNotSupportedByChromium(extensionPath: string): string;
16
16
  export declare function unsupportedManifestVersionOnChromium(extensionPath: string, declared: unknown): string;
@@ -19,7 +19,7 @@ export declare function chromiumManifestLoadBlockers(extensionPath: string, bloc
19
19
  export declare function chromiumExtensionLoadRefused(extensionPath: string, reason: string): string;
20
20
  export declare function chromiumExtensionLoadUnconfirmed(extensionPath: string): string;
21
21
  export declare function geckoAddonLoadRefused(addonPath: string, reason: string): string;
22
- export declare function devChannelSnapshotInUse(binaryPath: string): string;
22
+ export declare function devChannelSnapshotInUse(_binaryPath: string): string;
23
23
  export declare function browserLaunchError(browser: Browser, error: unknown): string;
24
24
  export declare function enhancedProcessManagementCleanup(browser: Browser): string;
25
25
  export declare function enhancedProcessManagementTerminating(browser: Browser): string;
@@ -2,7 +2,9 @@ export declare function stampReadyRdpPort(extensionOutputPath: string | undefine
2
2
  export declare function stampReadyBrowserLaunch(extensionOutputPath: string | undefined, details: {
3
3
  profilePath?: string;
4
4
  browserPid?: number;
5
+ extensionId?: string;
5
6
  }): void;
7
+ export declare function stampReadyExtensionId(extensionOutputPath: string | undefined, extensionId: string | undefined): void;
6
8
  export declare function stampReadyExtensionLoadRefused(extensionOutputPath: string | undefined, reason: string): void;
7
9
  export declare function stampReadyProfileLocked(extensionOutputPath: string | undefined, details: {
8
10
  message?: string;
@@ -19,6 +19,7 @@ export declare class FirefoxRDPController {
19
19
  constructor(plugin: PluginLike, debugPort: number);
20
20
  ensureLoaded(compilation: CompilationLike): Promise<void>;
21
21
  getAddonInstallRefusalReason(): string | null;
22
+ getExtensionId(): string | undefined;
22
23
  enableUnifiedLogging(opts: {
23
24
  level?: string;
24
25
  contexts?: string[] | undefined;
@@ -8,6 +8,7 @@ export declare class RemoteFirefox {
8
8
  private derivedExtensionId;
9
9
  private addonInstallRefusalReason;
10
10
  getAddonInstallRefusalReason(): string | null;
11
+ getDerivedExtensionId(): string | undefined;
11
12
  private selectPrimaryAddonPath;
12
13
  constructor(configOptions: PluginInterface & {
13
14
  browserVersionLine?: string;
@@ -5,7 +5,8 @@ export type SafariPipelineMode = 'full' | 'resync';
5
5
  /**
6
6
  * What the pipeline resolved for this app. `bundleIdDerived` used to exist
7
7
  * only as a log line, which left a machine caller unable to learn that its
8
- * app carries a generated dev.extensionjs.* id Apple will not accept.
8
+ * app carries a generated dev.extensionjs.* id shared with every project
9
+ * built from the same source.
9
10
  */
10
11
  export interface SafariPackageResult {
11
12
  appName: string;
@@ -1,6 +1,10 @@
1
1
  export type Channel = 'info' | 'success' | 'warn' | 'error' | 'debug';
2
2
  export declare function isDebug(): boolean;
3
3
  export declare function prefix(type: Channel): string;
4
+ export declare function isMachineOutput(): boolean;
5
+ export declare function humanLine(...parts: unknown[]): void;
6
+ export declare function humanWarn(...parts: unknown[]): void;
7
+ export declare function humanError(...parts: unknown[]): void;
4
8
  export declare const fmt: {
5
9
  heading: (title: string) => string;
6
10
  label: (key: string) => string;
@@ -0,0 +1 @@
1
+ export declare function resolveNoBrowser(projectPath: string, command: 'dev' | 'start' | 'preview'): Promise<boolean>;
@@ -6,7 +6,7 @@ export type TelemetryProps = {
6
6
  template?: string;
7
7
  source?: string;
8
8
  };
9
- export type TelemetrySource = 'env' | 'flag' | 'config' | 'default';
9
+ export type TelemetrySource = 'env' | 'flag' | 'config' | 'ci' | 'default';
10
10
  type TelemetryInit = {
11
11
  app: string;
12
12
  version: 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.22",
41
+ "version": "4.0.24",
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": {
@@ -106,9 +106,9 @@
106
106
  "vivaldi-location2": "2.1.0",
107
107
  "waterfox-location": "2.1.0",
108
108
  "yandex-location": "2.1.0",
109
- "extension-create": "4.0.22",
110
- "extension-develop": "4.0.22",
111
- "extension-install": "4.0.22",
109
+ "extension-create": "4.0.24",
110
+ "extension-develop": "4.0.24",
111
+ "extension-install": "4.0.24",
112
112
  "commander": "^15.0.0",
113
113
  "pintor": "0.3.0",
114
114
  "semver": "^7.7.3",