@sveltejs/kit 1.0.0-next.424 → 1.0.0-next.425

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.424",
3
+ "version": "1.0.0-next.425",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/sveltejs/kit",
@@ -274,7 +274,7 @@ export function create_client({ target, base, trailing_slash }) {
274
274
  console.warn = (...args) => {
275
275
  if (
276
276
  args.length !== 1 ||
277
- !/<(Layout|Page)> was created with unknown prop '(data|errors)'/.test(args[0])
277
+ !/<(Layout|Page)(_[\w$]+)?> was created with unknown prop '(data|errors)'/.test(args[0])
278
278
  ) {
279
279
  warn(...args);
280
280
  }
@@ -368,7 +368,7 @@ export function create_client({ target, base, trailing_slash }) {
368
368
  console.warn = (...args) => {
369
369
  if (
370
370
  args.length !== 1 ||
371
- !/<(Layout|Page)> was created with unknown prop '(data|errors)'/.test(args[0])
371
+ !/<(Layout|Page)(_[\w$]+)?> was created with unknown prop '(data|errors)'/.test(args[0])
372
372
  ) {
373
373
  warn(...args);
374
374
  }