diff --git a/LICENSE b/LICENSE new file mode 100644 index 000000000..b95f5698c --- /dev/null +++ b/LICENSE @@ -0,0 +1,8 @@ +Copyright 2019 - present Christopher J. Brody and other contributors, as listed in: https://github.com/xmldom/xmldom/graphs/contributors +Copyright 2012 - 2017 @jindw and other contributors, as listed in: https://github.com/jindw/xmldom/graphs/contributors + +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. diff --git a/LICENSE.md b/LICENSE.md deleted file mode 100644 index dc140c79b..000000000 --- a/LICENSE.md +++ /dev/null @@ -1,4 +0,0 @@ -You can choose any one of these licenses: - -- MIT: https://opensource.org/licenses/MIT -- LGPL: http://www.gnu.org/licenses/lgpl.html diff --git a/package.json b/package.json index 23001bbe2..03c9f6afe 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "main": "lib/dom-parser.js", "files": [ "CHANGELOG.md", - "LICENSE.md", + "LICENSE", "readme.md", "lib" ], @@ -90,5 +90,5 @@ "bugs": { "url": "https://github.com/xmldom/xmldom/issues" }, - "license": "(LGPL-2.0 OR MIT)" + "license": "MIT" } diff --git a/readme.md b/readme.md index b0a9072f7..7ff989d87 100644 --- a/readme.md +++ b/readme.md @@ -1,6 +1,6 @@ # XMLDOM -[![license](https://img.shields.io/npm/l/xmldom?color=blue&style=flat-square)](./LICENSE.md) +[![license](https://img.shields.io/npm/l/xmldom?color=blue&style=flat-square)](LICENSE) [![npm](https://img.shields.io/npm/v/xmldom?style=flat-square)](https://www.npmjs.com/package/xmldom) [![bug issues](https://img.shields.io/github/issues/xmldom/xmldom/bug?color=red&style=flat-square)](https://github.com/xmldom/xmldom/issues?q=is%3Aissue+is%3Aopen+label%3Abug) [!["help wanted" issues](https://img.shields.io/github/issues/xmldom/xmldom/help%20wanted?color=darkgreen&style=flat-square)](https://github.com/xmldom/xmldom/issues?q=is%3Aissue+is%3Aopen+label%3A%22help+wanted%22)