@nodefony/framework 10.0.0-alpha.3 → 10.0.0-alpha.5
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 +201 -543
- package/README.md +1 -1
- package/dist/_virtual/{_@oxc-project_runtime@0.148.0 → _@oxc-project_runtime@0.149.0}/helpers/esm/decorate.js +1 -1
- package/dist/_virtual/{_@oxc-project_runtime@0.148.0 → _@oxc-project_runtime@0.149.0}/helpers/esm/decorateMetadata.js +1 -1
- package/dist/index.js +5 -5
- package/dist/nodefony/controller/OAuth2Controller.js +13 -4
- package/dist/nodefony/service/AdminBroker.js +2 -2
- package/dist/nodefony/service/IdempotencyStore.js +2 -2
- package/dist/nodefony/service/router.js +2 -2
- package/dist/nodefony/src/KernelAdminApi.js +58 -1
- package/dist/nodefony/src/Resolver.js +20 -3
- package/dist/types/index.d.ts +4 -4
- package/dist/types/nodefony/config/config.d.ts +2 -2
- package/dist/types/nodefony/config/defineModuleConfig.d.ts +2 -2
- package/dist/types/nodefony/controller/OAuth2Controller.d.ts +18 -3
- package/dist/types/nodefony/src/KernelAdminApi.d.ts +32 -0
- package/dist/types/nodefony/src/Resolver.d.ts +14 -0
- package/dist/types/nodefony/src/idempotencyStoreRegistry.d.ts +2 -2
- package/docs/controller.md +25 -25
- package/docs/decorateurs.md +5 -5
- package/docs/idempotence.md +1 -1
- package/docs/routing.md +2 -2
- package/docs/templates.md +9 -9
- package/package.json +10 -10
package/LICENSE
CHANGED
|
@@ -1,544 +1,202 @@
|
|
|
1
1
|
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
the
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
The
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
The right to make Contributions includes the right to translate, adapt,
|
|
205
|
-
arrange, or make any or all modifications to the Software, and the right
|
|
206
|
-
to reproduce the resulting software.
|
|
207
|
-
|
|
208
|
-
The Licensee is authorized to make any or all Contributions to the
|
|
209
|
-
Software provided that it includes an explicit notice that it is the
|
|
210
|
-
author of said Contribution and indicates the date of the creation thereof.
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
5.3 RIGHT OF DISTRIBUTION
|
|
214
|
-
|
|
215
|
-
In particular, the right of distribution includes the right to publish,
|
|
216
|
-
transmit and communicate the Software to the general public on any or
|
|
217
|
-
all medium, and by any or all means, and the right to market, either in
|
|
218
|
-
consideration of a fee, or free of charge, one or more copies of the
|
|
219
|
-
Software by any means.
|
|
220
|
-
|
|
221
|
-
The Licensee is further authorized to distribute copies of the modified
|
|
222
|
-
or unmodified Software to third parties according to the terms and
|
|
223
|
-
conditions set forth hereinafter.
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
5.3.1 DISTRIBUTION OF SOFTWARE WITHOUT MODIFICATION
|
|
227
|
-
|
|
228
|
-
The Licensee is authorized to distribute true copies of the Software in
|
|
229
|
-
Source Code or Object Code form, provided that said distribution
|
|
230
|
-
complies with all the provisions of the Agreement and is accompanied by:
|
|
231
|
-
|
|
232
|
-
1. a copy of the Agreement,
|
|
233
|
-
|
|
234
|
-
2. a notice relating to the limitation of both the Licensor's
|
|
235
|
-
warranty and liability as set forth in Articles 8 and 9,
|
|
236
|
-
|
|
237
|
-
and that, in the event that only the Object Code of the Software is
|
|
238
|
-
redistributed, the Licensee allows effective access to the full Source
|
|
239
|
-
Code of the Software at a minimum during the entire period of its
|
|
240
|
-
distribution of the Software, it being understood that the additional
|
|
241
|
-
cost of acquiring the Source Code shall not exceed the cost of
|
|
242
|
-
transferring the data.
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
5.3.2 DISTRIBUTION OF MODIFIED SOFTWARE
|
|
246
|
-
|
|
247
|
-
If the Licensee makes any Contribution to the Software, the resulting
|
|
248
|
-
Modified Software may be distributed under a license agreement other
|
|
249
|
-
than this Agreement subject to compliance with the provisions of Article
|
|
250
|
-
5.3.4.
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
5.3.3 DISTRIBUTION OF EXTERNAL MODULES
|
|
254
|
-
|
|
255
|
-
When the Licensee has developed an External Module, the terms and
|
|
256
|
-
conditions of this Agreement do not apply to said External Module, that
|
|
257
|
-
may be distributed under a separate license agreement.
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
5.3.4 CREDITS
|
|
261
|
-
|
|
262
|
-
Any Licensee who may distribute a Modified Software hereby expressly
|
|
263
|
-
agrees to:
|
|
264
|
-
|
|
265
|
-
1. indicate in the related documentation that it is based on the
|
|
266
|
-
Software licensed hereunder, and reproduce the intellectual
|
|
267
|
-
property notice for the Software,
|
|
268
|
-
|
|
269
|
-
2. ensure that written indications of the Software intended use,
|
|
270
|
-
intellectual property notice and license hereunder are included in
|
|
271
|
-
easily accessible format from the Modified Software interface,
|
|
272
|
-
|
|
273
|
-
3. mention, on a freely accessible website describing the Modified
|
|
274
|
-
Software, at least throughout the distribution term thereof, that
|
|
275
|
-
it is based on the Software licensed hereunder, and reproduce the
|
|
276
|
-
Software intellectual property notice,
|
|
277
|
-
|
|
278
|
-
4. where it is distributed to a third party that may distribute a
|
|
279
|
-
Modified Software without having to make its source code
|
|
280
|
-
available, make its best efforts to ensure that said third party
|
|
281
|
-
agrees to comply with the obligations set forth in this Article .
|
|
282
|
-
|
|
283
|
-
If the Software, whether or not modified, is distributed with an
|
|
284
|
-
External Module designed for use in connection with the Software, the
|
|
285
|
-
Licensee shall submit said External Module to the foregoing obligations.
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
5.3.5 COMPATIBILITY WITH THE CeCILL AND CeCILL-C LICENSES
|
|
289
|
-
|
|
290
|
-
Where a Modified Software contains a Contribution subject to the CeCILL
|
|
291
|
-
license, the provisions set forth in Article 5.3.4 shall be optional.
|
|
292
|
-
|
|
293
|
-
A Modified Software may be distributed under the CeCILL-C license. In
|
|
294
|
-
such a case the provisions set forth in Article 5.3.4 shall be optional.
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
Article 6 - INTELLECTUAL PROPERTY
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
6.1 OVER THE INITIAL SOFTWARE
|
|
301
|
-
|
|
302
|
-
The Holder owns the economic rights over the Initial Software. Any or
|
|
303
|
-
all use of the Initial Software is subject to compliance with the terms
|
|
304
|
-
and conditions under which the Holder has elected to distribute its work
|
|
305
|
-
and no one shall be entitled to modify the terms and conditions for the
|
|
306
|
-
distribution of said Initial Software.
|
|
307
|
-
|
|
308
|
-
The Holder undertakes that the Initial Software will remain ruled at
|
|
309
|
-
least by this Agreement, for the duration set forth in Article 4.2.
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
6.2 OVER THE CONTRIBUTIONS
|
|
313
|
-
|
|
314
|
-
The Licensee who develops a Contribution is the owner of the
|
|
315
|
-
intellectual property rights over this Contribution as defined by
|
|
316
|
-
applicable law.
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
6.3 OVER THE EXTERNAL MODULES
|
|
320
|
-
|
|
321
|
-
The Licensee who develops an External Module is the owner of the
|
|
322
|
-
intellectual property rights over this External Module as defined by
|
|
323
|
-
applicable law and is free to choose the type of agreement that shall
|
|
324
|
-
govern its distribution.
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
6.4 JOINT PROVISIONS
|
|
328
|
-
|
|
329
|
-
The Licensee expressly undertakes:
|
|
330
|
-
|
|
331
|
-
1. not to remove, or modify, in any manner, the intellectual property
|
|
332
|
-
notices attached to the Software;
|
|
333
|
-
|
|
334
|
-
2. to reproduce said notices, in an identical manner, in the copies
|
|
335
|
-
of the Software modified or not.
|
|
336
|
-
|
|
337
|
-
The Licensee undertakes not to directly or indirectly infringe the
|
|
338
|
-
intellectual property rights of the Holder and/or Contributors on the
|
|
339
|
-
Software and to take, where applicable, vis-à-vis its staff, any and all
|
|
340
|
-
measures required to ensure respect of said intellectual property rights
|
|
341
|
-
of the Holder and/or Contributors.
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
Article 7 - RELATED SERVICES
|
|
345
|
-
|
|
346
|
-
7.1 Under no circumstances shall the Agreement oblige the Licensor to
|
|
347
|
-
provide technical assistance or maintenance services for the Software.
|
|
348
|
-
|
|
349
|
-
However, the Licensor is entitled to offer this type of services. The
|
|
350
|
-
terms and conditions of such technical assistance, and/or such
|
|
351
|
-
maintenance, shall be set forth in a separate instrument. Only the
|
|
352
|
-
Licensor offering said maintenance and/or technical assistance services
|
|
353
|
-
shall incur liability therefor.
|
|
354
|
-
|
|
355
|
-
7.2 Similarly, any Licensor is entitled to offer to its licensees, under
|
|
356
|
-
its sole responsibility, a warranty, that shall only be binding upon
|
|
357
|
-
itself, for the redistribution of the Software and/or the Modified
|
|
358
|
-
Software, under terms and conditions that it is free to decide. Said
|
|
359
|
-
warranty, and the financial terms and conditions of its application,
|
|
360
|
-
shall be subject of a separate instrument executed between the Licensor
|
|
361
|
-
and the Licensee.
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
Article 8 - LIABILITY
|
|
365
|
-
|
|
366
|
-
8.1 Subject to the provisions of Article 8.2, the Licensee shall be
|
|
367
|
-
entitled to claim compensation for any direct loss it may have suffered
|
|
368
|
-
from the Software as a result of a fault on the part of the relevant
|
|
369
|
-
Licensor, subject to providing evidence thereof.
|
|
370
|
-
|
|
371
|
-
8.2 The Licensor's liability is limited to the commitments made under
|
|
372
|
-
this Agreement and shall not be incurred as a result of in particular:
|
|
373
|
-
(i) loss due the Licensee's total or partial failure to fulfill its
|
|
374
|
-
obligations, (ii) direct or consequential loss that is suffered by the
|
|
375
|
-
Licensee due to the use or performance of the Software, and (iii) more
|
|
376
|
-
generally, any consequential loss. In particular the Parties expressly
|
|
377
|
-
agree that any or all pecuniary or business loss (i.e. loss of data,
|
|
378
|
-
loss of profits, operating loss, loss of customers or orders,
|
|
379
|
-
opportunity cost, any disturbance to business activities) or any or all
|
|
380
|
-
legal proceedings instituted against the Licensee by a third party,
|
|
381
|
-
shall constitute consequential loss and shall not provide entitlement to
|
|
382
|
-
any or all compensation from the Licensor.
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
Article 9 - WARRANTY
|
|
386
|
-
|
|
387
|
-
9.1 The Licensee acknowledges that the scientific and technical
|
|
388
|
-
state-of-the-art when the Software was distributed did not enable all
|
|
389
|
-
possible uses to be tested and verified, nor for the presence of
|
|
390
|
-
possible defects to be detected. In this respect, the Licensee's
|
|
391
|
-
attention has been drawn to the risks associated with loading, using,
|
|
392
|
-
modifying and/or developing and reproducing the Software which are
|
|
393
|
-
reserved for experienced users.
|
|
394
|
-
|
|
395
|
-
The Licensee shall be responsible for verifying, by any or all means,
|
|
396
|
-
the suitability of the product for its requirements, its good working
|
|
397
|
-
order, and for ensuring that it shall not cause damage to either persons
|
|
398
|
-
or properties.
|
|
399
|
-
|
|
400
|
-
9.2 The Licensor hereby represents, in good faith, that it is entitled
|
|
401
|
-
to grant all the rights over the Software (including in particular the
|
|
402
|
-
rights set forth in Article 5).
|
|
403
|
-
|
|
404
|
-
9.3 The Licensee acknowledges that the Software is supplied "as is" by
|
|
405
|
-
the Licensor without any other express or tacit warranty, other than
|
|
406
|
-
that provided for in Article 9.2 and, in particular, without any warranty
|
|
407
|
-
as to its commercial value, its secured, safe, innovative or relevant
|
|
408
|
-
nature.
|
|
409
|
-
|
|
410
|
-
Specifically, the Licensor does not warrant that the Software is free
|
|
411
|
-
from any error, that it will operate without interruption, that it will
|
|
412
|
-
be compatible with the Licensee's own equipment and software
|
|
413
|
-
configuration, nor that it will meet the Licensee's requirements.
|
|
414
|
-
|
|
415
|
-
9.4 The Licensor does not either expressly or tacitly warrant that the
|
|
416
|
-
Software does not infringe any third party intellectual property right
|
|
417
|
-
relating to a patent, software or any other property right. Therefore,
|
|
418
|
-
the Licensor disclaims any and all liability towards the Licensee
|
|
419
|
-
arising out of any or all proceedings for infringement that may be
|
|
420
|
-
instituted in respect of the use, modification and redistribution of the
|
|
421
|
-
Software. Nevertheless, should such proceedings be instituted against
|
|
422
|
-
the Licensee, the Licensor shall provide it with technical and legal
|
|
423
|
-
assistance for its defense. Such technical and legal assistance shall be
|
|
424
|
-
decided on a case-by-case basis between the relevant Licensor and the
|
|
425
|
-
Licensee pursuant to a memorandum of understanding. The Licensor
|
|
426
|
-
disclaims any and all liability as regards the Licensee's use of the
|
|
427
|
-
name of the Software. No warranty is given as regards the existence of
|
|
428
|
-
prior rights over the name of the Software or as regards the existence
|
|
429
|
-
of a trademark.
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
Article 10 - TERMINATION
|
|
433
|
-
|
|
434
|
-
10.1 In the event of a breach by the Licensee of its obligations
|
|
435
|
-
hereunder, the Licensor may automatically terminate this Agreement
|
|
436
|
-
thirty (30) days after notice has been sent to the Licensee and has
|
|
437
|
-
remained ineffective.
|
|
438
|
-
|
|
439
|
-
10.2 A Licensee whose Agreement is terminated shall no longer be
|
|
440
|
-
authorized to use, modify or distribute the Software. However, any
|
|
441
|
-
licenses that it may have granted prior to termination of the Agreement
|
|
442
|
-
shall remain valid subject to their having been granted in compliance
|
|
443
|
-
with the terms and conditions hereof.
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
Article 11 - MISCELLANEOUS
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
11.1 EXCUSABLE EVENTS
|
|
450
|
-
|
|
451
|
-
Neither Party shall be liable for any or all delay, or failure to
|
|
452
|
-
perform the Agreement, that may be attributable to an event of force
|
|
453
|
-
majeure, an act of God or an outside cause, such as defective
|
|
454
|
-
functioning or interruptions of the electricity or telecommunications
|
|
455
|
-
networks, network paralysis following a virus attack, intervention by
|
|
456
|
-
government authorities, natural disasters, water damage, earthquakes,
|
|
457
|
-
fire, explosions, strikes and labor unrest, war, etc.
|
|
458
|
-
|
|
459
|
-
11.2 Any failure by either Party, on one or more occasions, to invoke
|
|
460
|
-
one or more of the provisions hereof, shall under no circumstances be
|
|
461
|
-
interpreted as being a waiver by the interested Party of its right to
|
|
462
|
-
invoke said provision(s) subsequently.
|
|
463
|
-
|
|
464
|
-
11.3 The Agreement cancels and replaces any or all previous agreements,
|
|
465
|
-
whether written or oral, between the Parties and having the same
|
|
466
|
-
purpose, and constitutes the entirety of the agreement between said
|
|
467
|
-
Parties concerning said purpose. No supplement or modification to the
|
|
468
|
-
terms and conditions hereof shall be effective as between the Parties
|
|
469
|
-
unless it is made in writing and signed by their duly authorized
|
|
470
|
-
representatives.
|
|
471
|
-
|
|
472
|
-
11.4 In the event that one or more of the provisions hereof were to
|
|
473
|
-
conflict with a current or future applicable act or legislative text,
|
|
474
|
-
said act or legislative text shall prevail, and the Parties shall make
|
|
475
|
-
the necessary amendments so as to comply with said act or legislative
|
|
476
|
-
text. All other provisions shall remain effective. Similarly, invalidity
|
|
477
|
-
of a provision of the Agreement, for any reason whatsoever, shall not
|
|
478
|
-
cause the Agreement as a whole to be invalid.
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
11.5 LANGUAGE
|
|
482
|
-
|
|
483
|
-
The Agreement is drafted in both French and English and both versions
|
|
484
|
-
are deemed authentic.
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
Article 12 - NEW VERSIONS OF THE AGREEMENT
|
|
488
|
-
|
|
489
|
-
12.1 Any person is authorized to duplicate and distribute copies of this
|
|
490
|
-
Agreement.
|
|
491
|
-
|
|
492
|
-
12.2 So as to ensure coherence, the wording of this Agreement is
|
|
493
|
-
protected and may only be modified by the authors of the License, who
|
|
494
|
-
reserve the right to periodically publish updates or new versions of the
|
|
495
|
-
Agreement, each with a separate number. These subsequent versions may
|
|
496
|
-
address new issues encountered by Free Software.
|
|
497
|
-
|
|
498
|
-
12.3 Any Software distributed under a given version of the Agreement may
|
|
499
|
-
only be subsequently distributed under the same version of the Agreement
|
|
500
|
-
or a subsequent version.
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
Article 13 - GOVERNING LAW AND JURISDICTION
|
|
504
|
-
|
|
505
|
-
13.1 The Agreement is governed by French law. The Parties agree to
|
|
506
|
-
endeavor to seek an amicable solution to any disagreements or disputes
|
|
507
|
-
that may arise during the performance of the Agreement.
|
|
508
|
-
|
|
509
|
-
13.2 Failing an amicable solution within two (2) months as from their
|
|
510
|
-
occurrence, and unless emergency proceedings are necessary, the
|
|
511
|
-
disagreements or disputes shall be referred to the Paris Courts having
|
|
512
|
-
jurisdiction, by the more diligent Party.
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
Version 1.0 dated 2006-09-05.
|
|
516
|
-
|
|
517
|
-
====
|
|
518
|
-
|
|
519
|
-
This license applies to all parts of Nodefony that are not externally
|
|
520
|
-
maintained libraries. The externally maintained libraries used by Nodefony are:
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
- Node License follows:
|
|
524
|
-
|
|
525
|
-
Copyright Joyent, Inc. and other Node contributors. All rights reserved.
|
|
526
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
527
|
-
of this software and associated documentation files (the "Software"), to
|
|
528
|
-
deal in the Software without restriction, including without limitation the
|
|
529
|
-
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
530
|
-
sell copies of the Software, and to permit persons to whom the Software is
|
|
531
|
-
furnished to do so, subject to the following conditions:
|
|
532
|
-
|
|
533
|
-
The above copyright notice and this permission notice shall be included in
|
|
534
|
-
all copies or substantial portions of the Software.
|
|
535
|
-
|
|
536
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
537
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
538
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
539
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
540
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
541
|
-
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
|
542
|
-
IN THE SOFTWARE.
|
|
543
|
-
|
|
544
|
-
|
|
2
|
+
Apache License
|
|
3
|
+
Version 2.0, January 2004
|
|
4
|
+
http://www.apache.org/licenses/
|
|
5
|
+
|
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
+
|
|
8
|
+
1. Definitions.
|
|
9
|
+
|
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
+
|
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
+
the copyright owner that is granting the License.
|
|
15
|
+
|
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
+
other entities that control, are controlled by, or are under common
|
|
18
|
+
control with that entity. For the purposes of this definition,
|
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
+
direction or management of such entity, whether by contract or
|
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
+
|
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
+
exercising permissions granted by this License.
|
|
26
|
+
|
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
+
including but not limited to software source code, documentation
|
|
29
|
+
source, and configuration files.
|
|
30
|
+
|
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
|
32
|
+
transformation or translation of a Source form, including but
|
|
33
|
+
not limited to compiled object code, generated documentation,
|
|
34
|
+
and conversions to other media types.
|
|
35
|
+
|
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
+
Object form, made available under the License, as indicated by a
|
|
38
|
+
copyright notice that is included in or attached to the work
|
|
39
|
+
(an example is provided in the Appendix below).
|
|
40
|
+
|
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
+
the Work and Derivative Works thereof.
|
|
48
|
+
|
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
|
50
|
+
the original version of the Work and any modifications or additions
|
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
+
|
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
+
subsequently incorporated within the Work.
|
|
66
|
+
|
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
|
73
|
+
|
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
+
where such license applies only to those patent claims licensable
|
|
80
|
+
by such Contributor that are necessarily infringed by their
|
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
+
institute patent litigation against any entity (including a
|
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
+
or contributory patent infringement, then any patent licenses
|
|
87
|
+
granted to You under this License for that Work shall terminate
|
|
88
|
+
as of the date such litigation is filed.
|
|
89
|
+
|
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
+
modifications, and in Source or Object form, provided that You
|
|
93
|
+
meet the following conditions:
|
|
94
|
+
|
|
95
|
+
(a) You must give any other recipients of the Work or
|
|
96
|
+
Derivative Works a copy of this License; and
|
|
97
|
+
|
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
|
99
|
+
stating that You changed the files; and
|
|
100
|
+
|
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
|
103
|
+
attribution notices from the Source form of the Work,
|
|
104
|
+
excluding those notices that do not pertain to any part of
|
|
105
|
+
the Derivative Works; and
|
|
106
|
+
|
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
|
109
|
+
include a readable copy of the attribution notices contained
|
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
|
112
|
+
of the following places: within a NOTICE text file distributed
|
|
113
|
+
as part of the Derivative Works; within the Source form or
|
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
|
115
|
+
within a display generated by the Derivative Works, if and
|
|
116
|
+
wherever such third-party notices normally appear. The contents
|
|
117
|
+
of the NOTICE file are for informational purposes only and
|
|
118
|
+
do not modify the License. You may add Your own attribution
|
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
+
that such additional attribution notices cannot be construed
|
|
122
|
+
as modifying the License.
|
|
123
|
+
|
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
|
125
|
+
may provide additional or different license terms and conditions
|
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
+
the conditions stated in this License.
|
|
130
|
+
|
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
+
this License, without any additional terms or conditions.
|
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
+
the terms of any separate license agreement you may have executed
|
|
137
|
+
with Licensor regarding such Contributions.
|
|
138
|
+
|
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
+
except as required for reasonable and customary use in describing the
|
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
+
|
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
|
153
|
+
|
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
|
159
|
+
incidental, or consequential damages of any character arising as a
|
|
160
|
+
result of this License or out of the use or inability to use the
|
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
+
other commercial damages or losses), even if such Contributor
|
|
164
|
+
has been advised of the possibility of such damages.
|
|
165
|
+
|
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
+
or other liability obligations and/or rights consistent with this
|
|
170
|
+
License. However, in accepting such obligations, You may act only
|
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
+
of your accepting any such warranty or additional liability.
|
|
176
|
+
|
|
177
|
+
END OF TERMS AND CONDITIONS
|
|
178
|
+
|
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
180
|
+
|
|
181
|
+
To apply the Apache License to your work, attach the following
|
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
183
|
+
replaced with your own identifying information. (Don't include
|
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
185
|
+
comment syntax for the file format. We also recommend that a
|
|
186
|
+
file or class name and description of purpose be included on the
|
|
187
|
+
same "printed page" as the copyright notice for easier
|
|
188
|
+
identification within third-party archives.
|
|
189
|
+
|
|
190
|
+
Copyright [yyyy] [name of copyright owner]
|
|
191
|
+
|
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
193
|
+
you may not use this file except in compliance with the License.
|
|
194
|
+
You may obtain a copy of the License at
|
|
195
|
+
|
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
197
|
+
|
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
201
|
+
See the License for the specific language governing permissions and
|
|
202
|
+
limitations under the License.
|