vike 0.4.247-commit-9b74d50 → 0.4.247-commit-dbcfa58

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.
@@ -156,10 +156,10 @@ function monkeyPatchHistoryAPI() {
156
156
  });
157
157
  }
158
158
  function isEqual(state1, state2) {
159
- return isObject(state1) && isObject(state2) && deepEqual(state1._isVikeEnhanced, state2._isVikeEnhanced);
159
+ return deepEqual(state1?._isVikeEnhanced, state2?._isVikeEnhanced);
160
160
  }
161
161
  function isVikeEnhanced(state) {
162
- if (isObject(state) && '_isVikeEnhanced' in state) {
162
+ if (state?._isVikeEnhanced) {
163
163
  /* We don't use the assert() below to save client-side KBs.
164
164
  const vikeData = state._isVikeEnhanced
165
165
  assert(isObject(vikeData))
@@ -1 +1 @@
1
- export declare const PROJECT_VERSION: "0.4.247-commit-9b74d50";
1
+ export declare const PROJECT_VERSION: "0.4.247-commit-dbcfa58";
@@ -1,2 +1,2 @@
1
1
  // Automatically updated by @brillout/release-me
2
- export const PROJECT_VERSION = '0.4.247-commit-9b74d50';
2
+ export const PROJECT_VERSION = '0.4.247-commit-dbcfa58';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vike",
3
- "version": "0.4.247-commit-9b74d50",
3
+ "version": "0.4.247-commit-dbcfa58",
4
4
  "repository": "https://github.com/vikejs/vike",
5
5
  "exports": {
6
6
  "./server": {