pax_global_header00006660000000000000000000000064135230553100014507gustar00rootroot0000000000000052 comment=e943260950eecbb8c96d05cd2a3fffc0c0d73604 jslicense-spdx-ranges.js-a0f1c22/000077500000000000000000000000001352305531000167325ustar00rootroot00000000000000jslicense-spdx-ranges.js-a0f1c22/.npmignore000066400000000000000000000000301352305531000207220ustar00rootroot00000000000000.npmiginore .travis.yml jslicense-spdx-ranges.js-a0f1c22/.travis.yml000066400000000000000000000001441352305531000210420ustar00rootroot00000000000000--- language: "node_js" node_js: - "0.10" - "0.11" - "0.12" - "node" - "iojs" sudo: false jslicense-spdx-ranges.js-a0f1c22/LICENSE.md000066400000000000000000000020651352305531000203410ustar00rootroot00000000000000The MIT License Copyright (c) 2015 Kyle E. Mitchell Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. jslicense-spdx-ranges.js-a0f1c22/README.md000066400000000000000000000021061352305531000202100ustar00rootroot00000000000000## Usage ```javascript var assert = require('assert') var ranges = require('spdx-ranges') assert( Array.isArray(ranges), 'module is an Array' ) assert( ranges.length > 0, 'the Array has elements' ) assert( ranges.every(function (e) { return Array.isArray(e) }), 'each Array element is an Array' ) assert( ranges.every(function (range) { return range.every(function (element) { return ( typeof element === 'string' || ( Array.isArray(element) && element.every(function (element) { return typeof element === 'string' }) ) ) }) }), 'elements of Array-elements are strings or Arrays of Strings' ) ``` ## Licensing The Linux Foundation and its contributors license the SPDX standard under the terms of [the Creative Commons Attribution License 3.0 Unported (SPDX: "CC-BY-3.0")](http://spdx.org/licenses/CC-BY-3.0). "SPDX" is a United States federally registered trademark of the Linux Foundation. The authors of this package license their work under the terms of the MIT License. jslicense-spdx-ranges.js-a0f1c22/index.json000066400000000000000000000057761352305531000207530ustar00rootroot00000000000000[ [ "AFL-1.1", "AFL-1.2", "AFL-2.0", "AFL-2.1", "AFL-3.0" ], [ "AGPL-1.0", [ "AGPL-3.0", "AGPL-3.0-only" ] ], [ "Apache-1.0", "Apache-1.1", "Apache-2.0" ], [ "APSL-1.0", "APSL-1.1", "APSL-1.2", "APSL-2.0" ], [ "Artistic-1.0", "Artistic-2.0" ], [ "BitTorrent-1.0", "BitTorrent-1.1" ], [ "CC-BY-1.0", "CC-BY-2.0", "CC-BY-2.5", "CC-BY-3.0", "CC-BY-4.0" ], [ "CC-BY-NC-1.0", "CC-BY-NC-2.0", "CC-BY-NC-2.5", "CC-BY-NC-3.0", "CC-BY-NC-4.0" ], [ "CC-BY-NC-ND-1.0", "CC-BY-NC-ND-2.0", "CC-BY-NC-ND-2.5", "CC-BY-NC-ND-3.0", "CC-BY-NC-ND-4.0" ], [ "CC-BY-NC-SA-1.0", "CC-BY-NC-SA-2.0", "CC-BY-NC-SA-2.5", "CC-BY-NC-SA-3.0", "CC-BY-NC-SA-4.0" ], [ "CC-BY-ND-1.0", "CC-BY-ND-2.0", "CC-BY-ND-2.5", "CC-BY-ND-3.0", "CC-BY-ND-4.0" ], [ "CC-BY-SA-1.0", "CC-BY-SA-2.0", "CC-BY-SA-2.5", "CC-BY-SA-3.0", "CC-BY-SA-4.0" ], [ "CDDL-1.0", "CDDL-1.1" ], [ "CECILL-1.0", "CECILL-1.1", "CECILL-2.0" ], [ "ECL-1.0", "ECL-2.0" ], [ "EFL-1.0", "EFL-2.0" ], [ "EPL-1.0", "EPL-2.0" ], [ "EUPL-1.0", "EUPL-1.1" ], [ [ "GFDL-1.1", "GFDL-1.1-only" ], [ "GFDL-1.2", "GFDL-1.2-only" ], [ "GFDL-1.1-or-later", "GFDL-1.2-or-later", "GFDL-1.3", "GFDL-1.3-only", "GFDL-1.3-or-later" ] ], [ [ "GPL-1.0", "GPL-1.0-only" ], [ "GPL-2.0", "GPL-2.0-only" ], [ "GPL-1.0-or-later", "GPL-2.0-or-later", "GPL-3.0", "GPL-3.0-only", "GPL-3.0-or-later" ] ], [ [ "LGPL-2.0", "LGPL-2.0-only" ], [ "LGPL-2.1", "LGPL-2.1-only" ], [ "LGPL-2.0-or-later", "LGPL-2.1-or-later", "LGPL-3.0", "LGPL-3.0-only", "LGPL-3.0-or-later" ] ], [ "LPL-1.0", "LPL-1.02" ], [ "LPPL-1.0", "LPPL-1.1", "LPPL-1.2", "LPPL-1.3a", "LPPL-1.3c" ], [ "MPL-1.0", "MPL-1.1", "MPL-2.0" ], [ "MPL-1.0", "MPL-1.1", "MPL-2.0-no-copyleft-exception" ], [ "NPL-1.0", "NPL-1.1" ], [ "OFL-1.0", "OFL-1.1" ], [ "OLDAP-1.1", "OLDAP-1.2", "OLDAP-1.3", "OLDAP-1.4", "OLDAP-2.0", "OLDAP-2.0.1", "OLDAP-2.1", "OLDAP-2.2", "OLDAP-2.2.1", "OLDAP-2.2.2", "OLDAP-2.3", "OLDAP-2.4", "OLDAP-2.5", "OLDAP-2.6", "OLDAP-2.7", "OLDAP-2.8" ], [ "OSL-1.0", "OSL-1.1", "OSL-2.0", "OSL-2.1", "OSL-3.0" ], [ "PHP-3.0", "PHP-3.01" ], [ "RPL-1.1", "RPL-1.5" ], [ "SGI-B-1.0", "SGI-B-1.1", "SGI-B-2.0" ], [ "YPL-1.0", "YPL-1.1" ], [ "ZPL-1.1", "ZPL-2.0", "ZPL-2.1" ], [ "Zimbra-1.3", "Zimbra-1.4" ], [ "bzip2-1.0.5", "bzip2-1.0.6" ] ] jslicense-spdx-ranges.js-a0f1c22/package.json000066400000000000000000000007761352305531000212320ustar00rootroot00000000000000{ "name": "spdx-ranges", "description": "list of SPDX standard license ranges", "version": "2.1.1", "author": "The Linux Foundation", "contributors": [ "Kyle E. Mitchell (https://kemitchell.com/)" ], "devDependencies": { "defence-cli": "^3.0.1", "replace-require-self": "^1.1.1" }, "license": "(MIT AND CC-BY-3.0)", "repository": "kemitchell/spdx-ranges.js", "scripts": { "test": "defence -i javascript README.md | replace-require-self | node" } }