Skip to content

Commit b53ab93

Browse files
chore: upgrade ts-node
1 parent 69c74b6 commit b53ab93

File tree

3 files changed

+25
-22
lines changed

3 files changed

+25
-22
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
"lint-staged": "^12.3.6",
5353
"npm-run-all": "^4.1.5",
5454
"prettier": "^2.6.0",
55-
"ts-node": "^10.7.0",
55+
"ts-node": "^10.9.1",
5656
"tsup": "^5.12.1",
5757
"typescript": "^4.6.2"
5858
},

packages/react-notion-x/src/components/header.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ export const Search: React.FC<{
105105
if (onHideSearch) {
106106
onHideSearch()
107107
}
108-
}, [])
108+
}, [onHideSearch])
109109

110110
useHotkeys('cmd+p', (event) => {
111111
onOpenSearch()

yarn.lock

Lines changed: 23 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1069,17 +1069,12 @@
10691069
resolved "https://registry.npmjs.org/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz"
10701070
integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==
10711071

1072-
"@cspotcode/[email protected]":
1073-
version "0.8.0"
1074-
resolved "https://registry.npmjs.org/@cspotcode/source-map-consumer/-/source-map-consumer-0.8.0.tgz"
1075-
integrity sha512-41qniHzTU8yAGbCp04ohlmSrZf8bkf/iJsl3V0dRGsQN/5GFfx+LbCSsCpp2gqrqjTVg/K6O8ycoV35JIwAzAg==
1076-
1077-
"@cspotcode/[email protected]":
1078-
version "0.7.0"
1079-
resolved "https://registry.npmjs.org/@cspotcode/source-map-support/-/source-map-support-0.7.0.tgz"
1080-
integrity sha512-X4xqRHqN8ACt2aHVe51OxeA2HjbcL4MqFqXkrmQszJ1NOUuUu5u6Vqx/0lZSVNku7velL5FC/s5uEAj1lsBMhA==
1072+
"@cspotcode/source-map-support@^0.8.0":
1073+
version "0.8.1"
1074+
resolved "https://registry.yarnpkg.com/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz#00629c35a688e05a88b1cda684fb9d5e73f000a1"
1075+
integrity sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==
10811076
dependencies:
1082-
"@cspotcode/source-map-consumer" "0.8.0"
1077+
"@jridgewell/trace-mapping" "0.3.9"
10831078

10841079
"@csstools/normalize.css@*":
10851080
version "12.0.0"
@@ -1384,6 +1379,14 @@
13841379
resolved "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.11.tgz"
13851380
integrity sha512-Fg32GrJo61m+VqYSdRSjRXMjQ06j8YIYfcTqndLYVAaHmroZHLJZCydsWBOTDqXS2v+mjxohBWEMfg97GXmYQg==
13861381

1382+
"@jridgewell/[email protected]":
1383+
version "0.3.9"
1384+
resolved "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.9.tgz#6534fd5933a53ba7cbf3a17615e273a0d1273ff9"
1385+
integrity sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ==
1386+
dependencies:
1387+
"@jridgewell/resolve-uri" "^3.0.3"
1388+
"@jridgewell/sourcemap-codec" "^1.4.10"
1389+
13871390
"@jridgewell/trace-mapping@^0.3.0":
13881391
version "0.3.4"
13891392
resolved "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.4.tgz"
@@ -12689,12 +12692,12 @@ ts-interface-checker@^0.1.9:
1268912692
resolved "https://registry.npmjs.org/ts-interface-checker/-/ts-interface-checker-0.1.13.tgz"
1269012693
integrity sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==
1269112694

12692-
ts-node@^10.7.0:
12693-
version "10.7.0"
12694-
resolved "https://registry.npmjs.org/ts-node/-/ts-node-10.7.0.tgz"
12695-
integrity sha512-TbIGS4xgJoX2i3do417KSaep1uRAW/Lu+WAL2doDHC0D6ummjirVOXU5/7aiZotbQ5p1Zp9tP7U6cYhA0O7M8A==
12695+
ts-node@^10.9.1:
12696+
version "10.9.1"
12697+
resolved "https://registry.yarnpkg.com/ts-node/-/ts-node-10.9.1.tgz#e73de9102958af9e1f0b168a6ff320e25adcff4b"
12698+
integrity sha512-NtVysVPkxxrwFGUUxGYhfux8k78pQB3JqYBXlLRZgdGUqTO5wU/UyHop5p70iEbGhB7q5KmiZiU0Y3KlJrScEw==
1269612699
dependencies:
12697-
"@cspotcode/source-map-support" "0.7.0"
12700+
"@cspotcode/source-map-support" "^0.8.0"
1269812701
"@tsconfig/node10" "^1.0.7"
1269912702
"@tsconfig/node12" "^1.0.7"
1270012703
"@tsconfig/node14" "^1.0.0"
@@ -12705,7 +12708,7 @@ ts-node@^10.7.0:
1270512708
create-require "^1.1.0"
1270612709
diff "^4.0.1"
1270712710
make-error "^1.1.1"
12708-
v8-compile-cache-lib "^3.0.0"
12711+
v8-compile-cache-lib "^3.0.1"
1270912712
yn "3.1.1"
1271012713

1271112714
tsconfig-paths@^3.12.0:
@@ -13026,10 +13029,10 @@ uuid@^8.3.2:
1302613029
resolved "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz"
1302713030
integrity sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==
1302813031

13029-
v8-compile-cache-lib@^3.0.0:
13030-
version "3.0.0"
13031-
resolved "https://registry.npmjs.org/v8-compile-cache-lib/-/v8-compile-cache-lib-3.0.0.tgz"
13032-
integrity sha512-mpSYqfsFvASnSn5qMiwrr4VKfumbPyONLCOPmsR3A6pTY/r0+tSaVbgPWSAIuzbk3lCTa+FForeTiO+wBQGkjA==
13032+
v8-compile-cache-lib@^3.0.1:
13033+
version "3.0.1"
13034+
resolved "https://registry.yarnpkg.com/v8-compile-cache-lib/-/v8-compile-cache-lib-3.0.1.tgz#6336e8d71965cb3d35a1bbb7868445a7c05264bf"
13035+
integrity sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg==
1303313036

1303413037
v8-compile-cache@^2.0.3:
1303513038
version "2.3.0"

0 commit comments

Comments
 (0)