Updated deps
This commit is contained in:
parent
9e5ad41e5c
commit
4f78b4f006
|
@ -1,3 +1,4 @@
|
|||
upgrade: true
|
||||
interactive: true
|
||||
format: "group"
|
||||
reject:
|
||||
|
|
File diff suppressed because it is too large
Load Diff
20
package.json
20
package.json
|
@ -36,9 +36,9 @@
|
|||
"marked": "^4.3.0",
|
||||
"material-symbols": "^0.5.5",
|
||||
"meilisearch": "^0.32.3",
|
||||
"next": "^13.3.1",
|
||||
"next": "^13.3.2",
|
||||
"nodemailer": "^6.9.1",
|
||||
"patch-package": "^6.5.1",
|
||||
"patch-package": "^7.0.0",
|
||||
"rc-slider": "^10.1.1",
|
||||
"react": "^18.2.0",
|
||||
"react-dom": "18.2.0",
|
||||
|
@ -60,26 +60,26 @@
|
|||
"@graphql-codegen/typescript-graphql-request": "^4.5.9",
|
||||
"@graphql-codegen/typescript-operations": "^3.0.4",
|
||||
"@types/marked": "^4.0.8",
|
||||
"@types/node": "18.16.0",
|
||||
"@types/node": "18.16.3",
|
||||
"@types/nodemailer": "^6.4.7",
|
||||
"@types/react": "^18.0.38",
|
||||
"@types/react-dom": "^18.0.11",
|
||||
"@types/react": "^18.2.0",
|
||||
"@types/react-dom": "^18.2.1",
|
||||
"@types/string-natural-compare": "^3.0.2",
|
||||
"@types/throttle-debounce": "^5.0.0",
|
||||
"@types/turndown": "^5.0.1",
|
||||
"@types/ua-parser-js": "^0.7.36",
|
||||
"@typescript-eslint/eslint-plugin": "^5.59.0",
|
||||
"@typescript-eslint/parser": "^5.59.0",
|
||||
"@typescript-eslint/eslint-plugin": "^5.59.1",
|
||||
"@typescript-eslint/parser": "^5.59.1",
|
||||
"dotenv": "^16.0.3",
|
||||
"eslint": "^8.39.0",
|
||||
"eslint-config-next": "13.3.1",
|
||||
"eslint-config-next": "13.3.2",
|
||||
"eslint-plugin-import": "^2.27.5",
|
||||
"graphql": "^16.6.0",
|
||||
"graphql-request": "5.1.0",
|
||||
"next-sitemap": "^4.0.7",
|
||||
"prettier": "^2.8.8",
|
||||
"prettier-plugin-tailwindcss": "^0.2.7",
|
||||
"tailwindcss": "^3.3.1",
|
||||
"prettier-plugin-tailwindcss": "^0.2.8",
|
||||
"tailwindcss": "^3.3.2",
|
||||
"ts-unused-exports": "^9.0.4",
|
||||
"typescript": "^5.0.4"
|
||||
},
|
||||
|
|
|
@ -1,103 +0,0 @@
|
|||
diff --git a/node_modules/next/dist/server/dev/static-paths-worker.js b/node_modules/next/dist/server/dev/static-paths-worker.js
|
||||
index 3ecbb7d..e466fb8 100644
|
||||
--- a/node_modules/next/dist/server/dev/static-paths-worker.js
|
||||
+++ b/node_modules/next/dist/server/dev/static-paths-worker.js
|
||||
@@ -53,10 +53,16 @@ function _interopRequireWildcard(obj) {
|
||||
if (process.env.NEXT_PREBUNDLED_REACT) {
|
||||
(0, _requireHook).overrideBuiltInReactPackages();
|
||||
}
|
||||
+let workerWasUsed = false;
|
||||
// expose AsyncLocalStorage on globalThis for react usage
|
||||
const { AsyncLocalStorage } = require("async_hooks");
|
||||
globalThis.AsyncLocalStorage = AsyncLocalStorage;
|
||||
async function loadStaticPaths({ distDir , pathname , config , httpAgentOptions , enableUndici , locales , defaultLocale , isAppPath , originalAppPath , isrFlushToDisk , fetchCacheKeyPrefix , maxMemoryCacheSize , requestHeaders , incrementalCacheHandlerPath }) {
|
||||
+ // we only want to use each worker once to prevent any invalid
|
||||
+ // caches
|
||||
+ if (workerWasUsed) {
|
||||
+ process.exit(1);
|
||||
+ }
|
||||
// update work memory runtime-config
|
||||
require("../../shared/lib/runtime-config").setConfig(config);
|
||||
(0, _config).setHttpClientAndAgentOptions({
|
||||
@@ -76,49 +82,42 @@ async function loadStaticPaths({ distDir , pathname , config , httpAgentOptions
|
||||
// only be called for SSG pages with getStaticPaths
|
||||
throw new Error(`Invariant: failed to load page with getStaticPaths for ${pathname}`);
|
||||
}
|
||||
- try {
|
||||
- if (isAppPath) {
|
||||
- var ref;
|
||||
- const userland = (ref = components.ComponentMod.routeModule) == null ? void 0 : ref.userland;
|
||||
- const generateParams = userland ? [
|
||||
- {
|
||||
- config: {
|
||||
- revalidate: userland.revalidate,
|
||||
- dynamic: userland.dynamic,
|
||||
- dynamicParams: userland.dynamicParams
|
||||
- },
|
||||
- generateStaticParams: userland.generateStaticParams,
|
||||
- segmentPath: pathname
|
||||
+ workerWasUsed = true;
|
||||
+ if (isAppPath) {
|
||||
+ var ref;
|
||||
+ const userland = (ref = components.ComponentMod.routeModule) == null ? void 0 : ref.userland;
|
||||
+ const generateParams = userland ? [
|
||||
+ {
|
||||
+ config: {
|
||||
+ revalidate: userland.revalidate,
|
||||
+ dynamic: userland.dynamic,
|
||||
+ dynamicParams: userland.dynamicParams
|
||||
},
|
||||
- ] : await (0, _utils).collectGenerateParams(components.ComponentMod.tree);
|
||||
- return await (0, _utils).buildAppStaticPaths({
|
||||
- page: pathname,
|
||||
- generateParams,
|
||||
- configFileName: config.configFileName,
|
||||
- distDir,
|
||||
- requestHeaders,
|
||||
- incrementalCacheHandlerPath,
|
||||
- serverHooks: serverHooks,
|
||||
- staticGenerationAsyncStorage: _staticGenerationAsyncStorage.staticGenerationAsyncStorage,
|
||||
- isrFlushToDisk,
|
||||
- fetchCacheKeyPrefix,
|
||||
- maxMemoryCacheSize
|
||||
- });
|
||||
- }
|
||||
- return await (0, _utils).buildStaticPaths({
|
||||
+ generateStaticParams: userland.generateStaticParams,
|
||||
+ segmentPath: pathname
|
||||
+ },
|
||||
+ ] : await (0, _utils).collectGenerateParams(components.ComponentMod.tree);
|
||||
+ return (0, _utils).buildAppStaticPaths({
|
||||
page: pathname,
|
||||
- getStaticPaths: components.getStaticPaths,
|
||||
+ generateParams,
|
||||
configFileName: config.configFileName,
|
||||
- locales,
|
||||
- defaultLocale
|
||||
- });
|
||||
- } finally{
|
||||
- setTimeout(()=>{
|
||||
- // we only want to use each worker once to prevent any invalid
|
||||
- // caches
|
||||
- process.exit(1);
|
||||
+ distDir,
|
||||
+ requestHeaders,
|
||||
+ incrementalCacheHandlerPath,
|
||||
+ serverHooks: serverHooks,
|
||||
+ staticGenerationAsyncStorage: _staticGenerationAsyncStorage.staticGenerationAsyncStorage,
|
||||
+ isrFlushToDisk,
|
||||
+ fetchCacheKeyPrefix,
|
||||
+ maxMemoryCacheSize
|
||||
});
|
||||
}
|
||||
+ return (0, _utils).buildStaticPaths({
|
||||
+ page: pathname,
|
||||
+ getStaticPaths: components.getStaticPaths,
|
||||
+ configFileName: config.configFileName,
|
||||
+ locales,
|
||||
+ defaultLocale
|
||||
+ });
|
||||
}
|
||||
|
||||
//# sourceMappingURL=static-paths-worker.js.map
|
||||
\ No newline at end of file
|
|
@ -584,11 +584,7 @@ const Transcript = (props: Props): JSX.Element => {
|
|||
<Button text="Insert" />
|
||||
</ToolTip>
|
||||
|
||||
<input
|
||||
type="file"
|
||||
accept="image/png, image/jpeg, image/webp"
|
||||
onChange={onImageUploaded}
|
||||
/>
|
||||
<input type="file" accept="image/png, image/jpeg, image/webp" onChange={onImageUploaded} />
|
||||
</div>
|
||||
</ContentPanel>
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue