extension-install 4.0.29 → 4.0.32
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/module.cjs +1 -1
- package/package.json +1 -1
package/dist/module.cjs
CHANGED
|
@@ -55,7 +55,7 @@ function normalizeBrowserName(input) {
|
|
|
55
55
|
const value = String(input || '').trim().toLowerCase();
|
|
56
56
|
const resolved = BROWSER_ALIASES[value];
|
|
57
57
|
if (resolved) return resolved;
|
|
58
|
-
if ('safari' === value || 'webkit-based' === value) throw new Error("There is no Safari binary to install. Safari ships with macOS. Safari builds need the full Xcode app instead (Mac App Store), then run `extension build --browser safari`.");
|
|
58
|
+
if ('safari' === value || 'webkit-based' === value || value.includes('webkit') || value.includes('safari')) throw new Error("There is no Safari binary to install. Safari ships with macOS. Safari builds need the full Xcode app instead (Mac App Store), then run `extension build --browser safari`.");
|
|
59
59
|
throw new Error(`Unsupported browser "${value}". Supported values: ${Object.keys(BROWSER_ALIASES).join(', ')}`);
|
|
60
60
|
}
|
|
61
61
|
const external_node_fs_namespaceObject = require("node:fs");
|