Skip to content

Commit 55f70c6

Browse files
committed
labels: add url-whatwg labels for WHATWG URL PRs
1 parent 3f2099d commit 55f70c6

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

lib/node-labels.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,8 @@ const subSystemLabelsMap = new Map([
6262
[/^lib\/\w+\/v8_prof_/, 'tools'],
6363
[/^lib\/\w+\/socket_list/, 'net'],
6464
[/^lib\/\w+\/streams$/, 'stream'],
65-
[/^lib\/internal\/url\.js$/, ['url', 'dont-land-on-v4.x', 'dont-land-on-v6.x']],
65+
[/^lib\/internal\/url\.js$/, ['url', 'url-whatwg',
66+
'dont-land-on-v4.x', 'dont-land-on-v6.x']],
6667
// All other lib/ files map directly
6768
[/^lib\/_(\w+)_\w+\.js?$/, '$1'], // e.g. _(stream)_wrap
6869
[/^lib(\/internal)?\/(\w+)\.js?$/, '$2'], // other .js files

test/unit/node-labels.test.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,8 @@ tap.test('label: dont-land-on labels for WHATWG URL', (t) => {
415415
'lib/internal/url.js'
416416
])
417417

418-
t.same(labels, ['url', 'dont-land-on-v4.x', 'dont-land-on-v6.x'])
418+
t.same(labels, ['url', 'url-whatwg',
419+
'dont-land-on-v4.x', 'dont-land-on-v6.x'])
419420

420421
t.end()
421422
})

0 commit comments

Comments
 (0)