Skip to content

Commit

Permalink
fix: Add LICENSE-3RD-PARTY.txt file (#4304)
Browse files Browse the repository at this point in the history
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.
#4305

---------

Co-authored-by: Dan Bjorge <dan.bjorge@deque.com>
  • Loading branch information
2 people authored and straker committed Feb 5, 2024
1 parent d3c8b4b commit 139c553
Show file tree
Hide file tree
Showing 3 changed files with 72 additions and 3 deletions.
66 changes: 66 additions & 0 deletions LICENSE-3RD-PARTY.txt
Original file line number Diff line number Diff line change
@@ -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 <https://mathiasbynens.be/>
- 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.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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))
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@
"axe.min.js",
"axe.d.ts",
"sri-history.json",
"locales/"
"locales/",
"LICENSE-3RD-PARTY.txt"
],
"standard-version": {
"scripts": {
Expand Down

0 comments on commit 139c553

Please sign in to comment.