extension-develop 3.6.0 → 3.6.2

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.cjs +10 -7
  2. package/package.json +1 -1
package/dist/module.cjs CHANGED
@@ -132657,7 +132657,6 @@ var __webpack_modules__ = {
132657
132657
  const resolverPlugin = {
132658
132658
  apply (compiler) {
132659
132659
  const existingMainFields = compiler.options.resolve && compiler.options.resolve.mainFields || [];
132660
- const existingConditionNames = compiler.options.resolve && (compiler.options.resolve.conditionNames || compiler.options.resolve.conditions) || [];
132661
132660
  const existingExtensions = compiler.options.resolve && compiler.options.resolve.extensions || [];
132662
132661
  const existingAlias = compiler.options.resolve && compiler.options.resolve.alias || {};
132663
132662
  const existingModules = compiler.options.resolve && compiler.options.resolve.modules || [];
@@ -132672,10 +132671,6 @@ var __webpack_modules__ = {
132672
132671
  compiler.options.resolve = {
132673
132672
  ...compiler.options.resolve,
132674
132673
  mainFields: dedupe(nextMainFields),
132675
- conditionNames: dedupe([
132676
- 'svelte',
132677
- ...existingConditionNames
132678
- ]),
132679
132674
  extensions: dedupe([
132680
132675
  '.svelte',
132681
132676
  ...existingExtensions
@@ -133865,6 +133860,10 @@ var __webpack_modules__ = {
133865
133860
  if (!value || 'win32' !== process.platform) return false;
133866
133861
  return /\.(cmd|bat|exe)$/i.test(value);
133867
133862
  }
133863
+ function isNodeScriptPath(value) {
133864
+ if (!value) return false;
133865
+ return /\.(mjs|cjs|js)$/i.test(value);
133866
+ }
133868
133867
  function resolveWindowsCommandPath(command) {
133869
133868
  if ('win32' !== process.platform) return;
133870
133869
  try {
@@ -134007,13 +134006,17 @@ var __webpack_modules__ = {
134007
134006
  command: pm.execPath,
134008
134007
  args
134009
134008
  };
134010
- return {
134009
+ if (isNodeScriptPath(pm.execPath)) return {
134011
134010
  command: process.execPath,
134012
134011
  args: [
134013
134012
  pm.execPath,
134014
134013
  ...args
134015
134014
  ]
134016
134015
  };
134016
+ return {
134017
+ command: pm.execPath,
134018
+ args
134019
+ };
134017
134020
  }
134018
134021
  return {
134019
134022
  command: pm.name,
@@ -134370,7 +134373,7 @@ var __webpack_modules__ = {
134370
134373
  },
134371
134374
  "./package.json" (module) {
134372
134375
  "use strict";
134373
- module.exports = JSON.parse('{"rE":"3.6.0","El":{"@rspack/core":"^1.7.5","@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","extension-from-store":"^0.1.1","firefox-location2":"3.0.0","go-git-it":"^5.1.1","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"}}');
134376
+ module.exports = JSON.parse('{"rE":"3.6.2","El":{"@rspack/core":"^1.7.5","@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","extension-from-store":"^0.1.1","firefox-location2":"3.0.0","go-git-it":"^5.1.1","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"}}');
134374
134377
  }
134375
134378
  };
134376
134379
  var __webpack_module_cache__ = {};
package/package.json CHANGED
@@ -24,7 +24,7 @@
24
24
  "webpack/webpack-lib/build-dependencies.json"
25
25
  ],
26
26
  "name": "extension-develop",
27
- "version": "3.6.0",
27
+ "version": "3.6.2",
28
28
  "description": "Develop, build, preview, and package Extension.js projects.",
29
29
  "author": {
30
30
  "name": "Cezar Augusto",