easyeda 0.0.328 → 0.0.329

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.
@@ -10042,7 +10042,7 @@ var normalizeSymbolName = (name) => {
10042
10042
  const trimmedName = name.trim();
10043
10043
  if (trimmedName === "+") return "_POS";
10044
10044
  if (trimmedName === "-") return "_NEG";
10045
- return trimmedName;
10045
+ return trimmedName.replace(/(?<=[A-Za-z0-9])-(?=[A-Za-z0-9])/g, "_");
10046
10046
  };
10047
10047
 
10048
10048
  // lib/websafe/convert-to-typescript-component/category-value-contains-diode.ts