EPL-2.0 license (#3539)
This commit is contained in:
@@ -33,6 +33,7 @@ const licenseTypes = {
|
||||
'AGPL-3.0',
|
||||
'CC-BY-SA-4.0',
|
||||
'EPL-1.0',
|
||||
'EPL-2.0',
|
||||
'EUPL-1.1',
|
||||
'GPL-2.0',
|
||||
'GPL-3.0',
|
||||
@@ -44,7 +45,7 @@ const licenseTypes = {
|
||||
'OFL-1.1',
|
||||
'OSL-3.0',
|
||||
],
|
||||
aliases: ['GPL', 'LGPL', 'MPL', 'MPL 1.1', 'MPL 2.0'],
|
||||
aliases: ['GPL', 'LGPL', 'MPL', 'MPL 1.1', 'MPL 2.0', 'EPL'],
|
||||
color: 'orange',
|
||||
priority: '1',
|
||||
},
|
||||
|
||||
@@ -16,6 +16,7 @@ describe('license helpers', function() {
|
||||
given(['MPL-2.0', 'MIT']).expect('green')
|
||||
given(['OFL-1.1', 'MPL-2.0']).expect('orange')
|
||||
given(['MPL-2.0', 'OFL-1.1']).expect('orange')
|
||||
given(['EPL-1.0', 'EPL-2.0', 'EPL']).expect('orange')
|
||||
given(['CC0-1.0', 'MIT', 'MPL-2.0']).expect('7cd958')
|
||||
given(['UNKNOWN-1.0', 'MIT']).expect('green')
|
||||
given(['UNKNOWN-1.0', 'UNKNOWN-2.0']).expect('lightgrey')
|
||||
|
||||
Reference in New Issue
Block a user