Initial commit
[yaffs-website] / node_modules / validate-npm-package-license / LICENSE
1 SPDX:Apache-2.0
2
3 Apache License
4
5 Version 2.0, January 2004
6
7 http://www.apache.org/licenses/
8
9 TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
10
11 1. Definitions.
12
13 "License" shall mean the terms and conditions for use, reproduction, and 
14 distribution as defined by Sections 1 through 9 of this document.
15
16 "Licensor" shall mean the copyright owner or entity authorized by the 
17 copyright owner that is granting the License.
18
19 "Legal Entity" shall mean the union of the acting entity and all other 
20 entities that control, are controlled by, or are under common control 
21 with that entity. For the purposes of this definition, "control" means 
22 (i) the power, direct or indirect, to cause the direction or management 
23 of such entity, whether by contract or otherwise, or (ii) ownership of 
24 fifty percent (50%) or more of the outstanding shares, or (iii) 
25 beneficial ownership of such entity.
26
27 "You" (or "Your") shall mean an individual or Legal Entity exercising 
28 permissions granted by this License.
29
30 "Source" form shall mean the preferred form for making modifications, 
31 including but not limited to software source code, documentation source, 
32 and configuration files.
33
34 "Object" form shall mean any form resulting from mechanical 
35 transformation or translation of a Source form, including but not 
36 limited to compiled object code, generated documentation, and 
37 conversions to other media types.
38
39 "Work" shall mean the work of authorship, whether in Source or Object 
40 form, made available under the License, as indicated by a copyright 
41 notice that is included in or attached to the work (an example is 
42 provided in the Appendix below).
43
44 "Derivative Works" shall mean any work, whether in Source or Object 
45 form, that is based on (or derived from) the Work and for which the 
46 editorial revisions, annotations, elaborations, or other modifications 
47 represent, as a whole, an original work of authorship. For the purposes 
48 of this License, Derivative Works shall not include works that remain 
49 separable from, or merely link (or bind by name) to the interfaces of, 
50 the Work and Derivative Works thereof.
51
52 "Contribution" shall mean any work of authorship, including the original 
53 version of the Work and any modifications or additions to that Work or 
54 Derivative Works thereof, that is intentionally submitted to Licensor 
55 for inclusion in the Work by the copyright owner or by an individual or 
56 Legal Entity authorized to submit on behalf of the copyright owner. For 
57 the purposes of this definition, "submitted" means any form of 
58 electronic, verbal, or written communication sent to the Licensor or its 
59 representatives, including but not limited to communication on 
60 electronic mailing lists, source code control systems, and issue 
61 tracking systems that are managed by, or on behalf of, the Licensor for 
62 the purpose of discussing and improving the Work, but excluding 
63 communication that is conspicuously marked or otherwise designated in 
64 writing by the copyright owner as "Not a Contribution."
65
66 "Contributor" shall mean Licensor and any individual or Legal Entity on 
67 behalf of whom a Contribution has been received by Licensor and 
68 subsequently incorporated within the Work.
69
70 2. Grant of Copyright License. Subject to the terms and conditions of 
71 this License, each Contributor hereby grants to You a perpetual, 
72 worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright 
73 license to reproduce, prepare Derivative Works of, publicly display, 
74 publicly perform, sublicense, and distribute the Work and such 
75 Derivative Works in Source or Object form.
76
77 3. Grant of Patent License. Subject to the terms and conditions of this 
78 License, each Contributor hereby grants to You a perpetual, worldwide, 
79 non-exclusive, no-charge, royalty-free, irrevocable (except as stated in 
80 this section) patent license to make, have made, use, offer to sell, 
81 sell, import, and otherwise transfer the Work, where such license 
82 applies only to those patent claims licensable by such Contributor that 
83 are necessarily infringed by their Contribution(s) alone or by 
84 combination of their Contribution(s) with the Work to which such 
85 Contribution(s) was submitted. If You institute patent litigation 
86 against any entity (including a cross-claim or counterclaim in a 
87 lawsuit) alleging that the Work or a Contribution incorporated within 
88 the Work constitutes direct or contributory patent infringement, then 
89 any patent licenses granted to You under this License for that Work 
90 shall terminate as of the date such litigation is filed.
91
92 4. Redistribution. You may reproduce and distribute copies of the Work 
93 or Derivative Works thereof in any medium, with or without 
94 modifications, and in Source or Object form, provided that You meet the 
95 following conditions:
96
97 (a) You must give any other recipients of the Work or Derivative Works a 
98 copy of this License; and
99
100 (b) You must cause any modified files to carry prominent notices stating 
101 that You changed the files; and
102
103 (c) You must retain, in the Source form of any Derivative Works that You 
104 distribute, all copyright, patent, trademark, and attribution notices 
105 from the Source form of the Work, excluding those notices that do not 
106 pertain to any part of the Derivative Works; and
107
108 (d) If the Work includes a "NOTICE" text file as part of its 
109 distribution, then any Derivative Works that You distribute must include 
110 a readable copy of the attribution notices contained within such NOTICE 
111 file, excluding those notices that do not pertain to any part of the 
112 Derivative Works, in at least one of the following places: within a 
113 NOTICE text file distributed as part of the Derivative Works; within the 
114 Source form or documentation, if provided along with the Derivative 
115 Works; or, within a display generated by the Derivative Works, if and 
116 wherever such third-party notices normally appear. The contents of the 
117 NOTICE file are for informational purposes only and do not modify the 
118 License. You may add Your own attribution notices within Derivative 
119 Works that You distribute, alongside or as an addendum to the NOTICE 
120 text from the Work, provided that such additional attribution notices 
121 cannot be construed as modifying the License.
122
123 You may add Your own copyright statement to Your modifications and may 
124 provide additional or different license terms and conditions for use, 
125 reproduction, or distribution of Your modifications, or for any such 
126 Derivative Works as a whole, provided Your use, reproduction, and 
127 distribution of the Work otherwise complies with the conditions stated 
128 in this License.
129
130 5. Submission of Contributions. Unless You explicitly state otherwise, 
131 any Contribution intentionally submitted for inclusion in the Work by 
132 You to the Licensor shall be under the terms and conditions of this 
133 License, without any additional terms or conditions. Notwithstanding the 
134 above, nothing herein shall supersede or modify the terms of any 
135 separate license agreement you may have executed with Licensor regarding 
136 such Contributions.
137
138 6. Trademarks. This License does not grant permission to use the trade 
139 names, trademarks, service marks, or product names of the Licensor, 
140 except as required for reasonable and customary use in describing the 
141 origin of the Work and reproducing the content of the NOTICE file.
142
143 7. Disclaimer of Warranty. Unless required by applicable law or agreed 
144 to in writing, Licensor provides the Work (and each Contributor provides 
145 its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS 
146 OF ANY KIND, either express or implied, including, without limitation, 
147 any warranties or conditions of TITLE, NON-INFRINGEMENT, 
148 MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely 
149 responsible for determining the appropriateness of using or 
150 redistributing the Work and assume any risks associated with Your 
151 exercise of permissions under this License.
152
153 8. Limitation of Liability. In no event and under no legal theory, 
154 whether in tort (including negligence), contract, or otherwise, unless 
155 required by applicable law (such as deliberate and grossly negligent 
156 acts) or agreed to in writing, shall any Contributor be liable to You 
157 for damages, including any direct, indirect, special, incidental, or 
158 consequential damages of any character arising as a result of this 
159 License or out of the use or inability to use the Work (including but 
160 not limited to damages for loss of goodwill, work stoppage, computer 
161 failure or malfunction, or any and all other commercial damages or 
162 losses), even if such Contributor has been advised of the possibility of 
163 such damages.
164
165 9. Accepting Warranty or Additional Liability. While redistributing the 
166 Work or Derivative Works thereof, You may choose to offer, and charge a 
167 fee for, acceptance of support, warranty, indemnity, or other liability 
168 obligations and/or rights consistent with this License. However, in 
169 accepting such obligations, You may act only on Your own behalf and on 
170 Your sole responsibility, not on behalf of any other Contributor, and 
171 only if You agree to indemnify, defend, and hold each Contributor 
172 harmless for any liability incurred by, or claims asserted against, such 
173 Contributor by reason of your accepting any such warranty or additional 
174 liability.