Skip to content

Commit 2fb8bda

Browse files
committed
Merge branch 'main' of github.com:nestcn/docs.nestjs.cn
2 parents 20ec367 + df5e03f commit 2fb8bda

File tree

1 file changed

+49
-44
lines changed

1 file changed

+49
-44
lines changed

LICENSE

Lines changed: 49 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
"License" shall mean the terms and conditions for use, reproduction,
1010
and distribution as defined by Sections 1 through 9 of this document.
1111

12-
"Licensor" shall mean the copyright owner or entity granting the License.
12+
"Licensor" shall mean the copyright owner or entity authorized by
13+
the copyright owner that is granting the License.
1314

1415
"Legal Entity" shall mean the union of the acting entity and all
1516
other entities that control, are controlled by, or are under common
@@ -22,28 +23,27 @@
2223
"You" (or "Your") shall mean an individual or Legal Entity
2324
exercising permissions granted by this License.
2425

25-
"Source" shall mean the preferred form for making modifications,
26+
"Source" form shall mean the preferred form for making modifications,
2627
including but not limited to software source code, documentation
2728
source, and configuration files.
2829

29-
"Object" shall mean any form resulting from mechanical
30+
"Object" form shall mean any form resulting from mechanical
3031
transformation or translation of a Source form, including but
3132
not limited to compiled object code, generated documentation,
3233
and conversions to other media types.
3334

3435
"Work" shall mean the work of authorship, whether in Source or
3536
Object form, made available under the License, as indicated by a
3637
copyright notice that is included in or attached to the work
37-
(which shall not include communications that are solely to
38-
facilitate the execution of the License).
38+
(an example is provided in the Appendix below).
3939

4040
"Derivative Works" shall mean any work, whether in Source or Object
41-
form, that is based upon (or derived from) the Work and for which the
41+
form, that is based on (or derived from) the Work and for which the
4242
editorial revisions, annotations, elaborations, or other modifications
4343
represent, as a whole, an original work of authorship. For the purposes
4444
of this License, Derivative Works shall not include works that remain
4545
separable from, or merely link (or bind by name) to the interfaces of,
46-
the Work and derivative works thereof.
46+
the Work and Derivative Works thereof.
4747

4848
"Contribution" shall mean any work of authorship, including
4949
the original version of the Work and any modifications or additions
@@ -53,10 +53,10 @@
5353
the copyright owner. For the purposes of this definition, "submitted"
5454
means any form of electronic, verbal, or written communication sent
5555
to the Licensor or its representatives, including but not limited to
56-
communication on electronic mailing lists, source code control
57-
systems, and issue tracking systems that are managed by, or on behalf
58-
of, the Licensor for the purpose of discussing and improving the Work,
59-
but excluding communication that is conspicuously marked or otherwise
56+
communication on electronic mailing lists, source code control systems,
57+
and issue tracking systems that are managed by, or on behalf of, the
58+
Licensor for the purpose of discussing and improving the Work, but
59+
excluding communication that is conspicuously marked or otherwise
6060
designated in writing by the copyright owner as "Not a Contribution."
6161

6262
"Contributor" shall mean Licensor and any individual or Legal Entity
@@ -66,9 +66,9 @@
6666
2. Grant of Copyright License. Subject to the terms and conditions of
6767
this License, each Contributor hereby grants to You a perpetual,
6868
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69-
copyright license to use, reproduce, modify, display, perform,
70-
sublicense, and distribute the Work and such Derivative Works in
71-
Source or Object form.
69+
copyright license to reproduce, prepare Derivative Works of,
70+
publicly display, publicly perform, sublicense, and distribute the
71+
Work and such Derivative Works in Source or Object form.
7272

7373
3. Grant of Patent License. Subject to the terms and conditions of
7474
this License, each Contributor hereby grants to You a perpetual,
@@ -98,17 +98,17 @@
9898
stating that You changed the files; and
9999

100100
(c) You must retain, in the Source form of any Derivative Works
101-
that You distribute, all copyright, trademark, patent,
102-
attribution and other notices from the Source form of the Work,
101+
that You distribute, all copyright, patent, trademark, and
102+
attribution notices from the Source form of the Work,
103103
excluding those notices that do not pertain to any part of
104104
the Derivative Works; and
105105

106-
(d) If the Work includes a "NOTICE" file as part of its
106+
(d) If the Work includes a "NOTICE" text file as part of its
107107
distribution, then any Derivative Works that You distribute must
108108
include a readable copy of the attribution notices contained
109109
within such NOTICE file, excluding those notices that do not
110110
pertain to any part of the Derivative Works, in at least one
111-
of the following places: within a NOTICE file distributed
111+
of the following places: within a NOTICE text file distributed
112112
as part of the Derivative Works; within the Source form or
113113
documentation, if provided along with the Derivative Works; or,
114114
within a display generated by the Derivative Works, if and
@@ -120,7 +120,7 @@
120120
that such additional attribution notices cannot be construed
121121
as modifying the License.
122122

123-
You may add Your own copyright notice to Your modifications and
123+
You may add Your own copyright statement to Your modifications and
124124
may provide additional or different license terms and conditions
125125
for use, reproduction, or distribution of Your modifications, or
126126
for any such Derivative Works as a whole, provided Your use,
@@ -162,35 +162,40 @@
162162
other commercial damages or losses), even if such Contributor
163163
has been advised of the possibility of such damages.
164164

165-
9. Accepting Warranty or Support. You are not required to accept
166-
warranty or support for the Work. However, if You choose to accept
167-
warranty or support for the Work, You may do so only on Your own
168-
behalf and on Your sole responsibility, not on behalf of any other
169-
Contributor, and only if You agree to indemnify, defend, and hold
170-
each Contributor harmless for any liability incurred by, or claims
171-
asserted against, such Contributor by reason of your accepting any
172-
such warranty or support.
165+
9. Accepting Warranty or Additional Liability. While redistributing
166+
the Work or Derivative Works thereof, You may choose to offer,
167+
and charge a fee for, acceptance of support, warranty, indemnity,
168+
or other liability obligations and/or rights consistent with this
169+
License. However, in accepting such obligations, You may act only
170+
on Your own behalf and on Your sole responsibility, not on behalf
171+
of any other Contributor, and only if You agree to indemnify,
172+
defend, and hold each Contributor harmless for any liability
173+
incurred by, or claims asserted against, such Contributor by reason
174+
of your accepting any such warranty or additional liability.
173175

174176
END OF TERMS AND CONDITIONS
175177

176178
APPENDIX: How to apply the Apache License to your work.
177179

178180
To apply the Apache License to your work, attach the following
179181
boilerplate notice, with the fields enclosed by brackets "[]"
180-
replaced with your own identifying information. Don't include
181-
the brackets! The text should be enclosed in comments at the
182-
beginning of each source file.
183-
184-
Copyright [yyyy] [name of copyright owner]
185-
186-
Licensed under the Apache License, Version 2.0 (the "License");
187-
you may not use this file except in compliance with the License.
188-
You may obtain a copy of the License at
189-
190-
http://www.apache.org/licenses/LICENSE-2.0
191-
192-
Unless required by applicable law or agreed to in writing, software
193-
distributed under the License is distributed on an "AS IS" BASIS,
194-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
195-
See the License for the specific language governing permissions and
196-
limitations under the License.
182+
replaced with your own identifying information. (Don't include
183+
the brackets!) The text should be enclosed in the appropriate
184+
comment syntax for the file format. We also recommend that a
185+
file or class name and description of purpose be included on the
186+
same "printed page" as the copyright notice for easier
187+
identification within third-party archives.
188+
189+
Copyright [yyyy] [name of copyright owner]
190+
191+
Licensed under the Apache License, Version 2.0 (the "License");
192+
you may not use this file except in compliance with the License.
193+
You may obtain a copy of the License at
194+
195+
http://www.apache.org/licenses/LICENSE-2.0
196+
197+
Unless required by applicable law or agreed to in writing, software
198+
distributed under the License is distributed on an "AS IS" BASIS,
199+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200+
See the License for the specific language governing permissions and
201+
limitations under the License.

0 commit comments

Comments
 (0)