latticesql 1.2.0 → 1.2.3
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/cli.js +2 -2
- package/dist/index.cjs +2 -2
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -1182,9 +1182,9 @@ var RenderEngine = class {
|
|
|
1182
1182
|
}
|
|
1183
1183
|
for (const entityRow of allRows) {
|
|
1184
1184
|
const slug = def.slug(entityRow);
|
|
1185
|
-
if (/[^a-zA-Z0-9.\-_ @]/.test(slug)) {
|
|
1185
|
+
if (/[^a-zA-Z0-9.\-_ @(),#&'+]/.test(slug)) {
|
|
1186
1186
|
throw new Error(
|
|
1187
|
-
`Invalid slug "${slug}": contains characters outside the allowed set (alphanumeric, dot, hyphen, underscore, space,
|
|
1187
|
+
`Invalid slug "${slug}": contains characters outside the allowed set (alphanumeric, dot, hyphen, underscore, space, @, parens, comma, #, &, ', +)`
|
|
1188
1188
|
);
|
|
1189
1189
|
}
|
|
1190
1190
|
const entityDir = def.directory ? join5(outputDir, def.directory(entityRow)) : join5(outputDir, directoryRoot, slug);
|
package/dist/index.cjs
CHANGED
|
@@ -942,9 +942,9 @@ var RenderEngine = class {
|
|
|
942
942
|
}
|
|
943
943
|
for (const entityRow of allRows) {
|
|
944
944
|
const slug = def.slug(entityRow);
|
|
945
|
-
if (/[^a-zA-Z0-9.\-_ @]/.test(slug)) {
|
|
945
|
+
if (/[^a-zA-Z0-9.\-_ @(),#&'+]/.test(slug)) {
|
|
946
946
|
throw new Error(
|
|
947
|
-
`Invalid slug "${slug}": contains characters outside the allowed set (alphanumeric, dot, hyphen, underscore, space,
|
|
947
|
+
`Invalid slug "${slug}": contains characters outside the allowed set (alphanumeric, dot, hyphen, underscore, space, @, parens, comma, #, &, ', +)`
|
|
948
948
|
);
|
|
949
949
|
}
|
|
950
950
|
const entityDir = def.directory ? (0, import_node_path4.join)(outputDir, def.directory(entityRow)) : (0, import_node_path4.join)(outputDir, directoryRoot, slug);
|
package/dist/index.js
CHANGED
|
@@ -874,9 +874,9 @@ var RenderEngine = class {
|
|
|
874
874
|
}
|
|
875
875
|
for (const entityRow of allRows) {
|
|
876
876
|
const slug = def.slug(entityRow);
|
|
877
|
-
if (/[^a-zA-Z0-9.\-_ @]/.test(slug)) {
|
|
877
|
+
if (/[^a-zA-Z0-9.\-_ @(),#&'+]/.test(slug)) {
|
|
878
878
|
throw new Error(
|
|
879
|
-
`Invalid slug "${slug}": contains characters outside the allowed set (alphanumeric, dot, hyphen, underscore, space,
|
|
879
|
+
`Invalid slug "${slug}": contains characters outside the allowed set (alphanumeric, dot, hyphen, underscore, space, @, parens, comma, #, &, ', +)`
|
|
880
880
|
);
|
|
881
881
|
}
|
|
882
882
|
const entityDir = def.directory ? join4(outputDir, def.directory(entityRow)) : join4(outputDir, directoryRoot, slug);
|