vike 0.4.258-commit-24a5c2b → 0.4.259

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.
@@ -29,6 +29,7 @@ import { getBetterError } from '../../../utils/getBetterError.js';
29
29
  import { getRequestId_withAsyncHook } from '../../../server/runtime/asyncHook.js';
30
30
  import { getRequestTag } from '../../../server/runtime/renderPageServer.js';
31
31
  import '../assertEnvVite.js';
32
+ import { isDeno } from '../../../utils/isDeno.js';
32
33
  assertIsNotProductionRuntime();
33
34
  setLogRuntimeDev(logErrorServerDev, logRuntimeInfoDev);
34
35
  setAssertOnBeforeErr((err) => {
@@ -138,7 +139,9 @@ function logDev(msg, logType, tagSource, tagTool, doNotAddTags) {
138
139
  }
139
140
  function getTagSource(requestId = null) {
140
141
  const requestIdFromStore = getRequestId_withAsyncHook();
141
- if (requestIdFromStore !== null) {
142
+ if (requestIdFromStore !== null &&
143
+ // Workaround for Deno bug: https://github.com/vikejs/vike/issues/3240
144
+ !isDeno()) {
142
145
  if (requestId === null) {
143
146
  requestId = requestIdFromStore;
144
147
  }
@@ -1 +1 @@
1
- export declare const PROJECT_VERSION: "0.4.258-commit-24a5c2b";
1
+ export declare const PROJECT_VERSION: "0.4.259";
@@ -1,2 +1,2 @@
1
1
  // Automatically updated by @brillout/release-me
2
- export const PROJECT_VERSION = '0.4.258-commit-24a5c2b';
2
+ export const PROJECT_VERSION = '0.4.259';
@@ -0,0 +1 @@
1
+ export declare function isDeno(): boolean;
@@ -0,0 +1,3 @@
1
+ export function isDeno() {
2
+ return typeof Deno !== 'undefined' && typeof Deno.version === 'object' && typeof Deno.version.deno === 'string';
3
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vike",
3
- "version": "0.4.258-commit-24a5c2b",
3
+ "version": "0.4.259",
4
4
  "repository": "https://github.com/vikejs/vike",
5
5
  "exports": {
6
6
  "./server": {
@@ -133,7 +133,7 @@
133
133
  "@brillout/picocolors": "^1.0.30",
134
134
  "@brillout/vite-plugin-server-entry": "0.7.18",
135
135
  "@universal-deploy/store": "^0.2.1",
136
- "@universal-deploy/vite": "^0.1.7",
136
+ "@universal-deploy/vite": "^0.1.9",
137
137
  "@universal-middleware/core": "^0.4.17",
138
138
  "@universal-middleware/node": "^0.1.0",
139
139
  "cac": "^6.0.0",