@sveltejs/kit 1.0.0-next.434 → 1.0.0-next.435

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sveltejs/kit",
3
- "version": "1.0.0-next.434",
3
+ "version": "1.0.0-next.435",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/sveltejs/kit",
@@ -321,7 +321,7 @@ function analyze(project_relative, file, component_extensions, module_extensions
321
321
  const component_extension = component_extensions.find((ext) => file.endsWith(ext));
322
322
  if (component_extension) {
323
323
  const name = file.slice(0, -component_extension.length);
324
- const pattern = /^\+(?:(page(?:@([a-zA-Z0-9_-]*))?)|(layout(?:@([a-zA-Z0-9_-]*))?)|(error))$/;
324
+ const pattern = /^\+(?:(page(?:@(.*))?)|(layout(?:@(.*))?)|(error))$/;
325
325
  const match = pattern.exec(name);
326
326
  if (!match) {
327
327
  // TODO remove for 1.0