diff --git a/lib/links.js b/lib/links.js index ad498b8a..6a3e534f 100644 --- a/lib/links.js +++ b/lib/links.js @@ -17,17 +17,15 @@ export class LinkParser { } getFixesUrlsFromArray(arr) { - const { owner, repo } = this; - const result = []; + const result = new Set(); for (const item of arr) { const m = item.match(FIX_RE); if (!m) continue; - const fix = m[3]; - const url = fix.replace(/^#/, - `${owner}/${repo}#`).replace('#', '/issues/'); - result.push(`https://github.com/${url}`); + const ref = m[3]; + const url = this.getUrlFromOP(ref); + if (url) result.add(url); } - return result; + return Array.from(result); } getRefsUrlsFromArray(arr) { diff --git a/test/fixtures/op_html.json b/test/fixtures/op_html.json index 3b604565..693703e8 100644 --- a/test/fixtures/op_html.json +++ b/test/fixtures/op_html.json @@ -2,5 +2,7 @@ "
The npm install rules had a hidden dependency on the node
binary
\ninstall rule creating the $PREFIX/bin
directory.
Because with ./configure --shared
no binary is created, the rule
\nsubsequently failed. Fix that by creating the directory before
\ncreating the symlinks to the npm and npx scripts.
(Whether it makes sense to install npm without a node
binary is
\na separate question. This commit is not taking positions. :-))
Regression introduced in commit ed8c89a (\"build: fix shared installing
\ntarget\") which, as the commit log indicates, was itself a bug fix for
\nthe ./configure --shared
install.
Refs: #16293
\nmake -j4 test
(UNIX), or vcbuild test
(Windows) passesvm
", "Included reference to \\'constant time\\' in crypto.timingSafeEqual description
\nFixes : #16504
", - "make -j4 test
(UNIX), or vcbuild test
(Windows) passesdoc, dgram
Refs: https://en.wikipedia.org/w/index.php?title=IPv6_address&type=revision&diff=809494791&oldid=804196124
" + "make -j4 test
(UNIX), or vcbuild test
(Windows) passesdoc, dgram
\nRefs: https://en.wikipedia.org/w/index.php?title=IPv6_address&type=revision&diff=809494791&oldid=804196124
", + "0e7511d14
#4261 fix(arborist): _findMissingEdges missing dependency due to inconsistent path separators (@salvadorj)c83069436
#4547 fix: omit bots from authors (@wraithgar)f66da2ed8
#4565 fix(owner): bypass cache when fetching packument (@wraithgar)f0c6e86ca
#4572 fix: remove name from unpublished message (@wraithgar)f7e58fa74
#4572 fix: remove \"bug the author\" message from package 404 (@wraithgar)5471ff5fe
#4573 fix: add isntall alias to install (@wraithgar)84d19210e
#4576 fix: properly show npm view ./directory
(@wraithgar)e9a2981f5
#4578 fix(arborist): save workspace version (@ruyadorno)a30405258
#4580 docs: add foreground-scripts and ignore-scripts to commands (@wraithgar)2361a68e1
#4582 docs: add isntall alias to install command (@wraithgar)8ff1dfaae
#4575 docs: explain that linked deps need npm install
ran in them (@wraithgar)ddbb505ec
#4574 docs: explain that git-tag-version=false does not commit (@wraithgar)7c878b978
#4584 docs: fix unpublish docs to auto generate usage (@wraithgar)fcc6acfa8
#4562 deps: @npmcli/metavuln-calculator@3.0.1
6d3145014
#4562 deps: pacote@13.0.4
f6b771aab
#4562 deps: make-fetch-happen@10.0.6
e26548fb1
#4562 deps: cacache@16.0.0
915dda7ab
#4562 deps: init-package-json@3.0.1
f2ec2ef1f
#4562 deps: read-package-json@5.0.0
340fa51f4
#4562 deps: pacote@13.0.5
9555a5f1d
#4562 deps: npm-package-arg@9.0.1
b2a494283
#4562 deps: normalize-package-data@4.0.0
1cb88f4b3
#4562 deps: hosted-git-info@5.0.0
f95396a03
#4562 deps: cacache@16.0.1
aec2bfecc
#4585 deps: cacache@16.0.2
ed8ab63e4
deps: libnpmpack@4.0.2
0b73bfa82
deps: libnpmteam@4.0.2
475d59b36
deps: libnpmaccess@6.0.2
7201c7395
deps: libnpmsearch@5.0.2
f5df358c3
deps: libnpmorg@4.0.2
472e7dd7a
deps: libnpmhook@8.0.2
c901d7290
deps: libnpmpublish@6.0.2
aad53327f
deps: @npmcli/arborist@5.0.3
b40136bca
deps: libnpmdiff@4.0.2
5d91201d1
deps: libnpmexec@4.0.2
Original commit from v8 repo:
\n[mac][wasm] Work around MacOS 11.2 code page decommit failures\n\nMacOS 11.2 refuses to set \"no access\" permissions on memory that\nwe previously used for JIT-compiled code. It is still unclear\nwhether this is WAI on the part of the kernel. In the meantime,\nas a workaround, we use madvise(..., MADV_FREE_REUSABLE) instead\nof mprotect(..., NONE) when discarding code pages. This is inspired\nby what Chromium's gin platform does.\n\nFixed: v8:11389\nChange-Id: I866586932573b4253002436ae5eee4e0411c45fc\nReviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2679688\nCommit-Queue: Jakob Kummerow <jkummerow@chromium.org>\nCommit-Queue: Michael Lippautz <mlippautz@chromium.org>\nAuto-Submit: Jakob Kummerow <jkummerow@chromium.org>\nReviewed-by: Michael Lippautz <mlippautz@chromium.org>\nCr-Commit-Position: refs/heads/master@{#72559}\n
Fixes #37061
\nRef: https://bugs.chromium.org/p/v8/issues/detail?id=11389#c18
For test:
\n./node crash.js\n{\"exports\":[],\"reexports\":[]}