@tscircuit/fake-snippets 0.0.160 → 0.0.161
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/bundle.js +6 -6
- package/dist/index.js +2 -2
- package/dist/schema.js +2 -2
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -470,8 +470,8 @@ var databaseSchema = z.object({
|
|
|
470
470
|
bugReports: z.array(bugReportSchema).default([]),
|
|
471
471
|
bugReportFiles: z.array(bugReportFileSchema).default([])
|
|
472
472
|
});
|
|
473
|
-
var tscircuitHandleSchema = z.string().min(
|
|
474
|
-
/^[0-9A-Za-z][0-9A-Za-z_-]*[0-9A-Za-z]
|
|
473
|
+
var tscircuitHandleSchema = z.string().min(1).max(40).regex(
|
|
474
|
+
/^[0-9A-Za-z]([0-9A-Za-z_-]*[0-9A-Za-z])?$/,
|
|
475
475
|
"tscircuit_handle must start and end with a letter or number, and may only contain letters, numbers, underscores, and hyphens"
|
|
476
476
|
);
|
|
477
477
|
|
package/dist/schema.js
CHANGED
|
@@ -464,8 +464,8 @@ var databaseSchema = z.object({
|
|
|
464
464
|
bugReports: z.array(bugReportSchema).default([]),
|
|
465
465
|
bugReportFiles: z.array(bugReportFileSchema).default([])
|
|
466
466
|
});
|
|
467
|
-
var tscircuitHandleSchema = z.string().min(
|
|
468
|
-
/^[0-9A-Za-z][0-9A-Za-z_-]*[0-9A-Za-z]
|
|
467
|
+
var tscircuitHandleSchema = z.string().min(1).max(40).regex(
|
|
468
|
+
/^[0-9A-Za-z]([0-9A-Za-z_-]*[0-9A-Za-z])?$/,
|
|
469
469
|
"tscircuit_handle must start and end with a letter or number, and may only contain letters, numbers, underscores, and hyphens"
|
|
470
470
|
);
|
|
471
471
|
export {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tscircuit/fake-snippets",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.161",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -84,12 +84,12 @@
|
|
|
84
84
|
"@tscircuit/3d-viewer": "^0.0.448",
|
|
85
85
|
"@tscircuit/assembly-viewer": "^0.0.5",
|
|
86
86
|
"@tscircuit/create-snippet-url": "^0.0.8",
|
|
87
|
-
"@tscircuit/eval": "^0.0.
|
|
87
|
+
"@tscircuit/eval": "^0.0.537",
|
|
88
88
|
"@tscircuit/layout": "^0.0.29",
|
|
89
89
|
"@tscircuit/mm": "^0.0.8",
|
|
90
90
|
"@tscircuit/pcb-viewer": "^1.11.256",
|
|
91
91
|
"@tscircuit/prompt-benchmarks": "^0.0.28",
|
|
92
|
-
"@tscircuit/runframe": "^0.0.
|
|
92
|
+
"@tscircuit/runframe": "^0.0.1379",
|
|
93
93
|
"@tscircuit/schematic-viewer": "^2.0.46",
|
|
94
94
|
"@tscircuit/simple-3d-svg": "^0.0.41",
|
|
95
95
|
"@types/babel__standalone": "^7.1.7",
|