Comparing version 0.4.0 to 0.4.1
{ | ||
"name": "spdx", | ||
"description": "SPDX License Expression Syntax parser", | ||
"version": "0.4.0", | ||
"version": "0.4.1", | ||
"author": "Kyle E. Mitchell <kyle@kemitchell.com> (http://kemitchell.com)", | ||
@@ -6,0 +6,0 @@ "bugs": "https://github.com/kemitchell/spdx.js/issues", |
@@ -107,4 +107,6 @@ spdx.js | ||
spdx.gt('LPPL-1.3a', 'LPPL-1.0'); // => true | ||
spdx.gt('LPPL-1.3a', 'LPPL-1.3a'); // => false | ||
spdx.gt('LPPL-1.3c', 'LPPL-1.3a'); // => true | ||
spdx.gt('MIT', 'ISC'); // => false | ||
spdx.gt('OSL-1.0', 'OPL-1.0'); // => false | ||
spdx.gt('AGPL-3.0', 'AGPL-1.0'); // => true | ||
@@ -126,3 +128,5 @@ try { | ||
spdx.satisfies('GPL-2.0', 'GPL-2.0+ WITH Bison-exception-2.2'); // => false | ||
spdx.satisfies('GPL-3.0 WITH Bison-exception-2.2', 'GPL-2.0+ WITH Bison-exception-2.2'); // => true | ||
spdx.satisfies( | ||
'GPL-3.0 WITH Bison-exception-2.2', 'GPL-2.0+ WITH Bison-exception-2.2' | ||
); // => true | ||
@@ -129,0 +133,0 @@ spdx.satisfies('(MIT OR GPL-2.0)', '(ISC OR MIT)'); // => true |
@@ -10,2 +10,6 @@ [ | ||
[ | ||
"AGPL-1.0", | ||
"AGPL-3.0" | ||
], | ||
[ | ||
"Apache-1.0", | ||
@@ -115,8 +119,3 @@ "Apache-1.1", | ||
"LPPL-1.2", | ||
"LPPL-1.3a" | ||
], | ||
[ | ||
"LPPL-1.0", | ||
"LPPL-1.1", | ||
"LPPL-1.2", | ||
"LPPL-1.3a", | ||
"LPPL-1.3c" | ||
@@ -161,3 +160,2 @@ ], | ||
[ | ||
"OPL-1.0", | ||
"OSL-1.0", | ||
@@ -164,0 +162,0 @@ "OSL-1.1", |
@@ -161,2 +161,2 @@ // spdx.js | ||
// This module's semantic version | ||
exports.implementationVersion = '0.4.0'; | ||
exports.implementationVersion = '0.4.1'; |
49391
146
1583