From daa0fe677d4837c9c79bad8ee6c77aff11212339 Mon Sep 17 00:00:00 2001 From: Wilco Fiers Date: Thu, 1 Feb 2024 11:42:39 +0100 Subject: [PATCH] fix: Add LICENSE-3RD-PARTY.txt file (#4304) Axe-core needs to include the copyright and licenses of third-party software. I also looked at preserving the copyright statements from third-party libraries where they are embedded. Unfortunately that will require us addressing the webpack issue due to which we pinned our ESBuild version. https://github.com/dequelabs/axe-core/issues/4305 --------- Co-authored-by: Dan Bjorge --- LICENSE-3RD-PARTY.txt | 66 +++++++++++++++++++++++++++++++++++++++++++ README.md | 6 ++-- package.json | 3 +- 3 files changed, 72 insertions(+), 3 deletions(-) create mode 100644 LICENSE-3RD-PARTY.txt diff --git a/LICENSE-3RD-PARTY.txt b/LICENSE-3RD-PARTY.txt new file mode 100644 index 0000000000..368c293bef --- /dev/null +++ b/LICENSE-3RD-PARTY.txt @@ -0,0 +1,66 @@ +----------------------------------------------------------------------------- + MIT License + Applies to: + - colorjs.io; Copyright (c) 2021 Lea Verou, Chris Lilley + - core-js-pure; Copyright (c) 2014-2023 Denis Pushkarev + - css-selector-parser; Copyright (c) 2013 Dulin Marat + - doT.js; Copyright (c) 2011 Laura Doktorova + Software includes portions from jQote2 Copyright (c) 2010 aefxx, + http://aefxx.com/ licensed under the MIT license. + - emoji-regex; Copyright (c) Mathias Bynens + - es6-iterator; Copyright (c) 2013-2017 Mariusz Nowak (www.medikoo.com) + - es6-promise; + Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors + - event-emitter; Copyright (C) 2012-2015 Mariusz Nowak (www.medikoo.com) + - is-promise; Copyright (c) 2014 Forbes Lindesay + - lru-queue; Copyright (C) 2014 Mariusz Nowak (www.medikoo.com) + - typedarray; + Copyright (c) 2010, Linden Research, Inc. + Copyright (c) 2012, Joshua Bell + - weakmap-polyfill; Copyright (c) 2015-2021 polygonplanet +----------------------------------------------------------------------------- + +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. + + +----------------------------------------------------------------------------- + ISC License + Applies to: + - d; Copyright (c) 2013-2019, Mariusz Nowak, @medikoo, medikoo.com + - es5-ext; Copyright (c) 2011-2022, Mariusz Nowak, @medikoo, medikoo.com + - es6-symbol; Copyright (c) 2013-2019, Mariusz Nowak, @medikoo, medikoo.com + - es6-weak-map; Copyright (c) 2013-2018, Mariusz Nowak, @medikoo, medikoo.com + - ext; Copyright (c) 2011-2022, Mariusz Nowak, @medikoo, medikoo.com + - memoizee; Copyright (c) 2012-2018, Mariusz Nowak, @medikoo, medikoo.com + - next-tick; Copyright (c) 2012-2020, Mariusz Nowak, @medikoo, medikoo.com + - timers-ext; Copyright (c) 2013-2018, Mariusz Nowak, @medikoo, medikoo.com + - type; Copyright (c) 2019, Mariusz Nowak, @medikoo, medikoo.com +----------------------------------------------------------------------------- + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted, provided that the above +copyright notice and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE +OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. diff --git a/README.md b/README.md index e415cc671a..f27a6ef381 100644 --- a/README.md +++ b/README.md @@ -179,6 +179,8 @@ Read the [documentation on contributing](CONTRIBUTING.md) ## Acknowledgements -Thanks to Marat Dulin for his [css-selector-parser](https://www.npmjs.com/package/css-selector-parser) implementation which is included for shadow DOM support. +Thanks to Marat Dulin for his [css-selector-parser](https://www.npmjs.com/package/css-selector-parser) implementation which is included for shadow DOM support. Another thank you to the [Slick Parser](https://github.com/mootools/slick/blob/master/Source/Slick.Parser.js) implementers for their contribution, we have used some of their algorithms in our shadow DOM support code. Thanks to Lea Verou and Chris Lilley for their [colorjs.io](https://colorjs.io/) library which we have used for converting between color formats. -Thanks to the [Slick Parser](https://github.com/mootools/slick/blob/master/Source/Slick.Parser.js) implementers for their contribution, we have used some of their algorithms in our shadow DOM support code. +## Licenses + +Axe-core is distributed under the [Mozilla Public License, version 2.0](LICENSE). It comes bundled with several dependencies which are distributed under their own terms. (See [LICENSE-3RD-PARTY.txt](LICENSE-3RD-PARTY.txt)) diff --git a/package.json b/package.json index 1a2d9840b2..bb78a344b4 100644 --- a/package.json +++ b/package.json @@ -55,7 +55,8 @@ "axe.min.js", "axe.d.ts", "sri-history.json", - "locales/" + "locales/", + "LICENSE-3RD-PARTY.txt" ], "standard-version": { "scripts": {