fix: upgrade notion-client to fix collection issues

This commit is contained in:
Travis Fischer
2025-10-11 11:21:40 +07:00
parent 668c5212d2
commit 68af398013
2 changed files with 97 additions and 91 deletions

View File

@@ -41,9 +41,9 @@
"ky": "^1.8.1",
"lqip-modern": "^2.2.1",
"next": "^15.5.3",
"notion-client": "^7.5.1",
"notion-types": "^7.5.1",
"notion-utils": "^7.5.1",
"notion-client": "^7.7.0",
"notion-types": "^7.7.0",
"notion-utils": "^7.7.0",
"p-map": "^7.0.3",
"p-memoize": "^7.1.1",
"posthog-js": "^1.249.4",
@@ -51,7 +51,7 @@
"react": "^19.1.1",
"react-body-classname": "^1.3.1",
"react-dom": "^19.1.1",
"react-notion-x": "^7.5.0",
"react-notion-x": "^7.7.0",
"react-tweet": "^3.2.2",
"react-use": "^17.6.0",
"rss": "^1.2.2"

180
pnpm-lock.yaml generated
View File

@@ -39,14 +39,14 @@ importers:
specifier: ^15.5.3
version: 15.5.3(react-dom@19.1.1(react@19.1.1))(react@19.1.1)
notion-client:
specifier: ^7.5.1
version: 7.5.1
specifier: ^7.7.0
version: 7.7.0
notion-types:
specifier: ^7.5.1
version: 7.5.1
specifier: ^7.7.0
version: 7.7.0
notion-utils:
specifier: ^7.5.1
version: 7.5.1
specifier: ^7.7.0
version: 7.7.0
p-map:
specifier: ^7.0.3
version: 7.0.3
@@ -69,8 +69,8 @@ importers:
specifier: ^19.1.1
version: 19.1.1(react@19.1.1)
react-notion-x:
specifier: ^7.5.0
version: 7.5.0(@babel/runtime@7.28.4)(@types/react@19.1.13)(react-dom@19.1.1(react@19.1.1))(react@19.1.1)
specifier: ^7.7.0
version: 7.7.0(@babel/runtime@7.28.4)(@types/react@19.1.13)(react-dom@19.1.1(react@19.1.1))(react@19.1.1)
react-tweet:
specifier: ^3.2.2
version: 3.2.2(react-dom@19.1.1(react@19.1.1))(react@19.1.1)
@@ -961,6 +961,9 @@ packages:
resolution: {integrity: sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA==}
engines: {node: '>=6'}
destr@2.0.5:
resolution: {integrity: sha512-ugFTXCtDZunbzasqBxrK93Ik/DRYsO6S/fedkWEMKqt04xZ4csmnmwGDBAb07QWNaGMAmnTIemsYZCksjATwsA==}
detect-libc@2.0.3:
resolution: {integrity: sha512-bwy0MGW55bG41VqxxypOsdSdGqLwXPI/focwgTYCFMbdUiBAxLg9CFzG08sz2aqzknwiX7Hkl0bQENjg8iLByw==}
engines: {node: '>=8'}
@@ -969,6 +972,10 @@ packages:
resolution: {integrity: sha512-vEtk+OcP7VBRtQZ1EJ3bdgzSfBjgnEalLTp5zjJrS+2Z1w2KZly4SBdac/WDU3hhsNAZ9E8SC96ME4Ey8MZ7cg==}
engines: {node: '>=8'}
detect-libc@2.1.2:
resolution: {integrity: sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==}
engines: {node: '>=8'}
doctrine@2.1.0:
resolution: {integrity: sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==}
engines: {node: '>=0.10.0'}
@@ -1364,9 +1371,6 @@ packages:
resolution: {integrity: sha512-4gd7VpWNQNB4UKKCFFVcp1AVv+FMOgs9NKzjHKusc8jTMhd5eL1NqQqOpE0KzMds804/yHlglp3uxgluOqAPLw==}
engines: {node: '>= 0.4'}
invariant@2.2.4:
resolution: {integrity: sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA==}
ioredis@5.3.2:
resolution: {integrity: sha512-1DKMMzlIHM02eBBVOFQ1+AolGjs6+xEcM4PDL7NqOS6szq7H9jSaEkIUH6/a5Hl241LzW6JLSiAbNvTQjUupUA==}
engines: {node: '>=12.22.0'}
@@ -1541,8 +1545,8 @@ packages:
resolution: {integrity: sha512-ZZow9HBI5O6EPgSJLUb8n2NKgmVWTwCvHGwFuJlMjvLFqlGG6pjirPhtdsseaLZjSibD8eegzmYpUZwoIlj2cQ==}
engines: {node: '>=4.0'}
katex@0.16.22:
resolution: {integrity: sha512-XCHRdUw4lf3SKBaJe4EvgqIuWwkPSo9XoeO8GjQW94Bp7TWv9hNhzZjZ+OH9yf1UmLygb7DIT5GSFQiyt16zYg==}
katex@0.16.23:
resolution: {integrity: sha512-7VlC1hsEEolL9xNO05v9VjrvWZePkCVBJqj8ruICxYjZfHaHbaU53AlP+PODyFIXEnaEIEWi3wJy7FPZ95JAVg==}
hasBin: true
keyv@4.5.4:
@@ -1703,13 +1707,16 @@ packages:
sass:
optional: true
node-abi@3.77.0:
resolution: {integrity: sha512-DSmt0OEcLoK4i3NuscSbGjOf3bqiDEutejqENSplMSFA/gmB8mkED9G4pKWnPl7MDU4rSHebKPHeitpDfyH0cQ==}
node-abi@3.78.0:
resolution: {integrity: sha512-E2wEyrgX/CqvicaQYU3Ze1PFGjc4QYPGsjUrlYkqAE0WjHEZwgOsGMPMzkMse4LjJbDmaEuDX3CM036j5K2DSQ==}
engines: {node: '>=10'}
node-addon-api@7.1.1:
resolution: {integrity: sha512-5m3bsyrjFWE1xf7nz7YXdN4udnVtXK6/Yfgn5qnahL6bCkf2yKt4k3nuTKAtT4r3IG8JNR2ncsIMdZuAzJjHQQ==}
node-fetch-native@1.6.7:
resolution: {integrity: sha512-g9yhqoedzIUm0nTnTqAQvueMPVOuIY16bqgAJJC8XOOubYFNwz6IER9qs0Gq2Xd0+CecCKFjtdDTMA4u4xG06Q==}
node-releases@2.0.21:
resolution: {integrity: sha512-5b0pgg78U3hwXkCM8Z9b2FJdPZlr9Psr9V2gQPESdGHqbntyFJKFW4r5TeWGFzafGY3hzs1JC62VEQMbl1JFkw==}
@@ -1717,24 +1724,16 @@ packages:
resolution: {integrity: sha512-X06Mfd/5aKsRHc0O0J5CUedwnPmnDtLF2+nq+KN9KSDlJHkPuh0JUviWjEWMe0SW/9TDdSLVPuk7L5gGTIA1/w==}
engines: {node: '>=14.16'}
notion-client@7.5.1:
resolution: {integrity: sha512-p3OsBOlZKYdheeVV9UXToeQRuY6uXX460B2++JhO6tJlXuTCtg92Z8z+UZSQ3/5z8R9ptj12X1F2oFh3TwL/8g==}
notion-client@7.7.0:
resolution: {integrity: sha512-g1839mWYD6NdVHHIyq2E6gl+tvOsMGZQXNRJ5rg1dZkLnfMc6WwKx55UzRjnTE6+fXVDHFmSOb3ojtnkAFF+1A==}
engines: {node: '>=18'}
notion-types@7.5.0:
resolution: {integrity: sha512-UMo+Gnzb0OZK2bLxzxdBewkeZ4B72zp69fpKKoR9iD/5MA0IziC+g3f6w0SKzb4Y/SOZ3umPw8y65/U7EDFBpw==}
notion-types@7.7.0:
resolution: {integrity: sha512-X5V1LT+yqiDdDsOrNZbqRPh9XX886PNvOPIE0tFPd4yeYR35uRglrV1lYzrMjRhBTABCqw9SWBn0lTRwLx0low==}
engines: {node: '>=18'}
notion-types@7.5.1:
resolution: {integrity: sha512-Zabv9HIqjQBeQic+aWlsnpe+R792rvP8vcPfgD/oZkLlg90PkMTeJe+y+xjZnUUoz9kth4/FSEHq79b7PZmutQ==}
engines: {node: '>=18'}
notion-utils@7.5.0:
resolution: {integrity: sha512-ETgCEwXTSLqKU7CanUeEAA1dFN+GQ2lPBtuvCqJM3sAlFmpsovvYqVPr0NJAm9VM2TcyJzvesIySfLWSGbQwrQ==}
engines: {node: '>=18'}
notion-utils@7.5.1:
resolution: {integrity: sha512-jdPH9tcKLtKh8Gp8zffOZaGZwQQPrJH29YrjAth85h0KJmhoQgcck5tCM/25Jy+2E+sLmSywTUMMR9AJo/t8kw==}
notion-utils@7.7.0:
resolution: {integrity: sha512-iEJLWYuPGIppfVq2IU8PTHhkswyCvPoMdEF1JBVrEad9r8FAgC8DpONQS4MPifZhMyx5sJeoQhZA+vhk2zQHhg==}
engines: {node: '>=18'}
npm-normalize-package-bin@4.0.0:
@@ -1778,6 +1777,9 @@ packages:
resolution: {integrity: sha512-gXah6aZrcUxjWg2zR2MwouP2eHlCBzdV4pygudehaKXSGW4v2AsRQUK+lwwXhii6KFZcunEnmSUoYp5CXibxtA==}
engines: {node: '>= 0.4'}
ofetch@1.4.1:
resolution: {integrity: sha512-QZj2DfGplQAr2oj9KzceK9Hwz6Whxazmn85yYeVuS3u9XTMOGMRx0kO95MQ+vLsj/S/NwBDMMLU5hpxvI6Tklw==}
once@1.4.0:
resolution: {integrity: sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==}
@@ -1957,20 +1959,18 @@ packages:
react: '>=16.8'
react-dom: '>=16.8'
react-intersection-observer@6.4.2:
resolution: {integrity: sha512-gL6YrkhniA0tIbyDbUterzBwKh61vHR520rsKULel5T37gG4YP07wnWI3WoqOcKK5bKAu0PZB2FHD7/OjawN+w==}
react-intersection-observer@9.16.0:
resolution: {integrity: sha512-w9nJSEp+DrW9KmQmeWHQyfaP6b03v+TdXynaoA964Wxt7mdR3An11z4NNCQgL4gKSK7y1ver2Fq+JKH6CWEzUA==}
peerDependencies:
react: ^15.0.0 || ^16.0.0 || ^17.0.0
react: ^17.0.0 || ^18.0.0 || ^19.0.0
react-dom: ^17.0.0 || ^18.0.0 || ^19.0.0
peerDependenciesMeta:
react-dom:
optional: true
react-is@16.13.1:
resolution: {integrity: sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==}
react-lazy-images@1.1.0:
resolution: {integrity: sha512-h5DHFhkMJyh2qsDl3hXWu6d+On10FsgHtRJ+BH7xjgsFOvsqaii9CEwEESqPJrrAiHo1qrN1LgzrV8X3zctHKA==}
peerDependencies:
react: ^15 || ^16
react-dom: ^15 || ^16
react-lifecycles-compat@3.0.4:
resolution: {integrity: sha512-fBASbA6LnOU9dOU2eW7aQ8xmYBSXUIWr+UmF9b1efZBazGNO+rcXT/icdKnYm2pTwcRylVUYwW7H1PHfLekVzA==}
@@ -1980,8 +1980,8 @@ packages:
react: ^0.14.0 || ^15.0.0 || ^16 || ^17 || ^18 || ^19
react-dom: ^0.14.0 || ^15.0.0 || ^16 || ^17 || ^18 || ^19
react-notion-x@7.5.0:
resolution: {integrity: sha512-TmvxZLXdB2EvjkjqIQX+OVwJ5qmASPxL7JIS/4N3xaRtQpb9w+q2fQZ80vJ/gTLL1qJJm9XvQE6cGSLDEL02TQ==}
react-notion-x@7.7.0:
resolution: {integrity: sha512-xjg/81XTXC3MZVkNRiff1iNW7w5g7MZ0vh0qLh7Ch0eRDy4kt/lDtsWeEYXN1K+cxkaopDjpVF0Jt7FMIEQw6A==}
engines: {node: '>=18'}
peerDependencies:
react: '>=18'
@@ -2128,6 +2128,11 @@ packages:
engines: {node: '>=10'}
hasBin: true
semver@7.7.3:
resolution: {integrity: sha512-SdsKMrI9TdgjdweUSR9MweHA4EJ8YxHn8DFaDisvhVlUOe4BF1tLD7GAj0lIqWVl+dPb/rExr0Btby5loQm20Q==}
engines: {node: '>=10'}
hasBin: true
set-function-length@1.2.2:
resolution: {integrity: sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==}
engines: {node: '>= 0.4'}
@@ -2374,6 +2379,9 @@ packages:
engines: {node: '>=14.17'}
hasBin: true
ufo@1.6.1:
resolution: {integrity: sha512-9a4/uxlTWJ4+a5i0ooc1rU7C7YOw3wT+UGqdeNNHWnOF9qcMBgLRS+4IYUqbczewFx4mLEig6gawh7X6mFlEkA==}
unbox-primitive@1.1.0:
resolution: {integrity: sha512-nWJ91DjeOkej/TA8pXQ3myruKpKEYgqvpw9lz4OPHj/NWFNluYrjbz9j01CJ8yKQd2g4jFoOkINCTW2I5LEEyw==}
engines: {node: '>= 0.4'}
@@ -2381,8 +2389,8 @@ packages:
undici-types@7.12.0:
resolution: {integrity: sha512-goOacqME2GYyOZZfb5Lgtu+1IDmAlAEu5xnD3+xTzS10hT0vzpf0SPjkXwAw9Jm+4n/mQGDP3LO8CPbYROeBfQ==}
unionize@2.2.0:
resolution: {integrity: sha512-lHXiL6LPVuRYBGCLOdUd4GMHoAGqM0HtYHAZcA6pUEiwN1nk+LEYlh8bud7saeL0bkFntJzCPEPVVJeFm3Cqsg==}
unionize@3.1.0:
resolution: {integrity: sha512-LQZvbanzvpzvK0QYgRvnaA9VVe+g4nTbRlyoGGWDKFrZn0HJnDN5LC2Ti0+BxpKKOCrL3BQcRBVFPy/t12Y24Q==}
update-browserslist-db@1.1.3:
resolution: {integrity: sha512-UxhIZQ+QInVdunkDAaiazvvT/+fXL5Osr0JZlJulepYu6Jd7qJtDZjlur0emRlT71EN3ScPoE7gvsuIKKNavKw==}
@@ -2761,9 +2769,9 @@ snapshots:
transitivePeerDependencies:
- supports-color
'@matejmazur/react-katex@3.1.3(katex@0.16.22)(react@19.1.1)':
'@matejmazur/react-katex@3.1.3(katex@0.16.23)(react@19.1.1)':
dependencies:
katex: 0.16.22
katex: 0.16.23
react: 19.1.1
'@next/bundle-analyzer@15.3.3':
@@ -3278,11 +3286,16 @@ snapshots:
dequal@2.0.3: {}
destr@2.0.5: {}
detect-libc@2.0.3: {}
detect-libc@2.1.0:
optional: true
detect-libc@2.1.2:
optional: true
doctrine@2.1.0:
dependencies:
esutils: 2.0.3
@@ -3812,10 +3825,6 @@ snapshots:
hasown: 2.0.2
side-channel: 1.1.0
invariant@2.2.4:
dependencies:
loose-envify: 1.4.0
ioredis@5.3.2:
dependencies:
'@ioredis/commands': 1.2.0
@@ -3993,7 +4002,7 @@ snapshots:
object.assign: 4.1.7
object.values: 1.2.1
katex@0.16.22:
katex@0.16.23:
dependencies:
commander: 8.3.0
@@ -4138,43 +4147,35 @@ snapshots:
- '@babel/core'
- babel-plugin-macros
node-abi@3.77.0:
node-abi@3.78.0:
dependencies:
semver: 7.7.2
semver: 7.7.3
optional: true
node-addon-api@7.1.1:
optional: true
node-fetch-native@1.6.7: {}
node-releases@2.0.21: {}
normalize-url@8.1.0: {}
notion-client@7.5.1:
notion-client@7.7.0:
dependencies:
ky: 1.8.1
notion-types: 7.5.1
notion-utils: 7.5.1
notion-types: 7.7.0
notion-utils: 7.7.0
ofetch: 1.4.1
p-map: 7.0.3
notion-types@7.5.0: {}
notion-types@7.7.0: {}
notion-types@7.5.1: {}
notion-utils@7.5.0:
notion-utils@7.7.0:
dependencies:
is-url-superb: 6.1.0
memoize: 10.1.0
normalize-url: 8.1.0
notion-types: 7.5.0
p-queue: 8.1.1
notion-utils@7.5.1:
dependencies:
is-url-superb: 6.1.0
memoize: 10.1.0
normalize-url: 8.1.0
notion-types: 7.5.1
notion-types: 7.7.0
p-queue: 8.1.1
npm-normalize-package-bin@4.0.0: {}
@@ -4232,6 +4233,12 @@ snapshots:
define-properties: 1.2.1
es-object-atoms: 1.1.1
ofetch@1.4.1:
dependencies:
destr: 2.0.5
node-fetch-native: 1.6.7
ufo: 1.6.1
once@1.4.0:
dependencies:
wrappy: 1.0.2
@@ -4336,13 +4343,13 @@ snapshots:
prebuild-install@7.1.3:
dependencies:
detect-libc: 2.1.0
detect-libc: 2.1.2
expand-template: 2.0.3
github-from-package: 0.0.0
minimist: 1.2.8
mkdirp-classic: 0.5.3
napi-build-utils: 2.0.0
node-abi: 3.77.0
node-abi: 3.78.0
pump: 3.0.3
rc: 1.2.8
simple-get: 4.0.1
@@ -4405,21 +4412,14 @@ snapshots:
react: 19.1.1
react-dom: 19.1.1(react@19.1.1)
react-intersection-observer@6.4.2(react@19.1.1):
react-intersection-observer@9.16.0(react-dom@19.1.1(react@19.1.1))(react@19.1.1):
dependencies:
'@babel/runtime': 7.28.4
invariant: 2.2.4
react: 19.1.1
optionalDependencies:
react-dom: 19.1.1(react@19.1.1)
react-is@16.13.1: {}
react-lazy-images@1.1.0(react-dom@19.1.1(react@19.1.1))(react@19.1.1):
dependencies:
react: 19.1.1
react-dom: 19.1.1(react@19.1.1)
react-intersection-observer: 6.4.2(react@19.1.1)
unionize: 2.2.0
react-lifecycles-compat@3.0.4: {}
react-modal@3.16.3(react-dom@19.1.1(react@19.1.1))(react@19.1.1):
@@ -4431,21 +4431,22 @@ snapshots:
react-lifecycles-compat: 3.0.4
warning: 4.0.3
react-notion-x@7.5.0(@babel/runtime@7.28.4)(@types/react@19.1.13)(react-dom@19.1.1(react@19.1.1))(react@19.1.1):
react-notion-x@7.7.0(@babel/runtime@7.28.4)(@types/react@19.1.13)(react-dom@19.1.1(react@19.1.1))(react@19.1.1):
dependencies:
'@fisch0920/medium-zoom': 1.0.7
'@matejmazur/react-katex': 3.1.3(katex@0.16.22)(react@19.1.1)
katex: 0.16.22
notion-types: 7.5.0
notion-utils: 7.5.0
'@matejmazur/react-katex': 3.1.3(katex@0.16.23)(react@19.1.1)
katex: 0.16.23
notion-types: 7.7.0
notion-utils: 7.7.0
prismjs: 1.30.0
react: 19.1.1
react-dom: 19.1.1(react@19.1.1)
react-fast-compare: 3.2.2
react-hotkeys-hook: 4.6.2(react-dom@19.1.1(react@19.1.1))(react@19.1.1)
react-image: 4.1.0(@babel/runtime@7.28.4)(react-dom@19.1.1(react@19.1.1))(react@19.1.1)
react-lazy-images: 1.1.0(react-dom@19.1.1(react@19.1.1))(react@19.1.1)
react-intersection-observer: 9.16.0(react-dom@19.1.1(react@19.1.1))(react@19.1.1)
react-modal: 3.16.3(react-dom@19.1.1(react@19.1.1))(react@19.1.1)
unionize: 3.1.0
optionalDependencies:
react-pdf: 9.2.1(@types/react@19.1.13)(react-dom@19.1.1(react@19.1.1))(react@19.1.1)
transitivePeerDependencies:
@@ -4619,6 +4620,9 @@ snapshots:
semver@7.7.2: {}
semver@7.7.3:
optional: true
set-function-length@1.2.2:
dependencies:
define-data-property: 1.1.4
@@ -4970,6 +4974,8 @@ snapshots:
typescript@5.9.2: {}
ufo@1.6.1: {}
unbox-primitive@1.1.0:
dependencies:
call-bound: 1.0.4
@@ -4979,7 +4985,7 @@ snapshots:
undici-types@7.12.0: {}
unionize@2.2.0: {}
unionize@3.1.0: {}
update-browserslist-db@1.1.3(browserslist@4.26.2):
dependencies: