Skip to content

Commit

Permalink
2.0.0 (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
legobeat authored Nov 16, 2023
1 parent 94a0336 commit 3b0f0a5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
```javascript
var assert = require('assert')
var compare = require('spdx-compare')
var compare = require('@metamask/spdx-compare')

assert(compare.gt('GPL-3.0', 'GPL-2.0'))
assert(compare.gt('GPL-3.0-only', 'GPL-2.0-only'))
Expand Down
11 changes: 7 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "spdx-compare",
"name": "@metamask/spdx-compare",
"description": "compare SPDX license expressions",
"version": "1.0.0",
"version": "2.0.0",
"author": "Kyle E. Mitchell <kyle@kemitchell.com> (https://kemitchell.com)",
"dependencies": {
"spdx-expression-parse": "^3.0.0",
Expand All @@ -21,8 +21,11 @@
"standards"
],
"license": "MIT",
"repository": "kemitchell/spdx-compare.js",
"repository": {
"type": "git",
"url": "https://github.com/MetaMask/spdx-compare.js"
},
"scripts": {
"test": "defence -i javascript README.md | sed 's!spdx-compare!./!' | node"
"test": "defence -i javascript README.md | sed 's!@metamask/spdx-compare!./!' | node"
}
}

0 comments on commit 3b0f0a5

Please sign in to comment.