extension 4.4.1 → 4.4.2-canary.487.93cd555

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/dist/browsers.cjs CHANGED
@@ -3777,13 +3777,17 @@ var __webpack_modules__ = {
3777
3777
  }
3778
3778
  }
3779
3779
  });
3780
- for (const [which, pid] of undated)late.startedAt(pid).then((startedAt)=>{
3781
- if (!startedAt) return;
3782
- patchReady(extensionOutputPath, runId, (ready)=>{
3783
- (0, _develop_lib_ready_contract_writer__rspack_import_5.nz)(ready, which, pid, startedAt);
3784
- });
3785
- }).catch(()=>{});
3780
+ for (const [which, pid] of undated){
3781
+ const dated = late.startedAt(pid).then((startedAt)=>{
3782
+ if (!startedAt) return;
3783
+ patchReady(extensionOutputPath, runId, (ready)=>{
3784
+ (0, _develop_lib_ready_contract_writer__rspack_import_5.nz)(ready, which, pid, startedAt);
3785
+ });
3786
+ }).catch(()=>{}).finally(()=>pendingLateStamps.delete(dated));
3787
+ pendingLateStamps.add(dated);
3788
+ }
3786
3789
  }
3790
+ const pendingLateStamps = new Set();
3787
3791
  function readReadyExecutorAttached(extensionOutputPath, runId) {
3788
3792
  try {
3789
3793
  if (!extensionOutputPath) return false;
package/dist/cli.cjs CHANGED
@@ -3803,13 +3803,17 @@ var __webpack_modules__ = {
3803
3803
  }
3804
3804
  }
3805
3805
  });
3806
- for (const [which, pid] of undated)late.startedAt(pid).then((startedAt)=>{
3807
- if (!startedAt) return;
3808
- patchReady(extensionOutputPath, runId, (ready)=>{
3809
- (0, _develop_lib_ready_contract_writer__rspack_import_5.nz)(ready, which, pid, startedAt);
3810
- });
3811
- }).catch(()=>{});
3806
+ for (const [which, pid] of undated){
3807
+ const dated = late.startedAt(pid).then((startedAt)=>{
3808
+ if (!startedAt) return;
3809
+ patchReady(extensionOutputPath, runId, (ready)=>{
3810
+ (0, _develop_lib_ready_contract_writer__rspack_import_5.nz)(ready, which, pid, startedAt);
3811
+ });
3812
+ }).catch(()=>{}).finally(()=>pendingLateStamps.delete(dated));
3813
+ pendingLateStamps.add(dated);
3814
+ }
3812
3815
  }
3816
+ const pendingLateStamps = new Set();
3813
3817
  function readReadyExecutorAttached(extensionOutputPath, runId) {
3814
3818
  try {
3815
3819
  if (!extensionOutputPath) return false;
@@ -49,6 +49,7 @@ export declare function stampReadyBrowserLaunch(extensionOutputPath: string | un
49
49
  binaryPinnedBy?: string;
50
50
  profileReused?: boolean;
51
51
  }, runId?: string, probes?: PidStartProbes, late?: LateStartProbe): void;
52
+ export declare function lateStampsSettled(): Promise<void>;
52
53
  export declare function readReadyExecutorAttached(extensionOutputPath: string | undefined, runId?: string): boolean;
53
54
  export declare function stampReadyBrowserUpNotAttached(extensionOutputPath: string | undefined, details: {
54
55
  waitedMs: number;
package/package.json CHANGED
@@ -42,7 +42,7 @@
42
42
  "extension": "./bin/extension.cjs"
43
43
  },
44
44
  "name": "extension",
45
- "version": "4.4.1",
45
+ "version": "4.4.2-canary.487.93cd555",
46
46
  "description": "The cross-browser extension framework. Build Chrome, Edge, Firefox, and Safari extensions with no build configuration.",
47
47
  "homepage": "https://extension.js.org/",
48
48
  "funding": "https://github.com/sponsors/cezaraugusto",
@@ -107,9 +107,9 @@
107
107
  "chrome-types": ">=0.1.460",
108
108
  "chromium-location": "2.1.2",
109
109
  "edge-location": "2.3.1",
110
- "extension-create": "4.4.1",
111
- "extension-develop": "4.4.1",
112
- "extension-install": "4.4.1",
110
+ "extension-create": "4.4.2-canary.487.93cd555",
111
+ "extension-develop": "4.4.2-canary.487.93cd555",
112
+ "extension-install": "4.4.2-canary.487.93cd555",
113
113
  "firefox-location2": "3.2.0",
114
114
  "floorp-location": "1.0.0",
115
115
  "librewolf-location": "1.2.1",