Skip to content

Commit 869bbac

Browse files
committed
fix: patch notion-md to allow page links
1 parent b6385bd commit 869bbac

File tree

5 files changed

+158
-8
lines changed

5 files changed

+158
-8
lines changed

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515
"notion-download": "node lib/index.js",
1616
"test": "ts-node --compiler-options \"{\\\"module\\\": \\\"commonjs\\\"}\" src/index.ts",
1717
"// test out with my sample notion db": "",
18-
"sample": "cross-var ts-node --compiler-options \"{\\\"module\\\": \\\"commonjs\\\"}\" src/index.ts -n %NOTION_PULL_INTEGRATION_TOKEN% -r %NOTION_PULL_ROOT_PAGE% -m ./temp -i ./temp_img/inner -p /inner/"
18+
"sample": "cross-var ts-node --compiler-options \"{\\\"module\\\": \\\"commonjs\\\"}\" src/index.ts -n %NOTION_PULL_INTEGRATION_TOKEN% -r %NOTION_PULL_ROOT_PAGE% -m ./temp -i ./temp_img/inner -p /inner/",
19+
"postinstall": "patch-package"
1920
},
2021
"repository": {
2122
"type": "git",
@@ -51,6 +52,8 @@
5152
"limiter": "^2.1.0",
5253
"node-fetch": "2.6.6",
5354
"notion-to-md": "^2.3.3",
55+
"patch-package": "^6.4.7",
56+
"postinstall-postinstall": "^2.1.0",
5457
"sanitize-filename": "^1.6.3"
5558
},
5659
"devDependencies": {

patches/notion-to-md+2.3.3.patch

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
diff --git a/node_modules/notion-to-md/build/notion-to-md.js b/node_modules/notion-to-md/build/notion-to-md.js
2+
index 7b3ae32..c26a71a 100644
3+
--- a/node_modules/notion-to-md/build/notion-to-md.js
4+
+++ b/node_modules/notion-to-md/build/notion-to-md.js
5+
@@ -151,6 +151,7 @@ ${md.addTabSpace(mdBlocks.parent, nestingLevel)}
6+
case "bookmark":
7+
case "embed":
8+
case "link_preview":
9+
+ case "link_to_page":
10+
{
11+
let blockContent;
12+
if (type === "bookmark")
13+
@@ -159,6 +160,8 @@ ${md.addTabSpace(mdBlocks.parent, nestingLevel)}
14+
blockContent = block.embed;
15+
if (type === "link_preview")
16+
blockContent = block.link_preview;
17+
+ if (type === "link_to_page" && block.link_to_page.type === "page_id")
18+
+ blockContent = { url: "/"+block.link_to_page.page_id };
19+
if (blockContent)
20+
return md.link(type, blockContent.url);
21+
}

src/NotionPage.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,11 @@ export class NotionPage {
5656
return new NotionPage(context, pageId, metadata);
5757
}
5858

59-
public get linkTargetId(): string {
60-
return this.pageId.replace(/-/g, ""); // notion has dashes in the page_id but then no dashes in links that point to the page
59+
public matchesLinkId(id: string): boolean {
60+
return (
61+
id === this.pageId || // from a link_to_page.pageId, which still has the dashes
62+
id === this.pageId.replace(/-/g, "")
63+
); // from inline links, which are lacking the dashes
6164
}
6265

6366
public get type(): PageType {

src/pull.ts

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ async function getPagesRecursively(
116116
// a normal outline page that exists just to create the level, pointing at database pages that belong in this level
117117
else if (pageInfo.childPages.length || pageInfo.linksPages.length) {
118118
let context = incomingContext;
119-
// don't make a level for "Outline"
119+
// don't make a level for "Outline" page at the root
120120
if (!rootLevel && pageInTheOutline.nameOrTitle !== "Outline") {
121121
context = layoutStrategy.newLevel(
122122
markdownOutputPath,
@@ -173,7 +173,6 @@ async function outputPage(page: NotionPage) {
173173
frontmatter += "---\n";
174174

175175
let markdown = notionToMarkdown.toMarkdownString(mdBlocks);
176-
177176
markdown = convertInternalLinks(markdown);
178177

179178
const { body, imports } = tweakForDocusaurus(markdown);
@@ -200,7 +199,7 @@ function convertInternalLinks(markdown: string): string {
200199

201200
return transformLinks(markdown, (url: string) => {
202201
const p = pages.find(p => {
203-
return p.linkTargetId === url;
202+
return p.matchesLinkId(url);
204203
});
205204
if (p) {
206205
console.log(
@@ -210,6 +209,13 @@ function convertInternalLinks(markdown: string): string {
210209
);
211210
return layoutStrategy.getLinkPathForPage(p);
212211
}
212+
213+
console.log(
214+
warning(
215+
`Could not find the target of this link. Note that links to outline sections are not supported. ${url}`
216+
)
217+
);
218+
213219
return url;
214220
});
215221
}

yarn.lock

Lines changed: 119 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1276,6 +1276,11 @@
12761276
"@typescript-eslint/types" "4.33.0"
12771277
eslint-visitor-keys "^2.0.0"
12781278

1279+
"@yarnpkg/lockfile@^1.1.0":
1280+
version "1.1.0"
1281+
resolved "https://registry.yarnpkg.com/@yarnpkg/lockfile/-/lockfile-1.1.0.tgz#e77a97fbd345b76d83245edcd17d393b1b41fb31"
1282+
integrity sha512-GpSwvyXOcOOlV70vbnzjj4fW5xW/FdUF6nQEt1ENy7m4ZCczi1+/buVUPAqmGfqznsORNFzUMjctTIp8a9tuCQ==
1283+
12791284
JSONStream@^1.0.4:
12801285
version "1.3.5"
12811286
resolved "https://registry.yarnpkg.com/JSONStream/-/JSONStream-1.3.5.tgz#3208c1f08d3a4d99261ab64f92302bc15e111ca0"
@@ -2467,6 +2472,11 @@ chownr@^2.0.0:
24672472
resolved "https://registry.yarnpkg.com/chownr/-/chownr-2.0.0.tgz#15bfbe53d2eab4cf70f18a8cd68ebe5b3cb1dece"
24682473
integrity sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ==
24692474

2475+
ci-info@^2.0.0:
2476+
version "2.0.0"
2477+
resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-2.0.0.tgz#67a9e964be31a51e15e5010d58e6f12834002f46"
2478+
integrity sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ==
2479+
24702480
ci-info@^3.2.0:
24712481
version "3.3.1"
24722482
resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-3.3.1.tgz#58331f6f472a25fe3a50a351ae3052936c2c7f32"
@@ -2764,6 +2774,17 @@ cross-spawn@^5.0.1:
27642774
shebang-command "^1.2.0"
27652775
which "^1.2.9"
27662776

2777+
cross-spawn@^6.0.5:
2778+
version "6.0.5"
2779+
resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-6.0.5.tgz#4a5ec7c64dfae22c3a14124dbacdee846d80cbc4"
2780+
integrity sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==
2781+
dependencies:
2782+
nice-try "^1.0.4"
2783+
path-key "^2.0.1"
2784+
semver "^5.5.0"
2785+
shebang-command "^1.2.0"
2786+
which "^1.2.9"
2787+
27672788
cross-spawn@^7.0.0, cross-spawn@^7.0.2, cross-spawn@^7.0.3:
27682789
version "7.0.3"
27692790
resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.3.tgz#f73a85b9d5d41d045551c177e2882d4ac85728a6"
@@ -3461,6 +3482,13 @@ find-versions@^4.0.0:
34613482
dependencies:
34623483
semver-regex "^3.1.2"
34633484

3485+
find-yarn-workspace-root@^2.0.0:
3486+
version "2.0.0"
3487+
resolved "https://registry.yarnpkg.com/find-yarn-workspace-root/-/find-yarn-workspace-root-2.0.0.tgz#f47fb8d239c900eb78179aa81b66673eac88f7bd"
3488+
integrity sha512-1IMnbjt4KzsQfnhnzNd8wUEgXZ44IzZaZmnLYx7D5FZlaHt2gW20Cri8Q+E/t5tIj4+epTBub+2Zxu/vNILzqQ==
3489+
dependencies:
3490+
micromatch "^4.0.2"
3491+
34643492
findup-sync@^4.0.0:
34653493
version "4.0.0"
34663494
resolved "https://registry.yarnpkg.com/findup-sync/-/findup-sync-4.0.0.tgz#956c9cdde804052b881b428512905c4a5f2cdef0"
@@ -3524,6 +3552,15 @@ fs-extra@^10.0.0, fs-extra@^10.1.0:
35243552
jsonfile "^6.0.1"
35253553
universalify "^2.0.0"
35263554

3555+
fs-extra@^7.0.1:
3556+
version "7.0.1"
3557+
resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-7.0.1.tgz#4f189c44aa123b895f722804f55ea23eadc348e9"
3558+
integrity sha512-YJDaCJZEnBmcbw13fvdAM9AwNOJwOzrE4pqMqBq5nFiEqXUqHwlK4B+3pUw6JNvfSPtX05xFHtYy/1ni01eGCw==
3559+
dependencies:
3560+
graceful-fs "^4.1.2"
3561+
jsonfile "^4.0.0"
3562+
universalify "^0.1.0"
3563+
35273564
fs-minipass@^2.0.0, fs-minipass@^2.1.0:
35283565
version "2.1.0"
35293566
resolved "https://registry.yarnpkg.com/fs-minipass/-/fs-minipass-2.1.0.tgz#7f5036fdbf12c63c169190cbe4199c852271f9fb"
@@ -3707,7 +3744,7 @@ globby@^11.0.0, globby@^11.0.1, globby@^11.0.3:
37073744
merge2 "^1.4.1"
37083745
slash "^3.0.0"
37093746

3710-
graceful-fs@^4.1.2, graceful-fs@^4.1.6, graceful-fs@^4.2.0, graceful-fs@^4.2.10, graceful-fs@^4.2.4, graceful-fs@^4.2.6, graceful-fs@^4.2.9:
3747+
graceful-fs@^4.1.11, graceful-fs@^4.1.2, graceful-fs@^4.1.6, graceful-fs@^4.2.0, graceful-fs@^4.2.10, graceful-fs@^4.2.4, graceful-fs@^4.2.6, graceful-fs@^4.2.9:
37113748
version "4.2.10"
37123749
resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.10.tgz#147d3a006da4ca3ce14728c7aefc287c367d7a6c"
37133750
integrity sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==
@@ -4014,6 +4051,13 @@ is-arrayish@^0.2.1:
40144051
resolved "https://registry.yarnpkg.com/is-arrayish/-/is-arrayish-0.2.1.tgz#77c99840527aa8ecb1a8ba697b80645a7a926a9d"
40154052
integrity sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=
40164053

4054+
is-ci@^2.0.0:
4055+
version "2.0.0"
4056+
resolved "https://registry.yarnpkg.com/is-ci/-/is-ci-2.0.0.tgz#6bc6334181810e04b5c22b3d589fdca55026404c"
4057+
integrity sha512-YfJT7rkpQB0updsdHLGWrvhBJfcfzNNawYDNIyQXJz0IViGf75O8EBPKSdvw2rF+LGCsX4FZ8tcr3b19LcZq4w==
4058+
dependencies:
4059+
ci-info "^2.0.0"
4060+
40174061
is-cidr@^4.0.2:
40184062
version "4.0.2"
40194063
resolved "https://registry.yarnpkg.com/is-cidr/-/is-cidr-4.0.2.tgz#94c7585e4c6c77ceabf920f8cde51b8c0fda8814"
@@ -4028,6 +4072,11 @@ is-core-module@^2.5.0, is-core-module@^2.8.1:
40284072
dependencies:
40294073
has "^1.0.3"
40304074

4075+
is-docker@^2.0.0:
4076+
version "2.2.1"
4077+
resolved "https://registry.yarnpkg.com/is-docker/-/is-docker-2.2.1.tgz#33eeabe23cfe86f14bde4408a02c0cfb853acdaa"
4078+
integrity sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==
4079+
40314080
is-extglob@^2.1.1:
40324081
version "2.1.1"
40334082
resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-2.1.1.tgz#a88c02535791f02ed37c76a1b9ea9773c833f8c2"
@@ -4142,6 +4191,13 @@ is-windows@^1.0.1:
41424191
resolved "https://registry.yarnpkg.com/is-windows/-/is-windows-1.0.2.tgz#d1850eb9791ecd18e6182ce12a30f396634bb19d"
41434192
integrity sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==
41444193

4194+
is-wsl@^2.1.1:
4195+
version "2.2.0"
4196+
resolved "https://registry.yarnpkg.com/is-wsl/-/is-wsl-2.2.0.tgz#74a4c76e77ca9fd3f932f290c17ea326cd157271"
4197+
integrity sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww==
4198+
dependencies:
4199+
is-docker "^2.0.0"
4200+
41454201
isarray@~1.0.0:
41464202
version "1.0.0"
41474203
resolved "https://registry.yarnpkg.com/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11"
@@ -4782,6 +4838,13 @@ kind-of@^6.0.3:
47824838
resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-6.0.3.tgz#07c05034a6c349fa06e24fa35aa76db4580ce4dd"
47834839
integrity sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==
47844840

4841+
klaw-sync@^6.0.0:
4842+
version "6.0.0"
4843+
resolved "https://registry.yarnpkg.com/klaw-sync/-/klaw-sync-6.0.0.tgz#1fd2cfd56ebb6250181114f0a581167099c2b28c"
4844+
integrity sha512-nIeuVSzdCCs6TDPTqI8w1Yre34sSq7AkZ4B3sfOBbI2CgVSB4Du4aLQijFU2+lhAFCwt9+42Hel6lQNIv6AntQ==
4845+
dependencies:
4846+
graceful-fs "^4.1.11"
4847+
47854848
kleur@^3.0.3:
47864849
version "3.0.3"
47874850
resolved "https://registry.yarnpkg.com/kleur/-/kleur-3.0.3.tgz#a79c9ecc86ee1ce3fa6206d1216c501f147fc07e"
@@ -5402,6 +5465,11 @@ nerf-dart@^1.0.0:
54025465
resolved "https://registry.yarnpkg.com/nerf-dart/-/nerf-dart-1.0.0.tgz#e6dab7febf5ad816ea81cf5c629c5a0ebde72c1a"
54035466
integrity sha1-5tq3/r9a2Bbqgc9cYpxaDr3nLBo=
54045467

5468+
nice-try@^1.0.4:
5469+
version "1.0.5"
5470+
resolved "https://registry.yarnpkg.com/nice-try/-/nice-try-1.0.5.tgz#a3378a7696ce7d223e88fc9b764bd7ef1089e366"
5471+
integrity sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==
5472+
54055473
node-emoji@^1.11.0:
54065474
version "1.11.0"
54075475
resolved "https://registry.yarnpkg.com/node-emoji/-/node-emoji-1.11.0.tgz#69a0150e6946e2f115e9d7ea4df7971e2628301c"
@@ -5701,6 +5769,14 @@ onetime@^5.1.0, onetime@^5.1.2:
57015769
dependencies:
57025770
mimic-fn "^2.1.0"
57035771

5772+
open@^7.4.2:
5773+
version "7.4.2"
5774+
resolved "https://registry.yarnpkg.com/open/-/open-7.4.2.tgz#b8147e26dcf3e426316c730089fd71edd29c2321"
5775+
integrity sha512-MVHddDVweXZF3awtlAS+6pgKLlm/JgxZ90+/NBurBoQctVOOB/zDdVjcyPzQ+0laDGbsWgrRkflI65sQeOgT9Q==
5776+
dependencies:
5777+
is-docker "^2.0.0"
5778+
is-wsl "^2.1.1"
5779+
57045780
opener@^1.5.2:
57055781
version "1.5.2"
57065782
resolved "https://registry.yarnpkg.com/opener/-/opener-1.5.2.tgz#5d37e1f35077b9dcac4301372271afdeb2a13598"
@@ -5891,6 +5967,25 @@ parse5@6.0.1:
58915967
resolved "https://registry.yarnpkg.com/parse5/-/parse5-6.0.1.tgz#e1a1c085c569b3dc08321184f19a39cc27f7c30b"
58925968
integrity sha512-Ofn/CTFzRGTTxwpNEs9PP93gXShHcTq255nzRYSKe8AkVpZY7e1fpmTfOyoIvjP5HG7Z2ZM7VS9PPhQGW2pOpw==
58935969

5970+
patch-package@^6.4.7:
5971+
version "6.4.7"
5972+
resolved "https://registry.yarnpkg.com/patch-package/-/patch-package-6.4.7.tgz#2282d53c397909a0d9ef92dae3fdeb558382b148"
5973+
integrity sha512-S0vh/ZEafZ17hbhgqdnpunKDfzHQibQizx9g8yEf5dcVk3KOflOfdufRXQX8CSEkyOQwuM/bNz1GwKvFj54kaQ==
5974+
dependencies:
5975+
"@yarnpkg/lockfile" "^1.1.0"
5976+
chalk "^2.4.2"
5977+
cross-spawn "^6.0.5"
5978+
find-yarn-workspace-root "^2.0.0"
5979+
fs-extra "^7.0.1"
5980+
is-ci "^2.0.0"
5981+
klaw-sync "^6.0.0"
5982+
minimist "^1.2.0"
5983+
open "^7.4.2"
5984+
rimraf "^2.6.3"
5985+
semver "^5.6.0"
5986+
slash "^2.0.0"
5987+
tmp "^0.0.33"
5988+
58945989
path-exists@^3.0.0:
58955990
version "3.0.0"
58965991
resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-3.0.0.tgz#ce0ebeaa5f78cb18925ea7d810d7b59b010fd515"
@@ -5906,6 +6001,11 @@ path-is-absolute@^1.0.0, path-is-absolute@^1.0.1:
59066001
resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f"
59076002
integrity sha1-F0uSaHNVNP+8es5r9TpanhtcX18=
59086003

6004+
path-key@^2.0.1:
6005+
version "2.0.1"
6006+
resolved "https://registry.yarnpkg.com/path-key/-/path-key-2.0.1.tgz#411cadb574c5a140d3a4b1910d40d80cc9f40b40"
6007+
integrity sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A=
6008+
59096009
path-key@^3.0.0, path-key@^3.1.0:
59106010
version "3.1.1"
59116011
resolved "https://registry.yarnpkg.com/path-key/-/path-key-3.1.1.tgz#581f6ade658cbba65a0d3380de7753295054f375"
@@ -5968,6 +6068,11 @@ please-upgrade-node@^3.2.0:
59686068
dependencies:
59696069
semver-compare "^1.0.0"
59706070

6071+
postinstall-postinstall@^2.1.0:
6072+
version "2.1.0"
6073+
resolved "https://registry.yarnpkg.com/postinstall-postinstall/-/postinstall-postinstall-2.1.0.tgz#4f7f77441ef539d1512c40bd04c71b06a4704ca3"
6074+
integrity sha512-7hQX6ZlZXIoRiWNrbMQaLzUUfH+sSx39u8EJ9HYuDc1kLo9IXKWjM5RSquZN1ad5GnH8CGFM78fsAAQi3OKEEQ==
6075+
59716076
prelude-ls@^1.2.1:
59726077
version "1.2.1"
59736078
resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.2.1.tgz#debc6489d7a6e6b0e7611888cec880337d316396"
@@ -6379,6 +6484,13 @@ rfdc@^1.3.0:
63796484
resolved "https://registry.yarnpkg.com/rfdc/-/rfdc-1.3.0.tgz#d0b7c441ab2720d05dc4cf26e01c89631d9da08b"
63806485
integrity sha512-V2hovdzFbOi77/WajaSMXk2OLm+xNIeQdMMuB7icj7bk6zi2F8GGAxigcnDFpJHbNyNcgyJDiP+8nOrY5cZGrA==
63816486

6487+
rimraf@^2.6.3:
6488+
version "2.7.1"
6489+
resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.7.1.tgz#35797f13a7fdadc566142c29d4f07ccad483e3ec"
6490+
integrity sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==
6491+
dependencies:
6492+
glob "^7.1.3"
6493+
63826494
rimraf@^3.0.0, rimraf@^3.0.2:
63836495
version "3.0.2"
63846496
resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-3.0.2.tgz#f1a5402ba6220ad52cc1282bac1ae3aa49fd061a"
@@ -6492,7 +6604,7 @@ semver-regex@^3.1.2:
64926604
resolved "https://registry.yarnpkg.com/semver-regex/-/semver-regex-3.1.4.tgz#13053c0d4aa11d070a2f2872b6b1e3ae1e1971b4"
64936605
integrity sha512-6IiqeZNgq01qGf0TId0t3NvKzSvUsjcpdEO3AQNeIjR6A2+ckTnQlDpl4qu1bjRv0RzN3FP9hzFmws3lKqRWkA==
64946606

6495-
"semver@2 || 3 || 4 || 5":
6607+
"semver@2 || 3 || 4 || 5", semver@^5.5.0, semver@^5.6.0:
64966608
version "5.7.1"
64976609
resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7"
64986610
integrity sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==
@@ -6562,6 +6674,11 @@ slash@^1.0.0:
65626674
resolved "https://registry.yarnpkg.com/slash/-/slash-1.0.0.tgz#c41f2f6c39fc16d1cd17ad4b5d896114ae470d55"
65636675
integrity sha1-xB8vbDn8FtHNF61LXYlhFK5HDVU=
65646676

6677+
slash@^2.0.0:
6678+
version "2.0.0"
6679+
resolved "https://registry.yarnpkg.com/slash/-/slash-2.0.0.tgz#de552851a1759df3a8f206535442f5ec4ddeab44"
6680+
integrity sha512-ZYKh3Wh2z1PpEXWr0MpSBZ0V6mZHAQfYevttO11c51CaWjGTaadiKZ+wVt1PbMlDV5qhMFslpZCemhwOK7C89A==
6681+
65656682
slash@^3.0.0:
65666683
version "3.0.0"
65676684
resolved "https://registry.yarnpkg.com/slash/-/slash-3.0.0.tgz#6539be870c165adbd5240220dbe361f1bc4d4634"

0 commit comments

Comments
 (0)