vike 0.4.167-commit-aa83fde → 0.4.167-commit-cfadd0a
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.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.PROJECT_VERSION = exports.projectInfo = void 0;
|
|
4
|
-
const PROJECT_VERSION = '0.4.167-commit-
|
|
4
|
+
const PROJECT_VERSION = '0.4.167-commit-cfadd0a';
|
|
5
5
|
exports.PROJECT_VERSION = PROJECT_VERSION;
|
|
6
6
|
const projectInfo = {
|
|
7
7
|
projectName: 'Vike',
|
|
@@ -77,7 +77,7 @@ function pushHistoryState(state, url) {
|
|
|
77
77
|
window.history.pushState(state, '', url);
|
|
78
78
|
}
|
|
79
79
|
function monkeyPatchHistoryPushState() {
|
|
80
|
-
const pushStateOriginal = window.history.pushState;
|
|
80
|
+
const pushStateOriginal = window.history.pushState.bind(window.history);
|
|
81
81
|
window.history.pushState = (stateOriginal = {}, ...rest) => {
|
|
82
82
|
assertUsage(stateOriginal === undefined || stateOriginal === null || isObject(stateOriginal), 'history.pushState(state) argument state must be an object');
|
|
83
83
|
const stateEnhanced = isVikeEnhanced(stateOriginal)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { projectInfo };
|
|
2
2
|
export { PROJECT_VERSION };
|
|
3
|
-
declare const PROJECT_VERSION: "0.4.167-commit-
|
|
3
|
+
declare const PROJECT_VERSION: "0.4.167-commit-cfadd0a";
|
|
4
4
|
declare const projectInfo: {
|
|
5
5
|
projectName: "Vike";
|
|
6
|
-
projectVersion: "0.4.167-commit-
|
|
6
|
+
projectVersion: "0.4.167-commit-cfadd0a";
|
|
7
7
|
};
|