extension-develop 4.0.35 → 4.1.0
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/101.mjs +5 -5
- package/dist/349.mjs +3 -2
- package/dist/lib/messaging.d.ts +1 -0
- package/package.json +1 -1
package/dist/101.mjs
CHANGED
|
@@ -688,7 +688,7 @@ async function config_loader_isUsingExperimentalConfig(projectPath) {
|
|
|
688
688
|
}
|
|
689
689
|
return false;
|
|
690
690
|
}
|
|
691
|
-
var package_namespaceObject = /*#__PURE__*/ JSON.parse('{"rE":"4.0
|
|
691
|
+
var package_namespaceObject = /*#__PURE__*/ JSON.parse('{"rE":"4.1.0","El":{"@prefresh/core":"1.5.9","@prefresh/utils":"1.2.1","@rspack/core":"^2.1.1","@rspack/dev-server":"2.1.0","@rspack/plugin-preact-refresh":"2.0.1","@rspack/plugin-react-refresh":"2.0.2","@vue/compiler-sfc":"3.5.26","acorn":"^8.16.0","browser-extension-manifest-fields":"^2.2.9","case-sensitive-paths-webpack-plugin":"^2.4.0","content-security-policy-parser":"^0.6.0","dotenv":"^17.2.3","es-module-lexer":"^2.1.0","extension-from-store":"^0.2.5","fflate":"^0.8.3","go-git-it":"^5.1.5","ignore":"^7.0.5","less":"4.6.7","less-loader":"13.0.0","parse5-utilities":"^1.0.0","pintor":"0.3.0","postcss":"8.5.23","postcss-loader":"8.2.1","postcss-preset-env":"11.1.1","postcss-scss":"4.0.9","preact":"10.27.3","prefers-yarn":"2.0.1","react-refresh":"0.18.0","sass-loader":"17.0.0","schema-utils":"^4.3.3","svelte-loader":"3.2.4","tiny-glob":"^0.2.9","vue":"3.5.26","vue-loader":"17.4.2","webextension-polyfill":"^0.12.0","webpack-merge":"^6.0.1","webpack-target-webextension":"^2.1.3","ws":"^8.20.1"}}');
|
|
692
692
|
function asAbsolute(p) {
|
|
693
693
|
return __rspack_external_node_path_c5b9b54f.isAbsolute(p) ? p : __rspack_external_node_path_c5b9b54f.resolve(p);
|
|
694
694
|
}
|
|
@@ -2235,13 +2235,13 @@ function browserRunnerDisabled(args) {
|
|
|
2235
2235
|
label: 'Extension',
|
|
2236
2236
|
value: extensionLabel
|
|
2237
2237
|
},
|
|
2238
|
-
{
|
|
2239
|
-
label: 'Output',
|
|
2240
|
-
value: collapseHomeDirInCardValue(String(args.distPath || '').trim())
|
|
2241
|
-
},
|
|
2242
2238
|
{
|
|
2243
2239
|
label: 'Run ID',
|
|
2244
2240
|
value: runLabel
|
|
2241
|
+
},
|
|
2242
|
+
{
|
|
2243
|
+
label: 'Output',
|
|
2244
|
+
value: collapseHomeDirInCardValue(String(args.distPath || '').trim())
|
|
2245
2245
|
}
|
|
2246
2246
|
]
|
|
2247
2247
|
});
|
package/dist/349.mjs
CHANGED
|
@@ -60,11 +60,12 @@ const fmt = {
|
|
|
60
60
|
}
|
|
61
61
|
};
|
|
62
62
|
const CARD_LABEL_WIDTH = 15;
|
|
63
|
+
const MAX_CARD_ROWS = 3;
|
|
63
64
|
function card(input = {}) {
|
|
64
65
|
const version = String(input.version || '').trim();
|
|
65
66
|
const suffix = String(input.suffix || '').trim();
|
|
66
|
-
const head = ` 🧩
|
|
67
|
-
const body = (input.rows || []).filter((row)=>String(row.value || '').trim().length > 0).map((row)=>{
|
|
67
|
+
const head = ` 🧩 Extension.js` + (version ? ` ${pintor.gray(version)}` : '') + (suffix ? ` ${suffix}` : '');
|
|
68
|
+
const body = (input.rows || []).filter((row)=>String(row.value || '').trim().length > 0).slice(0, MAX_CARD_ROWS).map((row)=>{
|
|
68
69
|
const label = row.label.padEnd(CARD_LABEL_WIDTH);
|
|
69
70
|
return ` ${label}${pintor.gray(String(row.value).trim())}`;
|
|
70
71
|
});
|
package/dist/lib/messaging.d.ts
CHANGED
|
@@ -23,6 +23,7 @@ export interface CardInput {
|
|
|
23
23
|
suffix?: string;
|
|
24
24
|
rows?: CardRow[];
|
|
25
25
|
}
|
|
26
|
+
export declare const MAX_CARD_ROWS = 3;
|
|
26
27
|
export declare function card(input?: CardInput): string;
|
|
27
28
|
export declare function browserRowValue(browser: string, versionLine?: string): string;
|
|
28
29
|
export declare function isCardKeyClaimed(key: string): boolean;
|