Skip to content

Commit b4b55d0

Browse files
clydinBrocco
authored andcommitted
test: license test updates
`@webassemblyjs/[email protected]` is Apache-2.0 but missing license field
1 parent e54213e commit b4b55d0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scripts/test-licenses.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ const licenseReplacements = {
6969
// Just a longer string that our script catches. SPDX official name is the shorter one.
7070
'Apache License, Version 2.0': 'Apache-2.0',
7171
'Apache2': 'Apache-2.0',
72+
'Apache 2.0': 'Apache-2.0',
7273
'AFLv2.1': 'AFL-2.1',
7374
// BSD is BSD-2-clause by default.
7475
'BSD': 'BSD-2-Clause',
@@ -83,6 +84,7 @@ const ignoredPackages = [
8384
'[email protected]', // Apache-2.0 but broken license in package.json
8485
'[email protected]', // SPDX expression (MIT AND Zlib) in package.json
8586
'[email protected]', // SPDX expression (MIT AND BSD-3-Clause) in package.json
87+
'@webassemblyjs/[email protected]', // Apache-2.0 but no license field in package.json
8688

8789
'[email protected]', // TODO(hansl): fix this. this is not an acceptable license, but is 8 deps down
8890
// so hard to manage. In talk with owner and users to switch over.

0 commit comments

Comments
 (0)