@imqueue/async-logger 1.3.0 → 2.0.0

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 CHANGED
@@ -1,13 +1,585 @@
1
- Copyright (c) 2018, imqueue.com <support@imqueue.com>
2
-
3
- Permission to use, copy, modify, and/or distribute this software for any purpose
4
- with or without fee is hereby granted, provided that the above copyright notice
5
- and this permission notice appear in all copies.
6
-
7
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
8
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
9
- FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
10
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
11
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
12
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
13
- PERFORMANCE OF THIS SOFTWARE.
1
+ GNU GENERAL PUBLIC LICENSE
2
+ Version 3, 29 June 2007
3
+
4
+ Copyright © 2007 Free Software Foundation, Inc. <https://fsf.org/>
5
+
6
+ Everyone is permitted to copy and distribute verbatim copies of this license
7
+ document, but changing it is not allowed.
8
+
9
+ Preamble
10
+ The GNU General Public License is a free, copyleft license for software and
11
+ other kinds of works.
12
+
13
+ The licenses for most software and other practical works are designed to take
14
+ away your freedom to share and change the works. By contrast, the GNU General
15
+ Public License is intended to guarantee your freedom to share and change all
16
+ versions of a program--to make sure it remains free software for all its users.
17
+ We, the Free Software Foundation, use the GNU General Public License for most of
18
+ our software; it applies also to any other work released this way by its
19
+ authors. You can apply it to your programs, too.
20
+
21
+ When we speak of free software, we are referring to freedom, not price. Our
22
+ General Public Licenses are designed to make sure that you have the freedom to
23
+ distribute copies of free software (and charge for them if you wish), that you
24
+ receive source code or can get it if you want it, that you can change the
25
+ software or use pieces of it in new free programs, and that you know you can
26
+ do these things.
27
+
28
+ To protect your rights, we need to prevent others from denying you these rights
29
+ or asking you to surrender the rights. Therefore, you have certain
30
+ responsibilities if you distribute copies of the software, or if you modify it:
31
+ responsibilities to respect the freedom of others.
32
+
33
+ For example, if you distribute copies of such a program, whether gratis or for a
34
+ fee, you must pass on to the recipients the same freedoms that you received. You
35
+ must make sure that they, too, receive or can get the source code. And you must
36
+ show them these terms so they know their rights.
37
+
38
+ Developers that use the GNU GPL protect your rights with two steps: (1) assert
39
+ copyright on the software, and (2) offer you this License giving you legal
40
+ permission to copy, distribute and/or modify it.
41
+
42
+ For the developers' and authors' protection, the GPL clearly explains that there
43
+ is no warranty for this free software. For both users' and authors' sake, the
44
+ GPL requires that modified versions be marked as changed, so that their problems
45
+ will not be attributed erroneously to authors of previous versions.
46
+
47
+ Some devices are designed to deny users access to install or run modified
48
+ versions of the software inside them, although the manufacturer can do so. This
49
+ is fundamentally incompatible with the aim of protecting users' freedom to
50
+ change the software. The systematic pattern of such abuse occurs in the area of
51
+ products for individuals to use, which is precisely where it is most
52
+ unacceptable. Therefore, we have designed this version of the GPL to prohibit
53
+ the practice for those products. If such problems arise substantially in other
54
+ domains, we stand ready to extend this provision to those domains in future
55
+ versions of the GPL, as needed to protect the freedom of users.
56
+
57
+ Finally, every program is threatened constantly by software patents. States
58
+ should not allow patents to restrict development and use of software on
59
+ general-purpose computers, but in those that do, we wish to avoid the special
60
+ danger that patents applied to a free program could make it effectively
61
+ proprietary. To prevent this, the GPL assures that patents cannot be used to
62
+ render the program non-free.
63
+
64
+ The precise terms and conditions for copying, distribution and modification
65
+ follow.
66
+
67
+ TERMS AND CONDITIONS
68
+ 0. Definitions.
69
+ “This License” refers to version 3 of the GNU General Public License.
70
+
71
+ “Copyright” also means copyright-like laws that apply to other kinds of works,
72
+ such as semiconductor masks.
73
+
74
+ “The Program” refers to any copyrightable work licensed under this License. Each
75
+ licensee is addressed as “you”. “Licensees” and “recipients” may be individuals
76
+ or organizations.
77
+
78
+ To “modify” a work means to copy from or adapt all or part of the work in a
79
+ fashion requiring copyright permission, other than the making of an exact copy.
80
+ The resulting work is called a “modified version” of the earlier work or a work
81
+ “based on” the earlier work.
82
+
83
+ A “covered work” means either the unmodified Program or a work based on the
84
+ Program.
85
+
86
+ To “propagate” a work means to do anything with it that, without permission,
87
+ would make you directly or secondarily liable for infringement under applicable
88
+ copyright law, except executing it on a computer or modifying a private copy.
89
+ Propagation includes copying, distribution (with or without modification),
90
+ making available to the public, and in some countries other activities as well.
91
+
92
+ To “convey” a work means any kind of propagation that enables other parties to
93
+ make or receive copies. Mere interaction with a user through a computer network,
94
+ with no transfer of a copy, is not conveying.
95
+
96
+ An interactive user interface displays “Appropriate Legal Notices” to the extent
97
+ that it includes a convenient and prominently visible feature that (1) displays
98
+ an appropriate copyright notice, and (2) tells the user that there is no
99
+ warranty for the work (except to the extent that warranties are provided), that
100
+ licensees may convey the work under this License, and how to view a copy of this
101
+ License. If the interface presents a list of user commands or options, such as a
102
+ menu, a prominent item in the list meets this criterion.
103
+
104
+ 1. Source Code.
105
+ The “source code” for a work means the preferred form of the work for making
106
+ modifications to it. “Object code” means any non-source form of a work.
107
+
108
+ A “Standard Interface” means an interface that either is an official standard
109
+ defined by a recognized standards body, or, in the case of interfaces specified
110
+ for a particular programming language, one that is widely used among developers
111
+ working in that language.
112
+
113
+ The “System Libraries” of an executable work include anything, other than the
114
+ work as a whole, that (a) is included in the normal form of packaging a Major
115
+ Component, but which is not part of that Major Component, and (b) serves only to
116
+ enable use of the work with that Major Component, or to implement a Standard
117
+ Interface for which an implementation is available to the public in source code
118
+ form. A “Major Component”, in this context, means a major essential component
119
+ (kernel, window system, and so on) of the specific operating system (if any) on
120
+ which the executable work runs, or a compiler used to produce the work, or an
121
+ object code interpreter used to run it.
122
+
123
+ The “Corresponding Source” for a work in object code form means all the source
124
+ code needed to generate, install, and (for an executable work) run the object
125
+ code and to modify the work, including scripts to control those activities.
126
+ However, it does not include the work's System Libraries, or general-purpose
127
+ tools or generally available free programs which are used unmodified in
128
+ performing those activities but which are not part of the work. For example,
129
+ Corresponding Source includes interface definition files associated with source
130
+ files for the work, and the source code for shared libraries and dynamically
131
+ linked subprograms that the work is specifically designed to require, such as by
132
+ intimate data communication or control flow between those subprograms and other
133
+ parts of the work.
134
+
135
+ The Corresponding Source need not include anything that users can regenerate
136
+ automatically from other parts of the Corresponding Source.
137
+
138
+ The Corresponding Source for a work in source code form is that same work.
139
+
140
+ 2. Basic Permissions.
141
+ All rights granted under this License are granted for the term of copyright on
142
+ the Program, and are irrevocable provided the stated conditions are met. This
143
+ License explicitly affirms your unlimited permission to run the unmodified
144
+ Program. The output from running a covered work is covered by this License only
145
+ if the output, given its content, constitutes a covered work. This License
146
+ acknowledges your rights of fair use or other equivalent, as provided by
147
+ copyright law.
148
+
149
+ You may make, run and propagate covered works that you do not convey, without
150
+ conditions so long as your license otherwise remains in force. You may convey
151
+ covered works to others for the sole purpose of having them make modifications
152
+ exclusively for you, or provide you with facilities for running those works,
153
+ provided that you comply with the terms of this License in conveying all
154
+ material for which you do not control copyright. Those thus making or running
155
+ the covered works for you must do so exclusively on your behalf, under your
156
+ direction and control, on terms that prohibit them from making any copies of
157
+ your copyrighted material outside their relationship with you.
158
+
159
+ Conveying under any other circumstances is permitted solely under the conditions
160
+ stated below. Sublicensing is not allowed; section 10 makes it unnecessary.
161
+
162
+ 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
163
+ No covered work shall be deemed part of an effective technological measure under
164
+ any applicable law fulfilling obligations under article 11 of the WIPO copyright
165
+ treaty adopted on 20 December 1996, or similar laws prohibiting or restricting
166
+ circumvention of such measures.
167
+
168
+ When you convey a covered work, you waive any legal power to forbid
169
+ circumvention of technological measures to the extent such circumvention is
170
+ effected by exercising rights under this License with respect to the covered
171
+ work, and you disclaim any intention to limit operation or modification of the
172
+ work as a means of enforcing, against the work's users, your or third parties'
173
+ legal rights to forbid circumvention of technological measures.
174
+
175
+ 4. Conveying Verbatim Copies.
176
+ You may convey verbatim copies of the Program's source code as you receive it,
177
+ in any medium, provided that you conspicuously and appropriately publish on each
178
+ copy an appropriate copyright notice; keep intact all notices stating that this
179
+ License and any non-permissive terms added in accord with section 7 apply to the
180
+ code; keep intact all notices of the absence of any warranty; and give all
181
+ recipients a copy of this License along with the Program.
182
+
183
+ You may charge any price or no price for each copy that you convey, and you may
184
+ offer support or warranty protection for a fee.
185
+
186
+ 5. Conveying Modified Source Versions.
187
+ You may convey a work based on the Program, or the modifications to produce it
188
+ from the Program, in the form of source code under the terms of section 4,
189
+ provided that you also meet all of these conditions:
190
+
191
+ a) The work must carry prominent notices stating that you modified it, and
192
+ giving a relevant date.
193
+ b) The work must carry prominent notices stating that it is released under this
194
+ License and any conditions added under section 7. This requirement modifies
195
+ the requirement in section 4 to “keep intact all notices”.
196
+ c) You must license the entire work, as a whole, under this License to anyone
197
+ who comes into possession of a copy. This License will therefore apply, along
198
+ with any applicable section 7 additional terms, to the whole of the work,
199
+ and all its parts, regardless of how they are packaged. This License gives no
200
+ permission to license the work in any other way, but it does not invalidate
201
+ such permission if you have separately received it.
202
+ d) If the work has interactive user interfaces, each must display Appropriate
203
+ Legal Notices; however, if the Program has interactive interfaces that do not
204
+ display Appropriate Legal Notices, your work need not make them do so.
205
+ A compilation of a covered work with other separate and independent works,which
206
+ are not by their nature extensions of the covered work, and which are not
207
+ combined with it such as to form a larger program, in or on a volume of a
208
+ storage or distribution medium, is called an “aggregate” if the compilation and
209
+ its resulting copyright are not used to limit the access or legal rights of the
210
+ compilation's users beyond what the individual works permit. Inclusion of a
211
+ covered work in an aggregate does not cause this License to apply to the other
212
+ parts of the aggregate.
213
+
214
+ 6. Conveying Non-Source Forms.
215
+ You may convey a covered work in object code form under the terms of sections 4
216
+ and 5, provided that you also convey the machine-readable Corresponding Source
217
+ under the terms of this License, in one of these ways:
218
+
219
+ a) Convey the object code in, or embodied in, a physical product (including a
220
+ physical distribution medium), accompanied by the Corresponding Source fixed
221
+ on a durable physical medium customarily used for software interchange.
222
+ b) Convey the object code in, or embodied in, a physical product (including a
223
+ physical distribution medium), accompanied by a written offer, valid for at
224
+ least three years and valid for as long as you offer spare parts or customer
225
+ support for that product model, to give anyone who possesses the object code
226
+ either (1) a copy of the Corresponding Source for all the software in the
227
+ product that is covered by this License, on a durable physical medium
228
+ customarily used for software interchange, for a price no more than your
229
+ reasonable cost of physically performing this conveying of source, or (2)
230
+ access to copy the Corresponding Source from a network server at no charge.
231
+ c) Convey individual copies of the object code with a copy of the written offer
232
+ to provide the Corresponding Source. This alternative is allowed only
233
+ occasionally and noncommercially, and only if you received the object code
234
+ with such an offer, in accord with subsection 6b.
235
+ d) Convey the object code by offering access from a designated place (gratis or
236
+ for a charge), and offer equivalent access to the Corresponding Source in the
237
+ same way through the same place at no further charge. You need not require
238
+ recipients to copy the Corresponding Source along with the object code. If
239
+ the place to copy the object code is a network server, the Corresponding
240
+ Source may be on a different server (operated by you or a third party) that
241
+ supports equivalent copying facilities, provided you maintain clear
242
+ directions next to the object code saying where to find the Corresponding
243
+ Source. Regardless of what server hosts the Corresponding Source, you remain
244
+ obligated to ensure that it is available for as long as needed to satisfy
245
+ these requirements.
246
+ e) Convey the object code using peer-to-peer transmission, provided you inform
247
+ other peers where the object code and Corresponding Source of the work are
248
+ being offered to the general public at no charge under subsection 6d.
249
+ A separable portion of the object code, whose source code is excluded from the
250
+ Corresponding Source as a System Library, need not be included in conveying the
251
+ object code work.
252
+
253
+ A “User Product” is either (1) a “consumer product”, which means any tangible
254
+ personal property which is normally used for personal, family, or household
255
+ purposes, or (2) anything designed or sold for incorporation into a dwelling.
256
+ In determining whether a product is a consumer product, doubtful cases shall be
257
+ resolved in favor of coverage. For a particular product received by a particular
258
+ user, “normally used” refers to a typical or common use of that class of
259
+ product, regardless of the status of the particular user or of the way in which
260
+ the particular user actually uses, or expects or is expected to use, the
261
+ product. A product is a consumer product regardless of whether the product has
262
+ substantial commercial, industrial or non-consumer uses, unless such uses
263
+ represent the only significant mode of use of the product.
264
+
265
+ “Installation Information” for a User Product means any methods, procedures,
266
+ authorization keys, or other information required to install and execute
267
+ modified versions of a covered work in that User Product from a modified version
268
+ of its Corresponding Source. The information must suffice to ensure that the
269
+ continued functioning of the modified object code is in no case prevented or
270
+ interfered with solely because modification has been made.
271
+
272
+ If you convey an object code work under this section in, or with, or
273
+ specifically for use in, a User Product, and the conveying occurs as part of a
274
+ transaction in which the right of possession and use of the User Product is
275
+ transferred to the recipient in perpetuity or for a fixed term (regardless of
276
+ how the transaction is characterized), the Corresponding Source conveyed under
277
+ this section must be accompanied by the Installation Information. But this
278
+ requirement does not apply if neither you nor any third party retains the
279
+ ability to install modified object code on the User Product (for example, the
280
+ work has been installed in ROM).
281
+
282
+ The requirement to provide Installation Information does not include a
283
+ requirement to continue to provide support service, warranty, or updates for a
284
+ work that has been modified or installed by the recipient, or for the User
285
+ Product in which it has been modified or installed. Access to a network may be
286
+ denied when the modification itself materially and adversely affects the
287
+ operation of the network or violates the rules and protocols for communication
288
+ across the network.
289
+
290
+ Corresponding Source conveyed, and Installation Information provided, in accord
291
+ with this section must be in a format that is publicly documented (and with an
292
+ implementation available to the public in source code form), and must require no
293
+ special password or key for unpacking, reading or copying.
294
+
295
+ 7. Additional Terms.
296
+ “Additional permissions” are terms that supplement the terms of this License by
297
+ making exceptions from one or more of its conditions. Additional permissions
298
+ that are applicable to the entire Program shall be treated as though they were
299
+ included in this License, to the extent that they are valid under applicable
300
+ law. If additional permissions apply only to part of the Program, that part may
301
+ be used separately under those permissions, but the entire Program remains
302
+ governed by this License without regard to the additional permissions.
303
+
304
+ When you convey a copy of a covered work, you may at your option remove any
305
+ additional permissions from that copy, or from any part of it. (Additional
306
+ permissions may be written to require their own removal in certain cases when
307
+ you modify the work.) You may place additional permissions on material, added by
308
+ you to a covered work, for which you have or can give appropriate copyright
309
+ permission.
310
+
311
+ Notwithstanding any other provision of this License, for material you add to a
312
+ covered work, you may (if authorized by the copyright holders of that material)
313
+ supplement the terms of this License with terms:
314
+
315
+ a) Disclaiming warranty or limiting liability differently from the terms of
316
+ sections 15 and 16 of this License; or
317
+ b) Requiring preservation of specified reasonable legal notices or author
318
+ attributions in that material or in the Appropriate Legal Notices displayed
319
+ by works containing it; or
320
+ c) Prohibiting misrepresentation of the origin of that material, or requiring
321
+ that modified versions of such material be marked in reasonable ways as
322
+ different from the original version; or
323
+ d) Limiting the use for publicity purposes of names of licensors or authors of
324
+ the material; or
325
+ e) Declining to grant rights under trademark law for use of some trade names,
326
+ trademarks, or service marks; or
327
+ f) Requiring indemnification of licensors and authors of that material by anyone
328
+ who conveys the material (or modified versions of it) with contractual
329
+ assumptions of liability to the recipient, for any liability that these
330
+ contractual assumptions directly impose on those licensors and authors.
331
+ All other non-permissive additional terms are considered “further restrictions”
332
+ within the meaning of section 10. If the Program as you received it, or any part
333
+ of it, contains a notice stating that it is governed by this License along with
334
+ a term that is a further restriction, you may remove that term. If a license
335
+ document contains a further restriction but permits relicensing or conveying
336
+ under this License, you may add to a covered work material governed by the terms
337
+ of that license document, provided that the further restriction does not survive
338
+ such relicensing or conveying.
339
+
340
+ If you add terms to a covered work in accord with this section, you must place,
341
+ in the relevant source files, a statement of the additional terms that apply to
342
+ those files, or a notice indicating where to find the applicable terms.
343
+
344
+ Additional terms, permissive or non-permissive, may be stated in the form of a
345
+ separately written license, or stated as exceptions; the above requirements
346
+ apply either way.
347
+
348
+ 8. Termination.
349
+ You may not propagate or modify a covered work except as expressly provided
350
+ under this License. Any attempt otherwise to propagate or modify it is void, and
351
+ will automatically terminate your rights under this License (including any
352
+ patent licenses granted under the third paragraph of section 11).
353
+
354
+ However, if you cease all violation of this License, then your license from a
355
+ particular copyright holder is reinstated (a) provisionally, unless and until
356
+ the copyright holder explicitly and finally terminates your license, and (b)
357
+ permanently, if the copyright holder fails to notify you of the violation by
358
+ some reasonable means prior to 60 days after the cessation.
359
+
360
+ Moreover, your license from a particular copyright holder is reinstated
361
+ permanently if the copyright holder notifies you of the violation by some
362
+ reasonable means, this is the first time you have received notice of violation
363
+ of this License (for any work) from that copyright holder, and you cure the
364
+ violation prior to 30 days after your receipt of the notice.
365
+
366
+ Termination of your rights under this section does not terminate the licenses of
367
+ parties who have received copies or rights from you under this License. If your
368
+ rights have been terminated and not permanently reinstated, you do not qualify
369
+ to receive new licenses for the same material under section 10.
370
+
371
+ 9. Acceptance Not Required for Having Copies.
372
+ You are not required to accept this License in order to receive or run a copy of
373
+ the Program. Ancillary propagation of a covered work occurring solely as a
374
+ consequence of using peer-to-peer transmission to receive a copy likewise does
375
+ not require acceptance. However, nothing other than this License grants you
376
+ permission to propagate or modify any covered work. These actions infringe
377
+ copyright if you do not accept this License. Therefore, by modifying or
378
+ propagating a covered work, you indicate your acceptance of this License to do
379
+ so.
380
+
381
+ 10. Automatic Licensing of Downstream Recipients.
382
+ Each time you convey a covered work, the recipient automatically receives a
383
+ license from the original licensors, to run, modify and propagate that work,
384
+ subject to this License. You are not responsible for enforcing compliance by
385
+ third parties with this License.
386
+
387
+ An “entity transaction” is a transaction transferring control of an
388
+ organization, or substantially all assets of one, or subdividing an
389
+ organization, or merging organizations. If propagation of a covered work results
390
+ from an entity transaction, each party to that transaction who receives a copy
391
+ of the work also receives whatever licenses to the work the party's predecessor
392
+ in interest had or could give under the previous paragraph, plus a right to
393
+ possession of the Corresponding Source of the work from the predecessor in
394
+ interest, if the predecessor has it or can get it with reasonable efforts.
395
+
396
+ You may not impose any further restrictions on the exercise of the rights
397
+ granted or affirmed under this License. For example, you may not impose a
398
+ license fee, royalty, or other charge for exercise of rights granted under this
399
+ License, and you may not initiate litigation (including a cross-claim or
400
+ counterclaim in a lawsuit) alleging that any patent claim is infringed by
401
+ making, using, selling, offering for sale, or importing the Program or any
402
+ portion of it.
403
+
404
+ 11. Patents.
405
+ A “contributor” is a copyright holder who authorizes use under this License of
406
+ the Program or a work on which the Program is based. The work thus licensed is
407
+ called the contributor's “contributor version”.
408
+
409
+ A contributor's “essential patent claims” are all patent claims owned or
410
+ controlled by the contributor, whether already acquired or hereafter acquired,
411
+ that would be infringed by some manner, permitted by this License, of making,
412
+ using, or selling its contributor version, but do not include claims that would
413
+ be infringed only as a consequence of further modification of the contributor
414
+ version. For purposes of this definition, “control” includes the right to grant
415
+ patent sublicenses in a manner consistent with the requirements of this License.
416
+
417
+ Each contributor grants you a non-exclusive, worldwide, royalty-free patent
418
+ license under the contributor's essential patent claims, to make, use, sell,
419
+ offer for sale, import and otherwise run, modify and propagate the contents of
420
+ its contributor version.
421
+
422
+ In the following three paragraphs, a “patent license” is any express agreement
423
+ or commitment, however denominated, not to enforce a patent (such as an express
424
+ permission to practice a patent or covenant not to sue for patent infringement).
425
+ To “grant” such a patent license to a party means to make such an agreement or
426
+ commitment not to enforce a patent against the party.
427
+
428
+ If you convey a covered work, knowingly relying on a patent license, and the
429
+ Corresponding Source of the work is not available for anyone to copy, free of
430
+ charge and under the terms of this License, through a publicly available network
431
+ server or other readily accessible means, then you must either (1) cause the
432
+ Corresponding Source to be so available, or (2) arrange to deprive yourself of
433
+ the benefit of the patent license for this particular work, or (3) arrange, in a
434
+ manner consistent with the requirements of this License, to extend the patent
435
+ license to downstream recipients. “Knowingly relying” means you have actual
436
+ knowledge that, but for the patent license, your conveying the covered work in a
437
+ country, or your recipient's use of the covered work in a country, would
438
+ infringe one or more identifiable patents in that country that you have reason
439
+ to believe are valid.
440
+
441
+ If, pursuant to or in connection with a single transaction or arrangement, you
442
+ convey, or propagate by procuring conveyance of, a covered work, and grant a
443
+ patent license to some of the parties receiving the covered work authorizing
444
+ them to use, propagate, modify or convey a specific copy of the covered work,
445
+ then the patent license you grant is automatically extended to all recipients of
446
+ the covered work and works based on it.
447
+
448
+ A patent license is “discriminatory” if it does not include within the scope of
449
+ its coverage, prohibits the exercise of, or is conditioned on the non-exercise
450
+ of one or more of the rights that are specifically granted under this License.
451
+ You may not convey a covered work if you are a party to an arrangement with a
452
+ third party that is in the business of distributing software, under which you
453
+ make payment to the third party based on the extent of your activity of
454
+ conveying the work, and under which the third party grants, to any of the
455
+ parties who would receive the covered work from you, a discriminatory patent
456
+ license (a) in connection with copies of the covered work conveyed by you (or
457
+ copies made from those copies), or (b) primarily for and in connection with
458
+ specific products or compilations that contain the covered work, unless you
459
+ entered into that arrangement, or that patent license was granted, prior to 28
460
+ March 2007.
461
+
462
+ Nothing in this License shall be construed as excluding or limiting any implied
463
+ license or other defenses to infringement that may otherwise be available to you
464
+ under applicable patent law.
465
+
466
+ 12. No Surrender of Others' Freedom.
467
+ If conditions are imposed on you (whether by court order, agreement or
468
+ otherwise) that contradict the conditions of this License, they do not excuse
469
+ you from the conditions of this License. If you cannot convey a covered work so
470
+ as to satisfy simultaneously your obligations under this License and any other
471
+ pertinent obligations, then as a consequence you may not convey it at all. For
472
+ example, if you agree to terms that obligate you to collect a royalty for
473
+ further conveying from those to whom you convey the Program, the only way you
474
+ could satisfy both those terms and this License would be to refrain entirely
475
+ from conveying the Program.
476
+
477
+ 13. Use with the GNU Affero General Public License.
478
+ Notwithstanding any other provision of this License, you have permission to link
479
+ or combine any covered work with a work licensed under version 3 of the GNU
480
+ Affero General Public License into a single combined work, and to convey the
481
+ resulting work. The terms of this License will continue to apply to the part
482
+ which is the covered work, but the special requirements of the GNU Affero
483
+ General Public License, section 13, concerning interaction through a network
484
+ will apply to the combination as such.
485
+
486
+ 14. Revised Versions of this License.
487
+ The Free Software Foundation may publish revised and/or new versions of the GNU
488
+ General Public License from time to time. Such new versions will be similar in
489
+ spirit to the present version, but may differ in detail to address new problems
490
+ or concerns.
491
+
492
+ Each version is given a distinguishing version number. If the Program specifies
493
+ that a certain numbered version of the GNU General Public License “or any later
494
+ version” applies to it, you have the option of following the terms and
495
+ conditions either of that numbered version or of any later version published by
496
+ the Free Software Foundation. If the Program does not specify a version number
497
+ of the GNU General Public License, you may choose any version ever published by
498
+ the Free Software Foundation.
499
+
500
+ If the Program specifies that a proxy can decide which future versions of the
501
+ GNU General Public License can be used, that proxy's public statement of
502
+ acceptance of a version permanently authorizes you to choose that version for
503
+ the Program.
504
+
505
+ Later license versions may give you additional or different permissions.
506
+ However, no additional obligations are imposed on any author or copyright holder
507
+ as a result of your choosing to follow a later version.
508
+
509
+ 15. Disclaimer of Warranty.
510
+ THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
511
+ EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER
512
+ PARTIES PROVIDE THE PROGRAM “AS IS” WITHOUT WARRANTY OF ANY KIND, EITHER
513
+ EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
514
+ MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE
515
+ QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE
516
+ DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
517
+
518
+ 16. Limitation of Liability.
519
+ IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY
520
+ COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS
521
+ PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL,
522
+ INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE
523
+ THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED
524
+ INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE
525
+ PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY
526
+ HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
527
+
528
+ 17. Interpretation of Sections 15 and 16.
529
+ If the disclaimer of warranty and limitation of liability provided above cannot
530
+ be given local legal effect according to their terms, reviewing courts shall
531
+ apply local law that most closely approximates an absolute waiver of all civil
532
+ liability in connection with the Program, unless a warranty or assumption of
533
+ liability accompanies a copy of the Program in return for a fee.
534
+
535
+ END OF TERMS AND CONDITIONS
536
+
537
+ How to Apply These Terms to Your New Programs
538
+ If you develop a new program, and you want it to be of the greatest possible use
539
+ to the public, the best way to achieve this is to make it free software which
540
+ everyone can redistribute and change under these terms.
541
+
542
+ To do so, attach the following notices to the program. It is safest to attach
543
+ them to the start of each source file to most effectively state the exclusion of
544
+ warranty; and each file should have at least the “copyright” line and a pointer
545
+ to where the full notice is found.
546
+
547
+ <one line to give the program's name and a brief idea of what it does.>
548
+ Copyright (C) <year> <name of author>
549
+
550
+ This program is free software: you can redistribute it and/or modify
551
+ it under the terms of the GNU General Public License as published by
552
+ the Free Software Foundation, either version 3 of the License, or
553
+ (at your option) any later version.
554
+
555
+ This program is distributed in the hope that it will be useful,
556
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
557
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
558
+ GNU General Public License for more details.
559
+
560
+ You should have received a copy of the GNU General Public License
561
+ along with this program. If not, see <https://www.gnu.org/licenses/>.
562
+ Also add information on how to contact you by electronic and paper mail.
563
+
564
+ If the program does terminal interaction, make it output a short notice like
565
+ this when it starts in an interactive mode:
566
+
567
+ <program> Copyright (C) <year> <name of author>
568
+ This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
569
+ This is free software, and you are welcome to redistribute it
570
+ under certain conditions; type `show c' for details.
571
+ The hypothetical commands `show w' and `show c' should show the appropriate
572
+ parts of the General Public License. Of course, your program's commands might be
573
+ different; for a GUI interface, you would use an “about box”.
574
+
575
+ You should also get your employer (if you work as a programmer) or school, if
576
+ any, to sign a “copyright disclaimer” for the program, if necessary. For more
577
+ information on this, and how to apply and follow the GNU GPL, see
578
+ <https://www.gnu.org/licenses/>.
579
+
580
+ The GNU General Public License does not permit incorporating your program into
581
+ proprietary programs. If your program is a subroutine library, you may consider
582
+ it more useful to permit linking proprietary applications with the library. If
583
+ this is what you want to do, use the GNU Lesser General Public License instead
584
+ of this License. But first, please read
585
+ <https://www.gnu.org/licenses/why-not-lgpl.html>.
package/README.md CHANGED
@@ -172,6 +172,7 @@ accepted!
172
172
 
173
173
  ## License
174
174
 
175
- [ISC](https://github.com/imqueue/pg-pubsub/blob/master/LICENSE)
175
+ This project is licensed under the GNU General Public License v3.0.
176
+ See the [LICENSE](LICENSE)
176
177
 
177
178
  Happy Coding!
package/index.d.ts CHANGED
@@ -1,17 +1,23 @@
1
1
  /*!
2
- * Copyright (c) 2018, imqueue.com <support@imqueue.com>
2
+ * I'm Queue Software Project
3
+ * Copyright (C) 2025 imqueue.com <support@imqueue.com>
3
4
  *
4
- * Permission to use, copy, modify, and/or distribute this software for any
5
- * purpose with or without fee is hereby granted, provided that the above
6
- * copyright notice and this permission notice appear in all copies.
5
+ * This program is free software: you can redistribute it and/or modify
6
+ * it under the terms of the GNU General Public License as published by
7
+ * the Free Software Foundation, either version 3 of the License, or
8
+ * (at your option) any later version.
7
9
  *
8
- * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
9
- * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
10
- * AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
11
- * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
12
- * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
13
- * OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
14
- * PERFORMANCE OF THIS SOFTWARE.
10
+ * This program is distributed in the hope that it will be useful,
11
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
+ * GNU General Public License for more details.
14
+ *
15
+ * You should have received a copy of the GNU General Public License
16
+ * along with this program. If not, see <https://www.gnu.org/licenses/>.
17
+ *
18
+ * If you want to use this code in a closed source (commercial) project, you can
19
+ * purchase a proprietary commercial license. Please contact us at
20
+ * <support@imqueue.com> to get commercial licensing options.
15
21
  */
16
22
  import { Logger } from './src';
17
23
  export * from './src';
package/index.js CHANGED
@@ -15,19 +15,25 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  /*!
18
- * Copyright (c) 2018, imqueue.com <support@imqueue.com>
18
+ * I'm Queue Software Project
19
+ * Copyright (C) 2025 imqueue.com <support@imqueue.com>
19
20
  *
20
- * Permission to use, copy, modify, and/or distribute this software for any
21
- * purpose with or without fee is hereby granted, provided that the above
22
- * copyright notice and this permission notice appear in all copies.
21
+ * This program is free software: you can redistribute it and/or modify
22
+ * it under the terms of the GNU General Public License as published by
23
+ * the Free Software Foundation, either version 3 of the License, or
24
+ * (at your option) any later version.
23
25
  *
24
- * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
25
- * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
26
- * AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
27
- * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
28
- * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
29
- * OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
30
- * PERFORMANCE OF THIS SOFTWARE.
26
+ * This program is distributed in the hope that it will be useful,
27
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
28
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
29
+ * GNU General Public License for more details.
30
+ *
31
+ * You should have received a copy of the GNU General Public License
32
+ * along with this program. If not, see <https://www.gnu.org/licenses/>.
33
+ *
34
+ * If you want to use this code in a closed source (commercial) project, you can
35
+ * purchase a proprietary commercial license. Please contact us at
36
+ * <support@imqueue.com> to get commercial licensing options.
31
37
  */
32
38
  const src_1 = require("./src");
33
39
  __exportStar(require("./src"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@imqueue/async-logger",
3
- "version": "1.3.0",
3
+ "version": "2.0.0",
4
4
  "description": "Configurable async logger over winston for @imqueue services",
5
5
  "keywords": [
6
6
  "logger",
@@ -10,37 +10,37 @@
10
10
  ],
11
11
  "main": "index.js",
12
12
  "dependencies": {
13
- "@imqueue/core": "^1.15.0",
14
- "winston": "^3.16.0",
15
- "winston-transport": "^4.8.0"
13
+ "@imqueue/core": "^2.0.2",
14
+ "winston": "^3.17.0",
15
+ "winston-transport": "^4.9.0"
16
16
  },
17
17
  "devDependencies": {
18
- "@types/chai": "^5.0.1",
19
- "@types/mocha": "^10.0.9",
18
+ "@types/chai": "^5.2.2",
19
+ "@types/mocha": "^10.0.10",
20
20
  "@types/mock-require": "^3.0.0",
21
- "@types/node": "^22.9.0",
22
- "@types/sinon": "^17.0.3",
23
- "@typescript-eslint/eslint-plugin": "^8.13.0",
24
- "@typescript-eslint/parser": "^8.13.0",
25
- "@typescript-eslint/typescript-estree": "^8.13.0",
26
- "chai": "^4.3.10",
21
+ "@types/node": "^24.0.10",
22
+ "@types/sinon": "^17.0.4",
23
+ "@typescript-eslint/eslint-plugin": "^8.35.1",
24
+ "@typescript-eslint/parser": "^8.35.1",
25
+ "@typescript-eslint/typescript-estree": "^8.35.1",
26
+ "chai": "^5.2.0",
27
27
  "coveralls-next": "^4.2.1",
28
- "eslint": "^9.14.0",
29
- "glob": "^10.3.10",
28
+ "eslint": "^9.30.1",
29
+ "glob": "^11.0.3",
30
30
  "minimist": "^1.2.8",
31
- "mocha": "^10.2.0",
31
+ "mocha": "^11.7.1",
32
32
  "mocha-lcov-reporter": "^1.3.0",
33
33
  "mock-require": "^3.0.3",
34
34
  "npm-scripts-help": "^0.8.0",
35
35
  "nyc": "^17.1.0",
36
- "open": "^9.1.0",
37
- "sinon": "^19.0.2",
36
+ "open": "^10.1.2",
37
+ "sinon": "^21.0.0",
38
38
  "source-map-support": "^0.5.21",
39
39
  "ts-node": "^10.9.2",
40
- "typedoc": "^0.26.11",
40
+ "typedoc": "^0.28.7",
41
41
  "typedoc-plugin-as-member-of": "^1.0.2",
42
- "typedoc-plugin-markdown": "^4.2.10",
43
- "typescript": "^5.2.2"
42
+ "typedoc-plugin-markdown": "^4.7.0",
43
+ "typescript": "^5.8.3"
44
44
  },
45
45
  "scripts": {
46
46
  "prepublishOnly": "npm run build",
@@ -57,11 +57,11 @@
57
57
  "build": "tsc",
58
58
  "mocha": "nyc mocha",
59
59
  "show:doc": "/usr/bin/env node -e \"require('open')('file://`pwd`/docs/index.html',{wait:false});\"",
60
- "doc": "npm run clean && typedoc --excludePrivate --excludeExternals --hideGenerator --exclude \"**/+(debug|test|node_modules|docs|coverage|.nyc_output|examples)/**/*\" --mode file --out ./docs --plugin typedoc-plugin-as-member-of . && npm run show:doc",
60
+ "doc": "npm run clean && typedoc --excludePrivate --excludeExternals --hideGenerator --exclude \"**/+(debug|test|node_modules|docs|coverage|.nyc_output|examples)/**/*\" --out ./docs --plugin typedoc-plugin-as-member-of . && npm run show:doc",
61
61
  "help": "npm-scripts-help"
62
62
  },
63
63
  "author": "imqueue.com <support@imqueue.com>",
64
- "license": "ISC",
64
+ "license": "GPL-3.0-only",
65
65
  "repository": {
66
66
  "type": "git",
67
67
  "url": "git://github.com/imqueue/async-logger.git"
package/src/Logger.d.ts CHANGED
@@ -1,17 +1,23 @@
1
1
  /*!
2
- * Copyright (c) 2018, imqueue.com <support@imqueue.com>
2
+ * I'm Queue Software Project
3
+ * Copyright (C) 2025 imqueue.com <support@imqueue.com>
3
4
  *
4
- * Permission to use, copy, modify, and/or distribute this software for any
5
- * purpose with or without fee is hereby granted, provided that the above
6
- * copyright notice and this permission notice appear in all copies.
5
+ * This program is free software: you can redistribute it and/or modify
6
+ * it under the terms of the GNU General Public License as published by
7
+ * the Free Software Foundation, either version 3 of the License, or
8
+ * (at your option) any later version.
7
9
  *
8
- * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
9
- * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
10
- * AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
11
- * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
12
- * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
13
- * OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
14
- * PERFORMANCE OF THIS SOFTWARE.
10
+ * This program is distributed in the hope that it will be useful,
11
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
+ * GNU General Public License for more details.
14
+ *
15
+ * You should have received a copy of the GNU General Public License
16
+ * along with this program. If not, see <https://www.gnu.org/licenses/>.
17
+ *
18
+ * If you want to use this code in a closed source (commercial) project, you can
19
+ * purchase a proprietary commercial license. Please contact us at
20
+ * <support@imqueue.com> to get commercial licensing options.
15
21
  */
16
22
  import { ILogger, JsonObject } from '@imqueue/core';
17
23
  import { TransportOptions } from './TransportOptions';
@@ -1,17 +1,23 @@
1
1
  /*!
2
- * Copyright (c) 2018, imqueue.com <support@imqueue.com>
2
+ * I'm Queue Software Project
3
+ * Copyright (C) 2025 imqueue.com <support@imqueue.com>
3
4
  *
4
- * Permission to use, copy, modify, and/or distribute this software for any
5
- * purpose with or without fee is hereby granted, provided that the above
6
- * copyright notice and this permission notice appear in all copies.
5
+ * This program is free software: you can redistribute it and/or modify
6
+ * it under the terms of the GNU General Public License as published by
7
+ * the Free Software Foundation, either version 3 of the License, or
8
+ * (at your option) any later version.
7
9
  *
8
- * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
9
- * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
10
- * AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
11
- * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
12
- * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
13
- * OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
14
- * PERFORMANCE OF THIS SOFTWARE.
10
+ * This program is distributed in the hope that it will be useful,
11
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
+ * GNU General Public License for more details.
14
+ *
15
+ * You should have received a copy of the GNU General Public License
16
+ * along with this program. If not, see <https://www.gnu.org/licenses/>.
17
+ *
18
+ * If you want to use this code in a closed source (commercial) project, you can
19
+ * purchase a proprietary commercial license. Please contact us at
20
+ * <support@imqueue.com> to get commercial licensing options.
15
21
  */
16
22
  import { LoggerOptions } from 'winston';
17
23
  /**
@@ -1,17 +1,23 @@
1
1
  /*!
2
- * Copyright (c) 2018, imqueue.com <support@imqueue.com>
2
+ * I'm Queue Software Project
3
+ * Copyright (C) 2025 imqueue.com <support@imqueue.com>
3
4
  *
4
- * Permission to use, copy, modify, and/or distribute this software for any
5
- * purpose with or without fee is hereby granted, provided that the above
6
- * copyright notice and this permission notice appear in all copies.
5
+ * This program is free software: you can redistribute it and/or modify
6
+ * it under the terms of the GNU General Public License as published by
7
+ * the Free Software Foundation, either version 3 of the License, or
8
+ * (at your option) any later version.
7
9
  *
8
- * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
9
- * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
10
- * AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
11
- * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
12
- * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
13
- * OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
14
- * PERFORMANCE OF THIS SOFTWARE.
10
+ * This program is distributed in the hope that it will be useful,
11
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
+ * GNU General Public License for more details.
14
+ *
15
+ * You should have received a copy of the GNU General Public License
16
+ * along with this program. If not, see <https://www.gnu.org/licenses/>.
17
+ *
18
+ * If you want to use this code in a closed source (commercial) project, you can
19
+ * purchase a proprietary commercial license. Please contact us at
20
+ * <support@imqueue.com> to get commercial licensing options.
15
21
  */
16
22
  import { JsonObject } from '@imqueue/core';
17
23
  import { TransportOptions } from '../TransportOptions';
@@ -1,6 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.defaultMetadata = exports.transportsConfig = exports.pkg = void 0;
3
+ exports.pkg = pkg;
4
+ exports.transportsConfig = transportsConfig;
5
+ exports.defaultMetadata = defaultMetadata;
4
6
  const path_1 = require("path");
5
7
  const fs_1 = require("fs");
6
8
  const RX_NAME = /%name/g;
@@ -17,7 +19,6 @@ function pkg() {
17
19
  : { name: 'logger', version: '' };
18
20
  return { name, version };
19
21
  }
20
- exports.pkg = pkg;
21
22
  /**
22
23
  * Used for retrieve transport config from environment variables
23
24
  *
@@ -34,7 +35,6 @@ function transportsConfig() {
34
35
  throw new TypeError(`Logger: can not parse transports config: ${err.stack ? err.stack : err.message}`);
35
36
  }
36
37
  }
37
- exports.transportsConfig = transportsConfig;
38
38
  /**
39
39
  * Returns default metadata, configured by environment variables
40
40
  *
@@ -51,5 +51,4 @@ function defaultMetadata() {
51
51
  throw new TypeError(`Logger: can not parse metadata: ${err.stack ? err.stack : err.message}`);
52
52
  }
53
53
  }
54
- exports.defaultMetadata = defaultMetadata;
55
54
  //# sourceMappingURL=env.js.map
@@ -1,17 +1,23 @@
1
1
  /*!
2
- * Copyright (c) 2018, imqueue.com <support@imqueue.com>
2
+ * I'm Queue Software Project
3
+ * Copyright (C) 2025 imqueue.com <support@imqueue.com>
3
4
  *
4
- * Permission to use, copy, modify, and/or distribute this software for any
5
- * purpose with or without fee is hereby granted, provided that the above
6
- * copyright notice and this permission notice appear in all copies.
5
+ * This program is free software: you can redistribute it and/or modify
6
+ * it under the terms of the GNU General Public License as published by
7
+ * the Free Software Foundation, either version 3 of the License, or
8
+ * (at your option) any later version.
7
9
  *
8
- * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
9
- * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
10
- * AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
11
- * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
12
- * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
13
- * OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
14
- * PERFORMANCE OF THIS SOFTWARE.
10
+ * This program is distributed in the hope that it will be useful,
11
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
+ * GNU General Public License for more details.
14
+ *
15
+ * You should have received a copy of the GNU General Public License
16
+ * along with this program. If not, see <https://www.gnu.org/licenses/>.
17
+ *
18
+ * If you want to use this code in a closed source (commercial) project, you can
19
+ * purchase a proprietary commercial license. Please contact us at
20
+ * <support@imqueue.com> to get commercial licensing options.
15
21
  */
16
22
  export * from './env';
17
23
  export * from './message';
@@ -15,19 +15,25 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  /*!
18
- * Copyright (c) 2018, imqueue.com <support@imqueue.com>
18
+ * I'm Queue Software Project
19
+ * Copyright (C) 2025 imqueue.com <support@imqueue.com>
19
20
  *
20
- * Permission to use, copy, modify, and/or distribute this software for any
21
- * purpose with or without fee is hereby granted, provided that the above
22
- * copyright notice and this permission notice appear in all copies.
21
+ * This program is free software: you can redistribute it and/or modify
22
+ * it under the terms of the GNU General Public License as published by
23
+ * the Free Software Foundation, either version 3 of the License, or
24
+ * (at your option) any later version.
23
25
  *
24
- * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
25
- * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
26
- * AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
27
- * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
28
- * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
29
- * OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
30
- * PERFORMANCE OF THIS SOFTWARE.
26
+ * This program is distributed in the hope that it will be useful,
27
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
28
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
29
+ * GNU General Public License for more details.
30
+ *
31
+ * You should have received a copy of the GNU General Public License
32
+ * along with this program. If not, see <https://www.gnu.org/licenses/>.
33
+ *
34
+ * If you want to use this code in a closed source (commercial) project, you can
35
+ * purchase a proprietary commercial license. Please contact us at
36
+ * <support@imqueue.com> to get commercial licensing options.
31
37
  */
32
38
  __exportStar(require("./env"), exports);
33
39
  __exportStar(require("./message"), exports);
@@ -1,20 +1,26 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.buildMessage = void 0;
3
+ exports.buildMessage = buildMessage;
4
4
  /*!
5
- * Copyright (c) 2018, imqueue.com <support@imqueue.com>
5
+ * I'm Queue Software Project
6
+ * Copyright (C) 2025 imqueue.com <support@imqueue.com>
7
+ *
8
+ * This program is free software: you can redistribute it and/or modify
9
+ * it under the terms of the GNU General Public License as published by
10
+ * the Free Software Foundation, either version 3 of the License, or
11
+ * (at your option) any later version.
6
12
  *
7
- * Permission to use, copy, modify, and/or distribute this software for any
8
- * purpose with or without fee is hereby granted, provided that the above
9
- * copyright notice and this permission notice appear in all copies.
13
+ * This program is distributed in the hope that it will be useful,
14
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
15
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
+ * GNU General Public License for more details.
10
17
  *
11
- * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
12
- * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
13
- * AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
14
- * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
15
- * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
16
- * OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
17
- * PERFORMANCE OF THIS SOFTWARE.
18
+ * You should have received a copy of the GNU General Public License
19
+ * along with this program. If not, see <https://www.gnu.org/licenses/>.
20
+ *
21
+ * If you want to use this code in a closed source (commercial) project, you can
22
+ * purchase a proprietary commercial license. Please contact us at
23
+ * <support@imqueue.com> to get commercial licensing options.
18
24
  */
19
25
  const util_1 = require("util");
20
26
  /**
@@ -26,5 +32,4 @@ const util_1 = require("util");
26
32
  function buildMessage(args) {
27
33
  return (0, util_1.format)(args.shift(), ...args);
28
34
  }
29
- exports.buildMessage = buildMessage;
30
35
  //# sourceMappingURL=message.js.map
@@ -1,20 +1,26 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getTransport = void 0;
3
+ exports.getTransport = getTransport;
4
4
  /*!
5
- * Copyright (c) 2018, imqueue.com <support@imqueue.com>
5
+ * I'm Queue Software Project
6
+ * Copyright (C) 2025 imqueue.com <support@imqueue.com>
7
+ *
8
+ * This program is free software: you can redistribute it and/or modify
9
+ * it under the terms of the GNU General Public License as published by
10
+ * the Free Software Foundation, either version 3 of the License, or
11
+ * (at your option) any later version.
6
12
  *
7
- * Permission to use, copy, modify, and/or distribute this software for any
8
- * purpose with or without fee is hereby granted, provided that the above
9
- * copyright notice and this permission notice appear in all copies.
13
+ * This program is distributed in the hope that it will be useful,
14
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
15
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
+ * GNU General Public License for more details.
10
17
  *
11
- * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
12
- * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
13
- * AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
14
- * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
15
- * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
16
- * OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
17
- * PERFORMANCE OF THIS SOFTWARE.
18
+ * You should have received a copy of the GNU General Public License
19
+ * along with this program. If not, see <https://www.gnu.org/licenses/>.
20
+ *
21
+ * If you want to use this code in a closed source (commercial) project, you can
22
+ * purchase a proprietary commercial license. Please contact us at
23
+ * <support@imqueue.com> to get commercial licensing options.
18
24
  */
19
25
  const winston_1 = require("winston");
20
26
  /**
@@ -35,5 +41,4 @@ function getTransport(type, options) {
35
41
  }
36
42
  return transportInstance;
37
43
  }
38
- exports.getTransport = getTransport;
39
44
  //# sourceMappingURL=transport.js.map
package/src/index.d.ts CHANGED
@@ -1,17 +1,23 @@
1
1
  /*!
2
- * Copyright (c) 2018, imqueue.com <support@imqueue.com>
2
+ * I'm Queue Software Project
3
+ * Copyright (C) 2025 imqueue.com <support@imqueue.com>
3
4
  *
4
- * Permission to use, copy, modify, and/or distribute this software for any
5
- * purpose with or without fee is hereby granted, provided that the above
6
- * copyright notice and this permission notice appear in all copies.
5
+ * This program is free software: you can redistribute it and/or modify
6
+ * it under the terms of the GNU General Public License as published by
7
+ * the Free Software Foundation, either version 3 of the License, or
8
+ * (at your option) any later version.
7
9
  *
8
- * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
9
- * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
10
- * AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
11
- * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
12
- * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
13
- * OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
14
- * PERFORMANCE OF THIS SOFTWARE.
10
+ * This program is distributed in the hope that it will be useful,
11
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
+ * GNU General Public License for more details.
14
+ *
15
+ * You should have received a copy of the GNU General Public License
16
+ * along with this program. If not, see <https://www.gnu.org/licenses/>.
17
+ *
18
+ * If you want to use this code in a closed source (commercial) project, you can
19
+ * purchase a proprietary commercial license. Please contact us at
20
+ * <support@imqueue.com> to get commercial licensing options.
15
21
  */
16
22
  export * from './helpers';
17
23
  export * from './TransportOptions';
package/src/index.js CHANGED
@@ -15,19 +15,25 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  /*!
18
- * Copyright (c) 2018, imqueue.com <support@imqueue.com>
18
+ * I'm Queue Software Project
19
+ * Copyright (C) 2025 imqueue.com <support@imqueue.com>
19
20
  *
20
- * Permission to use, copy, modify, and/or distribute this software for any
21
- * purpose with or without fee is hereby granted, provided that the above
22
- * copyright notice and this permission notice appear in all copies.
21
+ * This program is free software: you can redistribute it and/or modify
22
+ * it under the terms of the GNU General Public License as published by
23
+ * the Free Software Foundation, either version 3 of the License, or
24
+ * (at your option) any later version.
23
25
  *
24
- * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
25
- * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
26
- * AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
27
- * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
28
- * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
29
- * OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
30
- * PERFORMANCE OF THIS SOFTWARE.
26
+ * This program is distributed in the hope that it will be useful,
27
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
28
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
29
+ * GNU General Public License for more details.
30
+ *
31
+ * You should have received a copy of the GNU General Public License
32
+ * along with this program. If not, see <https://www.gnu.org/licenses/>.
33
+ *
34
+ * If you want to use this code in a closed source (commercial) project, you can
35
+ * purchase a proprietary commercial license. Please contact us at
36
+ * <support@imqueue.com> to get commercial licensing options.
31
37
  */
32
38
  __exportStar(require("./helpers"), exports);
33
39
  __exportStar(require("./TransportOptions"), exports);