extension-develop 3.3.3-next.13 → 3.3.3-next.15

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.
Files changed (2) hide show
  1. package/dist/module.js +19 -3
  2. package/package.json +1 -1
package/dist/module.js CHANGED
@@ -131048,15 +131048,31 @@ var __webpack_modules__ = {
131048
131048
  const err = error;
131049
131049
  return err?.code === 'ENOENT' || String(err?.message || '').includes('ENOENT') || String(err?.message || '').includes('not found');
131050
131050
  }
131051
+ function isWindowsCmd(command) {
131052
+ return 'win32' === process.platform && /\.(cmd|bat)$/i.test(command);
131053
+ }
131054
+ function execFileSyncSafe(command, args, options) {
131055
+ if (isWindowsCmd(command)) return void (0, child_process__rspack_import_2.execFileSync)('cmd.exe', [
131056
+ '/d',
131057
+ '/s',
131058
+ '/c',
131059
+ `"${command}"`,
131060
+ ...args
131061
+ ], {
131062
+ ...options,
131063
+ windowsHide: true
131064
+ });
131065
+ (0, child_process__rspack_import_2.execFileSync)(command, args, options);
131066
+ }
131051
131067
  function execInstallCommand(command, options) {
131052
131068
  try {
131053
- (0, child_process__rspack_import_2.execFileSync)(command.command, command.args, {
131069
+ execFileSyncSafe(command.command, command.args, {
131054
131070
  stdio: 'inherit',
131055
131071
  cwd: options.cwd
131056
131072
  });
131057
131073
  return;
131058
131074
  } catch (error) {
131059
- if (options.fallbackNpmCommand && isMissingManagerError(error)) return void (0, child_process__rspack_import_2.execFileSync)(options.fallbackNpmCommand.command, options.fallbackNpmCommand.args, {
131075
+ if (options.fallbackNpmCommand && isMissingManagerError(error)) return void execFileSyncSafe(options.fallbackNpmCommand.command, options.fallbackNpmCommand.args, {
131060
131076
  stdio: 'inherit',
131061
131077
  cwd: options.cwd
131062
131078
  });
@@ -133329,7 +133345,7 @@ var __webpack_modules__ = {
133329
133345
  },
133330
133346
  "./package.json" (module) {
133331
133347
  "use strict";
133332
- module.exports = JSON.parse('{"rE":"3.3.3-next.13","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","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","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"}}');
133348
+ module.exports = JSON.parse('{"rE":"3.3.3-next.15","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","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","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"}}');
133333
133349
  }
133334
133350
  };
133335
133351
  var __webpack_module_cache__ = {};
package/package.json CHANGED
@@ -22,7 +22,7 @@
22
22
  "dist"
23
23
  ],
24
24
  "name": "extension-develop",
25
- "version": "3.3.3-next.13",
25
+ "version": "3.3.3-next.15",
26
26
  "description": "Develop, build, preview, and package Extension.js projects.",
27
27
  "author": {
28
28
  "name": "Cezar Augusto",