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.
package/dist/main.cjs CHANGED
@@ -1026,7 +1026,7 @@ var import_promises = __toESM(require("fs/promises"), 1);
1026
1026
  var package_default = {
1027
1027
  name: "easyeda",
1028
1028
  type: "module",
1029
- version: "0.0.327",
1029
+ version: "0.0.328",
1030
1030
  files: [
1031
1031
  "dist"
1032
1032
  ],
@@ -7272,7 +7272,7 @@ var normalizeSymbolName = (name) => {
7272
7272
  const trimmedName = name.trim();
7273
7273
  if (trimmedName === "+") return "_POS";
7274
7274
  if (trimmedName === "-") return "_NEG";
7275
- return trimmedName;
7275
+ return trimmedName.replace(/(?<=[A-Za-z0-9])-(?=[A-Za-z0-9])/g, "_");
7276
7276
  };
7277
7277
 
7278
7278
  // lib/websafe/convert-to-typescript-component/category-value-contains-diode.ts