vike 0.4.218-commit-0a599fa → 0.4.218-commit-da1f60b

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.
@@ -147,6 +147,7 @@ function assertVikeCliOrApi(config) {
147
147
  onlyOnce: true
148
148
  });
149
149
  }
150
+ // TODO/v1-release: remove
150
151
  function temp_supportOldInterface(config) {
151
152
  if (!('vitePluginSsr' in config))
152
153
  return;
@@ -2,4 +2,4 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.PROJECT_VERSION = void 0;
4
4
  // Automatically updated by @brillout/release-me
5
- exports.PROJECT_VERSION = '0.4.218-commit-0a599fa';
5
+ exports.PROJECT_VERSION = '0.4.218-commit-da1f60b';
@@ -3,8 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getGlobalObject = getGlobalObject;
4
4
  exports.assertIsSingleModuleInstance = assertIsSingleModuleInstance;
5
5
  const assert_js_1 = require("./assert.js");
6
- const projectInfo_js_1 = require("./projectInfo.js");
7
- const projectKey = `_${projectInfo_js_1.projectInfo.projectName.toLowerCase()}`;
8
6
  /** Share information across module instances. */
9
7
  function getGlobalObject(
10
8
  // We use the filename (or file path) as key. There should be only one getGlobalObject() usage per file. Thus the key should be unique, assuming the filename (or file path) is unique.
@@ -21,6 +19,7 @@ key) {
21
19
  (0, assert_js_1.assert)(!(key in globalObjects));
22
20
  }
23
21
  function getGlobalObjects() {
22
+ const projectKey = '_vike';
24
23
  // @ts-ignore
25
24
  const globalObjects = (globalThis[projectKey] = globalThis[projectKey] || {});
26
25
  return globalObjects;
@@ -142,6 +142,7 @@ function assertVikeCliOrApi(config) {
142
142
  onlyOnce: true
143
143
  });
144
144
  }
145
+ // TODO/v1-release: remove
145
146
  function temp_supportOldInterface(config) {
146
147
  if (!('vitePluginSsr' in config))
147
148
  return;
@@ -1 +1 @@
1
- export declare const PROJECT_VERSION: "0.4.218-commit-0a599fa";
1
+ export declare const PROJECT_VERSION: "0.4.218-commit-da1f60b";
@@ -1,2 +1,2 @@
1
1
  // Automatically updated by @brillout/release-me
2
- export const PROJECT_VERSION = '0.4.218-commit-0a599fa';
2
+ export const PROJECT_VERSION = '0.4.218-commit-da1f60b';
@@ -1,8 +1,6 @@
1
1
  export { getGlobalObject };
2
2
  export { assertIsSingleModuleInstance };
3
3
  import { assert } from './assert.js';
4
- import { projectInfo } from './projectInfo.js';
5
- const projectKey = `_${projectInfo.projectName.toLowerCase()}`;
6
4
  /** Share information across module instances. */
7
5
  function getGlobalObject(
8
6
  // We use the filename (or file path) as key. There should be only one getGlobalObject() usage per file. Thus the key should be unique, assuming the filename (or file path) is unique.
@@ -19,6 +17,7 @@ key) {
19
17
  assert(!(key in globalObjects));
20
18
  }
21
19
  function getGlobalObjects() {
20
+ const projectKey = '_vike';
22
21
  // @ts-ignore
23
22
  const globalObjects = (globalThis[projectKey] = globalThis[projectKey] || {});
24
23
  return globalObjects;
@@ -1,4 +1,4 @@
1
1
  export declare const projectInfo: {
2
2
  projectName: "Vike";
3
- projectVersion: "0.4.218-commit-0a599fa";
3
+ projectVersion: "0.4.218-commit-da1f60b";
4
4
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vike",
3
- "version": "0.4.218-commit-0a599fa",
3
+ "version": "0.4.218-commit-da1f60b",
4
4
  "repository": "https://github.com/vikejs/vike",
5
5
  "exports": {
6
6
  "./server": {