@tscircuit/core 0.0.537 → 0.0.538
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/index.js +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -501,7 +501,7 @@ var preprocessSelector = (selector) => {
|
|
|
501
501
|
`Net name "${netName}" cannot start with a number, try using a prefix like "VBUS1"`
|
|
502
502
|
);
|
|
503
503
|
}
|
|
504
|
-
return selector.replace(/ pin/g, " port").replace(/ subcircuit\./g, " group[isSubcircuit=true]").replace(/([^ ])\>([^ ])/g, "$1 > $2").replace(
|
|
504
|
+
return selector.replace(/ pin(?=[\d.])/g, " port").replace(/ subcircuit\./g, " group[isSubcircuit=true]").replace(/([^ ])\>([^ ])/g, "$1 > $2").replace(
|
|
505
505
|
/(^|[ >])(?!pin\.)(?!port\.)(?!net\.)([A-Z][A-Za-z0-9_-]*)\.([A-Za-z0-9_-]+)/g,
|
|
506
506
|
(_, sep, name, pin) => {
|
|
507
507
|
const pinPart = /^\d+$/.test(pin) ? `pin${pin}` : pin;
|
|
@@ -10697,7 +10697,7 @@ import { identity as identity4 } from "transformation-matrix";
|
|
|
10697
10697
|
var package_default = {
|
|
10698
10698
|
name: "@tscircuit/core",
|
|
10699
10699
|
type: "module",
|
|
10700
|
-
version: "0.0.
|
|
10700
|
+
version: "0.0.537",
|
|
10701
10701
|
types: "dist/index.d.ts",
|
|
10702
10702
|
main: "dist/index.js",
|
|
10703
10703
|
module: "dist/index.js",
|