this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

patch

alice 7913508f 827334ba

+36 -2
bun.lockb

This is a binary file and will not be displayed.

+4 -2
package.json
··· 6 6 "dev": "next dev", 7 7 "build": "next build", 8 8 "start": "next start", 9 - "lint": "next lint" 9 + "lint": "next lint", 10 + "postinstall": "patch-package" 10 11 }, 11 12 "dependencies": { 12 13 "@babel/preset-typescript": "^7.23.3", ··· 17 18 "bookmarkleter": "^1.1.0", 18 19 "eslint": "^8.54.0", 19 20 "eslint-config-next": "^14.0.3", 20 - "next": "14.0.2", 21 + "next": "next+14.0.4-canary.4", 22 + "patch-package": "^8.0.0", 21 23 "postcss": "^8.4.31", 22 24 "prism-react-renderer": "^2.2.0", 23 25 "react": "^18.2.0",
+32
patches/next+14.0.4-canary.4.patch
··· 1 + diff --git a/node_modules/next/dist/client/components/app-router.js b/node_modules/next/dist/client/components/app-router.js 2 + index 69d3063..89f154f 100644 3 + --- a/node_modules/next/dist/client/components/app-router.js 4 + +++ b/node_modules/next/dist/client/components/app-router.js 5 + @@ -326,6 +326,11 @@ function copyNextJsInternalHistoryState(data) { 6 + if (!event.persisted || !((_window_history_state = window.history.state) == null ? void 0 : _window_history_state.__PRIVATE_NEXTJS_INTERNALS_TREE)) { 7 + return; 8 + } 9 + + // If restoring from a MPA navigation, globalMutable.pendingMpaPath might be set to 10 + + // the URL we navigated to. This breaks future navigations to that URL, so we need to clear it 11 + + if (globalMutable.pendingMpaPath) { 12 + + globalMutable.pendingMpaPath = undefined; 13 + + } 14 + dispatch({ 15 + type: _routerreducertypes.ACTION_RESTORE, 16 + url: new URL(window.location.href), 17 + diff --git a/node_modules/next/dist/esm/client/components/app-router.js b/node_modules/next/dist/esm/client/components/app-router.js 18 + index d6ee706..a35fb4a 100644 19 + --- a/node_modules/next/dist/esm/client/components/app-router.js 20 + +++ b/node_modules/next/dist/esm/client/components/app-router.js 21 + @@ -295,6 +295,11 @@ function copyNextJsInternalHistoryState(data) { 22 + if (!event.persisted || !((_window_history_state = window.history.state) == null ? void 0 : _window_history_state.__PRIVATE_NEXTJS_INTERNALS_TREE)) { 23 + return; 24 + } 25 + + // If restoring from a MPA navigation, globalMutable.pendingMpaPath might be set to 26 + + // the URL we navigated to. This breaks future navigations to that URL, so we need to clear it 27 + + if (globalMutable.pendingMpaPath) { 28 + + globalMutable.pendingMpaPath = undefined; 29 + + } 30 + dispatch({ 31 + type: ACTION_RESTORE, 32 + url: new URL(window.location.href),