vike 0.4.253-commit-6cfeda2 → 0.4.253-commit-a8f23e5

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.
@@ -24,8 +24,13 @@ function getPageContextPublicShared(pageContext) {
24
24
  enumerable: false,
25
25
  });
26
26
  }
27
- // For a more readable `console.log(pageContext)` output
28
- sortPageContext(pageContext);
27
+ // More readable `console.log(pageContext)` output
28
+ if (
29
+ // https://github.com/vikejs/vike/issues/3099
30
+ globalThis.__VIKE__IS_DEV ||
31
+ globalThis.__VIKE__IS_DEBUG) {
32
+ sortPageContext(pageContext);
33
+ }
29
34
  const globalContextPublic = getGlobalContextPublicShared(pageContext._globalContext);
30
35
  const pageContextPublic = getPublicProxy(pageContext, 'pageContext',
31
36
  // We must skip it in the client-side because of the reactivity mechanism of UI frameworks like Solid.
@@ -1 +1 @@
1
- export declare const PROJECT_VERSION: "0.4.253-commit-6cfeda2";
1
+ export declare const PROJECT_VERSION: "0.4.253-commit-a8f23e5";
@@ -1,2 +1,2 @@
1
1
  // Automatically updated by @brillout/release-me
2
- export const PROJECT_VERSION = '0.4.253-commit-6cfeda2';
2
+ export const PROJECT_VERSION = '0.4.253-commit-a8f23e5';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vike",
3
- "version": "0.4.253-commit-6cfeda2",
3
+ "version": "0.4.253-commit-a8f23e5",
4
4
  "repository": "https://github.com/vikejs/vike",
5
5
  "exports": {
6
6
  "./server": {