EPL-2.0 license (#3539)

This commit is contained in:
Pierre-Yves B
2019-06-09 18:14:01 +01:00
committed by GitHub
parent c2c8fb6d7f
commit e9f24af878
2 changed files with 3 additions and 1 deletions

View File

@@ -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',
},

View File

@@ -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')