@wp-playground/blueprints 0.1.37 → 0.1.39

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/LICENSE ADDED
@@ -0,0 +1,339 @@
1
+ GNU GENERAL PUBLIC LICENSE
2
+ Version 2, June 1991
3
+
4
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
5
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
6
+ Everyone is permitted to copy and distribute verbatim copies
7
+ of this license document, but changing it is not allowed.
8
+
9
+ Preamble
10
+
11
+ The licenses for most software are designed to take away your
12
+ freedom to share and change it. By contrast, the GNU General Public
13
+ License is intended to guarantee your freedom to share and change free
14
+ software--to make sure the software is free for all its users. This
15
+ General Public License applies to most of the Free Software
16
+ Foundation's software and to any other program whose authors commit to
17
+ using it. (Some other Free Software Foundation software is covered by
18
+ the GNU Lesser General Public License instead.) You can apply it to
19
+ your programs, too.
20
+
21
+ When we speak of free software, we are referring to freedom, not
22
+ price. Our General Public Licenses are designed to make sure that you
23
+ have the freedom to distribute copies of free software (and charge for
24
+ this service if you wish), that you receive source code or can get it
25
+ if you want it, that you can change the software or use pieces of it
26
+ in new free programs; and that you know you can do these things.
27
+
28
+ To protect your rights, we need to make restrictions that forbid
29
+ anyone to deny you these rights or to ask you to surrender the rights.
30
+ These restrictions translate to certain responsibilities for you if you
31
+ distribute copies of the software, or if you modify it.
32
+
33
+ For example, if you distribute copies of such a program, whether
34
+ gratis or for a fee, you must give the recipients all the rights that
35
+ you have. You must make sure that they, too, receive or can get the
36
+ source code. And you must show them these terms so they know their
37
+ rights.
38
+
39
+ We protect your rights with two steps: (1) copyright the software, and
40
+ (2) offer you this license which gives you legal permission to copy,
41
+ distribute and/or modify the software.
42
+
43
+ Also, for each author's protection and ours, we want to make certain
44
+ that everyone understands that there is no warranty for this free
45
+ software. If the software is modified by someone else and passed on, we
46
+ want its recipients to know that what they have is not the original, so
47
+ that any problems introduced by others will not reflect on the original
48
+ authors' reputations.
49
+
50
+ Finally, any free program is threatened constantly by software
51
+ patents. We wish to avoid the danger that redistributors of a free
52
+ program will individually obtain patent licenses, in effect making the
53
+ program proprietary. To prevent this, we have made it clear that any
54
+ patent must be licensed for everyone's free use or not licensed at all.
55
+
56
+ The precise terms and conditions for copying, distribution and
57
+ modification follow.
58
+
59
+ GNU GENERAL PUBLIC LICENSE
60
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
61
+
62
+ 0. This License applies to any program or other work which contains
63
+ a notice placed by the copyright holder saying it may be distributed
64
+ under the terms of this General Public License. The "Program", below,
65
+ refers to any such program or work, and a "work based on the Program"
66
+ means either the Program or any derivative work under copyright law:
67
+ that is to say, a work containing the Program or a portion of it,
68
+ either verbatim or with modifications and/or translated into another
69
+ language. (Hereinafter, translation is included without limitation in
70
+ the term "modification".) Each licensee is addressed as "you".
71
+
72
+ Activities other than copying, distribution and modification are not
73
+ covered by this License; they are outside its scope. The act of
74
+ running the Program is not restricted, and the output from the Program
75
+ is covered only if its contents constitute a work based on the
76
+ Program (independent of having been made by running the Program).
77
+ Whether that is true depends on what the Program does.
78
+
79
+ 1. You may copy and distribute verbatim copies of the Program's
80
+ source code as you receive it, in any medium, provided that you
81
+ conspicuously and appropriately publish on each copy an appropriate
82
+ copyright notice and disclaimer of warranty; keep intact all the
83
+ notices that refer to this License and to the absence of any warranty;
84
+ and give any other recipients of the Program a copy of this License
85
+ along with the Program.
86
+
87
+ You may charge a fee for the physical act of transferring a copy, and
88
+ you may at your option offer warranty protection in exchange for a fee.
89
+
90
+ 2. You may modify your copy or copies of the Program or any portion
91
+ of it, thus forming a work based on the Program, and copy and
92
+ distribute such modifications or work under the terms of Section 1
93
+ above, provided that you also meet all of these conditions:
94
+
95
+ a) You must cause the modified files to carry prominent notices
96
+ stating that you changed the files and the date of any change.
97
+
98
+ b) You must cause any work that you distribute or publish, that in
99
+ whole or in part contains or is derived from the Program or any
100
+ part thereof, to be licensed as a whole at no charge to all third
101
+ parties under the terms of this License.
102
+
103
+ c) If the modified program normally reads commands interactively
104
+ when run, you must cause it, when started running for such
105
+ interactive use in the most ordinary way, to print or display an
106
+ announcement including an appropriate copyright notice and a
107
+ notice that there is no warranty (or else, saying that you provide
108
+ a warranty) and that users may redistribute the program under
109
+ these conditions, and telling the user how to view a copy of this
110
+ License. (Exception: if the Program itself is interactive but
111
+ does not normally print such an announcement, your work based on
112
+ the Program is not required to print an announcement.)
113
+
114
+ These requirements apply to the modified work as a whole. If
115
+ identifiable sections of that work are not derived from the Program,
116
+ and can be reasonably considered independent and separate works in
117
+ themselves, then this License, and its terms, do not apply to those
118
+ sections when you distribute them as separate works. But when you
119
+ distribute the same sections as part of a whole which is a work based
120
+ on the Program, the distribution of the whole must be on the terms of
121
+ this License, whose permissions for other licensees extend to the
122
+ entire whole, and thus to each and every part regardless of who wrote it.
123
+
124
+ Thus, it is not the intent of this section to claim rights or contest
125
+ your rights to work written entirely by you; rather, the intent is to
126
+ exercise the right to control the distribution of derivative or
127
+ collective works based on the Program.
128
+
129
+ In addition, mere aggregation of another work not based on the Program
130
+ with the Program (or with a work based on the Program) on a volume of
131
+ a storage or distribution medium does not bring the other work under
132
+ the scope of this License.
133
+
134
+ 3. You may copy and distribute the Program (or a work based on it,
135
+ under Section 2) in object code or executable form under the terms of
136
+ Sections 1 and 2 above provided that you also do one of the following:
137
+
138
+ a) Accompany it with the complete corresponding machine-readable
139
+ source code, which must be distributed under the terms of Sections
140
+ 1 and 2 above on a medium customarily used for software interchange; or,
141
+
142
+ b) Accompany it with a written offer, valid for at least three
143
+ years, to give any third party, for a charge no more than your
144
+ cost of physically performing source distribution, a complete
145
+ machine-readable copy of the corresponding source code, to be
146
+ distributed under the terms of Sections 1 and 2 above on a medium
147
+ customarily used for software interchange; or,
148
+
149
+ c) Accompany it with the information you received as to the offer
150
+ to distribute corresponding source code. (This alternative is
151
+ allowed only for noncommercial distribution and only if you
152
+ received the program in object code or executable form with such
153
+ an offer, in accord with Subsection b above.)
154
+
155
+ The source code for a work means the preferred form of the work for
156
+ making modifications to it. For an executable work, complete source
157
+ code means all the source code for all modules it contains, plus any
158
+ associated interface definition files, plus the scripts used to
159
+ control compilation and installation of the executable. However, as a
160
+ special exception, the source code distributed need not include
161
+ anything that is normally distributed (in either source or binary
162
+ form) with the major components (compiler, kernel, and so on) of the
163
+ operating system on which the executable runs, unless that component
164
+ itself accompanies the executable.
165
+
166
+ If distribution of executable or object code is made by offering
167
+ access to copy from a designated place, then offering equivalent
168
+ access to copy the source code from the same place counts as
169
+ distribution of the source code, even though third parties are not
170
+ compelled to copy the source along with the object code.
171
+
172
+ 4. You may not copy, modify, sublicense, or distribute the Program
173
+ except as expressly provided under this License. Any attempt
174
+ otherwise to copy, modify, sublicense or distribute the Program is
175
+ void, and will automatically terminate your rights under this License.
176
+ However, parties who have received copies, or rights, from you under
177
+ this License will not have their licenses terminated so long as such
178
+ parties remain in full compliance.
179
+
180
+ 5. You are not required to accept this License, since you have not
181
+ signed it. However, nothing else grants you permission to modify or
182
+ distribute the Program or its derivative works. These actions are
183
+ prohibited by law if you do not accept this License. Therefore, by
184
+ modifying or distributing the Program (or any work based on the
185
+ Program), you indicate your acceptance of this License to do so, and
186
+ all its terms and conditions for copying, distributing or modifying
187
+ the Program or works based on it.
188
+
189
+ 6. Each time you redistribute the Program (or any work based on the
190
+ Program), the recipient automatically receives a license from the
191
+ original licensor to copy, distribute or modify the Program subject to
192
+ these terms and conditions. You may not impose any further
193
+ restrictions on the recipients' exercise of the rights granted herein.
194
+ You are not responsible for enforcing compliance by third parties to
195
+ this License.
196
+
197
+ 7. If, as a consequence of a court judgment or allegation of patent
198
+ infringement or for any other reason (not limited to patent issues),
199
+ conditions are imposed on you (whether by court order, agreement or
200
+ otherwise) that contradict the conditions of this License, they do not
201
+ excuse you from the conditions of this License. If you cannot
202
+ distribute so as to satisfy simultaneously your obligations under this
203
+ License and any other pertinent obligations, then as a consequence you
204
+ may not distribute the Program at all. For example, if a patent
205
+ license would not permit royalty-free redistribution of the Program by
206
+ all those who receive copies directly or indirectly through you, then
207
+ the only way you could satisfy both it and this License would be to
208
+ refrain entirely from distribution of the Program.
209
+
210
+ If any portion of this section is held invalid or unenforceable under
211
+ any particular circumstance, the balance of the section is intended to
212
+ apply and the section as a whole is intended to apply in other
213
+ circumstances.
214
+
215
+ It is not the purpose of this section to induce you to infringe any
216
+ patents or other property right claims or to contest validity of any
217
+ such claims; this section has the sole purpose of protecting the
218
+ integrity of the free software distribution system, which is
219
+ implemented by public license practices. Many people have made
220
+ generous contributions to the wide range of software distributed
221
+ through that system in reliance on consistent application of that
222
+ system; it is up to the author/donor to decide if he or she is willing
223
+ to distribute software through any other system and a licensee cannot
224
+ impose that choice.
225
+
226
+ This section is intended to make thoroughly clear what is believed to
227
+ be a consequence of the rest of this License.
228
+
229
+ 8. If the distribution and/or use of the Program is restricted in
230
+ certain countries either by patents or by copyrighted interfaces, the
231
+ original copyright holder who places the Program under this License
232
+ may add an explicit geographical distribution limitation excluding
233
+ those countries, so that distribution is permitted only in or among
234
+ countries not thus excluded. In such case, this License incorporates
235
+ the limitation as if written in the body of this License.
236
+
237
+ 9. The Free Software Foundation may publish revised and/or new versions
238
+ of the General Public License from time to time. Such new versions will
239
+ be similar in spirit to the present version, but may differ in detail to
240
+ address new problems or concerns.
241
+
242
+ Each version is given a distinguishing version number. If the Program
243
+ specifies a version number of this License which applies to it and "any
244
+ later version", you have the option of following the terms and conditions
245
+ either of that version or of any later version published by the Free
246
+ Software Foundation. If the Program does not specify a version number of
247
+ this License, you may choose any version ever published by the Free Software
248
+ Foundation.
249
+
250
+ 10. If you wish to incorporate parts of the Program into other free
251
+ programs whose distribution conditions are different, write to the author
252
+ to ask for permission. For software which is copyrighted by the Free
253
+ Software Foundation, write to the Free Software Foundation; we sometimes
254
+ make exceptions for this. Our decision will be guided by the two goals
255
+ of preserving the free status of all derivatives of our free software and
256
+ of promoting the sharing and reuse of software generally.
257
+
258
+ NO WARRANTY
259
+
260
+ 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
261
+ FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
262
+ OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
263
+ PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
264
+ OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
265
+ MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
266
+ TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
267
+ PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
268
+ REPAIR OR CORRECTION.
269
+
270
+ 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
271
+ WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
272
+ REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
273
+ INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
274
+ OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
275
+ TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
276
+ YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
277
+ PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
278
+ POSSIBILITY OF SUCH DAMAGES.
279
+
280
+ END OF TERMS AND CONDITIONS
281
+
282
+ How to Apply These Terms to Your New Programs
283
+
284
+ If you develop a new program, and you want it to be of the greatest
285
+ possible use to the public, the best way to achieve this is to make it
286
+ free software which everyone can redistribute and change under these terms.
287
+
288
+ To do so, attach the following notices to the program. It is safest
289
+ to attach them to the start of each source file to most effectively
290
+ convey the exclusion of warranty; and each file should have at least
291
+ the "copyright" line and a pointer to where the full notice is found.
292
+
293
+ <one line to give the program's name and a brief idea of what it does.>
294
+ Copyright (C) <year> <name of author>
295
+
296
+ This program is free software; you can redistribute it and/or modify
297
+ it under the terms of the GNU General Public License as published by
298
+ the Free Software Foundation; either version 2 of the License, or
299
+ (at your option) any later version.
300
+
301
+ This program is distributed in the hope that it will be useful,
302
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
303
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
304
+ GNU General Public License for more details.
305
+
306
+ You should have received a copy of the GNU General Public License along
307
+ with this program; if not, write to the Free Software Foundation, Inc.,
308
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
309
+
310
+ Also add information on how to contact you by electronic and paper mail.
311
+
312
+ If the program is interactive, make it output a short notice like this
313
+ when it starts in an interactive mode:
314
+
315
+ Gnomovision version 69, Copyright (C) year name of author
316
+ Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
317
+ This is free software, and you are welcome to redistribute it
318
+ under certain conditions; type `show c' for details.
319
+
320
+ The hypothetical commands `show w' and `show c' should show the appropriate
321
+ parts of the General Public License. Of course, the commands you use may
322
+ be called something other than `show w' and `show c'; they could even be
323
+ mouse-clicks or menu items--whatever suits your program.
324
+
325
+ You should also get your employer (if you work as a programmer) or your
326
+ school, if any, to sign a "copyright disclaimer" for the program, if
327
+ necessary. Here is a sample; alter the names:
328
+
329
+ Yoyodyne, Inc., hereby disclaims all copyright interest in the program
330
+ `Gnomovision' (which makes passes at compilers) written by James Hacker.
331
+
332
+ <signature of Ty Coon>, 1 April 1989
333
+ Ty Coon, President of Vice
334
+
335
+ This General Public License does not permit incorporating your program into
336
+ proprietary programs. If your program is a subroutine library, you may
337
+ consider it more useful to permit linking proprietary applications with the
338
+ library. If this is what you want to do, use the GNU Lesser General
339
+ Public License instead of this License.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wp-playground/blueprints",
3
- "version": "0.1.37",
3
+ "version": "0.1.39",
4
4
  "exports": {
5
5
  ".": {
6
6
  "import": "./index.js",
@@ -20,5 +20,5 @@
20
20
  "publishConfig": {
21
21
  "access": "public"
22
22
  },
23
- "gitHead": "278ae7717090b6ee837b43c7d60df94dcdcaec3f"
23
+ "gitHead": "18dcdc0d24417bf9207e113d4832229e80c68a28"
24
24
  }
@@ -239,7 +239,13 @@ export abstract class FetchResource extends Resource {
239
239
 
240
240
  /** @inheritDoc */
241
241
  get name() {
242
- return this.getURL();
242
+ try {
243
+ return new URL(this.getURL(), 'http://example.com').pathname
244
+ .split('/')
245
+ .pop()!;
246
+ } catch (e) {
247
+ return this.getURL();
248
+ }
243
249
  }
244
250
 
245
251
  /** @inheritDoc */
@@ -275,7 +281,7 @@ export class UrlResource extends FetchResource {
275
281
  }
276
282
  }
277
283
 
278
- let pluginProxyURL = '/plugin-proxy';
284
+ let pluginProxyURL = 'https://playground.wordpress.net/plugin-proxy';
279
285
  export function setPluginProxyURL(url: string) {
280
286
  pluginProxyURL = url;
281
287
  }
package/LICENSE.md DELETED
@@ -1,750 +0,0 @@
1
- ## WordPress Playground
2
-
3
- Copyright 2022-2023 by the contributors
4
-
5
- **License for Contributions**
6
-
7
- All code contributed to the WordPress Playground project is dual-licensed,
8
- and released under both of the following licenses:
9
-
10
- the GNU General Public License as published by the Free Software Foundation;
11
- either version 2 of the License or (at your option) any later version (the “GPL”)
12
- and the Mozilla Public License, Version 2.0 (the “MPL”).
13
-
14
- **Project License**
15
-
16
- The WordPress Playground project license is not affected by the License for Contributions (as discussed in the [Dual License section](#dual-license) below). The WordPress Playground project continues to be free software; you can redistribute it and/or modify it
17
- under the terms of the GNU General Public License as published by the Free
18
- Software Foundation; either version 2 of the License or (at your option) any
19
- later version (the “GPL”).
20
-
21
- This program incorporates work covered by the following copyright and
22
- permission notices:
23
-
24
- b2 is (c) 2001, 2002 Michel Valdrighi - m@tidakada.com -
25
- http://tidakada.com
26
-
27
- Wherever third party code has been used, credit has been given in the code's
28
- comments.
29
-
30
- b2 is released under the GPL
31
-
32
- and
33
-
34
- WordPress - Web publishing software
35
-
36
- Copyright 2003-2010 by the contributors
37
-
38
- WordPress is released under the GPL
39
-
40
- ## Full Text of Referenced Licenses
41
-
42
- 1. [GNU General Public License, Version 2](#gnu-general-public-license-version-2)
43
- 2. [Mozilla Public License, Version 2.0](#mozilla-public-license-version-20)
44
-
45
- ## GNU General Public License, Version 2
46
-
47
- ### GNU GENERAL PUBLIC LICENSE
48
-
49
- Version 2, June 1991
50
-
51
- Copyright (C) 1989, 1991 Free Software Foundation, Inc.
52
- 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
53
-
54
- Everyone is permitted to copy and distribute verbatim copies
55
- of this license document, but changing it is not allowed.
56
-
57
- ### Preamble
58
-
59
- The licenses for most software are designed to take away your freedom
60
- to share and change it. By contrast, the GNU General Public License is
61
- intended to guarantee your freedom to share and change free
62
- software--to make sure the software is free for all its users. This
63
- General Public License applies to most of the Free Software
64
- Foundation's software and to any other program whose authors commit to
65
- using it. (Some other Free Software Foundation software is covered by
66
- the GNU Lesser General Public License instead.) You can apply it to
67
- your programs, too.
68
-
69
- When we speak of free software, we are referring to freedom, not
70
- price. Our General Public Licenses are designed to make sure that you
71
- have the freedom to distribute copies of free software (and charge for
72
- this service if you wish), that you receive source code or can get it
73
- if you want it, that you can change the software or use pieces of it
74
- in new free programs; and that you know you can do these things.
75
-
76
- To protect your rights, we need to make restrictions that forbid
77
- anyone to deny you these rights or to ask you to surrender the rights.
78
- These restrictions translate to certain responsibilities for you if
79
- you distribute copies of the software, or if you modify it.
80
-
81
- For example, if you distribute copies of such a program, whether
82
- gratis or for a fee, you must give the recipients all the rights that
83
- you have. You must make sure that they, too, receive or can get the
84
- source code. And you must show them these terms so they know their
85
- rights.
86
-
87
- We protect your rights with two steps: (1) copyright the software, and
88
- (2) offer you this license which gives you legal permission to copy,
89
- distribute and/or modify the software.
90
-
91
- Also, for each author's protection and ours, we want to make certain
92
- that everyone understands that there is no warranty for this free
93
- software. If the software is modified by someone else and passed on,
94
- we want its recipients to know that what they have is not the
95
- original, so that any problems introduced by others will not reflect
96
- on the original authors' reputations.
97
-
98
- Finally, any free program is threatened constantly by software
99
- patents. We wish to avoid the danger that redistributors of a free
100
- program will individually obtain patent licenses, in effect making the
101
- program proprietary. To prevent this, we have made it clear that any
102
- patent must be licensed for everyone's free use or not licensed at
103
- all.
104
-
105
- The precise terms and conditions for copying, distribution and
106
- modification follow.
107
-
108
- ### TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
109
-
110
- **0.** This License applies to any program or other work which
111
- contains a notice placed by the copyright holder saying it may be
112
- distributed under the terms of this General Public License. The
113
- "Program", below, refers to any such program or work, and a "work
114
- based on the Program" means either the Program or any derivative work
115
- under copyright law: that is to say, a work containing the Program or
116
- a portion of it, either verbatim or with modifications and/or
117
- translated into another language. (Hereinafter, translation is
118
- included without limitation in the term "modification".) Each licensee
119
- is addressed as "you".
120
-
121
- Activities other than copying, distribution and modification are not
122
- covered by this License; they are outside its scope. The act of
123
- running the Program is not restricted, and the output from the Program
124
- is covered only if its contents constitute a work based on the Program
125
- (independent of having been made by running the Program). Whether that
126
- is true depends on what the Program does.
127
-
128
- **1.** You may copy and distribute verbatim copies of the Program's
129
- source code as you receive it, in any medium, provided that you
130
- conspicuously and appropriately publish on each copy an appropriate
131
- copyright notice and disclaimer of warranty; keep intact all the
132
- notices that refer to this License and to the absence of any warranty;
133
- and give any other recipients of the Program a copy of this License
134
- along with the Program.
135
-
136
- You may charge a fee for the physical act of transferring a copy, and
137
- you may at your option offer warranty protection in exchange for a
138
- fee.
139
-
140
- **2.** You may modify your copy or copies of the Program or any
141
- portion of it, thus forming a work based on the Program, and copy and
142
- distribute such modifications or work under the terms of Section 1
143
- above, provided that you also meet all of these conditions:
144
-
145
- **a)** You must cause the modified files to carry prominent notices
146
- stating that you changed the files and the date of any change.
147
-
148
- **b)** You must cause any work that you distribute or publish, that in
149
- whole or in part contains or is derived from the Program or any part
150
- thereof, to be licensed as a whole at no charge to all third parties
151
- under the terms of this License.
152
-
153
- **c)** If the modified program normally reads commands interactively
154
- when run, you must cause it, when started running for such interactive
155
- use in the most ordinary way, to print or display an announcement
156
- including an appropriate copyright notice and a notice that there is
157
- no warranty (or else, saying that you provide a warranty) and that
158
- users may redistribute the program under these conditions, and telling
159
- the user how to view a copy of this License. (Exception: if the
160
- Program itself is interactive but does not normally print such an
161
- announcement, your work based on the Program is not required to print
162
- an announcement.)
163
-
164
- These requirements apply to the modified work as a whole. If
165
- identifiable sections of that work are not derived from the Program,
166
- and can be reasonably considered independent and separate works in
167
- themselves, then this License, and its terms, do not apply to those
168
- sections when you distribute them as separate works. But when you
169
- distribute the same sections as part of a whole which is a work based
170
- on the Program, the distribution of the whole must be on the terms of
171
- this License, whose permissions for other licensees extend to the
172
- entire whole, and thus to each and every part regardless of who wrote
173
- it.
174
-
175
- Thus, it is not the intent of this section to claim rights or contest
176
- your rights to work written entirely by you; rather, the intent is to
177
- exercise the right to control the distribution of derivative or
178
- collective works based on the Program.
179
-
180
- In addition, mere aggregation of another work not based on the Program
181
- with the Program (or with a work based on the Program) on a volume of
182
- a storage or distribution medium does not bring the other work under
183
- the scope of this License.
184
-
185
- **3.** You may copy and distribute the Program (or a work based on it,
186
- under Section 2) in object code or executable form under the terms of
187
- Sections 1 and 2 above provided that you also do one of the following:
188
-
189
- **a)** Accompany it with the complete corresponding machine-readable
190
- source code, which must be distributed under the terms of Sections 1
191
- and 2 above on a medium customarily used for software interchange; or,
192
-
193
- **b)** Accompany it with a written offer, valid for at least three
194
- years, to give any third party, for a charge no more than your cost of
195
- physically performing source distribution, a complete machine-readable
196
- copy of the corresponding source code, to be distributed under the
197
- terms of Sections 1 and 2 above on a medium customarily used for
198
- software interchange; or,
199
-
200
- **c)** Accompany it with the information you received as to the offer
201
- to distribute corresponding source code. (This alternative is allowed
202
- only for noncommercial distribution and only if you received the
203
- program in object code or executable form with such an offer, in
204
- accord with Subsection b above.)
205
-
206
- The source code for a work means the preferred form of the work for
207
- making modifications to it. For an executable work, complete source
208
- code means all the source code for all modules it contains, plus any
209
- associated interface definition files, plus the scripts used to
210
- control compilation and installation of the executable. However, as a
211
- special exception, the source code distributed need not include
212
- anything that is normally distributed (in either source or binary
213
- form) with the major components (compiler, kernel, and so on) of the
214
- operating system on which the executable runs, unless that component
215
- itself accompanies the executable.
216
-
217
- If distribution of executable or object code is made by offering
218
- access to copy from a designated place, then offering equivalent
219
- access to copy the source code from the same place counts as
220
- distribution of the source code, even though third parties are not
221
- compelled to copy the source along with the object code.
222
-
223
- **4.** You may not copy, modify, sublicense, or distribute the Program
224
- except as expressly provided under this License. Any attempt otherwise
225
- to copy, modify, sublicense or distribute the Program is void, and
226
- will automatically terminate your rights under this License. However,
227
- parties who have received copies, or rights, from you under this
228
- License will not have their licenses terminated so long as such
229
- parties remain in full compliance.
230
-
231
- **5.** You are not required to accept this License, since you have not
232
- signed it. However, nothing else grants you permission to modify or
233
- distribute the Program or its derivative works. These actions are
234
- prohibited by law if you do not accept this License. Therefore, by
235
- modifying or distributing the Program (or any work based on the
236
- Program), you indicate your acceptance of this License to do so, and
237
- all its terms and conditions for copying, distributing or modifying
238
- the Program or works based on it.
239
-
240
- **6.** Each time you redistribute the Program (or any work based on
241
- the Program), the recipient automatically receives a license from the
242
- original licensor to copy, distribute or modify the Program subject to
243
- these terms and conditions. You may not impose any further
244
- restrictions on the recipients' exercise of the rights granted herein.
245
- You are not responsible for enforcing compliance by third parties to
246
- this License.
247
-
248
- **7.** If, as a consequence of a court judgment or allegation of
249
- patent infringement or for any other reason (not limited to patent
250
- issues), conditions are imposed on you (whether by court order,
251
- agreement or otherwise) that contradict the conditions of this
252
- License, they do not excuse you from the conditions of this License.
253
- If you cannot distribute so as to satisfy simultaneously your
254
- obligations under this License and any other pertinent obligations,
255
- then as a consequence you may not distribute the Program at all. For
256
- example, if a patent license would not permit royalty-free
257
- redistribution of the Program by all those who receive copies directly
258
- or indirectly through you, then the only way you could satisfy both it
259
- and this License would be to refrain entirely from distribution of the
260
- Program.
261
-
262
- If any portion of this section is held invalid or unenforceable under
263
- any particular circumstance, the balance of the section is intended to
264
- apply and the section as a whole is intended to apply in other
265
- circumstances.
266
-
267
- It is not the purpose of this section to induce you to infringe any
268
- patents or other property right claims or to contest validity of any
269
- such claims; this section has the sole purpose of protecting the
270
- integrity of the free software distribution system, which is
271
- implemented by public license practices. Many people have made
272
- generous contributions to the wide range of software distributed
273
- through that system in reliance on consistent application of that
274
- system; it is up to the author/donor to decide if he or she is willing
275
- to distribute software through any other system and a licensee cannot
276
- impose that choice.
277
-
278
- This section is intended to make thoroughly clear what is believed to
279
- be a consequence of the rest of this License.
280
-
281
- **8.** If the distribution and/or use of the Program is restricted in
282
- certain countries either by patents or by copyrighted interfaces, the
283
- original copyright holder who places the Program under this License
284
- may add an explicit geographical distribution limitation excluding
285
- those countries, so that distribution is permitted only in or among
286
- countries not thus excluded. In such case, this License incorporates
287
- the limitation as if written in the body of this License.
288
-
289
- **9.** The Free Software Foundation may publish revised and/or new
290
- versions of the General Public License from time to time. Such new
291
- versions will be similar in spirit to the present version, but may
292
- differ in detail to address new problems or concerns.
293
-
294
- Each version is given a distinguishing version number. If the Program
295
- specifies a version number of this License which applies to it and
296
- "any later version", you have the option of following the terms and
297
- conditions either of that version or of any later version published by
298
- the Free Software Foundation. If the Program does not specify a
299
- version number of this License, you may choose any version ever
300
- published by the Free Software Foundation.
301
-
302
- **10.** If you wish to incorporate parts of the Program into other
303
- free programs whose distribution conditions are different, write to
304
- the author to ask for permission. For software which is copyrighted by
305
- the Free Software Foundation, write to the Free Software Foundation;
306
- we sometimes make exceptions for this. Our decision will be guided by
307
- the two goals of preserving the free status of all derivatives of our
308
- free software and of promoting the sharing and reuse of software
309
- generally.
310
-
311
- **NO WARRANTY**
312
-
313
- **11.** BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO
314
- WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
315
- EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
316
- OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY
317
- KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
318
- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
319
- PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
320
- PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME
321
- THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
322
-
323
- **12.** IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
324
- WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
325
- AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU
326
- FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
327
- CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
328
- PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
329
- RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
330
- FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF
331
- SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
332
- DAMAGES.
333
-
334
- ### END OF TERMS AND CONDITIONS
335
-
336
- ### How to Apply These Terms to Your New Programs
337
-
338
- If you develop a new program, and you want it to be of the greatest
339
- possible use to the public, the best way to achieve this is to make it
340
- free software which everyone can redistribute and change under these
341
- terms.
342
-
343
- To do so, attach the following notices to the program. It is safest to
344
- attach them to the start of each source file to most effectively
345
- convey the exclusion of warranty; and each file should have at least
346
- the "copyright" line and a pointer to where the full notice is found.
347
-
348
- one line to give the program's name and an idea of what it does.
349
- Copyright (C) yyyy name of author
350
-
351
- This program is free software; you can redistribute it and/or
352
- modify it under the terms of the GNU General Public License
353
- as published by the Free Software Foundation; either version 2
354
- of the License, or (at your option) any later version.
355
-
356
- This program is distributed in the hope that it will be useful,
357
- but WITHOUT ANY WARRANTY; without even the implied warranty of
358
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
359
- GNU General Public License for more details.
360
-
361
- You should have received a copy of the GNU General Public License
362
- along with this program; if not, write to the Free Software
363
- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
364
-
365
- Also add information on how to contact you by electronic and paper
366
- mail.
367
-
368
- If the program is interactive, make it output a short notice like this
369
- when it starts in an interactive mode:
370
-
371
- Gnomovision version 69, Copyright (C) year name of author
372
- Gnomovision comes with ABSOLUTELY NO WARRANTY; for details
373
- type `show w'. This is free software, and you are welcome
374
- to redistribute it under certain conditions; type `show c'
375
- for details.
376
-
377
- The hypothetical commands \`show w' and \`show c' should show the
378
- appropriate parts of the General Public License. Of course, the
379
- commands you use may be called something other than \`show w' and
380
- \`show c'; they could even be mouse-clicks or menu items--whatever
381
- suits your program.
382
-
383
- You should also get your employer (if you work as a programmer) or
384
- your school, if any, to sign a "copyright disclaimer" for the program,
385
- if necessary. Here is a sample; alter the names:
386
-
387
- Yoyodyne, Inc., hereby disclaims all copyright
388
- interest in the program `Gnomovision'
389
- (which makes passes at compilers) written
390
- by James Hacker.
391
-
392
- signature of Ty Coon, 1 April 1989
393
- Ty Coon, President of Vice
394
-
395
- This General Public License does not permit incorporating your program
396
- into proprietary programs. If your program is a subroutine library,
397
- you may consider it more useful to permit linking proprietary
398
- applications with the library. If this is what you want to do, use the
399
- [GNU Lesser General Public
400
- License](http://www.gnu.org/licenses/lgpl.html) instead of this
401
- License.
402
-
403
- ---
404
-
405
- ## Mozilla Public License, Version 2.0
406
-
407
- ### 1. Definitions
408
-
409
- **1.1. “Contributor”**
410
- means each individual or legal entity that creates, contributes to
411
- the creation of, or owns Covered Software.
412
-
413
- **1.2. “Contributor Version”**
414
- means the combination of the Contributions of others (if any) used
415
- by a Contributor and that particular Contributor's Contribution.
416
-
417
- **1.3. “Contribution”**
418
- means Covered Software of a particular Contributor.
419
-
420
- **1.4. “Covered Software”**
421
- means Source Code Form to which the initial Contributor has attached
422
- the notice in Exhibit A, the Executable Form of such Source Code
423
- Form, and Modifications of such Source Code Form, in each case
424
- including portions thereof.
425
-
426
- **1.5. “Incompatible With Secondary Licenses”**
427
- means
428
-
429
- - **(a)** that the initial Contributor has attached the notice described
430
- in Exhibit B to the Covered Software; or
431
- - **(b)** that the Covered Software was made available under the terms of
432
- version 1.1 or earlier of the License, but not also under the
433
- terms of a Secondary License.
434
-
435
- **1.6. “Executable Form”**
436
- means any form of the work other than Source Code Form.
437
-
438
- **1.7. “Larger Work”**
439
- means a work that combines Covered Software with other material, in
440
- a separate file or files, that is not Covered Software.
441
-
442
- **1.8. “License”**
443
- means this document.
444
-
445
- **1.9. “Licensable”**
446
- means having the right to grant, to the maximum extent possible,
447
- whether at the time of the initial grant or subsequently, any and
448
- all of the rights conveyed by this License.
449
-
450
- **1.10. “Modifications”**
451
- means any of the following:
452
-
453
- - **(a)** any file in Source Code Form that results from an addition to,
454
- deletion from, or modification of the contents of Covered
455
- Software; or
456
- - **(b)** any new file in Source Code Form that contains any Covered
457
- Software.
458
-
459
- **1.11. “Patent Claims” of a Contributor**
460
- means any patent claim(s), including without limitation, method,
461
- process, and apparatus claims, in any patent Licensable by such
462
- Contributor that would be infringed, but for the grant of the
463
- License, by the making, using, selling, offering for sale, having
464
- made, import, or transfer of either its Contributions or its
465
- Contributor Version.
466
-
467
- **1.12. “Secondary License”**
468
- means either the GNU General Public License, Version 2.0, the GNU
469
- Lesser General Public License, Version 2.1, the GNU Affero General
470
- Public License, Version 3.0, or any later versions of those
471
- licenses.
472
-
473
- **1.13. “Source Code Form”**
474
- means the form of the work preferred for making modifications.
475
-
476
- **1.14. “You” (or “Your”)**
477
- means an individual or a legal entity exercising rights under this
478
- License. For legal entities, “You” includes any entity that
479
- controls, is controlled by, or is under common control with You. For
480
- purposes of this definition, “control” means **(a)** the power, direct
481
- or indirect, to cause the direction or management of such entity,
482
- whether by contract or otherwise, or **(b)** ownership of more than
483
- fifty percent (50%) of the outstanding shares or beneficial
484
- ownership of such entity.
485
-
486
- ### 2. License Grants and Conditions
487
-
488
- #### 2.1. Grants
489
-
490
- Each Contributor hereby grants You a world-wide, royalty-free,
491
- non-exclusive license:
492
-
493
- - **(a)** under intellectual property rights (other than patent or trademark)
494
- Licensable by such Contributor to use, reproduce, make available,
495
- modify, display, perform, distribute, and otherwise exploit its
496
- Contributions, either on an unmodified basis, with Modifications, or
497
- as part of a Larger Work; and
498
- - **(b)** under Patent Claims of such Contributor to make, use, sell, offer
499
- for sale, have made, import, and otherwise transfer either its
500
- Contributions or its Contributor Version.
501
-
502
- #### 2.2. Effective Date
503
-
504
- The licenses granted in Section 2.1 with respect to any Contribution
505
- become effective for each Contribution on the date the Contributor first
506
- distributes such Contribution.
507
-
508
- #### 2.3. Limitations on Grant Scope
509
-
510
- The licenses granted in this Section 2 are the only rights granted under
511
- this License. No additional rights or licenses will be implied from the
512
- distribution or licensing of Covered Software under this License.
513
- Notwithstanding Section 2.1(b) above, no patent license is granted by a
514
- Contributor:
515
-
516
- - **(a)** for any code that a Contributor has removed from Covered Software;
517
- or
518
- - **(b)** for infringements caused by: **(i)** Your and any other third party's
519
- modifications of Covered Software, or **(ii)** the combination of its
520
- Contributions with other software (except as part of its Contributor
521
- Version); or
522
- - **(c)** under Patent Claims infringed by Covered Software in the absence of
523
- its Contributions.
524
-
525
- This License does not grant any rights in the trademarks, service marks,
526
- or logos of any Contributor (except as may be necessary to comply with
527
- the notice requirements in Section 3.4).
528
-
529
- #### 2.4. Subsequent Licenses
530
-
531
- No Contributor makes additional grants as a result of Your choice to
532
- distribute the Covered Software under a subsequent version of this
533
- License (see Section 10.2) or under the terms of a Secondary License (if
534
- permitted under the terms of Section 3.3).
535
-
536
- #### 2.5. Representation
537
-
538
- Each Contributor represents that the Contributor believes its
539
- Contributions are its original creation(s) or it has sufficient rights
540
- to grant the rights to its Contributions conveyed by this License.
541
-
542
- #### 2.6. Fair Use
543
-
544
- This License is not intended to limit any rights You have under
545
- applicable copyright doctrines of fair use, fair dealing, or other
546
- equivalents.
547
-
548
- #### 2.7. Conditions
549
-
550
- Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted
551
- in Section 2.1.
552
-
553
- ### 3. Responsibilities
554
-
555
- #### 3.1. Distribution of Source Form
556
-
557
- All distribution of Covered Software in Source Code Form, including any
558
- Modifications that You create or to which You contribute, must be under
559
- the terms of this License. You must inform recipients that the Source
560
- Code Form of the Covered Software is governed by the terms of this
561
- License, and how they can obtain a copy of this License. You may not
562
- attempt to alter or restrict the recipients' rights in the Source Code
563
- Form.
564
-
565
- #### 3.2. Distribution of Executable Form
566
-
567
- If You distribute Covered Software in Executable Form then:
568
-
569
- - **(a)** such Covered Software must also be made available in Source Code
570
- Form, as described in Section 3.1, and You must inform recipients of
571
- the Executable Form how they can obtain a copy of such Source Code
572
- Form by reasonable means in a timely manner, at a charge no more
573
- than the cost of distribution to the recipient; and
574
-
575
- - **(b)** You may distribute such Executable Form under the terms of this
576
- License, or sublicense it under different terms, provided that the
577
- license for the Executable Form does not attempt to limit or alter
578
- the recipients' rights in the Source Code Form under this License.
579
-
580
- #### 3.3. Distribution of a Larger Work
581
-
582
- You may create and distribute a Larger Work under terms of Your choice,
583
- provided that You also comply with the requirements of this License for
584
- the Covered Software. If the Larger Work is a combination of Covered
585
- Software with a work governed by one or more Secondary Licenses, and the
586
- Covered Software is not Incompatible With Secondary Licenses, this
587
- License permits You to additionally distribute such Covered Software
588
- under the terms of such Secondary License(s), so that the recipient of
589
- the Larger Work may, at their option, further distribute the Covered
590
- Software under the terms of either this License or such Secondary
591
- License(s).
592
-
593
- #### 3.4. Notices
594
-
595
- You may not remove or alter the substance of any license notices
596
- (including copyright notices, patent notices, disclaimers of warranty,
597
- or limitations of liability) contained within the Source Code Form of
598
- the Covered Software, except that You may alter any license notices to
599
- the extent required to remedy known factual inaccuracies.
600
-
601
- #### 3.5. Application of Additional Terms
602
-
603
- You may choose to offer, and to charge a fee for, warranty, support,
604
- indemnity or liability obligations to one or more recipients of Covered
605
- Software. However, You may do so only on Your own behalf, and not on
606
- behalf of any Contributor. You must make it absolutely clear that any
607
- such warranty, support, indemnity, or liability obligation is offered by
608
- You alone, and You hereby agree to indemnify every Contributor for any
609
- liability incurred by such Contributor as a result of warranty, support,
610
- indemnity or liability terms You offer. You may include additional
611
- disclaimers of warranty and limitations of liability specific to any
612
- jurisdiction.
613
-
614
- ### 4. Inability to Comply Due to Statute or Regulation
615
-
616
- If it is impossible for You to comply with any of the terms of this
617
- License with respect to some or all of the Covered Software due to
618
- statute, judicial order, or regulation then You must: **(a)** comply with
619
- the terms of this License to the maximum extent possible; and **(b)**
620
- describe the limitations and the code they affect. Such description must
621
- be placed in a text file included with all distributions of the Covered
622
- Software under this License. Except to the extent prohibited by statute
623
- or regulation, such description must be sufficiently detailed for a
624
- recipient of ordinary skill to be able to understand it.
625
-
626
- ### 5. Termination
627
-
628
- **5.1.** The rights granted under this License will terminate automatically
629
- if You fail to comply with any of its terms. However, if You become
630
- compliant, then the rights granted under this License from a particular
631
- Contributor are reinstated **(a)** provisionally, unless and until such
632
- Contributor explicitly and finally terminates Your grants, and **(b)** on an
633
- ongoing basis, if such Contributor fails to notify You of the
634
- non-compliance by some reasonable means prior to 60 days after You have
635
- come back into compliance. Moreover, Your grants from a particular
636
- Contributor are reinstated on an ongoing basis if such Contributor
637
- notifies You of the non-compliance by some reasonable means, this is the
638
- first time You have received notice of non-compliance with this License
639
- from such Contributor, and You become compliant prior to 30 days after
640
- Your receipt of the notice.
641
-
642
- **5.2.** If You initiate litigation against any entity by asserting a patent
643
- infringement claim (excluding declaratory judgment actions,
644
- counter-claims, and cross-claims) alleging that a Contributor Version
645
- directly or indirectly infringes any patent, then the rights granted to
646
- You by any and all Contributors for the Covered Software under Section
647
- 2.1 of this License shall terminate.
648
-
649
- **5.3.** In the event of termination under Sections 5.1 or 5.2 above, all
650
- end user license agreements (excluding distributors and resellers) which
651
- have been validly granted by You or Your distributors under this License
652
- prior to termination shall survive termination.
653
-
654
- ### 6. Disclaimer of Warranty
655
-
656
- > Covered Software is provided under this License on an “as is”
657
- > basis, without warranty of any kind, either expressed, implied, or
658
- > statutory, including, without limitation, warranties that the
659
- > Covered Software is free of defects, merchantable, fit for a
660
- > particular purpose or non-infringing. The entire risk as to the
661
- > quality and performance of the Covered Software is with You.
662
- > Should any Covered Software prove defective in any respect, You
663
- > (not any Contributor) assume the cost of any necessary servicing,
664
- > repair, or correction. This disclaimer of warranty constitutes an
665
- > essential part of this License. No use of any Covered Software is
666
- > authorized under this License except under this disclaimer.
667
-
668
- ### 7. Limitation of Liability
669
-
670
- > Under no circumstances and under no legal theory, whether tort
671
- > (including negligence), contract, or otherwise, shall any
672
- > Contributor, or anyone who distributes Covered Software as
673
- > permitted above, be liable to You for any direct, indirect,
674
- > special, incidental, or consequential damages of any character
675
- > including, without limitation, damages for lost profits, loss of
676
- > goodwill, work stoppage, computer failure or malfunction, or any
677
- > and all other commercial damages or losses, even if such party
678
- > shall have been informed of the possibility of such damages. This
679
- > limitation of liability shall not apply to liability for death or
680
- > personal injury resulting from such party's negligence to the
681
- > extent applicable law prohibits such limitation. Some
682
- > jurisdictions do not allow the exclusion or limitation of
683
- > incidental or consequential damages, so this exclusion and
684
- > limitation may not apply to You.
685
-
686
- ### 8. Litigation
687
-
688
- Any litigation relating to this License may be brought only in the
689
- courts of a jurisdiction where the defendant maintains its principal
690
- place of business and such litigation shall be governed by laws of that
691
- jurisdiction, without reference to its conflict-of-law provisions.
692
- Nothing in this Section shall prevent a party's ability to bring
693
- cross-claims or counter-claims.
694
-
695
- ### 9. Miscellaneous
696
-
697
- This License represents the complete agreement concerning the subject
698
- matter hereof. If any provision of this License is held to be
699
- unenforceable, such provision shall be reformed only to the extent
700
- necessary to make it enforceable. Any law or regulation which provides
701
- that the language of a contract shall be construed against the drafter
702
- shall not be used to construe this License against a Contributor.
703
-
704
- ### 10. Versions of the License
705
-
706
- #### 10.1. New Versions
707
-
708
- Mozilla Foundation is the license steward. Except as provided in Section
709
- 10.3, no one other than the license steward has the right to modify or
710
- publish new versions of this License. Each version will be given a
711
- distinguishing version number.
712
-
713
- #### 10.2. Effect of New Versions
714
-
715
- You may distribute the Covered Software under the terms of the version
716
- of the License under which You originally received the Covered Software,
717
- or under the terms of any subsequent version published by the license
718
- steward.
719
-
720
- #### 10.3. Modified Versions
721
-
722
- If you create software not governed by this License, and you want to
723
- create a new license for such software, you may create and use a
724
- modified version of this License if you rename the license and remove
725
- any references to the name of the license steward (except to note that
726
- such modified license differs from this License).
727
-
728
- #### 10.4. Distributing Source Code Form that is Incompatible With Secondary Licenses
729
-
730
- If You choose to distribute Source Code Form that is Incompatible With
731
- Secondary Licenses under the terms of this version of the License, the
732
- notice described in Exhibit B of this License must be attached.
733
-
734
- ## Exhibit A - Source Code Form License Notice
735
-
736
- This Source Code Form is subject to the terms of the Mozilla Public
737
- License, v. 2.0. If a copy of the MPL was not distributed with this
738
- file, You can obtain one at http://mozilla.org/MPL/2.0/.
739
-
740
- If it is not possible or desirable to put the notice in a particular
741
- file, then You may include the notice in a location (such as a LICENSE
742
- file in a relevant directory) where a recipient would be likely to look
743
- for such a notice.
744
-
745
- You may add additional accurate notices of copyright ownership.
746
-
747
- ## Exhibit B - “Incompatible With Secondary Licenses” Notice
748
-
749
- This Source Code Form is "Incompatible With Secondary Licenses", as
750
- defined by the Mozilla Public License, v. 2.0.