extension-develop 3.1.0-next.11 → 3.1.0-next.12
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/547.js +9 -9
- package/dist/module.js +6 -6
- package/package.json +1 -1
package/dist/547.js
CHANGED
|
@@ -1957,7 +1957,7 @@ exports.modules = {
|
|
|
1957
1957
|
return lines.join('\n');
|
|
1958
1958
|
}
|
|
1959
1959
|
function fileNotFound(errorSourcePath, missingFilePath, opts) {
|
|
1960
|
-
if (!errorSourcePath) throw new Error('This
|
|
1960
|
+
if (!errorSourcePath) throw new Error('This state should not occur. Please report a bug.');
|
|
1961
1961
|
switch(external_path_.extname(missingFilePath)){
|
|
1962
1962
|
case '.js':
|
|
1963
1963
|
case '.ts':
|
|
@@ -4931,7 +4931,7 @@ Set background.noDynamicEntryWarning to true to disable this warning.
|
|
|
4931
4931
|
}
|
|
4932
4932
|
}
|
|
4933
4933
|
function manifestNotFoundMessageOnly(absPath) {
|
|
4934
|
-
return `Check
|
|
4934
|
+
return `Check for a valid manifest.json file.\n\nNOT FOUND ${absPath}`;
|
|
4935
4935
|
}
|
|
4936
4936
|
function entryNotFoundMessageOnly(manifestField, absPath) {
|
|
4937
4937
|
const guidance = `Check the ${manifestField} field in your manifest.json file.`;
|
|
@@ -4939,24 +4939,24 @@ Set background.noDynamicEntryWarning to true to disable this warning.
|
|
|
4939
4939
|
return guidance + suffix;
|
|
4940
4940
|
}
|
|
4941
4941
|
function defaultLocaleSpecifiedButLocalesMissing() {
|
|
4942
|
-
return '
|
|
4942
|
+
return 'default_locale is set, but the _locales folder is missing. Add _locales/<default>/messages.json.';
|
|
4943
4943
|
}
|
|
4944
4944
|
function defaultLocaleFolderMissing(defaultLocale) {
|
|
4945
|
-
return `Default locale folder is missing: _locales/${defaultLocale}
|
|
4945
|
+
return `Default locale folder is missing: _locales/${defaultLocale}. Create it and add messages.json.`;
|
|
4946
4946
|
}
|
|
4947
4947
|
function defaultLocaleMessagesMissing(defaultLocale) {
|
|
4948
|
-
return `Default locale messages.json is missing: _locales/${defaultLocale}/messages.json
|
|
4948
|
+
return `Default locale messages.json is missing: _locales/${defaultLocale}/messages.json. Create the file with your strings.`;
|
|
4949
4949
|
}
|
|
4950
4950
|
function localesPresentButNoDefaultLocale() {
|
|
4951
|
-
return 'The _locales
|
|
4951
|
+
return 'The _locales folder exists, but manifest.json is missing default_locale. Add default_locale to manifest.json.';
|
|
4952
4952
|
}
|
|
4953
4953
|
function invalidMessagesJson(absPath) {
|
|
4954
|
-
return `Invalid JSON in locale messages file: ${absPath}
|
|
4954
|
+
return `Invalid JSON in locale messages file: ${absPath}. Fix the JSON syntax and try again.`;
|
|
4955
4955
|
}
|
|
4956
4956
|
function missingManifestMessageKey(key, defaultLocale) {
|
|
4957
4957
|
const header = 'Check the i18n placeholders in your manifest.json file.';
|
|
4958
4958
|
const localePath = defaultLocale ? `_locales/${defaultLocale}/messages.json` : '_locales/<default>/messages.json';
|
|
4959
|
-
const guidance = `The key "${key}" referenced via __MSG_${key}__ must be defined in ${localePath}.`;
|
|
4959
|
+
const guidance = `The key "${key}" referenced via __MSG_${key}__ must be defined in ${localePath}. Add the key to that file.`;
|
|
4960
4960
|
const final = `MISSING KEY ${key} in ${localePath}`;
|
|
4961
4961
|
return `${header}\n${guidance}\n\n${final}`;
|
|
4962
4962
|
}
|
|
@@ -6529,7 +6529,7 @@ Set background.noDynamicEntryWarning to true to disable this warning.
|
|
|
6529
6529
|
}
|
|
6530
6530
|
var external_chokidar_ = __webpack_require__("chokidar");
|
|
6531
6531
|
function serverRestartRequiredFromSpecialFolderMessageOnly(addingOrRemoving, folder, typeOfAsset) {
|
|
6532
|
-
return `${external_pintor_default().red('ERROR')} in ${external_pintor_default().yellow('manifest.json')} entrypoint: ${addingOrRemoving} ${external_pintor_default().yellow(typeOfAsset)} in ${external_pintor_default().underline(folder + '/')} requires a server restart.`;
|
|
6532
|
+
return `${external_pintor_default().red('ERROR')} in ${external_pintor_default().yellow('manifest.json')} entrypoint: ${addingOrRemoving} ${external_pintor_default().yellow(typeOfAsset)} in ${external_pintor_default().underline(folder + '/')} requires a dev server restart to apply changes.`;
|
|
6533
6533
|
}
|
|
6534
6534
|
function specialFoldersSetupSummary(hasPublic, copyEnabled, ignoredCount) {
|
|
6535
6535
|
return `Special folders setup — public=${String(hasPublic)}, copy=${String(copyEnabled)}, ignored=${String(ignoredCount)}`;
|
package/dist/module.js
CHANGED
|
@@ -127598,7 +127598,7 @@ var __webpack_modules__ = {
|
|
|
127598
127598
|
return body.join('\n') + '\n';
|
|
127599
127599
|
}
|
|
127600
127600
|
function firefoxLaunchCalled() {
|
|
127601
|
-
return `${getLoggingPrefix('info')}
|
|
127601
|
+
return `${getLoggingPrefix('info')} Firefox launch requested.`;
|
|
127602
127602
|
}
|
|
127603
127603
|
function firefoxBinaryArgsExtracted(args) {
|
|
127604
127604
|
return `${getLoggingPrefix('info')} Firefox binary args extracted: ${pintor__rspack_import_0_default().gray(args)}`;
|
|
@@ -127640,7 +127640,7 @@ var __webpack_modules__ = {
|
|
|
127640
127640
|
return `${getLoggingPrefix('info')} Waiting for Firefox to be ready with remote debugging...`;
|
|
127641
127641
|
}
|
|
127642
127642
|
function firefoxRemoteDebuggingReady() {
|
|
127643
|
-
return `${getLoggingPrefix('success')} Firefox is ready with remote debugging
|
|
127643
|
+
return `${getLoggingPrefix('success')} Firefox is ready with remote debugging.`;
|
|
127644
127644
|
}
|
|
127645
127645
|
function sourceInspectorFirefoxNotReadyYet(retries, maxRetries) {
|
|
127646
127646
|
return `${getLoggingPrefix('warn')} Firefox not ready yet, retrying... (${pintor__rspack_import_0_default().gray(retries.toString())}/${pintor__rspack_import_0_default().gray(maxRetries.toString())})`;
|
|
@@ -127649,7 +127649,7 @@ var __webpack_modules__ = {
|
|
|
127649
127649
|
return `${getLoggingPrefix('info')} Waiting for Chrome to be ready with remote debugging...`;
|
|
127650
127650
|
}
|
|
127651
127651
|
function chromeRemoteDebuggingReady() {
|
|
127652
|
-
return `${getLoggingPrefix('success')} Chrome is ready with remote debugging
|
|
127652
|
+
return `${getLoggingPrefix('success')} Chrome is ready with remote debugging.`;
|
|
127653
127653
|
}
|
|
127654
127654
|
function sourceInspectorChromeNotReadyYet(retries, maxRetries) {
|
|
127655
127655
|
return `${getLoggingPrefix('warn')} Chrome not ready yet, retrying... (${pintor__rspack_import_0_default().gray(retries.toString())}/${pintor__rspack_import_0_default().gray(maxRetries.toString())})`;
|
|
@@ -127679,7 +127679,7 @@ var __webpack_modules__ = {
|
|
|
127679
127679
|
return `${getLoggingPrefix('success')} Chrome is attached to the target with session ID: ${pintor__rspack_import_0_default().gray(sessionId)}`;
|
|
127680
127680
|
}
|
|
127681
127681
|
function sourceInspectorHTMLExtractionComplete() {
|
|
127682
|
-
return `${getLoggingPrefix('success')} Chrome HTML extraction is complete
|
|
127682
|
+
return `${getLoggingPrefix('success')} Chrome HTML extraction is complete.`;
|
|
127683
127683
|
}
|
|
127684
127684
|
function sourceInspectorInspectionFailed(error) {
|
|
127685
127685
|
return `${getLoggingPrefix('error')} Failed to inspect Chrome source: ${pintor__rspack_import_0_default().red(error)}`;
|
|
@@ -127736,7 +127736,7 @@ var __webpack_modules__ = {
|
|
|
127736
127736
|
return `${getLoggingPrefix('error')} Failed to update Chrome HTML: ${pintor__rspack_import_0_default().red(error)}`;
|
|
127737
127737
|
}
|
|
127738
127738
|
function sourceInspectorCleanupComplete() {
|
|
127739
|
-
return `${getLoggingPrefix('success')} Chrome source inspector cleaned up
|
|
127739
|
+
return `${getLoggingPrefix('success')} Chrome source inspector cleaned up.`;
|
|
127740
127740
|
}
|
|
127741
127741
|
function sourceInspectorCleanupError(error) {
|
|
127742
127742
|
return `${getLoggingPrefix('error')} Error during Chrome cleanup: ${pintor__rspack_import_0_default().red(error)}`;
|
|
@@ -132534,7 +132534,7 @@ var __webpack_modules__ = {
|
|
|
132534
132534
|
},
|
|
132535
132535
|
"./package.json" (module) {
|
|
132536
132536
|
"use strict";
|
|
132537
|
-
module.exports = JSON.parse('{"rE":"3.1.0-next.
|
|
132537
|
+
module.exports = JSON.parse('{"rE":"3.1.0-next.12","El":{"@rspack/core":"^1.7.2","@rspack/dev-server":"^1.1.5","@swc/core":"^1.15.8","@swc/helpers":"^0.5.18","adm-zip":"^0.5.16","browser-extension-manifest-fields":"^2.2.1","case-sensitive-paths-webpack-plugin":"^2.4.0","chokidar":"^5.0.0","chrome-location2":"4.0.0","chromium-location":"2.0.0","content-security-policy-parser":"^0.6.0","cross-spawn":"^7.0.6","dotenv":"^17.2.3","edge-location":"2.2.0","firefox-location2":"3.0.0","go-git-it":"^5.0.3","ignore":"^7.0.5","loader-utils":"^3.3.1","magic-string":"^0.30.21","package-manager-detector":"^1.6.0","parse5":"^8.0.0","parse5-utilities":"^1.0.0","pintor":"0.3.0","schema-utils":"^4.3.3","tiny-glob":"^0.2.9","unique-names-generator":"^4.7.1","webextension-polyfill":"^0.12.0","webpack-merge":"^6.0.1","webpack-target-webextension":"^2.1.3","ws":"^8.19.0"}}');
|
|
132538
132538
|
}
|
|
132539
132539
|
};
|
|
132540
132540
|
var __webpack_module_cache__ = {};
|
package/package.json
CHANGED