move the whole thing to node
This commit is contained in:
commit
091b766206
4
.gitignore
vendored
Normal file
4
.gitignore
vendored
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
/configs.ts
|
||||||
|
/errors.txt
|
||||||
|
/unused_extras.ts
|
||||||
|
/test
|
661
LICENSE.md
Normal file
661
LICENSE.md
Normal file
|
@ -0,0 +1,661 @@
|
||||||
|
GNU AFFERO GENERAL PUBLIC LICENSE
|
||||||
|
Version 3, 19 November 2007
|
||||||
|
|
||||||
|
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
|
||||||
|
Everyone is permitted to copy and distribute verbatim copies
|
||||||
|
of this license document, but changing it is not allowed.
|
||||||
|
|
||||||
|
Preamble
|
||||||
|
|
||||||
|
The GNU Affero General Public License is a free, copyleft license for
|
||||||
|
software and other kinds of works, specifically designed to ensure
|
||||||
|
cooperation with the community in the case of network server software.
|
||||||
|
|
||||||
|
The licenses for most software and other practical works are designed
|
||||||
|
to take away your freedom to share and change the works. By contrast,
|
||||||
|
our General Public Licenses are intended to guarantee your freedom to
|
||||||
|
share and change all versions of a program--to make sure it remains free
|
||||||
|
software for all its users.
|
||||||
|
|
||||||
|
When we speak of free software, we are referring to freedom, not
|
||||||
|
price. Our General Public Licenses are designed to make sure that you
|
||||||
|
have the freedom to distribute copies of free software (and charge for
|
||||||
|
them if you wish), that you receive source code or can get it if you
|
||||||
|
want it, that you can change the software or use pieces of it in new
|
||||||
|
free programs, and that you know you can do these things.
|
||||||
|
|
||||||
|
Developers that use our General Public Licenses protect your rights
|
||||||
|
with two steps: (1) assert copyright on the software, and (2) offer
|
||||||
|
you this License which gives you legal permission to copy, distribute
|
||||||
|
and/or modify the software.
|
||||||
|
|
||||||
|
A secondary benefit of defending all users' freedom is that
|
||||||
|
improvements made in alternate versions of the program, if they
|
||||||
|
receive widespread use, become available for other developers to
|
||||||
|
incorporate. Many developers of free software are heartened and
|
||||||
|
encouraged by the resulting cooperation. However, in the case of
|
||||||
|
software used on network servers, this result may fail to come about.
|
||||||
|
The GNU General Public License permits making a modified version and
|
||||||
|
letting the public access it on a server without ever releasing its
|
||||||
|
source code to the public.
|
||||||
|
|
||||||
|
The GNU Affero General Public License is designed specifically to
|
||||||
|
ensure that, in such cases, the modified source code becomes available
|
||||||
|
to the community. It requires the operator of a network server to
|
||||||
|
provide the source code of the modified version running there to the
|
||||||
|
users of that server. Therefore, public use of a modified version, on
|
||||||
|
a publicly accessible server, gives the public access to the source
|
||||||
|
code of the modified version.
|
||||||
|
|
||||||
|
An older license, called the Affero General Public License and
|
||||||
|
published by Affero, was designed to accomplish similar goals. This is
|
||||||
|
a different license, not a version of the Affero GPL, but Affero has
|
||||||
|
released a new version of the Affero GPL which permits relicensing under
|
||||||
|
this license.
|
||||||
|
|
||||||
|
The precise terms and conditions for copying, distribution and
|
||||||
|
modification follow.
|
||||||
|
|
||||||
|
TERMS AND CONDITIONS
|
||||||
|
|
||||||
|
0. Definitions.
|
||||||
|
|
||||||
|
"This License" refers to version 3 of the GNU Affero General Public License.
|
||||||
|
|
||||||
|
"Copyright" also means copyright-like laws that apply to other kinds of
|
||||||
|
works, such as semiconductor masks.
|
||||||
|
|
||||||
|
"The Program" refers to any copyrightable work licensed under this
|
||||||
|
License. Each licensee is addressed as "you". "Licensees" and
|
||||||
|
"recipients" may be individuals or organizations.
|
||||||
|
|
||||||
|
To "modify" a work means to copy from or adapt all or part of the work
|
||||||
|
in a fashion requiring copyright permission, other than the making of an
|
||||||
|
exact copy. The resulting work is called a "modified version" of the
|
||||||
|
earlier work or a work "based on" the earlier work.
|
||||||
|
|
||||||
|
A "covered work" means either the unmodified Program or a work based
|
||||||
|
on the Program.
|
||||||
|
|
||||||
|
To "propagate" a work means to do anything with it that, without
|
||||||
|
permission, would make you directly or secondarily liable for
|
||||||
|
infringement under applicable copyright law, except executing it on a
|
||||||
|
computer or modifying a private copy. Propagation includes copying,
|
||||||
|
distribution (with or without modification), making available to the
|
||||||
|
public, and in some countries other activities as well.
|
||||||
|
|
||||||
|
To "convey" a work means any kind of propagation that enables other
|
||||||
|
parties to make or receive copies. Mere interaction with a user through
|
||||||
|
a computer network, with no transfer of a copy, is not conveying.
|
||||||
|
|
||||||
|
An interactive user interface displays "Appropriate Legal Notices"
|
||||||
|
to the extent that it includes a convenient and prominently visible
|
||||||
|
feature that (1) displays an appropriate copyright notice, and (2)
|
||||||
|
tells the user that there is no warranty for the work (except to the
|
||||||
|
extent that warranties are provided), that licensees may convey the
|
||||||
|
work under this License, and how to view a copy of this License. If
|
||||||
|
the interface presents a list of user commands or options, such as a
|
||||||
|
menu, a prominent item in the list meets this criterion.
|
||||||
|
|
||||||
|
1. Source Code.
|
||||||
|
|
||||||
|
The "source code" for a work means the preferred form of the work
|
||||||
|
for making modifications to it. "Object code" means any non-source
|
||||||
|
form of a work.
|
||||||
|
|
||||||
|
A "Standard Interface" means an interface that either is an official
|
||||||
|
standard defined by a recognized standards body, or, in the case of
|
||||||
|
interfaces specified for a particular programming language, one that
|
||||||
|
is widely used among developers working in that language.
|
||||||
|
|
||||||
|
The "System Libraries" of an executable work include anything, other
|
||||||
|
than the work as a whole, that (a) is included in the normal form of
|
||||||
|
packaging a Major Component, but which is not part of that Major
|
||||||
|
Component, and (b) serves only to enable use of the work with that
|
||||||
|
Major Component, or to implement a Standard Interface for which an
|
||||||
|
implementation is available to the public in source code form. A
|
||||||
|
"Major Component", in this context, means a major essential component
|
||||||
|
(kernel, window system, and so on) of the specific operating system
|
||||||
|
(if any) on which the executable work runs, or a compiler used to
|
||||||
|
produce the work, or an object code interpreter used to run it.
|
||||||
|
|
||||||
|
The "Corresponding Source" for a work in object code form means all
|
||||||
|
the source code needed to generate, install, and (for an executable
|
||||||
|
work) run the object code and to modify the work, including scripts to
|
||||||
|
control those activities. However, it does not include the work's
|
||||||
|
System Libraries, or general-purpose tools or generally available free
|
||||||
|
programs which are used unmodified in performing those activities but
|
||||||
|
which are not part of the work. For example, Corresponding Source
|
||||||
|
includes interface definition files associated with source files for
|
||||||
|
the work, and the source code for shared libraries and dynamically
|
||||||
|
linked subprograms that the work is specifically designed to require,
|
||||||
|
such as by intimate data communication or control flow between those
|
||||||
|
subprograms and other parts of the work.
|
||||||
|
|
||||||
|
The Corresponding Source need not include anything that users
|
||||||
|
can regenerate automatically from other parts of the Corresponding
|
||||||
|
Source.
|
||||||
|
|
||||||
|
The Corresponding Source for a work in source code form is that
|
||||||
|
same work.
|
||||||
|
|
||||||
|
2. Basic Permissions.
|
||||||
|
|
||||||
|
All rights granted under this License are granted for the term of
|
||||||
|
copyright on the Program, and are irrevocable provided the stated
|
||||||
|
conditions are met. This License explicitly affirms your unlimited
|
||||||
|
permission to run the unmodified Program. The output from running a
|
||||||
|
covered work is covered by this License only if the output, given its
|
||||||
|
content, constitutes a covered work. This License acknowledges your
|
||||||
|
rights of fair use or other equivalent, as provided by copyright law.
|
||||||
|
|
||||||
|
You may make, run and propagate covered works that you do not
|
||||||
|
convey, without conditions so long as your license otherwise remains
|
||||||
|
in force. You may convey covered works to others for the sole purpose
|
||||||
|
of having them make modifications exclusively for you, or provide you
|
||||||
|
with facilities for running those works, provided that you comply with
|
||||||
|
the terms of this License in conveying all material for which you do
|
||||||
|
not control copyright. Those thus making or running the covered works
|
||||||
|
for you must do so exclusively on your behalf, under your direction
|
||||||
|
and control, on terms that prohibit them from making any copies of
|
||||||
|
your copyrighted material outside their relationship with you.
|
||||||
|
|
||||||
|
Conveying under any other circumstances is permitted solely under
|
||||||
|
the conditions stated below. Sublicensing is not allowed; section 10
|
||||||
|
makes it unnecessary.
|
||||||
|
|
||||||
|
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
|
||||||
|
|
||||||
|
No covered work shall be deemed part of an effective technological
|
||||||
|
measure under any applicable law fulfilling obligations under article
|
||||||
|
11 of the WIPO copyright treaty adopted on 20 December 1996, or
|
||||||
|
similar laws prohibiting or restricting circumvention of such
|
||||||
|
measures.
|
||||||
|
|
||||||
|
When you convey a covered work, you waive any legal power to forbid
|
||||||
|
circumvention of technological measures to the extent such circumvention
|
||||||
|
is effected by exercising rights under this License with respect to
|
||||||
|
the covered work, and you disclaim any intention to limit operation or
|
||||||
|
modification of the work as a means of enforcing, against the work's
|
||||||
|
users, your or third parties' legal rights to forbid circumvention of
|
||||||
|
technological measures.
|
||||||
|
|
||||||
|
4. Conveying Verbatim Copies.
|
||||||
|
|
||||||
|
You may convey verbatim copies of the Program's source code as you
|
||||||
|
receive it, in any medium, provided that you conspicuously and
|
||||||
|
appropriately publish on each copy an appropriate copyright notice;
|
||||||
|
keep intact all notices stating that this License and any
|
||||||
|
non-permissive terms added in accord with section 7 apply to the code;
|
||||||
|
keep intact all notices of the absence of any warranty; and give all
|
||||||
|
recipients a copy of this License along with the Program.
|
||||||
|
|
||||||
|
You may charge any price or no price for each copy that you convey,
|
||||||
|
and you may offer support or warranty protection for a fee.
|
||||||
|
|
||||||
|
5. Conveying Modified Source Versions.
|
||||||
|
|
||||||
|
You may convey a work based on the Program, or the modifications to
|
||||||
|
produce it from the Program, in the form of source code under the
|
||||||
|
terms of section 4, provided that you also meet all of these conditions:
|
||||||
|
|
||||||
|
a) The work must carry prominent notices stating that you modified
|
||||||
|
it, and giving a relevant date.
|
||||||
|
|
||||||
|
b) The work must carry prominent notices stating that it is
|
||||||
|
released under this License and any conditions added under section
|
||||||
|
7. This requirement modifies the requirement in section 4 to
|
||||||
|
"keep intact all notices".
|
||||||
|
|
||||||
|
c) You must license the entire work, as a whole, under this
|
||||||
|
License to anyone who comes into possession of a copy. This
|
||||||
|
License will therefore apply, along with any applicable section 7
|
||||||
|
additional terms, to the whole of the work, and all its parts,
|
||||||
|
regardless of how they are packaged. This License gives no
|
||||||
|
permission to license the work in any other way, but it does not
|
||||||
|
invalidate such permission if you have separately received it.
|
||||||
|
|
||||||
|
d) If the work has interactive user interfaces, each must display
|
||||||
|
Appropriate Legal Notices; however, if the Program has interactive
|
||||||
|
interfaces that do not display Appropriate Legal Notices, your
|
||||||
|
work need not make them do so.
|
||||||
|
|
||||||
|
A compilation of a covered work with other separate and independent
|
||||||
|
works, which are not by their nature extensions of the covered work,
|
||||||
|
and which are not combined with it such as to form a larger program,
|
||||||
|
in or on a volume of a storage or distribution medium, is called an
|
||||||
|
"aggregate" if the compilation and its resulting copyright are not
|
||||||
|
used to limit the access or legal rights of the compilation's users
|
||||||
|
beyond what the individual works permit. Inclusion of a covered work
|
||||||
|
in an aggregate does not cause this License to apply to the other
|
||||||
|
parts of the aggregate.
|
||||||
|
|
||||||
|
6. Conveying Non-Source Forms.
|
||||||
|
|
||||||
|
You may convey a covered work in object code form under the terms
|
||||||
|
of sections 4 and 5, provided that you also convey the
|
||||||
|
machine-readable Corresponding Source under the terms of this License,
|
||||||
|
in one of these ways:
|
||||||
|
|
||||||
|
a) Convey the object code in, or embodied in, a physical product
|
||||||
|
(including a physical distribution medium), accompanied by the
|
||||||
|
Corresponding Source fixed on a durable physical medium
|
||||||
|
customarily used for software interchange.
|
||||||
|
|
||||||
|
b) Convey the object code in, or embodied in, a physical product
|
||||||
|
(including a physical distribution medium), accompanied by a
|
||||||
|
written offer, valid for at least three years and valid for as
|
||||||
|
long as you offer spare parts or customer support for that product
|
||||||
|
model, to give anyone who possesses the object code either (1) a
|
||||||
|
copy of the Corresponding Source for all the software in the
|
||||||
|
product that is covered by this License, on a durable physical
|
||||||
|
medium customarily used for software interchange, for a price no
|
||||||
|
more than your reasonable cost of physically performing this
|
||||||
|
conveying of source, or (2) access to copy the
|
||||||
|
Corresponding Source from a network server at no charge.
|
||||||
|
|
||||||
|
c) Convey individual copies of the object code with a copy of the
|
||||||
|
written offer to provide the Corresponding Source. This
|
||||||
|
alternative is allowed only occasionally and noncommercially, and
|
||||||
|
only if you received the object code with such an offer, in accord
|
||||||
|
with subsection 6b.
|
||||||
|
|
||||||
|
d) Convey the object code by offering access from a designated
|
||||||
|
place (gratis or for a charge), and offer equivalent access to the
|
||||||
|
Corresponding Source in the same way through the same place at no
|
||||||
|
further charge. You need not require recipients to copy the
|
||||||
|
Corresponding Source along with the object code. If the place to
|
||||||
|
copy the object code is a network server, the Corresponding Source
|
||||||
|
may be on a different server (operated by you or a third party)
|
||||||
|
that supports equivalent copying facilities, provided you maintain
|
||||||
|
clear directions next to the object code saying where to find the
|
||||||
|
Corresponding Source. Regardless of what server hosts the
|
||||||
|
Corresponding Source, you remain obligated to ensure that it is
|
||||||
|
available for as long as needed to satisfy these requirements.
|
||||||
|
|
||||||
|
e) Convey the object code using peer-to-peer transmission, provided
|
||||||
|
you inform other peers where the object code and Corresponding
|
||||||
|
Source of the work are being offered to the general public at no
|
||||||
|
charge under subsection 6d.
|
||||||
|
|
||||||
|
A separable portion of the object code, whose source code is excluded
|
||||||
|
from the Corresponding Source as a System Library, need not be
|
||||||
|
included in conveying the object code work.
|
||||||
|
|
||||||
|
A "User Product" is either (1) a "consumer product", which means any
|
||||||
|
tangible personal property which is normally used for personal, family,
|
||||||
|
or household purposes, or (2) anything designed or sold for incorporation
|
||||||
|
into a dwelling. In determining whether a product is a consumer product,
|
||||||
|
doubtful cases shall be resolved in favor of coverage. For a particular
|
||||||
|
product received by a particular user, "normally used" refers to a
|
||||||
|
typical or common use of that class of product, regardless of the status
|
||||||
|
of the particular user or of the way in which the particular user
|
||||||
|
actually uses, or expects or is expected to use, the product. A product
|
||||||
|
is a consumer product regardless of whether the product has substantial
|
||||||
|
commercial, industrial or non-consumer uses, unless such uses represent
|
||||||
|
the only significant mode of use of the product.
|
||||||
|
|
||||||
|
"Installation Information" for a User Product means any methods,
|
||||||
|
procedures, authorization keys, or other information required to install
|
||||||
|
and execute modified versions of a covered work in that User Product from
|
||||||
|
a modified version of its Corresponding Source. The information must
|
||||||
|
suffice to ensure that the continued functioning of the modified object
|
||||||
|
code is in no case prevented or interfered with solely because
|
||||||
|
modification has been made.
|
||||||
|
|
||||||
|
If you convey an object code work under this section in, or with, or
|
||||||
|
specifically for use in, a User Product, and the conveying occurs as
|
||||||
|
part of a transaction in which the right of possession and use of the
|
||||||
|
User Product is transferred to the recipient in perpetuity or for a
|
||||||
|
fixed term (regardless of how the transaction is characterized), the
|
||||||
|
Corresponding Source conveyed under this section must be accompanied
|
||||||
|
by the Installation Information. But this requirement does not apply
|
||||||
|
if neither you nor any third party retains the ability to install
|
||||||
|
modified object code on the User Product (for example, the work has
|
||||||
|
been installed in ROM).
|
||||||
|
|
||||||
|
The requirement to provide Installation Information does not include a
|
||||||
|
requirement to continue to provide support service, warranty, or updates
|
||||||
|
for a work that has been modified or installed by the recipient, or for
|
||||||
|
the User Product in which it has been modified or installed. Access to a
|
||||||
|
network may be denied when the modification itself materially and
|
||||||
|
adversely affects the operation of the network or violates the rules and
|
||||||
|
protocols for communication across the network.
|
||||||
|
|
||||||
|
Corresponding Source conveyed, and Installation Information provided,
|
||||||
|
in accord with this section must be in a format that is publicly
|
||||||
|
documented (and with an implementation available to the public in
|
||||||
|
source code form), and must require no special password or key for
|
||||||
|
unpacking, reading or copying.
|
||||||
|
|
||||||
|
7. Additional Terms.
|
||||||
|
|
||||||
|
"Additional permissions" are terms that supplement the terms of this
|
||||||
|
License by making exceptions from one or more of its conditions.
|
||||||
|
Additional permissions that are applicable to the entire Program shall
|
||||||
|
be treated as though they were included in this License, to the extent
|
||||||
|
that they are valid under applicable law. If additional permissions
|
||||||
|
apply only to part of the Program, that part may be used separately
|
||||||
|
under those permissions, but the entire Program remains governed by
|
||||||
|
this License without regard to the additional permissions.
|
||||||
|
|
||||||
|
When you convey a copy of a covered work, you may at your option
|
||||||
|
remove any additional permissions from that copy, or from any part of
|
||||||
|
it. (Additional permissions may be written to require their own
|
||||||
|
removal in certain cases when you modify the work.) You may place
|
||||||
|
additional permissions on material, added by you to a covered work,
|
||||||
|
for which you have or can give appropriate copyright permission.
|
||||||
|
|
||||||
|
Notwithstanding any other provision of this License, for material you
|
||||||
|
add to a covered work, you may (if authorized by the copyright holders of
|
||||||
|
that material) supplement the terms of this License with terms:
|
||||||
|
|
||||||
|
a) Disclaiming warranty or limiting liability differently from the
|
||||||
|
terms of sections 15 and 16 of this License; or
|
||||||
|
|
||||||
|
b) Requiring preservation of specified reasonable legal notices or
|
||||||
|
author attributions in that material or in the Appropriate Legal
|
||||||
|
Notices displayed by works containing it; or
|
||||||
|
|
||||||
|
c) Prohibiting misrepresentation of the origin of that material, or
|
||||||
|
requiring that modified versions of such material be marked in
|
||||||
|
reasonable ways as different from the original version; or
|
||||||
|
|
||||||
|
d) Limiting the use for publicity purposes of names of licensors or
|
||||||
|
authors of the material; or
|
||||||
|
|
||||||
|
e) Declining to grant rights under trademark law for use of some
|
||||||
|
trade names, trademarks, or service marks; or
|
||||||
|
|
||||||
|
f) Requiring indemnification of licensors and authors of that
|
||||||
|
material by anyone who conveys the material (or modified versions of
|
||||||
|
it) with contractual assumptions of liability to the recipient, for
|
||||||
|
any liability that these contractual assumptions directly impose on
|
||||||
|
those licensors and authors.
|
||||||
|
|
||||||
|
All other non-permissive additional terms are considered "further
|
||||||
|
restrictions" within the meaning of section 10. If the Program as you
|
||||||
|
received it, or any part of it, contains a notice stating that it is
|
||||||
|
governed by this License along with a term that is a further
|
||||||
|
restriction, you may remove that term. If a license document contains
|
||||||
|
a further restriction but permits relicensing or conveying under this
|
||||||
|
License, you may add to a covered work material governed by the terms
|
||||||
|
of that license document, provided that the further restriction does
|
||||||
|
not survive such relicensing or conveying.
|
||||||
|
|
||||||
|
If you add terms to a covered work in accord with this section, you
|
||||||
|
must place, in the relevant source files, a statement of the
|
||||||
|
additional terms that apply to those files, or a notice indicating
|
||||||
|
where to find the applicable terms.
|
||||||
|
|
||||||
|
Additional terms, permissive or non-permissive, may be stated in the
|
||||||
|
form of a separately written license, or stated as exceptions;
|
||||||
|
the above requirements apply either way.
|
||||||
|
|
||||||
|
8. Termination.
|
||||||
|
|
||||||
|
You may not propagate or modify a covered work except as expressly
|
||||||
|
provided under this License. Any attempt otherwise to propagate or
|
||||||
|
modify it is void, and will automatically terminate your rights under
|
||||||
|
this License (including any patent licenses granted under the third
|
||||||
|
paragraph of section 11).
|
||||||
|
|
||||||
|
However, if you cease all violation of this License, then your
|
||||||
|
license from a particular copyright holder is reinstated (a)
|
||||||
|
provisionally, unless and until the copyright holder explicitly and
|
||||||
|
finally terminates your license, and (b) permanently, if the copyright
|
||||||
|
holder fails to notify you of the violation by some reasonable means
|
||||||
|
prior to 60 days after the cessation.
|
||||||
|
|
||||||
|
Moreover, your license from a particular copyright holder is
|
||||||
|
reinstated permanently if the copyright holder notifies you of the
|
||||||
|
violation by some reasonable means, this is the first time you have
|
||||||
|
received notice of violation of this License (for any work) from that
|
||||||
|
copyright holder, and you cure the violation prior to 30 days after
|
||||||
|
your receipt of the notice.
|
||||||
|
|
||||||
|
Termination of your rights under this section does not terminate the
|
||||||
|
licenses of parties who have received copies or rights from you under
|
||||||
|
this License. If your rights have been terminated and not permanently
|
||||||
|
reinstated, you do not qualify to receive new licenses for the same
|
||||||
|
material under section 10.
|
||||||
|
|
||||||
|
9. Acceptance Not Required for Having Copies.
|
||||||
|
|
||||||
|
You are not required to accept this License in order to receive or
|
||||||
|
run a copy of the Program. Ancillary propagation of a covered work
|
||||||
|
occurring solely as a consequence of using peer-to-peer transmission
|
||||||
|
to receive a copy likewise does not require acceptance. However,
|
||||||
|
nothing other than this License grants you permission to propagate or
|
||||||
|
modify any covered work. These actions infringe copyright if you do
|
||||||
|
not accept this License. Therefore, by modifying or propagating a
|
||||||
|
covered work, you indicate your acceptance of this License to do so.
|
||||||
|
|
||||||
|
10. Automatic Licensing of Downstream Recipients.
|
||||||
|
|
||||||
|
Each time you convey a covered work, the recipient automatically
|
||||||
|
receives a license from the original licensors, to run, modify and
|
||||||
|
propagate that work, subject to this License. You are not responsible
|
||||||
|
for enforcing compliance by third parties with this License.
|
||||||
|
|
||||||
|
An "entity transaction" is a transaction transferring control of an
|
||||||
|
organization, or substantially all assets of one, or subdividing an
|
||||||
|
organization, or merging organizations. If propagation of a covered
|
||||||
|
work results from an entity transaction, each party to that
|
||||||
|
transaction who receives a copy of the work also receives whatever
|
||||||
|
licenses to the work the party's predecessor in interest had or could
|
||||||
|
give under the previous paragraph, plus a right to possession of the
|
||||||
|
Corresponding Source of the work from the predecessor in interest, if
|
||||||
|
the predecessor has it or can get it with reasonable efforts.
|
||||||
|
|
||||||
|
You may not impose any further restrictions on the exercise of the
|
||||||
|
rights granted or affirmed under this License. For example, you may
|
||||||
|
not impose a license fee, royalty, or other charge for exercise of
|
||||||
|
rights granted under this License, and you may not initiate litigation
|
||||||
|
(including a cross-claim or counterclaim in a lawsuit) alleging that
|
||||||
|
any patent claim is infringed by making, using, selling, offering for
|
||||||
|
sale, or importing the Program or any portion of it.
|
||||||
|
|
||||||
|
11. Patents.
|
||||||
|
|
||||||
|
A "contributor" is a copyright holder who authorizes use under this
|
||||||
|
License of the Program or a work on which the Program is based. The
|
||||||
|
work thus licensed is called the contributor's "contributor version".
|
||||||
|
|
||||||
|
A contributor's "essential patent claims" are all patent claims
|
||||||
|
owned or controlled by the contributor, whether already acquired or
|
||||||
|
hereafter acquired, that would be infringed by some manner, permitted
|
||||||
|
by this License, of making, using, or selling its contributor version,
|
||||||
|
but do not include claims that would be infringed only as a
|
||||||
|
consequence of further modification of the contributor version. For
|
||||||
|
purposes of this definition, "control" includes the right to grant
|
||||||
|
patent sublicenses in a manner consistent with the requirements of
|
||||||
|
this License.
|
||||||
|
|
||||||
|
Each contributor grants you a non-exclusive, worldwide, royalty-free
|
||||||
|
patent license under the contributor's essential patent claims, to
|
||||||
|
make, use, sell, offer for sale, import and otherwise run, modify and
|
||||||
|
propagate the contents of its contributor version.
|
||||||
|
|
||||||
|
In the following three paragraphs, a "patent license" is any express
|
||||||
|
agreement or commitment, however denominated, not to enforce a patent
|
||||||
|
(such as an express permission to practice a patent or covenant not to
|
||||||
|
sue for patent infringement). To "grant" such a patent license to a
|
||||||
|
party means to make such an agreement or commitment not to enforce a
|
||||||
|
patent against the party.
|
||||||
|
|
||||||
|
If you convey a covered work, knowingly relying on a patent license,
|
||||||
|
and the Corresponding Source of the work is not available for anyone
|
||||||
|
to copy, free of charge and under the terms of this License, through a
|
||||||
|
publicly available network server or other readily accessible means,
|
||||||
|
then you must either (1) cause the Corresponding Source to be so
|
||||||
|
available, or (2) arrange to deprive yourself of the benefit of the
|
||||||
|
patent license for this particular work, or (3) arrange, in a manner
|
||||||
|
consistent with the requirements of this License, to extend the patent
|
||||||
|
license to downstream recipients. "Knowingly relying" means you have
|
||||||
|
actual knowledge that, but for the patent license, your conveying the
|
||||||
|
covered work in a country, or your recipient's use of the covered work
|
||||||
|
in a country, would infringe one or more identifiable patents in that
|
||||||
|
country that you have reason to believe are valid.
|
||||||
|
|
||||||
|
If, pursuant to or in connection with a single transaction or
|
||||||
|
arrangement, you convey, or propagate by procuring conveyance of, a
|
||||||
|
covered work, and grant a patent license to some of the parties
|
||||||
|
receiving the covered work authorizing them to use, propagate, modify
|
||||||
|
or convey a specific copy of the covered work, then the patent license
|
||||||
|
you grant is automatically extended to all recipients of the covered
|
||||||
|
work and works based on it.
|
||||||
|
|
||||||
|
A patent license is "discriminatory" if it does not include within
|
||||||
|
the scope of its coverage, prohibits the exercise of, or is
|
||||||
|
conditioned on the non-exercise of one or more of the rights that are
|
||||||
|
specifically granted under this License. You may not convey a covered
|
||||||
|
work if you are a party to an arrangement with a third party that is
|
||||||
|
in the business of distributing software, under which you make payment
|
||||||
|
to the third party based on the extent of your activity of conveying
|
||||||
|
the work, and under which the third party grants, to any of the
|
||||||
|
parties who would receive the covered work from you, a discriminatory
|
||||||
|
patent license (a) in connection with copies of the covered work
|
||||||
|
conveyed by you (or copies made from those copies), or (b) primarily
|
||||||
|
for and in connection with specific products or compilations that
|
||||||
|
contain the covered work, unless you entered into that arrangement,
|
||||||
|
or that patent license was granted, prior to 28 March 2007.
|
||||||
|
|
||||||
|
Nothing in this License shall be construed as excluding or limiting
|
||||||
|
any implied license or other defenses to infringement that may
|
||||||
|
otherwise be available to you under applicable patent law.
|
||||||
|
|
||||||
|
12. No Surrender of Others' Freedom.
|
||||||
|
|
||||||
|
If conditions are imposed on you (whether by court order, agreement or
|
||||||
|
otherwise) that contradict the conditions of this License, they do not
|
||||||
|
excuse you from the conditions of this License. If you cannot convey a
|
||||||
|
covered work so as to satisfy simultaneously your obligations under this
|
||||||
|
License and any other pertinent obligations, then as a consequence you may
|
||||||
|
not convey it at all. For example, if you agree to terms that obligate you
|
||||||
|
to collect a royalty for further conveying from those to whom you convey
|
||||||
|
the Program, the only way you could satisfy both those terms and this
|
||||||
|
License would be to refrain entirely from conveying the Program.
|
||||||
|
|
||||||
|
13. Remote Network Interaction; Use with the GNU General Public License.
|
||||||
|
|
||||||
|
Notwithstanding any other provision of this License, if you modify the
|
||||||
|
Program, your modified version must prominently offer all users
|
||||||
|
interacting with it remotely through a computer network (if your version
|
||||||
|
supports such interaction) an opportunity to receive the Corresponding
|
||||||
|
Source of your version by providing access to the Corresponding Source
|
||||||
|
from a network server at no charge, through some standard or customary
|
||||||
|
means of facilitating copying of software. This Corresponding Source
|
||||||
|
shall include the Corresponding Source for any work covered by version 3
|
||||||
|
of the GNU General Public License that is incorporated pursuant to the
|
||||||
|
following paragraph.
|
||||||
|
|
||||||
|
Notwithstanding any other provision of this License, you have
|
||||||
|
permission to link or combine any covered work with a work licensed
|
||||||
|
under version 3 of the GNU General Public License into a single
|
||||||
|
combined work, and to convey the resulting work. The terms of this
|
||||||
|
License will continue to apply to the part which is the covered work,
|
||||||
|
but the work with which it is combined will remain governed by version
|
||||||
|
3 of the GNU General Public License.
|
||||||
|
|
||||||
|
14. Revised Versions of this License.
|
||||||
|
|
||||||
|
The Free Software Foundation may publish revised and/or new versions of
|
||||||
|
the GNU Affero General Public License from time to time. Such new versions
|
||||||
|
will be similar in spirit to the present version, but may differ in detail to
|
||||||
|
address new problems or concerns.
|
||||||
|
|
||||||
|
Each version is given a distinguishing version number. If the
|
||||||
|
Program specifies that a certain numbered version of the GNU Affero General
|
||||||
|
Public License "or any later version" applies to it, you have the
|
||||||
|
option of following the terms and conditions either of that numbered
|
||||||
|
version or of any later version published by the Free Software
|
||||||
|
Foundation. If the Program does not specify a version number of the
|
||||||
|
GNU Affero General Public License, you may choose any version ever published
|
||||||
|
by the Free Software Foundation.
|
||||||
|
|
||||||
|
If the Program specifies that a proxy can decide which future
|
||||||
|
versions of the GNU Affero General Public License can be used, that proxy's
|
||||||
|
public statement of acceptance of a version permanently authorizes you
|
||||||
|
to choose that version for the Program.
|
||||||
|
|
||||||
|
Later license versions may give you additional or different
|
||||||
|
permissions. However, no additional obligations are imposed on any
|
||||||
|
author or copyright holder as a result of your choosing to follow a
|
||||||
|
later version.
|
||||||
|
|
||||||
|
15. Disclaimer of Warranty.
|
||||||
|
|
||||||
|
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
|
||||||
|
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
|
||||||
|
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
|
||||||
|
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
|
||||||
|
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||||
|
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
|
||||||
|
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
|
||||||
|
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
||||||
|
|
||||||
|
16. Limitation of Liability.
|
||||||
|
|
||||||
|
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||||
|
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
|
||||||
|
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
|
||||||
|
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
|
||||||
|
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
|
||||||
|
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
|
||||||
|
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
|
||||||
|
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
|
||||||
|
SUCH DAMAGES.
|
||||||
|
|
||||||
|
17. Interpretation of Sections 15 and 16.
|
||||||
|
|
||||||
|
If the disclaimer of warranty and limitation of liability provided
|
||||||
|
above cannot be given local legal effect according to their terms,
|
||||||
|
reviewing courts shall apply local law that most closely approximates
|
||||||
|
an absolute waiver of all civil liability in connection with the
|
||||||
|
Program, unless a warranty or assumption of liability accompanies a
|
||||||
|
copy of the Program in return for a fee.
|
||||||
|
|
||||||
|
END OF TERMS AND CONDITIONS
|
||||||
|
|
||||||
|
How to Apply These Terms to Your New Programs
|
||||||
|
|
||||||
|
If you develop a new program, and you want it to be of the greatest
|
||||||
|
possible use to the public, the best way to achieve this is to make it
|
||||||
|
free software which everyone can redistribute and change under these terms.
|
||||||
|
|
||||||
|
To do so, attach the following notices to the program. It is safest
|
||||||
|
to attach them to the start of each source file to most effectively
|
||||||
|
state the exclusion of warranty; and each file should have at least
|
||||||
|
the "copyright" line and a pointer to where the full notice is found.
|
||||||
|
|
||||||
|
<one line to give the program's name and a brief idea of what it does.>
|
||||||
|
Copyright (C) <year> <name of author>
|
||||||
|
|
||||||
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU Affero General Public License as published
|
||||||
|
by the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU Affero General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Affero General Public License
|
||||||
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
Also add information on how to contact you by electronic and paper mail.
|
||||||
|
|
||||||
|
If your software can interact with users remotely through a computer
|
||||||
|
network, you should also make sure that it provides a way for users to
|
||||||
|
get its source. For example, if your program is a web application, its
|
||||||
|
interface could display a "Source" link that leads users to an archive
|
||||||
|
of the code. There are many ways you could offer source, and different
|
||||||
|
solutions will be better for different programs; see section 13 for the
|
||||||
|
specific requirements.
|
||||||
|
|
||||||
|
You should also get your employer (if you work as a programmer) or school,
|
||||||
|
if any, to sign a "copyright disclaimer" for the program, if necessary.
|
||||||
|
For more information on this, and how to apply and follow the GNU AGPL, see
|
||||||
|
<https://www.gnu.org/licenses/>.
|
1
README.md
Normal file
1
README.md
Normal file
|
@ -0,0 +1 @@
|
||||||
|
**Permanent Waves** is a self-hosted Discord music bot based on [discord.js](https://github.com/discordjs/discord.js/).
|
13
audio_player.ts
Normal file
13
audio_player.ts
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
|
||||||
|
|
||||||
|
export class AudioPlayer {
|
||||||
|
audio?: AsyncIterableIterator<Uint8Array>;
|
||||||
|
playing = false;
|
||||||
|
|
||||||
|
play() {
|
||||||
|
if(this.playing) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
this.playing = true;
|
||||||
|
}
|
||||||
|
}
|
63
commands.ts
Normal file
63
commands.ts
Normal file
|
@ -0,0 +1,63 @@
|
||||||
|
import chalk from 'chalk';
|
||||||
|
import { Interaction } from 'discord.js';
|
||||||
|
|
||||||
|
import { MusicSubscription } from './subscription';
|
||||||
|
import { help } from "./commands/help.ts";
|
||||||
|
import { invalidCommand } from "./commands/invalid_command.ts";
|
||||||
|
import { leave } from "./commands/leave.ts";
|
||||||
|
import { loop } from "./commands/loop.ts"
|
||||||
|
import { np } from "./commands/np.ts";
|
||||||
|
import { pause } from "./commands/pause.ts";
|
||||||
|
import { play } from "./commands/play.ts";
|
||||||
|
import { skip } from "./commands/skip.ts";
|
||||||
|
import { unloop } from "./commands/unloop.ts";
|
||||||
|
|
||||||
|
export async function parseCommand(interaction: Interaction, subscription: MusicSubscription) {
|
||||||
|
if(!interaction) {
|
||||||
|
console.log(chalk.red("invalid interaction data was passed through somehow:"));
|
||||||
|
console.log(interaction);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
switch(interaction.commandName) {
|
||||||
|
case "help": {
|
||||||
|
await help(interaction);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case "leave": {
|
||||||
|
await leave(interaction, subscription);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case "loop": {
|
||||||
|
await loop(interaction, subscription);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case "np": {
|
||||||
|
await np(interaction, subscription);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case "pause": {
|
||||||
|
await pause(interaction, subscription);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case "play": {
|
||||||
|
await play(interaction, subscription);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case "skip": {
|
||||||
|
await skip(interaction, subscription);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case "stop": {
|
||||||
|
await pause(interaction, subscription);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case "unloop": {
|
||||||
|
await unloop(interaction, subscription);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
default: {
|
||||||
|
await invalidCommand(interaction, subscription);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
50
commands/help.ts
Normal file
50
commands/help.ts
Normal file
|
@ -0,0 +1,50 @@
|
||||||
|
import { Interaction } from 'discord.js';
|
||||||
|
|
||||||
|
const helpChoices = [
|
||||||
|
{
|
||||||
|
name: "play",
|
||||||
|
value: "play"
|
||||||
|
}
|
||||||
|
];
|
||||||
|
|
||||||
|
const helpResponse = {
|
||||||
|
content: `/help: displays this message\n/play: plays a song`,
|
||||||
|
ephemeral: true
|
||||||
|
}
|
||||||
|
|
||||||
|
const playResponse = {
|
||||||
|
content: `/play: Add a song or playlist to the queue and starts the music if it's not already playing
|
||||||
|
**Parameters:**
|
||||||
|
url: A URL or video ID of the song or playlist to play`,
|
||||||
|
ephemeral: true
|
||||||
|
}
|
||||||
|
|
||||||
|
export const helpCommand = {
|
||||||
|
name: "help",
|
||||||
|
description: "Lists the bot's commands and describes how to use them",
|
||||||
|
options: [
|
||||||
|
{
|
||||||
|
type: 'STRING' as const,
|
||||||
|
name: "command",
|
||||||
|
description: "Displays additional info about a particular command",
|
||||||
|
choices: helpChoices,
|
||||||
|
required: false
|
||||||
|
},
|
||||||
|
]
|
||||||
|
};
|
||||||
|
|
||||||
|
export async function help(interaction: Interaction) {
|
||||||
|
if(!interaction.guildId) return;
|
||||||
|
if(!interaction.data) return;
|
||||||
|
|
||||||
|
if(interaction.data.options) {
|
||||||
|
switch(interaction.data.options[0].value) {
|
||||||
|
case "play": {
|
||||||
|
await interaction.reply(playResponse);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
await interaction.reply(helpResponse);
|
||||||
|
}
|
||||||
|
}
|
11
commands/invalid_command.ts
Normal file
11
commands/invalid_command.ts
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
import { Interaction } from 'discord.js';
|
||||||
|
|
||||||
|
export async function invalidCommand(interaction: Interaction) {
|
||||||
|
if (!interaction.guildId) return;
|
||||||
|
await interaction.reply(invalidCommandResponse);
|
||||||
|
}
|
||||||
|
|
||||||
|
const invalidCommandResponse = {
|
||||||
|
content: `Either you somehow sent an invalid command or waves didn't understand the command for some reason. Try again or poke sykora about it.`,
|
||||||
|
ephemeral: true
|
||||||
|
}
|
27
commands/leave.ts
Normal file
27
commands/leave.ts
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
import { Interaction } from 'discord.js';
|
||||||
|
|
||||||
|
import { subscriptions } from "../index";
|
||||||
|
import { MusicSubscription } from '../subscription';
|
||||||
|
import { formatCallbackData, waitingForResponse } from "../utils";
|
||||||
|
|
||||||
|
const notInVoiceResponse = formatCallbackData(`Permanent Waves isn't currently in a voice channel.`);
|
||||||
|
|
||||||
|
const leftResponse = formatCallbackData(`Left channel.`);
|
||||||
|
|
||||||
|
export const leaveCommand = {
|
||||||
|
name: "leave",
|
||||||
|
description: "Makes the bot leave the current voice channel"
|
||||||
|
};
|
||||||
|
|
||||||
|
export async function leave(interaction: Interaction, subscription: MusicSubscription) {
|
||||||
|
if (!interaction.guildId) return;
|
||||||
|
await interaction.reply(waitingForResponse);
|
||||||
|
|
||||||
|
if(!subscription) {
|
||||||
|
await interaction.editReply(notInVoiceResponse);
|
||||||
|
} else {
|
||||||
|
subscription.voiceConnection.destroy();
|
||||||
|
subscriptions.delete(interaction.guildId);
|
||||||
|
await interaction.editReply(leftResponse);
|
||||||
|
}
|
||||||
|
}
|
39
commands/loop.ts
Normal file
39
commands/loop.ts
Normal file
|
@ -0,0 +1,39 @@
|
||||||
|
import { Interaction } from 'discord.js';
|
||||||
|
|
||||||
|
import { subscriptions } from "../index";
|
||||||
|
import { MusicSubscription } from '../subscription';
|
||||||
|
import { ensureVoiceConnection, formatCallbackData, waitingForResponse } from "../utils";
|
||||||
|
|
||||||
|
function alreadyLoopingResponse(interaction: Interaction) {
|
||||||
|
const subscription = subscriptions.get(interaction.guildId);
|
||||||
|
return formatCallbackData(`Looping is already enabled.
|
||||||
|
Currently playing: **${subscription.queue[0].title}**, added by ${subscription.queue[0].addedBy}`);
|
||||||
|
}
|
||||||
|
|
||||||
|
const nothingToLoopResponse = formatCallbackData(`The queue is empty.`);
|
||||||
|
|
||||||
|
function loopEnabledResponse(interaction: Interaction) {
|
||||||
|
const subscription = subscriptions.get(interaction.guildId);
|
||||||
|
return formatCallbackData(`Looping has been enabled.
|
||||||
|
Currently playing: **${subscription.queue[0].title}**, added by ${subscription.queue[0].addedBy}`);
|
||||||
|
}
|
||||||
|
|
||||||
|
export const loopCommand = {
|
||||||
|
name: "loop",
|
||||||
|
description: "Loops the currently playijng song. All other songs remain in the queue"
|
||||||
|
};
|
||||||
|
|
||||||
|
export async function loop(interaction: Interaction, subscription: MusicSubscription) {
|
||||||
|
if (!interaction.guildId) return;
|
||||||
|
await ensureVoiceConnection(interaction);
|
||||||
|
await interaction.reply(waitingForResponse);
|
||||||
|
|
||||||
|
if(subscription.queue.length === 0) {
|
||||||
|
await interaction.editReply(nothingToLoopResponse);
|
||||||
|
} else if(!subscription.looping){
|
||||||
|
subscription.looping = true;
|
||||||
|
await interaction.editReply(interaction);
|
||||||
|
} else {
|
||||||
|
await interaction.editReply(interaction);
|
||||||
|
}
|
||||||
|
}
|
48
commands/np.ts
Normal file
48
commands/np.ts
Normal file
|
@ -0,0 +1,48 @@
|
||||||
|
import { Interaction } from 'discord.js';
|
||||||
|
|
||||||
|
import { configs } from "../configs"
|
||||||
|
import { subscriptions } from "../index";
|
||||||
|
import { MusicSubscription } from '../subscription';
|
||||||
|
import { formatCallbackData, getAllowedTextChannel } from "../utils";
|
||||||
|
|
||||||
|
|
||||||
|
export async function np(interaction: Interaction) {
|
||||||
|
await interaction.reply(nowPlayingResponse(interaction));
|
||||||
|
}
|
||||||
|
|
||||||
|
function formatQueue(interaction: Interaction) {
|
||||||
|
let formattedText = "";
|
||||||
|
const subscription = subscriptions.get(interaction.guildId);
|
||||||
|
|
||||||
|
if(subscription.queue.length === 0) {
|
||||||
|
return "Nothing is currently in the queue.";
|
||||||
|
} else {
|
||||||
|
formattedText = `Now playing: [**${subscription.nowPlaying.title}**](${subscription.nowPlaying.url}), added by ${subscription.nowPlaying.addedBy}`
|
||||||
|
}
|
||||||
|
|
||||||
|
formattedText = formattedText.concat(`\nUp next:`);
|
||||||
|
|
||||||
|
subscription.queue.forEach((track) => {
|
||||||
|
formattedText = formattedText.concat(`\n- **${track.title}**, added by ${track.addedBy}`)
|
||||||
|
});
|
||||||
|
|
||||||
|
return formattedText;
|
||||||
|
}
|
||||||
|
|
||||||
|
function nowPlayingResponse(interaction: Interaction) {
|
||||||
|
return formatCallbackData(formatQueue(interaction), "In the queue");
|
||||||
|
}
|
||||||
|
|
||||||
|
function nowPlayingMessage(track: Track) {
|
||||||
|
return formatCallbackData(`Now playing: [**${track.title}**](${track.url}), added by ${track.addedBy}`);
|
||||||
|
}
|
||||||
|
|
||||||
|
export async function nowPlayingCallback(subscription: MusicSubscription) {
|
||||||
|
const channel = await getAllowedTextChannel(subscription);
|
||||||
|
await channel.send(nowPlayingMessage(subscription.nowPlaying));
|
||||||
|
}
|
||||||
|
|
||||||
|
export const npCommand = {
|
||||||
|
name: "np",
|
||||||
|
description: "Shows the currently-playing song along with the next five songs in the queue"
|
||||||
|
};
|
41
commands/pause.ts
Normal file
41
commands/pause.ts
Normal file
|
@ -0,0 +1,41 @@
|
||||||
|
import { Interaction } from 'discord.js';
|
||||||
|
|
||||||
|
import { subscriptions } from "../index.js";
|
||||||
|
import { MusicSubscription } from '../subscription';
|
||||||
|
import { ensureVoiceConnection, formatCallbackData, waitingForResponse } from "../utils";
|
||||||
|
|
||||||
|
const alreadyPausedResponse = formatCallbackData(`The player is already paused.`);
|
||||||
|
|
||||||
|
const emptyQueueResponse = formatCallbackData(`There's nothing in the queue right now.`);
|
||||||
|
|
||||||
|
const nowPausedResponse = formatCallbackData(`The player has been paused.`);
|
||||||
|
|
||||||
|
export const pauseCommand = {
|
||||||
|
name: "pause",
|
||||||
|
description: "Pauses the player"
|
||||||
|
};
|
||||||
|
|
||||||
|
export const stopCommand = {
|
||||||
|
name: "stop",
|
||||||
|
description: "Pauses the player, alias for /pause"
|
||||||
|
};
|
||||||
|
|
||||||
|
export async function pause(interaction: Interaction) {
|
||||||
|
if (!interaction.guildId) return;
|
||||||
|
const subscription = subscriptions.get(interaction.guildId);
|
||||||
|
await ensureVoiceConnection(interaction);
|
||||||
|
await interaction.reply(waitingForResponse);
|
||||||
|
|
||||||
|
if(subscription.playing) {
|
||||||
|
if(player.nowPlaying) {
|
||||||
|
await subscription.audioPlayer.pause();
|
||||||
|
subscription.playing = false;
|
||||||
|
await interaction.editReply(nowPausedResponse);
|
||||||
|
} else {
|
||||||
|
await interaction.editReply(emptyQueueResponse);
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
await interaction.editReply(alreadyPausedResponse);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
99
commands/play.ts
Normal file
99
commands/play.ts
Normal file
|
@ -0,0 +1,99 @@
|
||||||
|
import { Interaction } from 'discord.js';
|
||||||
|
import { YouTube } from "youtube-sr";
|
||||||
|
|
||||||
|
import { nowPlayingCallback } from './np.ts';
|
||||||
|
import { subscriptions } from "../index.js";
|
||||||
|
import { MusicSubscription } from '../subscription';
|
||||||
|
import { Track } from '../track';
|
||||||
|
import { ensureVoiceConnection, formatCallbackData, isPlaylist, waitingForResponse } from "../utils";
|
||||||
|
|
||||||
|
function addedPlaylistResponse(interaction: Interaction, url: string, length: number, title: string) {
|
||||||
|
return formatCallbackData(`${interaction.user.username} added ${length} videos from [**${title}**](${url}) to the queue.`);
|
||||||
|
}
|
||||||
|
|
||||||
|
function addedSongResponse(interaction: Interaction, title: string) {
|
||||||
|
return formatCallbackData(`${interaction.user.username} added [**${title}**](${interaction.options.get('url').value as string}) to the queue.`);
|
||||||
|
}
|
||||||
|
|
||||||
|
function alreadyPlayingResponse(bot: Bot, interaction: Interaction) {
|
||||||
|
const subscription = subscriptions.get(interaction.guildId);
|
||||||
|
return formatCallbackData(`The bot is already playing.
|
||||||
|
Currently playing: **${interaction.queue[0].title}**, added by ${interaction.queue[0].addedBy}`);
|
||||||
|
}
|
||||||
|
|
||||||
|
const badUrlResponse = formatCallbackData(`Bad URL, please enter a URL that starts with https://youtube.com or https://youtu.be.`);
|
||||||
|
|
||||||
|
const emptyQueueResponse = formatCallbackData(`There's nothing in the queue to play right now.`);
|
||||||
|
|
||||||
|
function nowPlayingResponse(bot: Bot, interaction: Interaction) {
|
||||||
|
const player = bot.helpers.getPlayer(interaction.guildId);
|
||||||
|
return formatCallbackData(`The bot has started playing again.
|
||||||
|
Currently playing: **${player.nowPlaying.title}**, added by ${player.nowPlaying.added_by}`);
|
||||||
|
}
|
||||||
|
|
||||||
|
export const playCommand = {
|
||||||
|
name: "play",
|
||||||
|
description: "Adds a song or playlist to the queue and starts the music if it's not already playing",
|
||||||
|
dmPermission: false,
|
||||||
|
options: [
|
||||||
|
{
|
||||||
|
type: 'STRING' as const,
|
||||||
|
name: "url",
|
||||||
|
description: "The URL or video ID of the song or playlist to play",
|
||||||
|
required: false
|
||||||
|
}
|
||||||
|
]
|
||||||
|
};
|
||||||
|
|
||||||
|
export async function play(interaction: Interaction) {
|
||||||
|
if (!interaction.guildId) return;
|
||||||
|
await interaction.reply(waitingForResponse);
|
||||||
|
await ensureVoiceConnection(interaction);
|
||||||
|
const subscription = subscriptions.get(interaction.guildId);
|
||||||
|
|
||||||
|
if(interaction.options.get('url') !== undefined) {
|
||||||
|
const url = interaction.options.get('url')!.value! as string;
|
||||||
|
|
||||||
|
if(isPlaylist(url)) {
|
||||||
|
const videos = await YouTube.getPlaylist(url, {fetchAll: true});
|
||||||
|
videos.videos.forEach(async (video) => {
|
||||||
|
const track = await createTrack(interaction, subscription, `https://youtube.com/watch?v=${video.id}`);
|
||||||
|
await subscription.enqueue(track);
|
||||||
|
});
|
||||||
|
await interaction.editReply(addedPlaylistResponse(interaction, url, videos.videos.length, videos.title));
|
||||||
|
} else {
|
||||||
|
const track = await createTrack(interaction, subscription, url);
|
||||||
|
await subscription.enqueue(track);
|
||||||
|
await interaction.editReply(addedSongResponse(interaction, track.title))
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
if(!subscription.playing) {
|
||||||
|
if(subscription.queue.length === 0) {
|
||||||
|
await interaction.editReply(emptyQueueResponse);
|
||||||
|
} else {
|
||||||
|
subscription.audioPlayer.unpause();
|
||||||
|
await interaction.editReply(nowPlayingResponse(interaction));
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
await interaction.editReply(alreadyPlayingResponse(interaction))
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
async function createTrack(interaction: Interaction, subscription: MusicSubscription, url: string) {
|
||||||
|
return await Track.from(url, interaction.user.displayName, {
|
||||||
|
onStart() {
|
||||||
|
try {
|
||||||
|
nowPlayingCallback(subscription);
|
||||||
|
} catch {
|
||||||
|
console.warn();
|
||||||
|
}
|
||||||
|
},
|
||||||
|
onFinish() {
|
||||||
|
},
|
||||||
|
onError(error) {
|
||||||
|
console.warn(error);
|
||||||
|
interaction.followUp({ content: `Error: ${error.message}`, ephemeral: true }).catch(console.warn);
|
||||||
|
},
|
||||||
|
});
|
||||||
|
}
|
27
commands/skip.ts
Normal file
27
commands/skip.ts
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
import { Interaction } from 'discord.js';
|
||||||
|
|
||||||
|
import { subscriptions } from "../index";
|
||||||
|
import { ensureVoiceConnection, formatCallbackData, waitingForResponse } from "../utils";
|
||||||
|
|
||||||
|
const nothingToSkipResponse = formatCallbackData(`The queue is empty.`);
|
||||||
|
|
||||||
|
const skippedResponse = formatCallbackData(`The song has been skipped.`);
|
||||||
|
|
||||||
|
export const skipCommand = {
|
||||||
|
name: "skip",
|
||||||
|
description: "Skips the current song"
|
||||||
|
};
|
||||||
|
|
||||||
|
export async function skip( interaction: Interaction) {
|
||||||
|
if (!interaction.guildId) return;
|
||||||
|
await ensureVoiceConnection(interaction);
|
||||||
|
const subscription = subscriptions.get(interaction.guildId);
|
||||||
|
await interaction.followUp(waitingForResponse);
|
||||||
|
|
||||||
|
if(!subscription.playing) {
|
||||||
|
await interaction.editReply(nothingToSkipResponse);
|
||||||
|
} else {
|
||||||
|
await subscription.audioPlayer.stop();
|
||||||
|
await interaction.editReply(skippedResponse);
|
||||||
|
}
|
||||||
|
}
|
39
commands/unloop.ts
Normal file
39
commands/unloop.ts
Normal file
|
@ -0,0 +1,39 @@
|
||||||
|
import { Interaction } from 'discord.js';
|
||||||
|
|
||||||
|
import { subscriptions } from "../index.js";
|
||||||
|
import { ensureVoiceConnection, formatCallbackData, waitingForResponse } from "../utils.ts";
|
||||||
|
|
||||||
|
function notLoopingResponse(interaction: Interaction) {
|
||||||
|
const subscription = subscriptions.get(interaction.guildId);
|
||||||
|
return formatCallbackData(`Looping is already disabled.
|
||||||
|
Currently playing: **${subscription.queue[0].title}**, added by ${subscriptions.queue[0].added_by}`);
|
||||||
|
}
|
||||||
|
|
||||||
|
const nothingToLoopResponse = formatCallbackData(`The queue is empty.`);
|
||||||
|
|
||||||
|
function loopDisabledResponse(interaction: Interaction) {
|
||||||
|
const subscription = subscriptions.get(interaction.guildId);
|
||||||
|
return formatCallbackData(`Looping the current song has been disabled.
|
||||||
|
Currently playing: **${subscription.queue[0].title}**, added by ${subscription.queue[0].addedBy}`);
|
||||||
|
}
|
||||||
|
|
||||||
|
export const unloopCommand = {
|
||||||
|
name: "unloop",
|
||||||
|
description: "Disables looping the current song. At the current song's end, the queue will proceed as normal."
|
||||||
|
};
|
||||||
|
|
||||||
|
export async function unloop(interaction: Interaction) {
|
||||||
|
if (!interaction.guildId) return;
|
||||||
|
await ensureVoiceConnection(interaction);
|
||||||
|
const subscription = subscriptions.get(interaction.guildId);
|
||||||
|
await interaction.reply(waitingForResponse);
|
||||||
|
|
||||||
|
if(!subscription.playing) {
|
||||||
|
await interaction.editReply(interaction.token, nothingToLoopResponse);
|
||||||
|
} else if(subscription.looping){
|
||||||
|
subscription.audioPlayer.loop = false;
|
||||||
|
await interaction.editReply(loopDisabledResponse(interaction));
|
||||||
|
} else {
|
||||||
|
await interaction.editReply(notLoopingResponse(interaction));
|
||||||
|
}
|
||||||
|
}
|
11
configs.ts.example
Normal file
11
configs.ts.example
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
export const configs = {
|
||||||
|
project_root: "/permanent-waves",
|
||||||
|
discord_token: "",
|
||||||
|
allowed_text_channels: [
|
||||||
|
"server:bot-channel"
|
||||||
|
],
|
||||||
|
allowed_voice_channels: [
|
||||||
|
"server:general"
|
||||||
|
],
|
||||||
|
embed_color: 5639994
|
||||||
|
};
|
40
index.js
Normal file
40
index.js
Normal file
|
@ -0,0 +1,40 @@
|
||||||
|
import chalk from 'chalk';
|
||||||
|
import Discord, { GatewayIntentBits } from 'discord.js';
|
||||||
|
import { Track } from "./track";
|
||||||
|
import { MusicSubscription } from './subscription';
|
||||||
|
import { configs } from "./configs.ts";
|
||||||
|
import { parseCommand } from "./commands.ts";
|
||||||
|
import { helpCommand } from "./commands/help.ts";
|
||||||
|
import { leaveCommand } from "./commands/leave.ts";
|
||||||
|
import { loopCommand } from "./commands/loop.ts";
|
||||||
|
import { npCommand } from "./commands/np.ts";
|
||||||
|
import { pauseCommand, stopCommand } from "./commands/pause.ts";
|
||||||
|
import { playCommand } from "./commands/play.ts";
|
||||||
|
import { skipCommand } from "./commands/skip.ts";
|
||||||
|
import { unloopCommand } from "./commands/unloop.ts";
|
||||||
|
|
||||||
|
|
||||||
|
export const client = new Discord.Client({ intents: [GatewayIntentBits.GuildVoiceStates, GatewayIntentBits.GuildMessages, GatewayIntentBits.Guilds] });
|
||||||
|
export const subscriptions = new Map();
|
||||||
|
|
||||||
|
client.on('ready', () => {
|
||||||
|
//await registerCommands(bot);
|
||||||
|
console.log(`${chalk.cyan("permanent waves")} is ready to go`);
|
||||||
|
});
|
||||||
|
|
||||||
|
client.on('interactionCreate', async (interaction) => {
|
||||||
|
if (!interaction.isCommand() || !interaction.guildId) return;
|
||||||
|
let subscription = subscriptions.get(interaction.guildId);
|
||||||
|
parseCommand(interaction, subscription);
|
||||||
|
});
|
||||||
|
|
||||||
|
client.on('error', (e) => {
|
||||||
|
console.warn;
|
||||||
|
console.log(e);
|
||||||
|
});
|
||||||
|
|
||||||
|
void client.login(configs.discord_token);
|
||||||
|
|
||||||
|
async function registerCommands() {
|
||||||
|
//console.log(await upsertGlobalApplicationCommands(bot, [helpCommand, leaveCommand, loopCommand, npCommand, pauseCommand, playCommand, skipCommand, stopCommand, unloopCommand]));
|
||||||
|
}
|
1
node_modules/.bin/color-support
generated
vendored
Symbolic link
1
node_modules/.bin/color-support
generated
vendored
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
../color-support/bin.js
|
1
node_modules/.bin/esbuild
generated
vendored
Symbolic link
1
node_modules/.bin/esbuild
generated
vendored
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
../esbuild/bin/esbuild
|
1
node_modules/.bin/mkdirp
generated
vendored
Symbolic link
1
node_modules/.bin/mkdirp
generated
vendored
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
../mkdirp/bin/cmd.js
|
1
node_modules/.bin/node-pre-gyp
generated
vendored
Symbolic link
1
node_modules/.bin/node-pre-gyp
generated
vendored
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
../@discordjs/node-pre-gyp/bin/node-pre-gyp
|
1
node_modules/.bin/nopt
generated
vendored
Symbolic link
1
node_modules/.bin/nopt
generated
vendored
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
../nopt/bin/nopt.js
|
1
node_modules/.bin/rimraf
generated
vendored
Symbolic link
1
node_modules/.bin/rimraf
generated
vendored
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
../rimraf/bin.js
|
1
node_modules/.bin/tsx
generated
vendored
Symbolic link
1
node_modules/.bin/tsx
generated
vendored
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
../tsx/dist/cli.mjs
|
667
node_modules/.package-lock.json
generated
vendored
Normal file
667
node_modules/.package-lock.json
generated
vendored
Normal file
|
@ -0,0 +1,667 @@
|
||||||
|
{
|
||||||
|
"name": "permanent-waves",
|
||||||
|
"version": "1.0.0",
|
||||||
|
"lockfileVersion": 3,
|
||||||
|
"requires": true,
|
||||||
|
"packages": {
|
||||||
|
"node_modules/@derhuerst/http-basic": {
|
||||||
|
"version": "8.2.4",
|
||||||
|
"resolved": "https://registry.npmjs.org/@derhuerst/http-basic/-/http-basic-8.2.4.tgz",
|
||||||
|
"integrity": "sha512-F9rL9k9Xjf5blCz8HsJRO4diy111cayL2vkY2XE4r4t3n0yPXVYy3KD3nJ1qbrSn9743UWSXH4IwuCa/HWlGFw==",
|
||||||
|
"dependencies": {
|
||||||
|
"caseless": "^0.12.0",
|
||||||
|
"concat-stream": "^2.0.0",
|
||||||
|
"http-response-object": "^3.0.1",
|
||||||
|
"parse-cache-control": "^1.0.1"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": ">=6.0.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@discordjs/builders": {
|
||||||
|
"version": "1.7.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/@discordjs/builders/-/builders-1.7.0.tgz",
|
||||||
|
"integrity": "sha512-GDtbKMkg433cOZur8Dv6c25EHxduNIBsxeHrsRoIM8+AwmEZ8r0tEpckx/sHwTLwQPOF3e2JWloZh9ofCaMfAw==",
|
||||||
|
"dependencies": {
|
||||||
|
"@discordjs/formatters": "^0.3.3",
|
||||||
|
"@discordjs/util": "^1.0.2",
|
||||||
|
"@sapphire/shapeshift": "^3.9.3",
|
||||||
|
"discord-api-types": "0.37.61",
|
||||||
|
"fast-deep-equal": "^3.1.3",
|
||||||
|
"ts-mixer": "^6.0.3",
|
||||||
|
"tslib": "^2.6.2"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": ">=16.11.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@discordjs/collection": {
|
||||||
|
"version": "1.5.3",
|
||||||
|
"resolved": "https://registry.npmjs.org/@discordjs/collection/-/collection-1.5.3.tgz",
|
||||||
|
"integrity": "sha512-SVb428OMd3WO1paV3rm6tSjM4wC+Kecaa1EUGX7vc6/fddvw/6lg90z4QtCqm21zvVe92vMMDt9+DkIvjXImQQ==",
|
||||||
|
"engines": {
|
||||||
|
"node": ">=16.11.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@discordjs/formatters": {
|
||||||
|
"version": "0.3.3",
|
||||||
|
"resolved": "https://registry.npmjs.org/@discordjs/formatters/-/formatters-0.3.3.tgz",
|
||||||
|
"integrity": "sha512-wTcI1Q5cps1eSGhl6+6AzzZkBBlVrBdc9IUhJbijRgVjCNIIIZPgqnUj3ntFODsHrdbGU8BEG9XmDQmgEEYn3w==",
|
||||||
|
"dependencies": {
|
||||||
|
"discord-api-types": "0.37.61"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": ">=16.11.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@discordjs/rest": {
|
||||||
|
"version": "2.2.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/@discordjs/rest/-/rest-2.2.0.tgz",
|
||||||
|
"integrity": "sha512-nXm9wT8oqrYFRMEqTXQx9DUTeEtXUDMmnUKIhZn6O2EeDY9VCdwj23XCPq7fkqMPKdF7ldAfeVKyxxFdbZl59A==",
|
||||||
|
"dependencies": {
|
||||||
|
"@discordjs/collection": "^2.0.0",
|
||||||
|
"@discordjs/util": "^1.0.2",
|
||||||
|
"@sapphire/async-queue": "^1.5.0",
|
||||||
|
"@sapphire/snowflake": "^3.5.1",
|
||||||
|
"@vladfrangu/async_event_emitter": "^2.2.2",
|
||||||
|
"discord-api-types": "0.37.61",
|
||||||
|
"magic-bytes.js": "^1.5.0",
|
||||||
|
"tslib": "^2.6.2",
|
||||||
|
"undici": "5.27.2"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": ">=16.11.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@discordjs/rest/node_modules/@discordjs/collection": {
|
||||||
|
"version": "2.0.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/@discordjs/collection/-/collection-2.0.0.tgz",
|
||||||
|
"integrity": "sha512-YTWIXLrf5FsrLMycpMM9Q6vnZoR/lN2AWX23/Cuo8uOOtS8eHB2dyQaaGnaF8aZPYnttf2bkLMcXn/j6JUOi3w==",
|
||||||
|
"engines": {
|
||||||
|
"node": ">=18"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@discordjs/util": {
|
||||||
|
"version": "1.0.2",
|
||||||
|
"resolved": "https://registry.npmjs.org/@discordjs/util/-/util-1.0.2.tgz",
|
||||||
|
"integrity": "sha512-IRNbimrmfb75GMNEjyznqM1tkI7HrZOf14njX7tCAAUetyZM1Pr8hX/EK2lxBCOgWDRmigbp24fD1hdMfQK5lw==",
|
||||||
|
"engines": {
|
||||||
|
"node": ">=16.11.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@discordjs/voice": {
|
||||||
|
"version": "0.16.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/@discordjs/voice/-/voice-0.16.1.tgz",
|
||||||
|
"integrity": "sha512-uiWiW0Ta6K473yf8zs13RfKuPqm/xU4m4dAidMkIdwqgy1CztbbZBtPLfDkVSKzpW7s6m072C+uQcs4LwF3FhA==",
|
||||||
|
"dependencies": {
|
||||||
|
"@types/ws": "^8.5.9",
|
||||||
|
"discord-api-types": "0.37.61",
|
||||||
|
"prism-media": "^1.3.5",
|
||||||
|
"tslib": "^2.6.2",
|
||||||
|
"ws": "^8.14.2"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": ">=16.11.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@discordjs/ws": {
|
||||||
|
"version": "1.0.2",
|
||||||
|
"resolved": "https://registry.npmjs.org/@discordjs/ws/-/ws-1.0.2.tgz",
|
||||||
|
"integrity": "sha512-+XI82Rm2hKnFwAySXEep4A7Kfoowt6weO6381jgW+wVdTpMS/56qCvoXyFRY0slcv7c/U8My2PwIB2/wEaAh7Q==",
|
||||||
|
"dependencies": {
|
||||||
|
"@discordjs/collection": "^2.0.0",
|
||||||
|
"@discordjs/rest": "^2.1.0",
|
||||||
|
"@discordjs/util": "^1.0.2",
|
||||||
|
"@sapphire/async-queue": "^1.5.0",
|
||||||
|
"@types/ws": "^8.5.9",
|
||||||
|
"@vladfrangu/async_event_emitter": "^2.2.2",
|
||||||
|
"discord-api-types": "0.37.61",
|
||||||
|
"tslib": "^2.6.2",
|
||||||
|
"ws": "^8.14.2"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": ">=16.11.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@discordjs/ws/node_modules/@discordjs/collection": {
|
||||||
|
"version": "2.0.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/@discordjs/collection/-/collection-2.0.0.tgz",
|
||||||
|
"integrity": "sha512-YTWIXLrf5FsrLMycpMM9Q6vnZoR/lN2AWX23/Cuo8uOOtS8eHB2dyQaaGnaF8aZPYnttf2bkLMcXn/j6JUOi3w==",
|
||||||
|
"engines": {
|
||||||
|
"node": ">=18"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@esbuild/linux-x64": {
|
||||||
|
"version": "0.19.12",
|
||||||
|
"resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.19.12.tgz",
|
||||||
|
"integrity": "sha512-B71g1QpxfwBvNrfyJdVDexenDIt1CiDN1TIXLbhOw0KhJzE78KIFGX6OJ9MrtC0oOqMWf+0xop4qEU8JrJTwCg==",
|
||||||
|
"cpu": [
|
||||||
|
"x64"
|
||||||
|
],
|
||||||
|
"dev": true,
|
||||||
|
"optional": true,
|
||||||
|
"os": [
|
||||||
|
"linux"
|
||||||
|
],
|
||||||
|
"engines": {
|
||||||
|
"node": ">=12"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@fastify/busboy": {
|
||||||
|
"version": "2.1.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/@fastify/busboy/-/busboy-2.1.1.tgz",
|
||||||
|
"integrity": "sha512-vBZP4NlzfOlerQTnba4aqZoMhE/a9HY7HRqoOPaETQcSQuWEIyZMHGfVu6w9wGtGK5fED5qRs2DteVCjOH60sA==",
|
||||||
|
"engines": {
|
||||||
|
"node": ">=14"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@sapphire/async-queue": {
|
||||||
|
"version": "1.5.2",
|
||||||
|
"resolved": "https://registry.npmjs.org/@sapphire/async-queue/-/async-queue-1.5.2.tgz",
|
||||||
|
"integrity": "sha512-7X7FFAA4DngXUl95+hYbUF19bp1LGiffjJtu7ygrZrbdCSsdDDBaSjB7Akw0ZbOu6k0xpXyljnJ6/RZUvLfRdg==",
|
||||||
|
"engines": {
|
||||||
|
"node": ">=v14.0.0",
|
||||||
|
"npm": ">=7.0.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@sapphire/shapeshift": {
|
||||||
|
"version": "3.9.7",
|
||||||
|
"resolved": "https://registry.npmjs.org/@sapphire/shapeshift/-/shapeshift-3.9.7.tgz",
|
||||||
|
"integrity": "sha512-4It2mxPSr4OGn4HSQWGmhFMsNFGfFVhWeRPCRwbH972Ek2pzfGRZtb0pJ4Ze6oIzcyh2jw7nUDa6qGlWofgd9g==",
|
||||||
|
"dependencies": {
|
||||||
|
"fast-deep-equal": "^3.1.3",
|
||||||
|
"lodash": "^4.17.21"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": ">=v16"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@sapphire/snowflake": {
|
||||||
|
"version": "3.5.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/@sapphire/snowflake/-/snowflake-3.5.1.tgz",
|
||||||
|
"integrity": "sha512-BxcYGzgEsdlG0dKAyOm0ehLGm2CafIrfQTZGWgkfKYbj+pNNsorZ7EotuZukc2MT70E0UbppVbtpBrqpzVzjNA==",
|
||||||
|
"engines": {
|
||||||
|
"node": ">=v14.0.0",
|
||||||
|
"npm": ">=7.0.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@types/node": {
|
||||||
|
"version": "20.12.7",
|
||||||
|
"resolved": "https://registry.npmjs.org/@types/node/-/node-20.12.7.tgz",
|
||||||
|
"integrity": "sha512-wq0cICSkRLVaf3UGLMGItu/PtdY7oaXaI/RVU+xliKVOtRna3PRY57ZDfztpDL0n11vfymMUnXv8QwYCO7L1wg==",
|
||||||
|
"dependencies": {
|
||||||
|
"undici-types": "~5.26.4"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@types/ws": {
|
||||||
|
"version": "8.5.9",
|
||||||
|
"resolved": "https://registry.npmjs.org/@types/ws/-/ws-8.5.9.tgz",
|
||||||
|
"integrity": "sha512-jbdrY0a8lxfdTp/+r7Z4CkycbOFN8WX+IOchLJr3juT/xzbJ8URyTVSJ/hvNdadTgM1mnedb47n+Y31GsFnQlg==",
|
||||||
|
"dependencies": {
|
||||||
|
"@types/node": "*"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@vladfrangu/async_event_emitter": {
|
||||||
|
"version": "2.2.4",
|
||||||
|
"resolved": "https://registry.npmjs.org/@vladfrangu/async_event_emitter/-/async_event_emitter-2.2.4.tgz",
|
||||||
|
"integrity": "sha512-ButUPz9E9cXMLgvAW8aLAKKJJsPu1dY1/l/E8xzLFuysowXygs6GBcyunK9rnGC4zTsnIc2mQo71rGw9U+Ykug==",
|
||||||
|
"engines": {
|
||||||
|
"node": ">=v14.0.0",
|
||||||
|
"npm": ">=7.0.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/agent-base": {
|
||||||
|
"version": "6.0.2",
|
||||||
|
"resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz",
|
||||||
|
"integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==",
|
||||||
|
"dependencies": {
|
||||||
|
"debug": "4"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": ">= 6.0.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/buffer-from": {
|
||||||
|
"version": "1.1.2",
|
||||||
|
"resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz",
|
||||||
|
"integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ=="
|
||||||
|
},
|
||||||
|
"node_modules/caseless": {
|
||||||
|
"version": "0.12.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz",
|
||||||
|
"integrity": "sha512-4tYFyifaFfGacoiObjJegolkwSU4xQNGbVgUiNYVUxbQ2x2lUsFvY4hVgVzGiIe6WLOPqycWXA40l+PWsxthUw=="
|
||||||
|
},
|
||||||
|
"node_modules/chalk": {
|
||||||
|
"version": "5.3.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/chalk/-/chalk-5.3.0.tgz",
|
||||||
|
"integrity": "sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w==",
|
||||||
|
"engines": {
|
||||||
|
"node": "^12.17.0 || ^14.13 || >=16.0.0"
|
||||||
|
},
|
||||||
|
"funding": {
|
||||||
|
"url": "https://github.com/chalk/chalk?sponsor=1"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/concat-stream": {
|
||||||
|
"version": "2.0.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-2.0.0.tgz",
|
||||||
|
"integrity": "sha512-MWufYdFw53ccGjCA+Ol7XJYpAlW6/prSMzuPOTRnJGcGzuhLn4Scrz7qf6o8bROZ514ltazcIFJZevcfbo0x7A==",
|
||||||
|
"engines": [
|
||||||
|
"node >= 6.0"
|
||||||
|
],
|
||||||
|
"dependencies": {
|
||||||
|
"buffer-from": "^1.0.0",
|
||||||
|
"inherits": "^2.0.3",
|
||||||
|
"readable-stream": "^3.0.2",
|
||||||
|
"typedarray": "^0.0.6"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/debug": {
|
||||||
|
"version": "4.3.4",
|
||||||
|
"resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz",
|
||||||
|
"integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==",
|
||||||
|
"dependencies": {
|
||||||
|
"ms": "2.1.2"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": ">=6.0"
|
||||||
|
},
|
||||||
|
"peerDependenciesMeta": {
|
||||||
|
"supports-color": {
|
||||||
|
"optional": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/discord-api-types": {
|
||||||
|
"version": "0.37.61",
|
||||||
|
"resolved": "https://registry.npmjs.org/discord-api-types/-/discord-api-types-0.37.61.tgz",
|
||||||
|
"integrity": "sha512-o/dXNFfhBpYHpQFdT6FWzeO7pKc838QeeZ9d91CfVAtpr5XLK4B/zYxQbYgPdoMiTDvJfzcsLW5naXgmHGDNXw=="
|
||||||
|
},
|
||||||
|
"node_modules/discord.js": {
|
||||||
|
"version": "14.14.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/discord.js/-/discord.js-14.14.1.tgz",
|
||||||
|
"integrity": "sha512-/hUVzkIerxKHyRKopJy5xejp4MYKDPTszAnpYxzVVv4qJYf+Tkt+jnT2N29PIPschicaEEpXwF2ARrTYHYwQ5w==",
|
||||||
|
"dependencies": {
|
||||||
|
"@discordjs/builders": "^1.7.0",
|
||||||
|
"@discordjs/collection": "1.5.3",
|
||||||
|
"@discordjs/formatters": "^0.3.3",
|
||||||
|
"@discordjs/rest": "^2.1.0",
|
||||||
|
"@discordjs/util": "^1.0.2",
|
||||||
|
"@discordjs/ws": "^1.0.2",
|
||||||
|
"@sapphire/snowflake": "3.5.1",
|
||||||
|
"@types/ws": "8.5.9",
|
||||||
|
"discord-api-types": "0.37.61",
|
||||||
|
"fast-deep-equal": "3.1.3",
|
||||||
|
"lodash.snakecase": "4.1.1",
|
||||||
|
"tslib": "2.6.2",
|
||||||
|
"undici": "5.27.2",
|
||||||
|
"ws": "8.14.2"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": ">=16.11.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/env-paths": {
|
||||||
|
"version": "2.2.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/env-paths/-/env-paths-2.2.1.tgz",
|
||||||
|
"integrity": "sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A==",
|
||||||
|
"engines": {
|
||||||
|
"node": ">=6"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/esbuild": {
|
||||||
|
"version": "0.19.12",
|
||||||
|
"resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.19.12.tgz",
|
||||||
|
"integrity": "sha512-aARqgq8roFBj054KvQr5f1sFu0D65G+miZRCuJyJ0G13Zwx7vRar5Zhn2tkQNzIXcBrNVsv/8stehpj+GAjgbg==",
|
||||||
|
"dev": true,
|
||||||
|
"hasInstallScript": true,
|
||||||
|
"bin": {
|
||||||
|
"esbuild": "bin/esbuild"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": ">=12"
|
||||||
|
},
|
||||||
|
"optionalDependencies": {
|
||||||
|
"@esbuild/aix-ppc64": "0.19.12",
|
||||||
|
"@esbuild/android-arm": "0.19.12",
|
||||||
|
"@esbuild/android-arm64": "0.19.12",
|
||||||
|
"@esbuild/android-x64": "0.19.12",
|
||||||
|
"@esbuild/darwin-arm64": "0.19.12",
|
||||||
|
"@esbuild/darwin-x64": "0.19.12",
|
||||||
|
"@esbuild/freebsd-arm64": "0.19.12",
|
||||||
|
"@esbuild/freebsd-x64": "0.19.12",
|
||||||
|
"@esbuild/linux-arm": "0.19.12",
|
||||||
|
"@esbuild/linux-arm64": "0.19.12",
|
||||||
|
"@esbuild/linux-ia32": "0.19.12",
|
||||||
|
"@esbuild/linux-loong64": "0.19.12",
|
||||||
|
"@esbuild/linux-mips64el": "0.19.12",
|
||||||
|
"@esbuild/linux-ppc64": "0.19.12",
|
||||||
|
"@esbuild/linux-riscv64": "0.19.12",
|
||||||
|
"@esbuild/linux-s390x": "0.19.12",
|
||||||
|
"@esbuild/linux-x64": "0.19.12",
|
||||||
|
"@esbuild/netbsd-x64": "0.19.12",
|
||||||
|
"@esbuild/openbsd-x64": "0.19.12",
|
||||||
|
"@esbuild/sunos-x64": "0.19.12",
|
||||||
|
"@esbuild/win32-arm64": "0.19.12",
|
||||||
|
"@esbuild/win32-ia32": "0.19.12",
|
||||||
|
"@esbuild/win32-x64": "0.19.12"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/fast-deep-equal": {
|
||||||
|
"version": "3.1.3",
|
||||||
|
"resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz",
|
||||||
|
"integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q=="
|
||||||
|
},
|
||||||
|
"node_modules/ffmpeg-static": {
|
||||||
|
"version": "5.2.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/ffmpeg-static/-/ffmpeg-static-5.2.0.tgz",
|
||||||
|
"integrity": "sha512-WrM7kLW+do9HLr+H6tk7LzQ7kPqbAgLjdzNE32+u3Ff11gXt9Kkkd2nusGFrlWMIe+XaA97t+I8JS7sZIrvRgA==",
|
||||||
|
"hasInstallScript": true,
|
||||||
|
"dependencies": {
|
||||||
|
"@derhuerst/http-basic": "^8.2.0",
|
||||||
|
"env-paths": "^2.2.0",
|
||||||
|
"https-proxy-agent": "^5.0.0",
|
||||||
|
"progress": "^2.0.3"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": ">=16"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/get-tsconfig": {
|
||||||
|
"version": "4.7.3",
|
||||||
|
"resolved": "https://registry.npmjs.org/get-tsconfig/-/get-tsconfig-4.7.3.tgz",
|
||||||
|
"integrity": "sha512-ZvkrzoUA0PQZM6fy6+/Hce561s+faD1rsNwhnO5FelNjyy7EMGJ3Rz1AQ8GYDWjhRs/7dBLOEJvhK8MiEJOAFg==",
|
||||||
|
"dev": true,
|
||||||
|
"dependencies": {
|
||||||
|
"resolve-pkg-maps": "^1.0.0"
|
||||||
|
},
|
||||||
|
"funding": {
|
||||||
|
"url": "https://github.com/privatenumber/get-tsconfig?sponsor=1"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/http-response-object": {
|
||||||
|
"version": "3.0.2",
|
||||||
|
"resolved": "https://registry.npmjs.org/http-response-object/-/http-response-object-3.0.2.tgz",
|
||||||
|
"integrity": "sha512-bqX0XTF6fnXSQcEJ2Iuyr75yVakyjIDCqroJQ/aHfSdlM743Cwqoi2nDYMzLGWUcuTWGWy8AAvOKXTfiv6q9RA==",
|
||||||
|
"dependencies": {
|
||||||
|
"@types/node": "^10.0.3"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/http-response-object/node_modules/@types/node": {
|
||||||
|
"version": "10.17.60",
|
||||||
|
"resolved": "https://registry.npmjs.org/@types/node/-/node-10.17.60.tgz",
|
||||||
|
"integrity": "sha512-F0KIgDJfy2nA3zMLmWGKxcH2ZVEtCZXHHdOQs2gSaQ27+lNeEfGxzkIw90aXswATX7AZ33tahPbzy6KAfUreVw=="
|
||||||
|
},
|
||||||
|
"node_modules/https-proxy-agent": {
|
||||||
|
"version": "5.0.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz",
|
||||||
|
"integrity": "sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==",
|
||||||
|
"dependencies": {
|
||||||
|
"agent-base": "6",
|
||||||
|
"debug": "4"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": ">= 6"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/inherits": {
|
||||||
|
"version": "2.0.4",
|
||||||
|
"resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
|
||||||
|
"integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="
|
||||||
|
},
|
||||||
|
"node_modules/libsodium": {
|
||||||
|
"version": "0.7.13",
|
||||||
|
"resolved": "https://registry.npmjs.org/libsodium/-/libsodium-0.7.13.tgz",
|
||||||
|
"integrity": "sha512-mK8ju0fnrKXXfleL53vtp9xiPq5hKM0zbDQtcxQIsSmxNgSxqCj6R7Hl9PkrNe2j29T4yoDaF7DJLK9/i5iWUw=="
|
||||||
|
},
|
||||||
|
"node_modules/libsodium-wrappers": {
|
||||||
|
"version": "0.7.13",
|
||||||
|
"resolved": "https://registry.npmjs.org/libsodium-wrappers/-/libsodium-wrappers-0.7.13.tgz",
|
||||||
|
"integrity": "sha512-kasvDsEi/r1fMzKouIDv7B8I6vNmknXwGiYodErGuESoFTohGSKZplFtVxZqHaoQ217AynyIFgnOVRitpHs0Qw==",
|
||||||
|
"dependencies": {
|
||||||
|
"libsodium": "^0.7.13"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/lodash": {
|
||||||
|
"version": "4.17.21",
|
||||||
|
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz",
|
||||||
|
"integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg=="
|
||||||
|
},
|
||||||
|
"node_modules/lodash.snakecase": {
|
||||||
|
"version": "4.1.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/lodash.snakecase/-/lodash.snakecase-4.1.1.tgz",
|
||||||
|
"integrity": "sha512-QZ1d4xoBHYUeuouhEq3lk3Uq7ldgyFXGBhg04+oRLnIz8o9T65Eh+8YdroUwn846zchkA9yDsDl5CVVaV2nqYw=="
|
||||||
|
},
|
||||||
|
"node_modules/m3u8stream": {
|
||||||
|
"version": "0.8.6",
|
||||||
|
"resolved": "https://registry.npmjs.org/m3u8stream/-/m3u8stream-0.8.6.tgz",
|
||||||
|
"integrity": "sha512-LZj8kIVf9KCphiHmH7sbFQTVe4tOemb202fWwvJwR9W5ENW/1hxJN6ksAWGhQgSBSa3jyWhnjKU1Fw1GaOdbyA==",
|
||||||
|
"dependencies": {
|
||||||
|
"miniget": "^4.2.2",
|
||||||
|
"sax": "^1.2.4"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": ">=12"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/magic-bytes.js": {
|
||||||
|
"version": "1.10.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/magic-bytes.js/-/magic-bytes.js-1.10.0.tgz",
|
||||||
|
"integrity": "sha512-/k20Lg2q8LE5xiaaSkMXk4sfvI+9EGEykFS4b0CHHGWqDYU0bGUFSwchNOMA56D7TCs9GwVTkqe9als1/ns8UQ=="
|
||||||
|
},
|
||||||
|
"node_modules/miniget": {
|
||||||
|
"version": "4.2.3",
|
||||||
|
"resolved": "https://registry.npmjs.org/miniget/-/miniget-4.2.3.tgz",
|
||||||
|
"integrity": "sha512-SjbDPDICJ1zT+ZvQwK0hUcRY4wxlhhNpHL9nJOB2MEAXRGagTljsO8MEDzQMTFf0Q8g4QNi8P9lEm/g7e+qgzA==",
|
||||||
|
"engines": {
|
||||||
|
"node": ">=12"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/ms": {
|
||||||
|
"version": "2.1.2",
|
||||||
|
"resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
|
||||||
|
"integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w=="
|
||||||
|
},
|
||||||
|
"node_modules/parse-cache-control": {
|
||||||
|
"version": "1.0.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/parse-cache-control/-/parse-cache-control-1.0.1.tgz",
|
||||||
|
"integrity": "sha512-60zvsJReQPX5/QP0Kzfd/VrpjScIQ7SHBW6bFCYfEP+fp0Eppr1SHhIO5nd1PjZtvclzSzES9D/p5nFJurwfWg=="
|
||||||
|
},
|
||||||
|
"node_modules/play-audio": {
|
||||||
|
"version": "0.5.2",
|
||||||
|
"resolved": "https://registry.npmjs.org/play-audio/-/play-audio-0.5.2.tgz",
|
||||||
|
"integrity": "sha512-ZAqHUKkQLix2Iga7pPbsf1LpUoBjcpwU93F1l3qBIfxYddQLhxS6GKmS0d3jV8kSVaUbr6NnOEcEMFvuX93SWQ=="
|
||||||
|
},
|
||||||
|
"node_modules/play-dl": {
|
||||||
|
"version": "1.9.7",
|
||||||
|
"resolved": "https://registry.npmjs.org/play-dl/-/play-dl-1.9.7.tgz",
|
||||||
|
"integrity": "sha512-KpgerWxUCY4s9Mhze2qdqPhiqd8Ve6HufpH9mBH3FN+vux55qSh6WJKDabfie8IBHN7lnrAlYcT/UdGax58c2A==",
|
||||||
|
"dependencies": {
|
||||||
|
"play-audio": "^0.5.2"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": ">=16.0.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/prism-media": {
|
||||||
|
"version": "1.3.5",
|
||||||
|
"resolved": "https://registry.npmjs.org/prism-media/-/prism-media-1.3.5.tgz",
|
||||||
|
"integrity": "sha512-IQdl0Q01m4LrkN1EGIE9lphov5Hy7WWlH6ulf5QdGePLlPas9p2mhgddTEHrlaXYjjFToM1/rWuwF37VF4taaA==",
|
||||||
|
"peerDependencies": {
|
||||||
|
"@discordjs/opus": ">=0.8.0 <1.0.0",
|
||||||
|
"ffmpeg-static": "^5.0.2 || ^4.2.7 || ^3.0.0 || ^2.4.0",
|
||||||
|
"node-opus": "^0.3.3",
|
||||||
|
"opusscript": "^0.0.8"
|
||||||
|
},
|
||||||
|
"peerDependenciesMeta": {
|
||||||
|
"@discordjs/opus": {
|
||||||
|
"optional": true
|
||||||
|
},
|
||||||
|
"ffmpeg-static": {
|
||||||
|
"optional": true
|
||||||
|
},
|
||||||
|
"node-opus": {
|
||||||
|
"optional": true
|
||||||
|
},
|
||||||
|
"opusscript": {
|
||||||
|
"optional": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/progress": {
|
||||||
|
"version": "2.0.3",
|
||||||
|
"resolved": "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz",
|
||||||
|
"integrity": "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==",
|
||||||
|
"engines": {
|
||||||
|
"node": ">=0.4.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/readable-stream": {
|
||||||
|
"version": "3.6.2",
|
||||||
|
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz",
|
||||||
|
"integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==",
|
||||||
|
"dependencies": {
|
||||||
|
"inherits": "^2.0.3",
|
||||||
|
"string_decoder": "^1.1.1",
|
||||||
|
"util-deprecate": "^1.0.1"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": ">= 6"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/resolve-pkg-maps": {
|
||||||
|
"version": "1.0.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/resolve-pkg-maps/-/resolve-pkg-maps-1.0.0.tgz",
|
||||||
|
"integrity": "sha512-seS2Tj26TBVOC2NIc2rOe2y2ZO7efxITtLZcGSOnHHNOQ7CkiUBfw0Iw2ck6xkIhPwLhKNLS8BO+hEpngQlqzw==",
|
||||||
|
"dev": true,
|
||||||
|
"funding": {
|
||||||
|
"url": "https://github.com/privatenumber/resolve-pkg-maps?sponsor=1"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/safe-buffer": {
|
||||||
|
"version": "5.2.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz",
|
||||||
|
"integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==",
|
||||||
|
"funding": [
|
||||||
|
{
|
||||||
|
"type": "github",
|
||||||
|
"url": "https://github.com/sponsors/feross"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "patreon",
|
||||||
|
"url": "https://www.patreon.com/feross"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "consulting",
|
||||||
|
"url": "https://feross.org/support"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"node_modules/sax": {
|
||||||
|
"version": "1.3.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/sax/-/sax-1.3.0.tgz",
|
||||||
|
"integrity": "sha512-0s+oAmw9zLl1V1cS9BtZN7JAd0cW5e0QH4W3LWEK6a4LaLEA2OTpGYWDY+6XasBLtz6wkm3u1xRw95mRuJ59WA=="
|
||||||
|
},
|
||||||
|
"node_modules/string_decoder": {
|
||||||
|
"version": "1.3.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz",
|
||||||
|
"integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==",
|
||||||
|
"dependencies": {
|
||||||
|
"safe-buffer": "~5.2.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/ts-mixer": {
|
||||||
|
"version": "6.0.4",
|
||||||
|
"resolved": "https://registry.npmjs.org/ts-mixer/-/ts-mixer-6.0.4.tgz",
|
||||||
|
"integrity": "sha512-ufKpbmrugz5Aou4wcr5Wc1UUFWOLhq+Fm6qa6P0w0K5Qw2yhaUoiWszhCVuNQyNwrlGiscHOmqYoAox1PtvgjA=="
|
||||||
|
},
|
||||||
|
"node_modules/tslib": {
|
||||||
|
"version": "2.6.2",
|
||||||
|
"resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz",
|
||||||
|
"integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q=="
|
||||||
|
},
|
||||||
|
"node_modules/tsx": {
|
||||||
|
"version": "4.7.3",
|
||||||
|
"resolved": "https://registry.npmjs.org/tsx/-/tsx-4.7.3.tgz",
|
||||||
|
"integrity": "sha512-+fQnMqIp/jxZEXLcj6WzYy9FhcS5/Dfk8y4AtzJ6ejKcKqmfTF8Gso/jtrzDggCF2zTU20gJa6n8XqPYwDAUYQ==",
|
||||||
|
"dev": true,
|
||||||
|
"dependencies": {
|
||||||
|
"esbuild": "~0.19.10",
|
||||||
|
"get-tsconfig": "^4.7.2"
|
||||||
|
},
|
||||||
|
"bin": {
|
||||||
|
"tsx": "dist/cli.mjs"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": ">=18.0.0"
|
||||||
|
},
|
||||||
|
"optionalDependencies": {
|
||||||
|
"fsevents": "~2.3.3"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/typedarray": {
|
||||||
|
"version": "0.0.6",
|
||||||
|
"resolved": "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz",
|
||||||
|
"integrity": "sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA=="
|
||||||
|
},
|
||||||
|
"node_modules/undici": {
|
||||||
|
"version": "5.27.2",
|
||||||
|
"resolved": "https://registry.npmjs.org/undici/-/undici-5.27.2.tgz",
|
||||||
|
"integrity": "sha512-iS857PdOEy/y3wlM3yRp+6SNQQ6xU0mmZcwRSriqk+et/cwWAtwmIGf6WkoDN2EK/AMdCO/dfXzIwi+rFMrjjQ==",
|
||||||
|
"dependencies": {
|
||||||
|
"@fastify/busboy": "^2.0.0"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": ">=14.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/undici-types": {
|
||||||
|
"version": "5.26.5",
|
||||||
|
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz",
|
||||||
|
"integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA=="
|
||||||
|
},
|
||||||
|
"node_modules/util-deprecate": {
|
||||||
|
"version": "1.0.2",
|
||||||
|
"resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",
|
||||||
|
"integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw=="
|
||||||
|
},
|
||||||
|
"node_modules/ws": {
|
||||||
|
"version": "8.14.2",
|
||||||
|
"resolved": "https://registry.npmjs.org/ws/-/ws-8.14.2.tgz",
|
||||||
|
"integrity": "sha512-wEBG1ftX4jcglPxgFCMJmZ2PLtSbJ2Peg6TmpJFTbe9GZYOQCDPdMYu/Tm0/bGZkw8paZnJY45J4K2PZrLYq8g==",
|
||||||
|
"engines": {
|
||||||
|
"node": ">=10.0.0"
|
||||||
|
},
|
||||||
|
"peerDependencies": {
|
||||||
|
"bufferutil": "^4.0.1",
|
||||||
|
"utf-8-validate": ">=5.0.2"
|
||||||
|
},
|
||||||
|
"peerDependenciesMeta": {
|
||||||
|
"bufferutil": {
|
||||||
|
"optional": true
|
||||||
|
},
|
||||||
|
"utf-8-validate": {
|
||||||
|
"optional": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/youtube-sr": {
|
||||||
|
"version": "4.3.11",
|
||||||
|
"resolved": "https://registry.npmjs.org/youtube-sr/-/youtube-sr-4.3.11.tgz",
|
||||||
|
"integrity": "sha512-3oHiS2x7PpMiDRW7Cq8nz1bkAIBOJHoOwkPl/oncM/+A9/3xxMDgMLGW2dsBEP1DHFyRXYTVABgfbdwHF8sXXQ=="
|
||||||
|
},
|
||||||
|
"node_modules/ytdl-core": {
|
||||||
|
"version": "4.11.5",
|
||||||
|
"resolved": "https://registry.npmjs.org/ytdl-core/-/ytdl-core-4.11.5.tgz",
|
||||||
|
"integrity": "sha512-27LwsW4n4nyNviRCO1hmr8Wr5J1wLLMawHCQvH8Fk0hiRqrxuIu028WzbJetiYH28K8XDbeinYW4/wcHQD1EXA==",
|
||||||
|
"dependencies": {
|
||||||
|
"m3u8stream": "^0.8.6",
|
||||||
|
"miniget": "^4.2.2",
|
||||||
|
"sax": "^1.1.3"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": ">=12"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
19
node_modules/@derhuerst/http-basic/LICENSE
generated
vendored
Normal file
19
node_modules/@derhuerst/http-basic/LICENSE
generated
vendored
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
Copyright (c) 2022 Forbes Lindesay & Jannis R
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
in the Software without restriction, including without limitation the rights
|
||||||
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
copies of the Software, and to permit persons to whom the Software is
|
||||||
|
furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in
|
||||||
|
all copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
|
THE SOFTWARE.
|
101
node_modules/@derhuerst/http-basic/README.md
generated
vendored
Normal file
101
node_modules/@derhuerst/http-basic/README.md
generated
vendored
Normal file
|
@ -0,0 +1,101 @@
|
||||||
|
# http-basic
|
||||||
|
|
||||||
|
**This is a temporary fork of [`ForbesLindesay/http-basic`](https://github.com/ForbesLindesay/http-basic).**
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
Simple wrapper arround http.request/https.request
|
||||||
|
|
||||||
|
[](https://travis-ci.org/ForbesLindesay/http-basic)
|
||||||
|
[](https://david-dm.org/ForbesLindesay/http-basic)
|
||||||
|
[](https://www.npmjs.org/package/http-basic)
|
||||||
|
|
||||||
|
## Installation
|
||||||
|
|
||||||
|
npm install http-basic
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
|
||||||
|
```js
|
||||||
|
var request = require('http-basic');
|
||||||
|
|
||||||
|
var options = {followRedirects: true, gzip: true, cache: 'memory'};
|
||||||
|
|
||||||
|
var req = request('GET', 'http://example.com', options, function (err, res) {
|
||||||
|
if (err) throw err;
|
||||||
|
console.dir(res.statusCode);
|
||||||
|
res.body.resume();
|
||||||
|
});
|
||||||
|
req.end();
|
||||||
|
```
|
||||||
|
|
||||||
|
**method:**
|
||||||
|
|
||||||
|
The http method (e.g. `GET`, `POST`, `PUT`, `DELETE` etc.)
|
||||||
|
|
||||||
|
**url:**
|
||||||
|
|
||||||
|
The url as a string (e.g. `http://example.com`). It must be fully qualified and either http or https.
|
||||||
|
|
||||||
|
**options:**
|
||||||
|
|
||||||
|
- `headers` - (default `{}`) http headers
|
||||||
|
- `agent` - (default: `false`) controlls keep-alive (see http://nodejs.org/api/http.html#http_http_request_options_callback)
|
||||||
|
- `duplex` - (default: `true` except for `GET`, `OPTIONS` and `HEAD` requests) allows you to explicitly set a body on a request that uses a method that normally would not have a body
|
||||||
|
- `followRedirects` - (default: `false`) - if true, redirects are followed (note that this only affects the result in the callback)
|
||||||
|
- `maxRedirects` - (default: `Infinity`) - limit the number of redirects allowed.
|
||||||
|
- `allowRedirectHeaders` (default: `null`) - an array of headers allowed for redirects (none if `null`).
|
||||||
|
- `gzip` (default: `false`) - automatically accept gzip and deflate encodings. This is kept completely transparent to the user.
|
||||||
|
- `cache` - (default: `null`) - `'memory'` or `'file'` to use the default built in caches or you can pass your own cache implementation.
|
||||||
|
- `timeout` (default: `false`) - times out if no response is returned within the given number of milliseconds.
|
||||||
|
- `socketTimeout` (default: `false`) - calls `req.setTimeout` internally which causes the request to timeout if no new data is seen for the given number of milliseconds.
|
||||||
|
- `retry` (default: `false`) - retry GET requests. Set this to `true` to retry when the request errors or returns a status code greater than or equal to 400 (can also be a function that takes `(err, req, attemptNo) => shouldRetry`)
|
||||||
|
- `retryDelay` (default: `200`) - the delay between retries (can also be set to a function that takes `(err, res, attemptNo) => delay`)
|
||||||
|
- `maxRetries` (default: `5`) - the number of times to retry before giving up.
|
||||||
|
- `ignoreFailedInvalidation` (default: `false`) - whether the cache should swallow errors if there is a problem removing a cached response. Note that enabling this setting may result in incorrect, cached data being returned to the user.
|
||||||
|
- `isMatch` - `(requestHeaders: Headers, cachedResponse: CachedResponse, defaultValue: boolean) => boolean` - override the default behaviour for testing whether a cached response matches a request.
|
||||||
|
- `isExpired` - `(cachedResponse: CachedResponse, defaultValue: boolean) => boolean` - override the default behaviour for testing whether a cached response has expired
|
||||||
|
- `canCache` - `(res: Response<NodeJS.ReadableStream>, defaultValue: boolean) => boolean` - override the default behaviour for testing whether a response can be cached
|
||||||
|
|
||||||
|
**callback:**
|
||||||
|
|
||||||
|
The callback is called with `err` as the first argument and `res` as the second argument. `res` is an [http-response-object](https://github.com/ForbesLindesay/http-response-object). It has the following properties:
|
||||||
|
|
||||||
|
- `statusCode` - a number representing the HTTP Status Code
|
||||||
|
- `headers` - an object representing the HTTP headers
|
||||||
|
- `body` - a readable stream respresenting the request body.
|
||||||
|
- `url` - the URL that was requested (in the case of redirects, this is the final url that was requested)
|
||||||
|
|
||||||
|
**returns:**
|
||||||
|
|
||||||
|
If the method is `GET`, `DELETE` or `HEAD`, it returns `undefined`.
|
||||||
|
|
||||||
|
Otherwise, it returns a writable stream for the body of the request.
|
||||||
|
|
||||||
|
## Implementing a Cache
|
||||||
|
|
||||||
|
A `Cache` is an object with three methods:
|
||||||
|
|
||||||
|
- `getResponse(url, callback)` - retrieve a cached response object
|
||||||
|
- `setResponse(url, response)` - cache a response object
|
||||||
|
- `invalidateResponse(url, callback)` - remove a response which is no longer valid
|
||||||
|
|
||||||
|
A cached response object is an object with the following properties:
|
||||||
|
|
||||||
|
- `statusCode` - Number
|
||||||
|
- `headers` - Object (key value pairs of strings)
|
||||||
|
- `body` - Stream (a stream of binary data)
|
||||||
|
- `requestHeaders` - Object (key value pairs of strings)
|
||||||
|
- `requestTimestamp` - Number
|
||||||
|
|
||||||
|
`getResponse` should call the callback with an optional error and either `null` or a cached response object, depending on whether the url can be found in the cache. Only `GET`s are cached.
|
||||||
|
|
||||||
|
`setResponse` should just swallow any errors it has (or resport them using `console.warn`).
|
||||||
|
|
||||||
|
`invalidateResponse` should call the callback with an optional error if it is unable to invalidate a response.
|
||||||
|
|
||||||
|
A cache may also define any of the methods from `lib/cache-utils.js` to override behaviour for what gets cached. It is currently still only possible to cache "get" requests, although this could be changed.
|
||||||
|
|
||||||
|
## License
|
||||||
|
|
||||||
|
MIT
|
10
node_modules/@derhuerst/http-basic/lib/CachedResponse.d.ts
generated
vendored
Normal file
10
node_modules/@derhuerst/http-basic/lib/CachedResponse.d.ts
generated
vendored
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
/// <reference types="node" />
|
||||||
|
import { Headers } from './Headers';
|
||||||
|
interface CachedResponse {
|
||||||
|
statusCode: number;
|
||||||
|
headers: Headers;
|
||||||
|
body: NodeJS.ReadableStream;
|
||||||
|
requestHeaders: Headers;
|
||||||
|
requestTimestamp: number;
|
||||||
|
}
|
||||||
|
export { CachedResponse };
|
2
node_modules/@derhuerst/http-basic/lib/CachedResponse.js
generated
vendored
Normal file
2
node_modules/@derhuerst/http-basic/lib/CachedResponse.js
generated
vendored
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
"use strict";
|
||||||
|
exports.__esModule = true;
|
14
node_modules/@derhuerst/http-basic/lib/CachedResponse.js.flow
generated
vendored
Normal file
14
node_modules/@derhuerst/http-basic/lib/CachedResponse.js.flow
generated
vendored
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
// @flow
|
||||||
|
// Generated using flowgen2
|
||||||
|
|
||||||
|
import type {Headers} from './Headers';
|
||||||
|
|
||||||
|
interface CachedResponse {
|
||||||
|
statusCode: number;
|
||||||
|
headers: Headers;
|
||||||
|
body: stream$Readable;
|
||||||
|
requestHeaders: Headers;
|
||||||
|
requestTimestamp: number;
|
||||||
|
}
|
||||||
|
|
||||||
|
export type {CachedResponse};
|
4
node_modules/@derhuerst/http-basic/lib/Callback.d.ts
generated
vendored
Normal file
4
node_modules/@derhuerst/http-basic/lib/Callback.d.ts
generated
vendored
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
/// <reference types="node" />
|
||||||
|
import Response = require('http-response-object');
|
||||||
|
declare type Callback = (err: NodeJS.ErrnoException | null, response?: Response<NodeJS.ReadableStream>) => void;
|
||||||
|
export { Callback };
|
2
node_modules/@derhuerst/http-basic/lib/Callback.js
generated
vendored
Normal file
2
node_modules/@derhuerst/http-basic/lib/Callback.js
generated
vendored
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
"use strict";
|
||||||
|
exports.__esModule = true;
|
11
node_modules/@derhuerst/http-basic/lib/Callback.js.flow
generated
vendored
Normal file
11
node_modules/@derhuerst/http-basic/lib/Callback.js.flow
generated
vendored
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
// @flow
|
||||||
|
// Generated using flowgen2
|
||||||
|
|
||||||
|
const Response = require('http-response-object');
|
||||||
|
|
||||||
|
type Callback = (
|
||||||
|
err: ErrnoError | null,
|
||||||
|
response?: Response<stream$Readable>,
|
||||||
|
) => void;
|
||||||
|
|
||||||
|
export type {Callback};
|
12
node_modules/@derhuerst/http-basic/lib/FileCache.d.ts
generated
vendored
Normal file
12
node_modules/@derhuerst/http-basic/lib/FileCache.d.ts
generated
vendored
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
/// <reference types="node" />
|
||||||
|
import { ICache } from './ICache';
|
||||||
|
import { CachedResponse } from './CachedResponse';
|
||||||
|
export default class FileCache implements ICache {
|
||||||
|
private readonly _location;
|
||||||
|
constructor(location: string);
|
||||||
|
getResponse(url: string, callback: (err: null | Error, response: null | CachedResponse) => void): void;
|
||||||
|
setResponse(url: string, response: CachedResponse): void;
|
||||||
|
updateResponseHeaders(url: string, response: Pick<CachedResponse, 'headers' | 'requestTimestamp'>): void;
|
||||||
|
invalidateResponse(url: string, callback: (err: NodeJS.ErrnoException | null) => void): void;
|
||||||
|
getCacheKey(url: string): string;
|
||||||
|
}
|
112
node_modules/@derhuerst/http-basic/lib/FileCache.js
generated
vendored
Normal file
112
node_modules/@derhuerst/http-basic/lib/FileCache.js
generated
vendored
Normal file
|
@ -0,0 +1,112 @@
|
||||||
|
'use strict';
|
||||||
|
exports.__esModule = true;
|
||||||
|
var fs = require("fs");
|
||||||
|
var path_1 = require("path");
|
||||||
|
var crypto_1 = require("crypto");
|
||||||
|
function jsonParse(data, cb) {
|
||||||
|
var result = null;
|
||||||
|
try {
|
||||||
|
result = JSON.parse(data);
|
||||||
|
}
|
||||||
|
catch (ex) {
|
||||||
|
if (ex instanceof Error) {
|
||||||
|
return cb(ex);
|
||||||
|
}
|
||||||
|
return cb(new Error(ex + ''));
|
||||||
|
}
|
||||||
|
cb(null, result);
|
||||||
|
}
|
||||||
|
var FileCache = /** @class */ (function () {
|
||||||
|
function FileCache(location) {
|
||||||
|
this._location = location;
|
||||||
|
}
|
||||||
|
FileCache.prototype.getResponse = function (url, callback) {
|
||||||
|
var key = (0, path_1.resolve)(this._location, this.getCacheKey(url));
|
||||||
|
fs.readFile(key + '.json', 'utf8', function (err, data) {
|
||||||
|
if (err && err.code === 'ENOENT')
|
||||||
|
return callback(null, null);
|
||||||
|
else if (err)
|
||||||
|
return callback(err, null);
|
||||||
|
jsonParse(data, function (err, response) {
|
||||||
|
if (err) {
|
||||||
|
return callback(err, null);
|
||||||
|
}
|
||||||
|
var body = fs.createReadStream(key + '.body');
|
||||||
|
response.body = body;
|
||||||
|
callback(null, response);
|
||||||
|
});
|
||||||
|
});
|
||||||
|
};
|
||||||
|
FileCache.prototype.setResponse = function (url, response) {
|
||||||
|
var key = (0, path_1.resolve)(this._location, this.getCacheKey(url));
|
||||||
|
var errored = false;
|
||||||
|
fs.mkdir(this._location, { recursive: true }, function (err) {
|
||||||
|
if (err && err.code !== 'EEXIST') {
|
||||||
|
console.warn('Error creating cache: ' + err.message);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
response.body.pipe(fs.createWriteStream(key + '.body')).on('error', function (err) {
|
||||||
|
errored = true;
|
||||||
|
console.warn('Error writing to cache: ' + err.message);
|
||||||
|
}).on('close', function () {
|
||||||
|
if (!errored) {
|
||||||
|
fs.writeFile(key + '.json', JSON.stringify({
|
||||||
|
statusCode: response.statusCode,
|
||||||
|
headers: response.headers,
|
||||||
|
requestHeaders: response.requestHeaders,
|
||||||
|
requestTimestamp: response.requestTimestamp
|
||||||
|
}, null, ' '), function (err) {
|
||||||
|
if (err) {
|
||||||
|
console.warn('Error writing to cache: ' + err.message);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
});
|
||||||
|
});
|
||||||
|
};
|
||||||
|
FileCache.prototype.updateResponseHeaders = function (url, response) {
|
||||||
|
var key = (0, path_1.resolve)(this._location, this.getCacheKey(url));
|
||||||
|
fs.readFile(key + '.json', 'utf8', function (err, data) {
|
||||||
|
if (err) {
|
||||||
|
console.warn('Error writing to cache: ' + err.message);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
var parsed = null;
|
||||||
|
try {
|
||||||
|
parsed = JSON.parse(data);
|
||||||
|
}
|
||||||
|
catch (ex) {
|
||||||
|
if (ex instanceof Error) {
|
||||||
|
console.warn('Error writing to cache: ' + ex.message);
|
||||||
|
}
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
fs.writeFile(key + '.json', JSON.stringify({
|
||||||
|
statusCode: parsed.statusCode,
|
||||||
|
headers: response.headers,
|
||||||
|
requestHeaders: parsed.requestHeaders,
|
||||||
|
requestTimestamp: response.requestTimestamp
|
||||||
|
}, null, ' '), function (err) {
|
||||||
|
if (err) {
|
||||||
|
console.warn('Error writing to cache: ' + err.message);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
});
|
||||||
|
};
|
||||||
|
FileCache.prototype.invalidateResponse = function (url, callback) {
|
||||||
|
var key = (0, path_1.resolve)(this._location, this.getCacheKey(url));
|
||||||
|
fs.unlink(key + '.json', function (err) {
|
||||||
|
if (err && err.code === 'ENOENT')
|
||||||
|
return callback(null);
|
||||||
|
else
|
||||||
|
callback(err || null);
|
||||||
|
});
|
||||||
|
};
|
||||||
|
FileCache.prototype.getCacheKey = function (url) {
|
||||||
|
var hash = (0, crypto_1.createHash)('sha512');
|
||||||
|
hash.update(url);
|
||||||
|
return hash.digest('hex');
|
||||||
|
};
|
||||||
|
return FileCache;
|
||||||
|
}());
|
||||||
|
exports["default"] = FileCache;
|
24
node_modules/@derhuerst/http-basic/lib/FileCache.js.flow
generated
vendored
Normal file
24
node_modules/@derhuerst/http-basic/lib/FileCache.js.flow
generated
vendored
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
// @flow
|
||||||
|
// Generated using flowgen2
|
||||||
|
|
||||||
|
import type {ICache} from './ICache';
|
||||||
|
import type {CachedResponse} from './CachedResponse';
|
||||||
|
|
||||||
|
declare class FileCache {
|
||||||
|
constructor(location: string): void;
|
||||||
|
getResponse(
|
||||||
|
url: string,
|
||||||
|
callback: (err: null | Error, response: null | CachedResponse) => void,
|
||||||
|
): void;
|
||||||
|
setResponse(url: string, response: CachedResponse): void;
|
||||||
|
updateResponseHeaders(
|
||||||
|
url: string,
|
||||||
|
response: {[key: 'headers' | 'requestTimestamp']: any},
|
||||||
|
): void;
|
||||||
|
invalidateResponse(
|
||||||
|
url: string,
|
||||||
|
callback: (err: ErrnoError | null) => void,
|
||||||
|
): void;
|
||||||
|
getCacheKey(url: string): string;
|
||||||
|
}
|
||||||
|
export default FileCache;
|
3
node_modules/@derhuerst/http-basic/lib/Headers.d.ts
generated
vendored
Normal file
3
node_modules/@derhuerst/http-basic/lib/Headers.d.ts
generated
vendored
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
/// <reference types="node" />
|
||||||
|
import { IncomingHttpHeaders } from 'http';
|
||||||
|
export declare type Headers = IncomingHttpHeaders;
|
2
node_modules/@derhuerst/http-basic/lib/Headers.js
generated
vendored
Normal file
2
node_modules/@derhuerst/http-basic/lib/Headers.js
generated
vendored
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
"use strict";
|
||||||
|
exports.__esModule = true;
|
7
node_modules/@derhuerst/http-basic/lib/Headers.js.flow
generated
vendored
Normal file
7
node_modules/@derhuerst/http-basic/lib/Headers.js.flow
generated
vendored
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
// @flow
|
||||||
|
// Generated using flowgen2
|
||||||
|
|
||||||
|
type IncomingHttpHeaders = Object;
|
||||||
|
|
||||||
|
type Headers = IncomingHttpHeaders;
|
||||||
|
export type {Headers};
|
2
node_modules/@derhuerst/http-basic/lib/HttpVerb.d.ts
generated
vendored
Normal file
2
node_modules/@derhuerst/http-basic/lib/HttpVerb.d.ts
generated
vendored
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
declare type HttpVerb = ('GET' | 'HEAD' | 'POST' | 'PUT' | 'DELETE' | 'CONNECT' | 'OPTIONS' | 'TRACE' | 'PATCH');
|
||||||
|
export { HttpVerb };
|
2
node_modules/@derhuerst/http-basic/lib/HttpVerb.js
generated
vendored
Normal file
2
node_modules/@derhuerst/http-basic/lib/HttpVerb.js
generated
vendored
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
"use strict";
|
||||||
|
exports.__esModule = true;
|
15
node_modules/@derhuerst/http-basic/lib/HttpVerb.js.flow
generated
vendored
Normal file
15
node_modules/@derhuerst/http-basic/lib/HttpVerb.js.flow
generated
vendored
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
// @flow
|
||||||
|
// Generated using flowgen2
|
||||||
|
|
||||||
|
type HttpVerb =
|
||||||
|
| 'GET'
|
||||||
|
| 'HEAD'
|
||||||
|
| 'POST'
|
||||||
|
| 'PUT'
|
||||||
|
| 'DELETE'
|
||||||
|
| 'CONNECT'
|
||||||
|
| 'OPTIONS'
|
||||||
|
| 'TRACE'
|
||||||
|
| 'PATCH';
|
||||||
|
|
||||||
|
export type {HttpVerb};
|
8
node_modules/@derhuerst/http-basic/lib/ICache.d.ts
generated
vendored
Normal file
8
node_modules/@derhuerst/http-basic/lib/ICache.d.ts
generated
vendored
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
import { CachedResponse } from './CachedResponse';
|
||||||
|
interface ICache {
|
||||||
|
getResponse(url: string, cb: (err: Error | null, response: CachedResponse | null) => void): void;
|
||||||
|
setResponse(url: string, response: CachedResponse | null): void;
|
||||||
|
updateResponseHeaders?: (url: string, response: Pick<CachedResponse, 'headers' | 'requestTimestamp'>) => void;
|
||||||
|
invalidateResponse(url: string, cb: (err: Error | null) => void): void;
|
||||||
|
}
|
||||||
|
export { ICache };
|
2
node_modules/@derhuerst/http-basic/lib/ICache.js
generated
vendored
Normal file
2
node_modules/@derhuerst/http-basic/lib/ICache.js
generated
vendored
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
"use strict";
|
||||||
|
exports.__esModule = true;
|
19
node_modules/@derhuerst/http-basic/lib/ICache.js.flow
generated
vendored
Normal file
19
node_modules/@derhuerst/http-basic/lib/ICache.js.flow
generated
vendored
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
// @flow
|
||||||
|
// Generated using flowgen2
|
||||||
|
|
||||||
|
import type {CachedResponse} from './CachedResponse';
|
||||||
|
|
||||||
|
interface ICache {
|
||||||
|
getResponse(
|
||||||
|
url: string,
|
||||||
|
cb: (err: Error | null, response: CachedResponse | null) => void,
|
||||||
|
): void;
|
||||||
|
setResponse(url: string, response: CachedResponse | null): void;
|
||||||
|
updateResponseHeaders?: (
|
||||||
|
url: string,
|
||||||
|
response: {[key: 'headers' | 'requestTimestamp']: any},
|
||||||
|
) => void;
|
||||||
|
invalidateResponse(url: string, cb: (err: Error | null) => void): void;
|
||||||
|
}
|
||||||
|
|
||||||
|
export type {ICache};
|
9
node_modules/@derhuerst/http-basic/lib/MemoryCache.d.ts
generated
vendored
Normal file
9
node_modules/@derhuerst/http-basic/lib/MemoryCache.d.ts
generated
vendored
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
/// <reference types="node" />
|
||||||
|
import { CachedResponse } from './CachedResponse';
|
||||||
|
export default class MemoryCache {
|
||||||
|
private readonly _cache;
|
||||||
|
getResponse(url: string, callback: (err: null | Error, response: null | CachedResponse) => void): void;
|
||||||
|
updateResponseHeaders(url: string, response: Pick<CachedResponse, 'headers' | 'requestTimestamp'>): void;
|
||||||
|
setResponse(url: string, response: CachedResponse): void;
|
||||||
|
invalidateResponse(url: string, callback: (err: NodeJS.ErrnoException | null) => void): void;
|
||||||
|
}
|
59
node_modules/@derhuerst/http-basic/lib/MemoryCache.js
generated
vendored
Normal file
59
node_modules/@derhuerst/http-basic/lib/MemoryCache.js
generated
vendored
Normal file
|
@ -0,0 +1,59 @@
|
||||||
|
'use strict';
|
||||||
|
var __assign = (this && this.__assign) || function () {
|
||||||
|
__assign = Object.assign || function(t) {
|
||||||
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
||||||
|
s = arguments[i];
|
||||||
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
||||||
|
t[p] = s[p];
|
||||||
|
}
|
||||||
|
return t;
|
||||||
|
};
|
||||||
|
return __assign.apply(this, arguments);
|
||||||
|
};
|
||||||
|
exports.__esModule = true;
|
||||||
|
var stream_1 = require("stream");
|
||||||
|
var concat = require("concat-stream");
|
||||||
|
var MemoryCache = /** @class */ (function () {
|
||||||
|
function MemoryCache() {
|
||||||
|
this._cache = {};
|
||||||
|
}
|
||||||
|
MemoryCache.prototype.getResponse = function (url, callback) {
|
||||||
|
var cache = this._cache;
|
||||||
|
if (cache[url]) {
|
||||||
|
var body = new stream_1.PassThrough();
|
||||||
|
body.end(cache[url].body);
|
||||||
|
callback(null, {
|
||||||
|
statusCode: cache[url].statusCode,
|
||||||
|
headers: cache[url].headers,
|
||||||
|
body: body,
|
||||||
|
requestHeaders: cache[url].requestHeaders,
|
||||||
|
requestTimestamp: cache[url].requestTimestamp
|
||||||
|
});
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
callback(null, null);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
MemoryCache.prototype.updateResponseHeaders = function (url, response) {
|
||||||
|
this._cache[url] = __assign(__assign({}, this._cache[url]), { headers: response.headers, requestTimestamp: response.requestTimestamp });
|
||||||
|
};
|
||||||
|
MemoryCache.prototype.setResponse = function (url, response) {
|
||||||
|
var cache = this._cache;
|
||||||
|
response.body.pipe(concat(function (body) {
|
||||||
|
cache[url] = {
|
||||||
|
statusCode: response.statusCode,
|
||||||
|
headers: response.headers,
|
||||||
|
body: body,
|
||||||
|
requestHeaders: response.requestHeaders,
|
||||||
|
requestTimestamp: response.requestTimestamp
|
||||||
|
};
|
||||||
|
}));
|
||||||
|
};
|
||||||
|
MemoryCache.prototype.invalidateResponse = function (url, callback) {
|
||||||
|
var cache = this._cache;
|
||||||
|
delete cache[url];
|
||||||
|
callback(null);
|
||||||
|
};
|
||||||
|
return MemoryCache;
|
||||||
|
}());
|
||||||
|
exports["default"] = MemoryCache;
|
21
node_modules/@derhuerst/http-basic/lib/MemoryCache.js.flow
generated
vendored
Normal file
21
node_modules/@derhuerst/http-basic/lib/MemoryCache.js.flow
generated
vendored
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
// @flow
|
||||||
|
// Generated using flowgen2
|
||||||
|
|
||||||
|
import type {CachedResponse} from './CachedResponse';
|
||||||
|
|
||||||
|
declare class MemoryCache {
|
||||||
|
getResponse(
|
||||||
|
url: string,
|
||||||
|
callback: (err: null | Error, response: null | CachedResponse) => void,
|
||||||
|
): void;
|
||||||
|
updateResponseHeaders(
|
||||||
|
url: string,
|
||||||
|
response: {[key: 'headers' | 'requestTimestamp']: any},
|
||||||
|
): void;
|
||||||
|
setResponse(url: string, response: CachedResponse): void;
|
||||||
|
invalidateResponse(
|
||||||
|
url: string,
|
||||||
|
callback: (err: ErrnoError | null) => void,
|
||||||
|
): void;
|
||||||
|
}
|
||||||
|
export default MemoryCache;
|
27
node_modules/@derhuerst/http-basic/lib/Options.d.ts
generated
vendored
Normal file
27
node_modules/@derhuerst/http-basic/lib/Options.d.ts
generated
vendored
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
/// <reference types="node" />
|
||||||
|
/// <reference types="node" />
|
||||||
|
import { Agent } from 'http';
|
||||||
|
import { Headers } from './Headers';
|
||||||
|
import { ICache } from './ICache';
|
||||||
|
import Response = require('http-response-object');
|
||||||
|
import { CachedResponse } from './CachedResponse';
|
||||||
|
interface Options {
|
||||||
|
agent?: Agent | boolean;
|
||||||
|
allowRedirectHeaders?: string[];
|
||||||
|
cache?: 'file' | 'memory' | ICache;
|
||||||
|
duplex?: boolean;
|
||||||
|
followRedirects?: boolean;
|
||||||
|
gzip?: boolean;
|
||||||
|
headers?: Headers;
|
||||||
|
ignoreFailedInvalidation?: boolean;
|
||||||
|
maxRedirects?: number;
|
||||||
|
maxRetries?: number;
|
||||||
|
retry?: boolean | ((err: NodeJS.ErrnoException | null, res: Response<NodeJS.ReadableStream> | void, attemptNumber: number) => boolean);
|
||||||
|
retryDelay?: number | ((err: NodeJS.ErrnoException | null, res: Response<NodeJS.ReadableStream> | void, attemptNumber: number) => number);
|
||||||
|
socketTimeout?: number;
|
||||||
|
timeout?: number;
|
||||||
|
isMatch?: (requestHeaders: Headers, cachedResponse: CachedResponse, defaultValue: boolean) => boolean;
|
||||||
|
isExpired?: (cachedResponse: CachedResponse, defaultValue: boolean) => boolean;
|
||||||
|
canCache?: (res: Response<NodeJS.ReadableStream>, defaultValue: boolean) => boolean;
|
||||||
|
}
|
||||||
|
export { Options };
|
2
node_modules/@derhuerst/http-basic/lib/Options.js
generated
vendored
Normal file
2
node_modules/@derhuerst/http-basic/lib/Options.js
generated
vendored
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
"use strict";
|
||||||
|
exports.__esModule = true;
|
49
node_modules/@derhuerst/http-basic/lib/Options.js.flow
generated
vendored
Normal file
49
node_modules/@derhuerst/http-basic/lib/Options.js.flow
generated
vendored
Normal file
|
@ -0,0 +1,49 @@
|
||||||
|
// @flow
|
||||||
|
// Generated using flowgen2
|
||||||
|
|
||||||
|
import {Agent} from 'http';
|
||||||
|
import type {Headers} from './Headers';
|
||||||
|
import type {ICache} from './ICache';
|
||||||
|
const Response = require('http-response-object');
|
||||||
|
import type {CachedResponse} from './CachedResponse';
|
||||||
|
|
||||||
|
interface Options {
|
||||||
|
agent?: Agent | boolean;
|
||||||
|
allowRedirectHeaders?: Array<string>;
|
||||||
|
cache?: 'file' | 'memory' | ICache;
|
||||||
|
duplex?: boolean;
|
||||||
|
followRedirects?: boolean;
|
||||||
|
gzip?: boolean;
|
||||||
|
headers?: Headers;
|
||||||
|
ignoreFailedInvalidation?: boolean;
|
||||||
|
maxRedirects?: number;
|
||||||
|
maxRetries?: number;
|
||||||
|
retry?:
|
||||||
|
| boolean
|
||||||
|
| ((
|
||||||
|
err: ErrnoError | null,
|
||||||
|
res: Response<stream$Readable> | void,
|
||||||
|
attemptNumber: number,
|
||||||
|
) => boolean);
|
||||||
|
retryDelay?:
|
||||||
|
| number
|
||||||
|
| ((
|
||||||
|
err: ErrnoError | null,
|
||||||
|
res: Response<stream$Readable> | void,
|
||||||
|
attemptNumber: number,
|
||||||
|
) => number);
|
||||||
|
socketTimeout?: number;
|
||||||
|
timeout?: number;
|
||||||
|
isMatch?: (
|
||||||
|
requestHeaders: Headers,
|
||||||
|
cachedResponse: CachedResponse,
|
||||||
|
defaultValue: boolean,
|
||||||
|
) => boolean;
|
||||||
|
isExpired?: (
|
||||||
|
cachedResponse: CachedResponse,
|
||||||
|
defaultValue: boolean,
|
||||||
|
) => boolean;
|
||||||
|
canCache?: (res: Response<stream$Readable>, defaultValue: boolean) => boolean;
|
||||||
|
}
|
||||||
|
|
||||||
|
export type {Options};
|
14
node_modules/@derhuerst/http-basic/lib/cache-control-utils.d.ts
generated
vendored
Normal file
14
node_modules/@derhuerst/http-basic/lib/cache-control-utils.d.ts
generated
vendored
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
import { CachedResponse } from './CachedResponse';
|
||||||
|
import Response = require('http-response-object');
|
||||||
|
export declare type Policy = {
|
||||||
|
maxage: number | null;
|
||||||
|
};
|
||||||
|
/**
|
||||||
|
* returns true if this response is cacheable (according to cache-control headers)
|
||||||
|
*/
|
||||||
|
export declare function isCacheable<T>(res: Response<T> | CachedResponse): boolean;
|
||||||
|
/**
|
||||||
|
* if the response is cacheable, returns an object detailing the maxage of the cache
|
||||||
|
* otherwise returns null
|
||||||
|
*/
|
||||||
|
export declare function cachePolicy<T>(res: Response<T> | CachedResponse): Policy | null;
|
54
node_modules/@derhuerst/http-basic/lib/cache-control-utils.js
generated
vendored
Normal file
54
node_modules/@derhuerst/http-basic/lib/cache-control-utils.js
generated
vendored
Normal file
|
@ -0,0 +1,54 @@
|
||||||
|
"use strict";
|
||||||
|
exports.__esModule = true;
|
||||||
|
exports.cachePolicy = exports.isCacheable = void 0;
|
||||||
|
var parseCacheControl = require('parse-cache-control');
|
||||||
|
function parseCacheControlHeader(res) {
|
||||||
|
var cacheControl = res.headers['cache-control'];
|
||||||
|
var normalisedCacheControl = typeof cacheControl === 'string' ? cacheControl.trim() : ''; // must be normalised for parsing (e.g. parseCacheControl)
|
||||||
|
if (!cacheControl) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
return parseCacheControl(cacheControl);
|
||||||
|
}
|
||||||
|
// for the purposes of this library, we err on the side of caution and do not cache anything except public (or implicit public)
|
||||||
|
var nonCaching = ['private', 'no-cache', 'no-store', 'no-transform', 'must-revalidate', 'proxy-revalidate'];
|
||||||
|
function isCacheControlCacheable(parsedCacheControl) {
|
||||||
|
if (!parsedCacheControl) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
if (parsedCacheControl.public) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
// note that the library does not currently support s-maxage
|
||||||
|
if (parsedCacheControl["max-age"]) {
|
||||||
|
// https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9.3
|
||||||
|
// The max-age directive on a response implies that the response is cacheable (i.e., "public") unless some other, more restrictive cache directive is also present.
|
||||||
|
for (var i = 0; i < nonCaching.length; i++) {
|
||||||
|
if (parsedCacheControl[nonCaching[i]]) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* returns true if this response is cacheable (according to cache-control headers)
|
||||||
|
*/
|
||||||
|
function isCacheable(res) {
|
||||||
|
return isCacheControlCacheable(parseCacheControlHeader(res));
|
||||||
|
}
|
||||||
|
exports.isCacheable = isCacheable;
|
||||||
|
function buildPolicy(parsedCacheControl) {
|
||||||
|
// note that the library does not currently support s-maxage
|
||||||
|
return { maxage: parsedCacheControl['max-age'] || null };
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* if the response is cacheable, returns an object detailing the maxage of the cache
|
||||||
|
* otherwise returns null
|
||||||
|
*/
|
||||||
|
function cachePolicy(res) {
|
||||||
|
var parsed = parseCacheControlHeader(res);
|
||||||
|
return parsed && isCacheControlCacheable(parsed) ? buildPolicy(parsed) : null;
|
||||||
|
}
|
||||||
|
exports.cachePolicy = cachePolicy;
|
16
node_modules/@derhuerst/http-basic/lib/cache-control-utils.js.flow
generated
vendored
Normal file
16
node_modules/@derhuerst/http-basic/lib/cache-control-utils.js.flow
generated
vendored
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
// @flow
|
||||||
|
// Generated using flowgen2
|
||||||
|
|
||||||
|
import type {CachedResponse} from './CachedResponse';
|
||||||
|
const Response = require('http-response-object');
|
||||||
|
|
||||||
|
type Policy = {maxage: number | null};
|
||||||
|
export type {Policy};
|
||||||
|
|
||||||
|
declare function isCacheable<T>(res: Response<T> | CachedResponse): boolean;
|
||||||
|
export {isCacheable};
|
||||||
|
|
||||||
|
declare function cachePolicy<T>(
|
||||||
|
res: Response<T> | CachedResponse,
|
||||||
|
): Policy | null;
|
||||||
|
export {cachePolicy};
|
6
node_modules/@derhuerst/http-basic/lib/cache-utils.d.ts
generated
vendored
Normal file
6
node_modules/@derhuerst/http-basic/lib/cache-utils.d.ts
generated
vendored
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
import Response = require('http-response-object');
|
||||||
|
import { Headers } from './Headers';
|
||||||
|
import { CachedResponse } from './CachedResponse';
|
||||||
|
export declare function isMatch(requestHeaders: Headers, cachedResponse: CachedResponse): boolean;
|
||||||
|
export declare function isExpired(cachedResponse: CachedResponse): boolean;
|
||||||
|
export declare function canCache<T>(res: Response<T>): boolean;
|
45
node_modules/@derhuerst/http-basic/lib/cache-utils.js
generated
vendored
Normal file
45
node_modules/@derhuerst/http-basic/lib/cache-utils.js
generated
vendored
Normal file
|
@ -0,0 +1,45 @@
|
||||||
|
"use strict";
|
||||||
|
exports.__esModule = true;
|
||||||
|
exports.canCache = exports.isExpired = exports.isMatch = void 0;
|
||||||
|
var cache_control_utils_1 = require("./cache-control-utils");
|
||||||
|
function isMatch(requestHeaders, cachedResponse) {
|
||||||
|
var vary = cachedResponse.headers['vary'];
|
||||||
|
if (vary && cachedResponse.requestHeaders) {
|
||||||
|
vary = '' + vary;
|
||||||
|
return vary.split(',').map(function (header) { return header.trim().toLowerCase(); }).every(function (header) {
|
||||||
|
return requestHeaders[header] === cachedResponse.requestHeaders[header];
|
||||||
|
});
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
exports.isMatch = isMatch;
|
||||||
|
;
|
||||||
|
function isExpired(cachedResponse) {
|
||||||
|
var policy = (0, cache_control_utils_1.cachePolicy)(cachedResponse);
|
||||||
|
if (policy) {
|
||||||
|
var time = (Date.now() - cachedResponse.requestTimestamp) / 1000;
|
||||||
|
if (policy.maxage !== null && policy.maxage > time) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (cachedResponse.statusCode === 301 || cachedResponse.statusCode === 308)
|
||||||
|
return false;
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
exports.isExpired = isExpired;
|
||||||
|
;
|
||||||
|
function canCache(res) {
|
||||||
|
if (res.headers['etag'])
|
||||||
|
return true;
|
||||||
|
if (res.headers['last-modified'])
|
||||||
|
return true;
|
||||||
|
if ((0, cache_control_utils_1.isCacheable)(res))
|
||||||
|
return true;
|
||||||
|
if (res.statusCode === 301 || res.statusCode === 308)
|
||||||
|
return true;
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
exports.canCache = canCache;
|
||||||
|
;
|
18
node_modules/@derhuerst/http-basic/lib/cache-utils.js.flow
generated
vendored
Normal file
18
node_modules/@derhuerst/http-basic/lib/cache-utils.js.flow
generated
vendored
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
// @flow
|
||||||
|
// Generated using flowgen2
|
||||||
|
|
||||||
|
const Response = require('http-response-object');
|
||||||
|
import type {Headers} from './Headers';
|
||||||
|
import type {CachedResponse} from './CachedResponse';
|
||||||
|
|
||||||
|
declare function isMatch(
|
||||||
|
requestHeaders: Headers,
|
||||||
|
cachedResponse: CachedResponse,
|
||||||
|
): boolean;
|
||||||
|
export {isMatch};
|
||||||
|
|
||||||
|
declare function isExpired(cachedResponse: CachedResponse): boolean;
|
||||||
|
export {isExpired};
|
||||||
|
|
||||||
|
declare function canCache<T>(res: Response<T>): boolean;
|
||||||
|
export {canCache};
|
22
node_modules/@derhuerst/http-basic/lib/index.d.ts
generated
vendored
Normal file
22
node_modules/@derhuerst/http-basic/lib/index.d.ts
generated
vendored
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
/// <reference types="node" />
|
||||||
|
/// <reference types="node" />
|
||||||
|
import FileCache from './FileCache';
|
||||||
|
import MemoryCache from './MemoryCache';
|
||||||
|
import { Callback } from './Callback';
|
||||||
|
import { CachedResponse } from './CachedResponse';
|
||||||
|
import { HttpVerb } from './HttpVerb';
|
||||||
|
import { ICache } from './ICache';
|
||||||
|
import { Options } from './Options';
|
||||||
|
import Response = require('http-response-object');
|
||||||
|
import { URL } from 'url';
|
||||||
|
declare function request(method: HttpVerb, url: string | URL, options: Options | null | void, callback: Callback): void | NodeJS.WritableStream;
|
||||||
|
declare function request(method: HttpVerb, url: string | URL, callback: Callback): void | NodeJS.WritableStream;
|
||||||
|
export default request;
|
||||||
|
export { HttpVerb };
|
||||||
|
export { Options };
|
||||||
|
export { FileCache };
|
||||||
|
export { MemoryCache };
|
||||||
|
export { Callback };
|
||||||
|
export { Response };
|
||||||
|
export { CachedResponse };
|
||||||
|
export { ICache };
|
388
node_modules/@derhuerst/http-basic/lib/index.js
generated
vendored
Normal file
388
node_modules/@derhuerst/http-basic/lib/index.js
generated
vendored
Normal file
|
@ -0,0 +1,388 @@
|
||||||
|
"use strict";
|
||||||
|
var __assign = (this && this.__assign) || function () {
|
||||||
|
__assign = Object.assign || function(t) {
|
||||||
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
||||||
|
s = arguments[i];
|
||||||
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
||||||
|
t[p] = s[p];
|
||||||
|
}
|
||||||
|
return t;
|
||||||
|
};
|
||||||
|
return __assign.apply(this, arguments);
|
||||||
|
};
|
||||||
|
exports.__esModule = true;
|
||||||
|
exports.Response = exports.MemoryCache = exports.FileCache = void 0;
|
||||||
|
var cacheUtils = require("./cache-utils");
|
||||||
|
var FileCache_1 = require("./FileCache");
|
||||||
|
exports.FileCache = FileCache_1["default"];
|
||||||
|
var MemoryCache_1 = require("./MemoryCache");
|
||||||
|
exports.MemoryCache = MemoryCache_1["default"];
|
||||||
|
var http_1 = require("http");
|
||||||
|
var zlib_1 = require("zlib");
|
||||||
|
var url_1 = require("url");
|
||||||
|
var stream_1 = require("stream");
|
||||||
|
var https_1 = require("https");
|
||||||
|
var Response = require("http-response-object");
|
||||||
|
exports.Response = Response;
|
||||||
|
var caseless = require('caseless');
|
||||||
|
var fileCache = new FileCache_1["default"](__dirname + '/cache');
|
||||||
|
var memoryCache = new MemoryCache_1["default"]();
|
||||||
|
function requestProtocol(protocol, options, callback) {
|
||||||
|
if (protocol === 'http') {
|
||||||
|
return (0, http_1.request)(options, callback);
|
||||||
|
}
|
||||||
|
else if (protocol === 'https') {
|
||||||
|
return (0, https_1.request)(options, callback);
|
||||||
|
}
|
||||||
|
throw new Error('Unsupported protocol ' + protocol);
|
||||||
|
}
|
||||||
|
function request(method, url, options, callback) {
|
||||||
|
if (typeof options === 'function') {
|
||||||
|
callback = options;
|
||||||
|
options = null;
|
||||||
|
}
|
||||||
|
if (options === null || options === undefined) {
|
||||||
|
options = {};
|
||||||
|
}
|
||||||
|
if (typeof options !== 'object') {
|
||||||
|
throw new TypeError('options must be an object (or null)');
|
||||||
|
}
|
||||||
|
if (typeof callback !== 'function') {
|
||||||
|
throw new TypeError('callback must be a function');
|
||||||
|
}
|
||||||
|
return _request(method, ((url && typeof url === 'object') ? url.href : url), options, callback);
|
||||||
|
}
|
||||||
|
function _request(method, url, options, callback) {
|
||||||
|
var start = Date.now();
|
||||||
|
if (typeof method !== 'string') {
|
||||||
|
throw new TypeError('The method must be a string.');
|
||||||
|
}
|
||||||
|
if (typeof url !== 'string') {
|
||||||
|
throw new TypeError('The URL/path must be a string or a URL object.');
|
||||||
|
}
|
||||||
|
method = method.toUpperCase();
|
||||||
|
var urlObject = (0, url_1.parse)(url);
|
||||||
|
var protocol = (urlObject.protocol || '').replace(/\:$/, '');
|
||||||
|
if (protocol !== 'http' && protocol !== 'https') {
|
||||||
|
throw new TypeError('The protocol "' + protocol + '" is not supported, cannot load "' + url + '"');
|
||||||
|
}
|
||||||
|
var rawHeaders = options.headers || {};
|
||||||
|
var headers = caseless(rawHeaders);
|
||||||
|
if (urlObject.auth) {
|
||||||
|
headers.set('Authorization', 'Basic ' + (Buffer.from(urlObject.auth)).toString('base64'));
|
||||||
|
}
|
||||||
|
var agent = 'agent' in options ? options.agent : false;
|
||||||
|
var cache = options.cache;
|
||||||
|
if (typeof cache === 'string') {
|
||||||
|
if (cache === 'file') {
|
||||||
|
cache = fileCache;
|
||||||
|
}
|
||||||
|
else if (cache === 'memory') {
|
||||||
|
cache = memoryCache;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (cache && !(typeof cache === 'object' && typeof cache.getResponse === 'function' && typeof cache.setResponse === 'function' && typeof cache.invalidateResponse === 'function')) {
|
||||||
|
throw new TypeError(cache + ' is not a valid cache, caches must have `getResponse`, `setResponse` and `invalidateResponse` methods.');
|
||||||
|
}
|
||||||
|
var ignoreFailedInvalidation = options.ignoreFailedInvalidation;
|
||||||
|
if (options.duplex !== undefined && typeof options.duplex !== 'boolean') {
|
||||||
|
throw new Error('expected options.duplex to be a boolean if provided');
|
||||||
|
}
|
||||||
|
var duplex = options.duplex !== undefined ? options.duplex : !(method === 'GET' || method === 'DELETE' || method === 'HEAD');
|
||||||
|
var unsafe = !(method === 'GET' || method === 'OPTIONS' || method === 'HEAD');
|
||||||
|
if (options.gzip) {
|
||||||
|
headers.set('Accept-Encoding', headers.has('Accept-Encoding') ? headers.get('Accept-Encoding') + ',gzip,deflate' : 'gzip,deflate');
|
||||||
|
return _request(method, url, {
|
||||||
|
allowRedirectHeaders: options.allowRedirectHeaders,
|
||||||
|
duplex: duplex,
|
||||||
|
headers: rawHeaders,
|
||||||
|
agent: agent,
|
||||||
|
followRedirects: options.followRedirects,
|
||||||
|
retry: options.retry,
|
||||||
|
retryDelay: options.retryDelay,
|
||||||
|
maxRetries: options.maxRetries,
|
||||||
|
cache: cache,
|
||||||
|
timeout: options.timeout
|
||||||
|
}, function (err, res) {
|
||||||
|
if (err)
|
||||||
|
return callback(err);
|
||||||
|
if (!res)
|
||||||
|
return callback(new Error('Response should not be undefined if there is no error.'));
|
||||||
|
var newHeaders = __assign({}, res.headers);
|
||||||
|
var newBody = res.body;
|
||||||
|
switch (newHeaders['content-encoding']) {
|
||||||
|
case 'gzip':
|
||||||
|
delete newHeaders['content-encoding'];
|
||||||
|
newBody = res.body.pipe((0, zlib_1.createGunzip)());
|
||||||
|
break;
|
||||||
|
case 'deflate':
|
||||||
|
delete newHeaders['content-encoding'];
|
||||||
|
newBody = res.body.pipe((0, zlib_1.createInflate)());
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
return callback(err, new Response(res.statusCode, newHeaders, newBody, res.url));
|
||||||
|
});
|
||||||
|
}
|
||||||
|
if (options.followRedirects) {
|
||||||
|
return _request(method, url, {
|
||||||
|
allowRedirectHeaders: options.allowRedirectHeaders,
|
||||||
|
duplex: duplex,
|
||||||
|
headers: rawHeaders,
|
||||||
|
agent: agent,
|
||||||
|
retry: options.retry,
|
||||||
|
retryDelay: options.retryDelay,
|
||||||
|
maxRetries: options.maxRetries,
|
||||||
|
cache: cache,
|
||||||
|
timeout: options.timeout
|
||||||
|
}, function (err, res) {
|
||||||
|
if (err)
|
||||||
|
return callback(err);
|
||||||
|
if (!res)
|
||||||
|
return callback(new Error('Response should not be undefined if there is no error.'));
|
||||||
|
if (options.followRedirects && isRedirect(res.statusCode)) {
|
||||||
|
// prevent leakage of file handles
|
||||||
|
res.body.resume();
|
||||||
|
if (method === 'DELETE' && res.statusCode === 303) {
|
||||||
|
// 303 See Other should convert to GET for duplex
|
||||||
|
// requests and for DELETE
|
||||||
|
method = 'GET';
|
||||||
|
}
|
||||||
|
if (options.maxRedirects === 0) {
|
||||||
|
var err_1 = new Error('Maximum number of redirects exceeded');
|
||||||
|
err_1.res = res;
|
||||||
|
return callback(err_1, res);
|
||||||
|
}
|
||||||
|
options = __assign(__assign({}, options), { duplex: false, maxRedirects: options.maxRedirects && options.maxRedirects !== Infinity ? options.maxRedirects - 1 : options.maxRedirects });
|
||||||
|
// don't maintain headers through redirects
|
||||||
|
// This fixes a problem where a POST to http://example.com
|
||||||
|
// might result in a GET to http://example.co.uk that includes "content-length"
|
||||||
|
// as a header
|
||||||
|
var headers_1 = caseless(options.headers);
|
||||||
|
var redirectHeaders = {};
|
||||||
|
if (options.allowRedirectHeaders) {
|
||||||
|
for (var i = 0; i < options.allowRedirectHeaders.length; i++) {
|
||||||
|
var headerName = options.allowRedirectHeaders[i];
|
||||||
|
var headerValue = headers_1.get(headerName);
|
||||||
|
if (headerValue) {
|
||||||
|
redirectHeaders[headerName] = headerValue;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
options.headers = redirectHeaders;
|
||||||
|
var location = res.headers.location;
|
||||||
|
if (typeof location !== 'string') {
|
||||||
|
return callback(new Error('Cannot redirect to non string location: ' + location));
|
||||||
|
}
|
||||||
|
return request(duplex ? 'GET' : method, (0, url_1.resolve)(url, location), options, callback);
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
return callback(null, res);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
if (cache && method === 'GET' && !duplex) {
|
||||||
|
var timestamp_1 = Date.now();
|
||||||
|
return cache.getResponse(url, function (err, cachedResponse) {
|
||||||
|
if (err) {
|
||||||
|
console.warn('Error reading from cache: ' + err.message);
|
||||||
|
}
|
||||||
|
var isMatch = !!(cachedResponse && cacheUtils.isMatch(rawHeaders, cachedResponse));
|
||||||
|
if (cachedResponse && (options.isMatch ? options.isMatch(rawHeaders, cachedResponse, isMatch) : isMatch)) {
|
||||||
|
var isExpired = cacheUtils.isExpired(cachedResponse);
|
||||||
|
if (!(options.isExpired ? options.isExpired(cachedResponse, isExpired) : isExpired)) {
|
||||||
|
var res = new Response(cachedResponse.statusCode, cachedResponse.headers, cachedResponse.body, url);
|
||||||
|
res.fromCache = true;
|
||||||
|
res.fromNotModified = false;
|
||||||
|
return callback(null, res);
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
if (cachedResponse.headers['etag']) {
|
||||||
|
headers.set('If-None-Match', cachedResponse.headers['etag']);
|
||||||
|
}
|
||||||
|
if (cachedResponse.headers['last-modified']) {
|
||||||
|
headers.set('If-Modified-Since', cachedResponse.headers['last-modified']);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
request('GET', url, {
|
||||||
|
allowRedirectHeaders: options.allowRedirectHeaders,
|
||||||
|
headers: rawHeaders,
|
||||||
|
retry: options.retry,
|
||||||
|
retryDelay: options.retryDelay,
|
||||||
|
maxRetries: options.maxRetries,
|
||||||
|
agent: agent,
|
||||||
|
timeout: options.timeout
|
||||||
|
}, function (err, res) {
|
||||||
|
if (err)
|
||||||
|
return callback(err);
|
||||||
|
if (!res)
|
||||||
|
return callback(new Error('Response should not be undefined if there is no error.'));
|
||||||
|
if (res.statusCode === 304 && cachedResponse) { // Not Modified
|
||||||
|
// prevent leakage of file handles
|
||||||
|
res.body.resume();
|
||||||
|
var resultBody = cachedResponse.body;
|
||||||
|
var c = cache;
|
||||||
|
if (c.updateResponseHeaders) {
|
||||||
|
c.updateResponseHeaders(url, {
|
||||||
|
headers: res.headers,
|
||||||
|
requestTimestamp: timestamp_1
|
||||||
|
});
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
var cachedResponseBody_1 = new stream_1.PassThrough();
|
||||||
|
var newResultBody_1 = new stream_1.PassThrough();
|
||||||
|
resultBody.on('data', function (data) {
|
||||||
|
cachedResponseBody_1.write(data);
|
||||||
|
newResultBody_1.write(data);
|
||||||
|
});
|
||||||
|
resultBody.on('end', function () {
|
||||||
|
cachedResponseBody_1.end();
|
||||||
|
newResultBody_1.end();
|
||||||
|
});
|
||||||
|
resultBody = newResultBody_1;
|
||||||
|
cache.setResponse(url, {
|
||||||
|
statusCode: cachedResponse.statusCode,
|
||||||
|
headers: res.headers,
|
||||||
|
body: cachedResponseBody_1,
|
||||||
|
requestHeaders: cachedResponse.requestHeaders,
|
||||||
|
requestTimestamp: timestamp_1
|
||||||
|
});
|
||||||
|
}
|
||||||
|
var response = new Response(cachedResponse.statusCode, cachedResponse.headers, resultBody, url);
|
||||||
|
response.fromCache = true;
|
||||||
|
response.fromNotModified = true;
|
||||||
|
return callback(null, response);
|
||||||
|
}
|
||||||
|
// prevent leakage of file handles
|
||||||
|
cachedResponse && cachedResponse.body.resume();
|
||||||
|
var canCache = cacheUtils.canCache(res);
|
||||||
|
if (options.canCache ? options.canCache(res, canCache) : canCache) {
|
||||||
|
var cachedResponseBody_2 = new stream_1.PassThrough();
|
||||||
|
var resultResponseBody_1 = new stream_1.PassThrough();
|
||||||
|
res.body.on('data', function (data) {
|
||||||
|
cachedResponseBody_2.write(data);
|
||||||
|
resultResponseBody_1.write(data);
|
||||||
|
});
|
||||||
|
res.body.on('end', function () { cachedResponseBody_2.end(); resultResponseBody_1.end(); });
|
||||||
|
var resultResponse = new Response(res.statusCode, res.headers, resultResponseBody_1, url);
|
||||||
|
cache.setResponse(url, {
|
||||||
|
statusCode: res.statusCode,
|
||||||
|
headers: res.headers,
|
||||||
|
body: cachedResponseBody_2,
|
||||||
|
requestHeaders: rawHeaders,
|
||||||
|
requestTimestamp: timestamp_1
|
||||||
|
});
|
||||||
|
return callback(null, resultResponse);
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
return callback(null, res);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
});
|
||||||
|
}
|
||||||
|
function attempt(n) {
|
||||||
|
return _request(method, url, {
|
||||||
|
allowRedirectHeaders: options.allowRedirectHeaders,
|
||||||
|
headers: rawHeaders,
|
||||||
|
agent: agent,
|
||||||
|
timeout: options.timeout
|
||||||
|
}, function (err, res) {
|
||||||
|
var retry = err || !res || res.statusCode >= 400;
|
||||||
|
if (typeof options.retry === 'function') {
|
||||||
|
retry = options.retry(err, res, n + 1);
|
||||||
|
}
|
||||||
|
if (n >= (options.maxRetries || 5)) {
|
||||||
|
retry = false;
|
||||||
|
}
|
||||||
|
if (retry) {
|
||||||
|
var delay = options.retryDelay;
|
||||||
|
if (typeof delay === 'function') {
|
||||||
|
delay = delay(err, res, n + 1);
|
||||||
|
}
|
||||||
|
delay = delay || 200;
|
||||||
|
setTimeout(function () {
|
||||||
|
attempt(n + 1);
|
||||||
|
}, delay);
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
callback(err, res);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
if (options.retry && method === 'GET' && !duplex) {
|
||||||
|
return attempt(0);
|
||||||
|
}
|
||||||
|
var responded = false;
|
||||||
|
var timeout = null;
|
||||||
|
var req = requestProtocol(protocol, {
|
||||||
|
host: urlObject.hostname,
|
||||||
|
port: urlObject.port == null ? undefined : +urlObject.port,
|
||||||
|
path: urlObject.path,
|
||||||
|
method: method,
|
||||||
|
headers: rawHeaders,
|
||||||
|
agent: agent
|
||||||
|
}, function (res) {
|
||||||
|
var end = Date.now();
|
||||||
|
if (responded)
|
||||||
|
return res.resume();
|
||||||
|
responded = true;
|
||||||
|
if (timeout !== null)
|
||||||
|
clearTimeout(timeout);
|
||||||
|
var result = new Response(res.statusCode || 0, res.headers, res, url);
|
||||||
|
if (cache && unsafe && res.statusCode && res.statusCode < 400) {
|
||||||
|
cache.invalidateResponse(url, function (err) {
|
||||||
|
if (err && !ignoreFailedInvalidation) {
|
||||||
|
callback(new Error('Error invalidating the cache for' + url + ': ' + err.message), result);
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
callback(null, result);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
callback(null, result);
|
||||||
|
}
|
||||||
|
}).on('error', function (err) {
|
||||||
|
if (responded)
|
||||||
|
return;
|
||||||
|
responded = true;
|
||||||
|
if (timeout !== null)
|
||||||
|
clearTimeout(timeout);
|
||||||
|
callback(err);
|
||||||
|
});
|
||||||
|
function onTimeout() {
|
||||||
|
if (responded)
|
||||||
|
return;
|
||||||
|
responded = true;
|
||||||
|
if (timeout !== null)
|
||||||
|
clearTimeout(timeout);
|
||||||
|
req.abort();
|
||||||
|
var duration = Date.now() - start;
|
||||||
|
var err = new Error('Request timed out after ' + duration + 'ms');
|
||||||
|
err.timeout = true;
|
||||||
|
err.duration = duration;
|
||||||
|
callback(err);
|
||||||
|
}
|
||||||
|
if (options.socketTimeout) {
|
||||||
|
req.setTimeout(options.socketTimeout, onTimeout);
|
||||||
|
}
|
||||||
|
if (options.timeout) {
|
||||||
|
timeout = setTimeout(onTimeout, options.timeout);
|
||||||
|
}
|
||||||
|
if (duplex) {
|
||||||
|
return req;
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
req.end();
|
||||||
|
}
|
||||||
|
return undefined;
|
||||||
|
}
|
||||||
|
function isRedirect(statusCode) {
|
||||||
|
return statusCode === 301 || statusCode === 302 || statusCode === 303 || statusCode === 307 || statusCode === 308;
|
||||||
|
}
|
||||||
|
exports["default"] = request;
|
||||||
|
module.exports = request;
|
||||||
|
module.exports["default"] = request;
|
||||||
|
module.exports.FileCache = FileCache_1["default"];
|
||||||
|
module.exports.MemoryCache = MemoryCache_1["default"];
|
||||||
|
module.exports.Response = Response;
|
35
node_modules/@derhuerst/http-basic/lib/index.js.flow
generated
vendored
Normal file
35
node_modules/@derhuerst/http-basic/lib/index.js.flow
generated
vendored
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
// @flow
|
||||||
|
// Generated using flowgen2
|
||||||
|
|
||||||
|
import FileCache from './FileCache';
|
||||||
|
import MemoryCache from './MemoryCache';
|
||||||
|
import type {Callback} from './Callback';
|
||||||
|
import type {CachedResponse} from './CachedResponse';
|
||||||
|
import type {HttpVerb} from './HttpVerb';
|
||||||
|
import type {ICache} from './ICache';
|
||||||
|
import type {Options} from './Options';
|
||||||
|
const Response = require('http-response-object');
|
||||||
|
import {URL} from 'url';
|
||||||
|
|
||||||
|
declare function request(
|
||||||
|
method: HttpVerb,
|
||||||
|
url: string | URL,
|
||||||
|
options: Options | null | void,
|
||||||
|
callback: Callback,
|
||||||
|
): void | stream$Writable;
|
||||||
|
|
||||||
|
declare function request(
|
||||||
|
method: HttpVerb,
|
||||||
|
url: string | URL,
|
||||||
|
callback: Callback,
|
||||||
|
): void | stream$Writable;
|
||||||
|
|
||||||
|
export default request;
|
||||||
|
export type {HttpVerb};
|
||||||
|
export type {Options};
|
||||||
|
export {FileCache};
|
||||||
|
export {MemoryCache};
|
||||||
|
export type {Callback};
|
||||||
|
export {Response};
|
||||||
|
export type {CachedResponse};
|
||||||
|
export type {ICache};
|
48
node_modules/@derhuerst/http-basic/package.json
generated
vendored
Normal file
48
node_modules/@derhuerst/http-basic/package.json
generated
vendored
Normal file
|
@ -0,0 +1,48 @@
|
||||||
|
{
|
||||||
|
"name": "@derhuerst/http-basic",
|
||||||
|
"version": "8.2.4",
|
||||||
|
"main": "lib/index.js",
|
||||||
|
"types": "lib/index.d.ts",
|
||||||
|
"files": [
|
||||||
|
"lib"
|
||||||
|
],
|
||||||
|
"description": "Very low level wrapper arround http.request/https.request",
|
||||||
|
"keywords": [
|
||||||
|
"http",
|
||||||
|
"https",
|
||||||
|
"request",
|
||||||
|
"fetch",
|
||||||
|
"gzip",
|
||||||
|
"deflate",
|
||||||
|
"redirect",
|
||||||
|
"cache",
|
||||||
|
"etag",
|
||||||
|
"cache-control"
|
||||||
|
],
|
||||||
|
"dependencies": {
|
||||||
|
"caseless": "^0.12.0",
|
||||||
|
"concat-stream": "^2.0.0",
|
||||||
|
"http-response-object": "^3.0.1",
|
||||||
|
"parse-cache-control": "^1.0.1"
|
||||||
|
},
|
||||||
|
"devDependencies": {
|
||||||
|
"@types/concat-stream": "^2.0.0",
|
||||||
|
"@types/node": "^18.0.1",
|
||||||
|
"flowgen2": "^2.2.1",
|
||||||
|
"rimraf": "^3.0.2",
|
||||||
|
"serve-static": "^1.11.1",
|
||||||
|
"typescript": "^4.5.4"
|
||||||
|
},
|
||||||
|
"scripts": {
|
||||||
|
"prepublishOnly": "npm run build",
|
||||||
|
"build": "tsc && flowgen lib/**/*",
|
||||||
|
"pretest": "npm run build",
|
||||||
|
"test": "node test/index && node test/cache && node test/cache-invalidation && rimraf lib/cache"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": ">=6.0.0"
|
||||||
|
},
|
||||||
|
"repository": "https://github.com/derhuerst/http-basic.git",
|
||||||
|
"author": "ForbesLindesay",
|
||||||
|
"license": "MIT"
|
||||||
|
}
|
59
node_modules/@discordjs/.opus-537sWZVY/build/Release/.deps/Release/obj.target/libopus/deps/opus/silk/fixed/LTP_analysis_filter_FIX.o.d
generated
vendored
Normal file
59
node_modules/@discordjs/.opus-537sWZVY/build/Release/.deps/Release/obj.target/libopus/deps/opus/silk/fixed/LTP_analysis_filter_FIX.o.d
generated
vendored
Normal file
|
@ -0,0 +1,59 @@
|
||||||
|
cmd_Release/obj.target/libopus/deps/opus/silk/fixed/LTP_analysis_filter_FIX.o := cc -o Release/obj.target/libopus/deps/opus/silk/fixed/LTP_analysis_filter_FIX.o ../deps/opus/silk/fixed/LTP_analysis_filter_FIX.c '-DNODE_GYP_MODULE_NAME=libopus' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_GLIBCXX_USE_CXX11_ABI=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-D__STDC_FORMAT_MACROS' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DPIC' '-DHAVE_CONFIG_H' -I/home/sykora/.cache/node-gyp/20.12.2/include/node -I/home/sykora/.cache/node-gyp/20.12.2/src -I/home/sykora/.cache/node-gyp/20.12.2/deps/openssl/config -I/home/sykora/.cache/node-gyp/20.12.2/deps/openssl/openssl/include -I/home/sykora/.cache/node-gyp/20.12.2/deps/uv/include -I/home/sykora/.cache/node-gyp/20.12.2/deps/zlib -I/home/sykora/.cache/node-gyp/20.12.2/deps/v8/include -I../deps/config/opus/linux/x64 -I../deps/opus/include -I../deps/opus/celt -I../deps/opus/silk -I../deps/opus/silk/float -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -fvisibility=hidden -W -Wstrict-prototypes -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wno-parentheses -Wno-unused-parameter -Wno-sign-compare -Wno-maybe-uninitialized -m64 -O3 -fno-omit-frame-pointer -MMD -MF ./Release/.deps/Release/obj.target/libopus/deps/opus/silk/fixed/LTP_analysis_filter_FIX.o.d.raw -c
|
||||||
|
Release/obj.target/libopus/deps/opus/silk/fixed/LTP_analysis_filter_FIX.o: \
|
||||||
|
../deps/opus/silk/fixed/LTP_analysis_filter_FIX.c \
|
||||||
|
../deps/config/opus/linux/x64/config.h \
|
||||||
|
../deps/opus/silk/fixed/main_FIX.h ../deps/opus/silk/SigProc_FIX.h \
|
||||||
|
../deps/opus/silk/typedef.h ../deps/opus/include/opus_types.h \
|
||||||
|
../deps/opus/include/opus_defines.h ../deps/opus/include/opus_types.h \
|
||||||
|
../deps/opus/silk/resampler_structs.h ../deps/opus/silk/macros.h \
|
||||||
|
../deps/opus/celt/arch.h ../deps/opus/celt/ecintrin.h \
|
||||||
|
../deps/opus/celt/arch.h ../deps/opus/celt/cpu_support.h \
|
||||||
|
../deps/opus/silk/Inlines.h ../deps/opus/silk/MacroCount.h \
|
||||||
|
../deps/opus/silk/MacroDebug.h ../deps/opus/silk/fixed/structs_FIX.h \
|
||||||
|
../deps/opus/silk/typedef.h ../deps/opus/silk/main.h \
|
||||||
|
../deps/opus/silk/SigProc_FIX.h ../deps/opus/silk/define.h \
|
||||||
|
../deps/opus/silk/errors.h ../deps/opus/silk/structs.h \
|
||||||
|
../deps/opus/celt/entenc.h ../deps/opus/celt/entcode.h \
|
||||||
|
../deps/opus/celt/ecintrin.h ../deps/opus/celt/entdec.h \
|
||||||
|
../deps/opus/silk/tables.h ../deps/opus/silk/PLC.h \
|
||||||
|
../deps/opus/silk/main.h ../deps/opus/silk/control.h \
|
||||||
|
../deps/opus/silk/debug.h ../deps/opus/silk/structs.h \
|
||||||
|
../deps/opus/silk/control.h ../deps/opus/silk/PLC.h \
|
||||||
|
../deps/opus/silk/debug.h
|
||||||
|
../deps/opus/silk/fixed/LTP_analysis_filter_FIX.c:
|
||||||
|
../deps/config/opus/linux/x64/config.h:
|
||||||
|
../deps/opus/silk/fixed/main_FIX.h:
|
||||||
|
../deps/opus/silk/SigProc_FIX.h:
|
||||||
|
../deps/opus/silk/typedef.h:
|
||||||
|
../deps/opus/include/opus_types.h:
|
||||||
|
../deps/opus/include/opus_defines.h:
|
||||||
|
../deps/opus/include/opus_types.h:
|
||||||
|
../deps/opus/silk/resampler_structs.h:
|
||||||
|
../deps/opus/silk/macros.h:
|
||||||
|
../deps/opus/celt/arch.h:
|
||||||
|
../deps/opus/celt/ecintrin.h:
|
||||||
|
../deps/opus/celt/arch.h:
|
||||||
|
../deps/opus/celt/cpu_support.h:
|
||||||
|
../deps/opus/silk/Inlines.h:
|
||||||
|
../deps/opus/silk/MacroCount.h:
|
||||||
|
../deps/opus/silk/MacroDebug.h:
|
||||||
|
../deps/opus/silk/fixed/structs_FIX.h:
|
||||||
|
../deps/opus/silk/typedef.h:
|
||||||
|
../deps/opus/silk/main.h:
|
||||||
|
../deps/opus/silk/SigProc_FIX.h:
|
||||||
|
../deps/opus/silk/define.h:
|
||||||
|
../deps/opus/silk/errors.h:
|
||||||
|
../deps/opus/silk/structs.h:
|
||||||
|
../deps/opus/celt/entenc.h:
|
||||||
|
../deps/opus/celt/entcode.h:
|
||||||
|
../deps/opus/celt/ecintrin.h:
|
||||||
|
../deps/opus/celt/entdec.h:
|
||||||
|
../deps/opus/silk/tables.h:
|
||||||
|
../deps/opus/silk/PLC.h:
|
||||||
|
../deps/opus/silk/main.h:
|
||||||
|
../deps/opus/silk/control.h:
|
||||||
|
../deps/opus/silk/debug.h:
|
||||||
|
../deps/opus/silk/structs.h:
|
||||||
|
../deps/opus/silk/control.h:
|
||||||
|
../deps/opus/silk/PLC.h:
|
||||||
|
../deps/opus/silk/debug.h:
|
59
node_modules/@discordjs/.opus-537sWZVY/build/Release/.deps/Release/obj.target/libopus/deps/opus/silk/fixed/LTP_scale_ctrl_FIX.o.d
generated
vendored
Normal file
59
node_modules/@discordjs/.opus-537sWZVY/build/Release/.deps/Release/obj.target/libopus/deps/opus/silk/fixed/LTP_scale_ctrl_FIX.o.d
generated
vendored
Normal file
|
@ -0,0 +1,59 @@
|
||||||
|
cmd_Release/obj.target/libopus/deps/opus/silk/fixed/LTP_scale_ctrl_FIX.o := cc -o Release/obj.target/libopus/deps/opus/silk/fixed/LTP_scale_ctrl_FIX.o ../deps/opus/silk/fixed/LTP_scale_ctrl_FIX.c '-DNODE_GYP_MODULE_NAME=libopus' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_GLIBCXX_USE_CXX11_ABI=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-D__STDC_FORMAT_MACROS' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DPIC' '-DHAVE_CONFIG_H' -I/home/sykora/.cache/node-gyp/20.12.2/include/node -I/home/sykora/.cache/node-gyp/20.12.2/src -I/home/sykora/.cache/node-gyp/20.12.2/deps/openssl/config -I/home/sykora/.cache/node-gyp/20.12.2/deps/openssl/openssl/include -I/home/sykora/.cache/node-gyp/20.12.2/deps/uv/include -I/home/sykora/.cache/node-gyp/20.12.2/deps/zlib -I/home/sykora/.cache/node-gyp/20.12.2/deps/v8/include -I../deps/config/opus/linux/x64 -I../deps/opus/include -I../deps/opus/celt -I../deps/opus/silk -I../deps/opus/silk/float -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -fvisibility=hidden -W -Wstrict-prototypes -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wno-parentheses -Wno-unused-parameter -Wno-sign-compare -Wno-maybe-uninitialized -m64 -O3 -fno-omit-frame-pointer -MMD -MF ./Release/.deps/Release/obj.target/libopus/deps/opus/silk/fixed/LTP_scale_ctrl_FIX.o.d.raw -c
|
||||||
|
Release/obj.target/libopus/deps/opus/silk/fixed/LTP_scale_ctrl_FIX.o: \
|
||||||
|
../deps/opus/silk/fixed/LTP_scale_ctrl_FIX.c \
|
||||||
|
../deps/config/opus/linux/x64/config.h \
|
||||||
|
../deps/opus/silk/fixed/main_FIX.h ../deps/opus/silk/SigProc_FIX.h \
|
||||||
|
../deps/opus/silk/typedef.h ../deps/opus/include/opus_types.h \
|
||||||
|
../deps/opus/include/opus_defines.h ../deps/opus/include/opus_types.h \
|
||||||
|
../deps/opus/silk/resampler_structs.h ../deps/opus/silk/macros.h \
|
||||||
|
../deps/opus/celt/arch.h ../deps/opus/celt/ecintrin.h \
|
||||||
|
../deps/opus/celt/arch.h ../deps/opus/celt/cpu_support.h \
|
||||||
|
../deps/opus/silk/Inlines.h ../deps/opus/silk/MacroCount.h \
|
||||||
|
../deps/opus/silk/MacroDebug.h ../deps/opus/silk/fixed/structs_FIX.h \
|
||||||
|
../deps/opus/silk/typedef.h ../deps/opus/silk/main.h \
|
||||||
|
../deps/opus/silk/SigProc_FIX.h ../deps/opus/silk/define.h \
|
||||||
|
../deps/opus/silk/errors.h ../deps/opus/silk/structs.h \
|
||||||
|
../deps/opus/celt/entenc.h ../deps/opus/celt/entcode.h \
|
||||||
|
../deps/opus/celt/ecintrin.h ../deps/opus/celt/entdec.h \
|
||||||
|
../deps/opus/silk/tables.h ../deps/opus/silk/PLC.h \
|
||||||
|
../deps/opus/silk/main.h ../deps/opus/silk/control.h \
|
||||||
|
../deps/opus/silk/debug.h ../deps/opus/silk/structs.h \
|
||||||
|
../deps/opus/silk/control.h ../deps/opus/silk/PLC.h \
|
||||||
|
../deps/opus/silk/debug.h
|
||||||
|
../deps/opus/silk/fixed/LTP_scale_ctrl_FIX.c:
|
||||||
|
../deps/config/opus/linux/x64/config.h:
|
||||||
|
../deps/opus/silk/fixed/main_FIX.h:
|
||||||
|
../deps/opus/silk/SigProc_FIX.h:
|
||||||
|
../deps/opus/silk/typedef.h:
|
||||||
|
../deps/opus/include/opus_types.h:
|
||||||
|
../deps/opus/include/opus_defines.h:
|
||||||
|
../deps/opus/include/opus_types.h:
|
||||||
|
../deps/opus/silk/resampler_structs.h:
|
||||||
|
../deps/opus/silk/macros.h:
|
||||||
|
../deps/opus/celt/arch.h:
|
||||||
|
../deps/opus/celt/ecintrin.h:
|
||||||
|
../deps/opus/celt/arch.h:
|
||||||
|
../deps/opus/celt/cpu_support.h:
|
||||||
|
../deps/opus/silk/Inlines.h:
|
||||||
|
../deps/opus/silk/MacroCount.h:
|
||||||
|
../deps/opus/silk/MacroDebug.h:
|
||||||
|
../deps/opus/silk/fixed/structs_FIX.h:
|
||||||
|
../deps/opus/silk/typedef.h:
|
||||||
|
../deps/opus/silk/main.h:
|
||||||
|
../deps/opus/silk/SigProc_FIX.h:
|
||||||
|
../deps/opus/silk/define.h:
|
||||||
|
../deps/opus/silk/errors.h:
|
||||||
|
../deps/opus/silk/structs.h:
|
||||||
|
../deps/opus/celt/entenc.h:
|
||||||
|
../deps/opus/celt/entcode.h:
|
||||||
|
../deps/opus/celt/ecintrin.h:
|
||||||
|
../deps/opus/celt/entdec.h:
|
||||||
|
../deps/opus/silk/tables.h:
|
||||||
|
../deps/opus/silk/PLC.h:
|
||||||
|
../deps/opus/silk/main.h:
|
||||||
|
../deps/opus/silk/control.h:
|
||||||
|
../deps/opus/silk/debug.h:
|
||||||
|
../deps/opus/silk/structs.h:
|
||||||
|
../deps/opus/silk/control.h:
|
||||||
|
../deps/opus/silk/PLC.h:
|
||||||
|
../deps/opus/silk/debug.h:
|
27
node_modules/@discordjs/.opus-537sWZVY/build/Release/.deps/Release/obj.target/libopus/deps/opus/silk/fixed/apply_sine_window_FIX.o.d
generated
vendored
Normal file
27
node_modules/@discordjs/.opus-537sWZVY/build/Release/.deps/Release/obj.target/libopus/deps/opus/silk/fixed/apply_sine_window_FIX.o.d
generated
vendored
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
cmd_Release/obj.target/libopus/deps/opus/silk/fixed/apply_sine_window_FIX.o := cc -o Release/obj.target/libopus/deps/opus/silk/fixed/apply_sine_window_FIX.o ../deps/opus/silk/fixed/apply_sine_window_FIX.c '-DNODE_GYP_MODULE_NAME=libopus' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_GLIBCXX_USE_CXX11_ABI=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-D__STDC_FORMAT_MACROS' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DPIC' '-DHAVE_CONFIG_H' -I/home/sykora/.cache/node-gyp/20.12.2/include/node -I/home/sykora/.cache/node-gyp/20.12.2/src -I/home/sykora/.cache/node-gyp/20.12.2/deps/openssl/config -I/home/sykora/.cache/node-gyp/20.12.2/deps/openssl/openssl/include -I/home/sykora/.cache/node-gyp/20.12.2/deps/uv/include -I/home/sykora/.cache/node-gyp/20.12.2/deps/zlib -I/home/sykora/.cache/node-gyp/20.12.2/deps/v8/include -I../deps/config/opus/linux/x64 -I../deps/opus/include -I../deps/opus/celt -I../deps/opus/silk -I../deps/opus/silk/float -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -fvisibility=hidden -W -Wstrict-prototypes -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wno-parentheses -Wno-unused-parameter -Wno-sign-compare -Wno-maybe-uninitialized -m64 -O3 -fno-omit-frame-pointer -MMD -MF ./Release/.deps/Release/obj.target/libopus/deps/opus/silk/fixed/apply_sine_window_FIX.o.d.raw -c
|
||||||
|
Release/obj.target/libopus/deps/opus/silk/fixed/apply_sine_window_FIX.o: \
|
||||||
|
../deps/opus/silk/fixed/apply_sine_window_FIX.c \
|
||||||
|
../deps/config/opus/linux/x64/config.h ../deps/opus/silk/SigProc_FIX.h \
|
||||||
|
../deps/opus/silk/typedef.h ../deps/opus/include/opus_types.h \
|
||||||
|
../deps/opus/include/opus_defines.h ../deps/opus/include/opus_types.h \
|
||||||
|
../deps/opus/silk/resampler_structs.h ../deps/opus/silk/macros.h \
|
||||||
|
../deps/opus/celt/arch.h ../deps/opus/celt/ecintrin.h \
|
||||||
|
../deps/opus/celt/arch.h ../deps/opus/celt/cpu_support.h \
|
||||||
|
../deps/opus/silk/Inlines.h ../deps/opus/silk/MacroCount.h \
|
||||||
|
../deps/opus/silk/MacroDebug.h
|
||||||
|
../deps/opus/silk/fixed/apply_sine_window_FIX.c:
|
||||||
|
../deps/config/opus/linux/x64/config.h:
|
||||||
|
../deps/opus/silk/SigProc_FIX.h:
|
||||||
|
../deps/opus/silk/typedef.h:
|
||||||
|
../deps/opus/include/opus_types.h:
|
||||||
|
../deps/opus/include/opus_defines.h:
|
||||||
|
../deps/opus/include/opus_types.h:
|
||||||
|
../deps/opus/silk/resampler_structs.h:
|
||||||
|
../deps/opus/silk/macros.h:
|
||||||
|
../deps/opus/celt/arch.h:
|
||||||
|
../deps/opus/celt/ecintrin.h:
|
||||||
|
../deps/opus/celt/arch.h:
|
||||||
|
../deps/opus/celt/cpu_support.h:
|
||||||
|
../deps/opus/silk/Inlines.h:
|
||||||
|
../deps/opus/silk/MacroCount.h:
|
||||||
|
../deps/opus/silk/MacroDebug.h:
|
30
node_modules/@discordjs/.opus-537sWZVY/build/Release/.deps/Release/obj.target/libopus/deps/opus/silk/fixed/autocorr_FIX.o.d
generated
vendored
Normal file
30
node_modules/@discordjs/.opus-537sWZVY/build/Release/.deps/Release/obj.target/libopus/deps/opus/silk/fixed/autocorr_FIX.o.d
generated
vendored
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
cmd_Release/obj.target/libopus/deps/opus/silk/fixed/autocorr_FIX.o := cc -o Release/obj.target/libopus/deps/opus/silk/fixed/autocorr_FIX.o ../deps/opus/silk/fixed/autocorr_FIX.c '-DNODE_GYP_MODULE_NAME=libopus' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_GLIBCXX_USE_CXX11_ABI=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-D__STDC_FORMAT_MACROS' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DPIC' '-DHAVE_CONFIG_H' -I/home/sykora/.cache/node-gyp/20.12.2/include/node -I/home/sykora/.cache/node-gyp/20.12.2/src -I/home/sykora/.cache/node-gyp/20.12.2/deps/openssl/config -I/home/sykora/.cache/node-gyp/20.12.2/deps/openssl/openssl/include -I/home/sykora/.cache/node-gyp/20.12.2/deps/uv/include -I/home/sykora/.cache/node-gyp/20.12.2/deps/zlib -I/home/sykora/.cache/node-gyp/20.12.2/deps/v8/include -I../deps/config/opus/linux/x64 -I../deps/opus/include -I../deps/opus/celt -I../deps/opus/silk -I../deps/opus/silk/float -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -fvisibility=hidden -W -Wstrict-prototypes -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wno-parentheses -Wno-unused-parameter -Wno-sign-compare -Wno-maybe-uninitialized -m64 -O3 -fno-omit-frame-pointer -MMD -MF ./Release/.deps/Release/obj.target/libopus/deps/opus/silk/fixed/autocorr_FIX.o.d.raw -c
|
||||||
|
Release/obj.target/libopus/deps/opus/silk/fixed/autocorr_FIX.o: \
|
||||||
|
../deps/opus/silk/fixed/autocorr_FIX.c \
|
||||||
|
../deps/config/opus/linux/x64/config.h ../deps/opus/silk/SigProc_FIX.h \
|
||||||
|
../deps/opus/silk/typedef.h ../deps/opus/include/opus_types.h \
|
||||||
|
../deps/opus/include/opus_defines.h ../deps/opus/include/opus_types.h \
|
||||||
|
../deps/opus/silk/resampler_structs.h ../deps/opus/silk/macros.h \
|
||||||
|
../deps/opus/celt/arch.h ../deps/opus/celt/ecintrin.h \
|
||||||
|
../deps/opus/celt/arch.h ../deps/opus/celt/cpu_support.h \
|
||||||
|
../deps/opus/silk/Inlines.h ../deps/opus/silk/MacroCount.h \
|
||||||
|
../deps/opus/silk/MacroDebug.h ../deps/opus/celt/celt_lpc.h \
|
||||||
|
../deps/opus/celt/cpu_support.h
|
||||||
|
../deps/opus/silk/fixed/autocorr_FIX.c:
|
||||||
|
../deps/config/opus/linux/x64/config.h:
|
||||||
|
../deps/opus/silk/SigProc_FIX.h:
|
||||||
|
../deps/opus/silk/typedef.h:
|
||||||
|
../deps/opus/include/opus_types.h:
|
||||||
|
../deps/opus/include/opus_defines.h:
|
||||||
|
../deps/opus/include/opus_types.h:
|
||||||
|
../deps/opus/silk/resampler_structs.h:
|
||||||
|
../deps/opus/silk/macros.h:
|
||||||
|
../deps/opus/celt/arch.h:
|
||||||
|
../deps/opus/celt/ecintrin.h:
|
||||||
|
../deps/opus/celt/arch.h:
|
||||||
|
../deps/opus/celt/cpu_support.h:
|
||||||
|
../deps/opus/silk/Inlines.h:
|
||||||
|
../deps/opus/silk/MacroCount.h:
|
||||||
|
../deps/opus/silk/MacroDebug.h:
|
||||||
|
../deps/opus/celt/celt_lpc.h:
|
||||||
|
../deps/opus/celt/cpu_support.h:
|
49
node_modules/@discordjs/.opus-537sWZVY/build/Release/.deps/Release/obj.target/libopus/deps/opus/silk/fixed/burg_modified_FIX.o.d
generated
vendored
Normal file
49
node_modules/@discordjs/.opus-537sWZVY/build/Release/.deps/Release/obj.target/libopus/deps/opus/silk/fixed/burg_modified_FIX.o.d
generated
vendored
Normal file
|
@ -0,0 +1,49 @@
|
||||||
|
cmd_Release/obj.target/libopus/deps/opus/silk/fixed/burg_modified_FIX.o := cc -o Release/obj.target/libopus/deps/opus/silk/fixed/burg_modified_FIX.o ../deps/opus/silk/fixed/burg_modified_FIX.c '-DNODE_GYP_MODULE_NAME=libopus' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_GLIBCXX_USE_CXX11_ABI=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-D__STDC_FORMAT_MACROS' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DPIC' '-DHAVE_CONFIG_H' -I/home/sykora/.cache/node-gyp/20.12.2/include/node -I/home/sykora/.cache/node-gyp/20.12.2/src -I/home/sykora/.cache/node-gyp/20.12.2/deps/openssl/config -I/home/sykora/.cache/node-gyp/20.12.2/deps/openssl/openssl/include -I/home/sykora/.cache/node-gyp/20.12.2/deps/uv/include -I/home/sykora/.cache/node-gyp/20.12.2/deps/zlib -I/home/sykora/.cache/node-gyp/20.12.2/deps/v8/include -I../deps/config/opus/linux/x64 -I../deps/opus/include -I../deps/opus/celt -I../deps/opus/silk -I../deps/opus/silk/float -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -fvisibility=hidden -W -Wstrict-prototypes -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wno-parentheses -Wno-unused-parameter -Wno-sign-compare -Wno-maybe-uninitialized -m64 -O3 -fno-omit-frame-pointer -MMD -MF ./Release/.deps/Release/obj.target/libopus/deps/opus/silk/fixed/burg_modified_FIX.o.d.raw -c
|
||||||
|
Release/obj.target/libopus/deps/opus/silk/fixed/burg_modified_FIX.o: \
|
||||||
|
../deps/opus/silk/fixed/burg_modified_FIX.c \
|
||||||
|
../deps/config/opus/linux/x64/config.h ../deps/opus/silk/SigProc_FIX.h \
|
||||||
|
../deps/opus/silk/typedef.h ../deps/opus/include/opus_types.h \
|
||||||
|
../deps/opus/include/opus_defines.h ../deps/opus/include/opus_types.h \
|
||||||
|
../deps/opus/silk/resampler_structs.h ../deps/opus/silk/macros.h \
|
||||||
|
../deps/opus/celt/arch.h ../deps/opus/celt/ecintrin.h \
|
||||||
|
../deps/opus/celt/arch.h ../deps/opus/celt/cpu_support.h \
|
||||||
|
../deps/opus/silk/Inlines.h ../deps/opus/silk/MacroCount.h \
|
||||||
|
../deps/opus/silk/MacroDebug.h ../deps/opus/silk/define.h \
|
||||||
|
../deps/opus/silk/errors.h ../deps/opus/silk/tuning_parameters.h \
|
||||||
|
../deps/opus/celt/pitch.h ../deps/opus/celt/modes.h \
|
||||||
|
../deps/opus/celt/celt.h ../deps/opus/include/opus_custom.h \
|
||||||
|
../deps/opus/include/opus_defines.h ../deps/opus/celt/entenc.h \
|
||||||
|
../deps/opus/celt/entcode.h ../deps/opus/celt/ecintrin.h \
|
||||||
|
../deps/opus/celt/entdec.h ../deps/opus/celt/mdct.h \
|
||||||
|
../deps/opus/celt/kiss_fft.h ../deps/opus/celt/cpu_support.h
|
||||||
|
../deps/opus/silk/fixed/burg_modified_FIX.c:
|
||||||
|
../deps/config/opus/linux/x64/config.h:
|
||||||
|
../deps/opus/silk/SigProc_FIX.h:
|
||||||
|
../deps/opus/silk/typedef.h:
|
||||||
|
../deps/opus/include/opus_types.h:
|
||||||
|
../deps/opus/include/opus_defines.h:
|
||||||
|
../deps/opus/include/opus_types.h:
|
||||||
|
../deps/opus/silk/resampler_structs.h:
|
||||||
|
../deps/opus/silk/macros.h:
|
||||||
|
../deps/opus/celt/arch.h:
|
||||||
|
../deps/opus/celt/ecintrin.h:
|
||||||
|
../deps/opus/celt/arch.h:
|
||||||
|
../deps/opus/celt/cpu_support.h:
|
||||||
|
../deps/opus/silk/Inlines.h:
|
||||||
|
../deps/opus/silk/MacroCount.h:
|
||||||
|
../deps/opus/silk/MacroDebug.h:
|
||||||
|
../deps/opus/silk/define.h:
|
||||||
|
../deps/opus/silk/errors.h:
|
||||||
|
../deps/opus/silk/tuning_parameters.h:
|
||||||
|
../deps/opus/celt/pitch.h:
|
||||||
|
../deps/opus/celt/modes.h:
|
||||||
|
../deps/opus/celt/celt.h:
|
||||||
|
../deps/opus/include/opus_custom.h:
|
||||||
|
../deps/opus/include/opus_defines.h:
|
||||||
|
../deps/opus/celt/entenc.h:
|
||||||
|
../deps/opus/celt/entcode.h:
|
||||||
|
../deps/opus/celt/ecintrin.h:
|
||||||
|
../deps/opus/celt/entdec.h:
|
||||||
|
../deps/opus/celt/mdct.h:
|
||||||
|
../deps/opus/celt/kiss_fft.h:
|
||||||
|
../deps/opus/celt/cpu_support.h:
|
59
node_modules/@discordjs/.opus-537sWZVY/build/Release/.deps/Release/obj.target/libopus/deps/opus/silk/fixed/corrMatrix_FIX.o.d
generated
vendored
Normal file
59
node_modules/@discordjs/.opus-537sWZVY/build/Release/.deps/Release/obj.target/libopus/deps/opus/silk/fixed/corrMatrix_FIX.o.d
generated
vendored
Normal file
|
@ -0,0 +1,59 @@
|
||||||
|
cmd_Release/obj.target/libopus/deps/opus/silk/fixed/corrMatrix_FIX.o := cc -o Release/obj.target/libopus/deps/opus/silk/fixed/corrMatrix_FIX.o ../deps/opus/silk/fixed/corrMatrix_FIX.c '-DNODE_GYP_MODULE_NAME=libopus' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_GLIBCXX_USE_CXX11_ABI=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-D__STDC_FORMAT_MACROS' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DPIC' '-DHAVE_CONFIG_H' -I/home/sykora/.cache/node-gyp/20.12.2/include/node -I/home/sykora/.cache/node-gyp/20.12.2/src -I/home/sykora/.cache/node-gyp/20.12.2/deps/openssl/config -I/home/sykora/.cache/node-gyp/20.12.2/deps/openssl/openssl/include -I/home/sykora/.cache/node-gyp/20.12.2/deps/uv/include -I/home/sykora/.cache/node-gyp/20.12.2/deps/zlib -I/home/sykora/.cache/node-gyp/20.12.2/deps/v8/include -I../deps/config/opus/linux/x64 -I../deps/opus/include -I../deps/opus/celt -I../deps/opus/silk -I../deps/opus/silk/float -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -fvisibility=hidden -W -Wstrict-prototypes -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wno-parentheses -Wno-unused-parameter -Wno-sign-compare -Wno-maybe-uninitialized -m64 -O3 -fno-omit-frame-pointer -MMD -MF ./Release/.deps/Release/obj.target/libopus/deps/opus/silk/fixed/corrMatrix_FIX.o.d.raw -c
|
||||||
|
Release/obj.target/libopus/deps/opus/silk/fixed/corrMatrix_FIX.o: \
|
||||||
|
../deps/opus/silk/fixed/corrMatrix_FIX.c \
|
||||||
|
../deps/config/opus/linux/x64/config.h \
|
||||||
|
../deps/opus/silk/fixed/main_FIX.h ../deps/opus/silk/SigProc_FIX.h \
|
||||||
|
../deps/opus/silk/typedef.h ../deps/opus/include/opus_types.h \
|
||||||
|
../deps/opus/include/opus_defines.h ../deps/opus/include/opus_types.h \
|
||||||
|
../deps/opus/silk/resampler_structs.h ../deps/opus/silk/macros.h \
|
||||||
|
../deps/opus/celt/arch.h ../deps/opus/celt/ecintrin.h \
|
||||||
|
../deps/opus/celt/arch.h ../deps/opus/celt/cpu_support.h \
|
||||||
|
../deps/opus/silk/Inlines.h ../deps/opus/silk/MacroCount.h \
|
||||||
|
../deps/opus/silk/MacroDebug.h ../deps/opus/silk/fixed/structs_FIX.h \
|
||||||
|
../deps/opus/silk/typedef.h ../deps/opus/silk/main.h \
|
||||||
|
../deps/opus/silk/SigProc_FIX.h ../deps/opus/silk/define.h \
|
||||||
|
../deps/opus/silk/errors.h ../deps/opus/silk/structs.h \
|
||||||
|
../deps/opus/celt/entenc.h ../deps/opus/celt/entcode.h \
|
||||||
|
../deps/opus/celt/ecintrin.h ../deps/opus/celt/entdec.h \
|
||||||
|
../deps/opus/silk/tables.h ../deps/opus/silk/PLC.h \
|
||||||
|
../deps/opus/silk/main.h ../deps/opus/silk/control.h \
|
||||||
|
../deps/opus/silk/debug.h ../deps/opus/silk/structs.h \
|
||||||
|
../deps/opus/silk/control.h ../deps/opus/silk/PLC.h \
|
||||||
|
../deps/opus/silk/debug.h
|
||||||
|
../deps/opus/silk/fixed/corrMatrix_FIX.c:
|
||||||
|
../deps/config/opus/linux/x64/config.h:
|
||||||
|
../deps/opus/silk/fixed/main_FIX.h:
|
||||||
|
../deps/opus/silk/SigProc_FIX.h:
|
||||||
|
../deps/opus/silk/typedef.h:
|
||||||
|
../deps/opus/include/opus_types.h:
|
||||||
|
../deps/opus/include/opus_defines.h:
|
||||||
|
../deps/opus/include/opus_types.h:
|
||||||
|
../deps/opus/silk/resampler_structs.h:
|
||||||
|
../deps/opus/silk/macros.h:
|
||||||
|
../deps/opus/celt/arch.h:
|
||||||
|
../deps/opus/celt/ecintrin.h:
|
||||||
|
../deps/opus/celt/arch.h:
|
||||||
|
../deps/opus/celt/cpu_support.h:
|
||||||
|
../deps/opus/silk/Inlines.h:
|
||||||
|
../deps/opus/silk/MacroCount.h:
|
||||||
|
../deps/opus/silk/MacroDebug.h:
|
||||||
|
../deps/opus/silk/fixed/structs_FIX.h:
|
||||||
|
../deps/opus/silk/typedef.h:
|
||||||
|
../deps/opus/silk/main.h:
|
||||||
|
../deps/opus/silk/SigProc_FIX.h:
|
||||||
|
../deps/opus/silk/define.h:
|
||||||
|
../deps/opus/silk/errors.h:
|
||||||
|
../deps/opus/silk/structs.h:
|
||||||
|
../deps/opus/celt/entenc.h:
|
||||||
|
../deps/opus/celt/entcode.h:
|
||||||
|
../deps/opus/celt/ecintrin.h:
|
||||||
|
../deps/opus/celt/entdec.h:
|
||||||
|
../deps/opus/silk/tables.h:
|
||||||
|
../deps/opus/silk/PLC.h:
|
||||||
|
../deps/opus/silk/main.h:
|
||||||
|
../deps/opus/silk/control.h:
|
||||||
|
../deps/opus/silk/debug.h:
|
||||||
|
../deps/opus/silk/structs.h:
|
||||||
|
../deps/opus/silk/control.h:
|
||||||
|
../deps/opus/silk/PLC.h:
|
||||||
|
../deps/opus/silk/debug.h:
|
62
node_modules/@discordjs/.opus-537sWZVY/build/Release/.deps/Release/obj.target/libopus/deps/opus/silk/fixed/encode_frame_FIX.o.d
generated
vendored
Normal file
62
node_modules/@discordjs/.opus-537sWZVY/build/Release/.deps/Release/obj.target/libopus/deps/opus/silk/fixed/encode_frame_FIX.o.d
generated
vendored
Normal file
|
@ -0,0 +1,62 @@
|
||||||
|
cmd_Release/obj.target/libopus/deps/opus/silk/fixed/encode_frame_FIX.o := cc -o Release/obj.target/libopus/deps/opus/silk/fixed/encode_frame_FIX.o ../deps/opus/silk/fixed/encode_frame_FIX.c '-DNODE_GYP_MODULE_NAME=libopus' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_GLIBCXX_USE_CXX11_ABI=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-D__STDC_FORMAT_MACROS' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DPIC' '-DHAVE_CONFIG_H' -I/home/sykora/.cache/node-gyp/20.12.2/include/node -I/home/sykora/.cache/node-gyp/20.12.2/src -I/home/sykora/.cache/node-gyp/20.12.2/deps/openssl/config -I/home/sykora/.cache/node-gyp/20.12.2/deps/openssl/openssl/include -I/home/sykora/.cache/node-gyp/20.12.2/deps/uv/include -I/home/sykora/.cache/node-gyp/20.12.2/deps/zlib -I/home/sykora/.cache/node-gyp/20.12.2/deps/v8/include -I../deps/config/opus/linux/x64 -I../deps/opus/include -I../deps/opus/celt -I../deps/opus/silk -I../deps/opus/silk/float -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -fvisibility=hidden -W -Wstrict-prototypes -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wno-parentheses -Wno-unused-parameter -Wno-sign-compare -Wno-maybe-uninitialized -m64 -O3 -fno-omit-frame-pointer -MMD -MF ./Release/.deps/Release/obj.target/libopus/deps/opus/silk/fixed/encode_frame_FIX.o.d.raw -c
|
||||||
|
Release/obj.target/libopus/deps/opus/silk/fixed/encode_frame_FIX.o: \
|
||||||
|
../deps/opus/silk/fixed/encode_frame_FIX.c \
|
||||||
|
../deps/config/opus/linux/x64/config.h \
|
||||||
|
../deps/opus/silk/fixed/main_FIX.h ../deps/opus/silk/SigProc_FIX.h \
|
||||||
|
../deps/opus/silk/typedef.h ../deps/opus/include/opus_types.h \
|
||||||
|
../deps/opus/include/opus_defines.h ../deps/opus/include/opus_types.h \
|
||||||
|
../deps/opus/silk/resampler_structs.h ../deps/opus/silk/macros.h \
|
||||||
|
../deps/opus/celt/arch.h ../deps/opus/celt/ecintrin.h \
|
||||||
|
../deps/opus/celt/arch.h ../deps/opus/celt/cpu_support.h \
|
||||||
|
../deps/opus/silk/Inlines.h ../deps/opus/silk/MacroCount.h \
|
||||||
|
../deps/opus/silk/MacroDebug.h ../deps/opus/silk/fixed/structs_FIX.h \
|
||||||
|
../deps/opus/silk/typedef.h ../deps/opus/silk/main.h \
|
||||||
|
../deps/opus/silk/SigProc_FIX.h ../deps/opus/silk/define.h \
|
||||||
|
../deps/opus/silk/errors.h ../deps/opus/silk/structs.h \
|
||||||
|
../deps/opus/celt/entenc.h ../deps/opus/celt/entcode.h \
|
||||||
|
../deps/opus/celt/ecintrin.h ../deps/opus/celt/entdec.h \
|
||||||
|
../deps/opus/silk/tables.h ../deps/opus/silk/PLC.h \
|
||||||
|
../deps/opus/silk/main.h ../deps/opus/silk/control.h \
|
||||||
|
../deps/opus/silk/debug.h ../deps/opus/silk/structs.h \
|
||||||
|
../deps/opus/silk/control.h ../deps/opus/silk/PLC.h \
|
||||||
|
../deps/opus/silk/debug.h ../deps/opus/celt/stack_alloc.h \
|
||||||
|
../deps/opus/silk/tuning_parameters.h
|
||||||
|
../deps/opus/silk/fixed/encode_frame_FIX.c:
|
||||||
|
../deps/config/opus/linux/x64/config.h:
|
||||||
|
../deps/opus/silk/fixed/main_FIX.h:
|
||||||
|
../deps/opus/silk/SigProc_FIX.h:
|
||||||
|
../deps/opus/silk/typedef.h:
|
||||||
|
../deps/opus/include/opus_types.h:
|
||||||
|
../deps/opus/include/opus_defines.h:
|
||||||
|
../deps/opus/include/opus_types.h:
|
||||||
|
../deps/opus/silk/resampler_structs.h:
|
||||||
|
../deps/opus/silk/macros.h:
|
||||||
|
../deps/opus/celt/arch.h:
|
||||||
|
../deps/opus/celt/ecintrin.h:
|
||||||
|
../deps/opus/celt/arch.h:
|
||||||
|
../deps/opus/celt/cpu_support.h:
|
||||||
|
../deps/opus/silk/Inlines.h:
|
||||||
|
../deps/opus/silk/MacroCount.h:
|
||||||
|
../deps/opus/silk/MacroDebug.h:
|
||||||
|
../deps/opus/silk/fixed/structs_FIX.h:
|
||||||
|
../deps/opus/silk/typedef.h:
|
||||||
|
../deps/opus/silk/main.h:
|
||||||
|
../deps/opus/silk/SigProc_FIX.h:
|
||||||
|
../deps/opus/silk/define.h:
|
||||||
|
../deps/opus/silk/errors.h:
|
||||||
|
../deps/opus/silk/structs.h:
|
||||||
|
../deps/opus/celt/entenc.h:
|
||||||
|
../deps/opus/celt/entcode.h:
|
||||||
|
../deps/opus/celt/ecintrin.h:
|
||||||
|
../deps/opus/celt/entdec.h:
|
||||||
|
../deps/opus/silk/tables.h:
|
||||||
|
../deps/opus/silk/PLC.h:
|
||||||
|
../deps/opus/silk/main.h:
|
||||||
|
../deps/opus/silk/control.h:
|
||||||
|
../deps/opus/silk/debug.h:
|
||||||
|
../deps/opus/silk/structs.h:
|
||||||
|
../deps/opus/silk/control.h:
|
||||||
|
../deps/opus/silk/PLC.h:
|
||||||
|
../deps/opus/silk/debug.h:
|
||||||
|
../deps/opus/celt/stack_alloc.h:
|
||||||
|
../deps/opus/silk/tuning_parameters.h:
|
62
node_modules/@discordjs/.opus-537sWZVY/build/Release/.deps/Release/obj.target/libopus/deps/opus/silk/fixed/find_LPC_FIX.o.d
generated
vendored
Normal file
62
node_modules/@discordjs/.opus-537sWZVY/build/Release/.deps/Release/obj.target/libopus/deps/opus/silk/fixed/find_LPC_FIX.o.d
generated
vendored
Normal file
|
@ -0,0 +1,62 @@
|
||||||
|
cmd_Release/obj.target/libopus/deps/opus/silk/fixed/find_LPC_FIX.o := cc -o Release/obj.target/libopus/deps/opus/silk/fixed/find_LPC_FIX.o ../deps/opus/silk/fixed/find_LPC_FIX.c '-DNODE_GYP_MODULE_NAME=libopus' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_GLIBCXX_USE_CXX11_ABI=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-D__STDC_FORMAT_MACROS' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DPIC' '-DHAVE_CONFIG_H' -I/home/sykora/.cache/node-gyp/20.12.2/include/node -I/home/sykora/.cache/node-gyp/20.12.2/src -I/home/sykora/.cache/node-gyp/20.12.2/deps/openssl/config -I/home/sykora/.cache/node-gyp/20.12.2/deps/openssl/openssl/include -I/home/sykora/.cache/node-gyp/20.12.2/deps/uv/include -I/home/sykora/.cache/node-gyp/20.12.2/deps/zlib -I/home/sykora/.cache/node-gyp/20.12.2/deps/v8/include -I../deps/config/opus/linux/x64 -I../deps/opus/include -I../deps/opus/celt -I../deps/opus/silk -I../deps/opus/silk/float -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -fvisibility=hidden -W -Wstrict-prototypes -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wno-parentheses -Wno-unused-parameter -Wno-sign-compare -Wno-maybe-uninitialized -m64 -O3 -fno-omit-frame-pointer -MMD -MF ./Release/.deps/Release/obj.target/libopus/deps/opus/silk/fixed/find_LPC_FIX.o.d.raw -c
|
||||||
|
Release/obj.target/libopus/deps/opus/silk/fixed/find_LPC_FIX.o: \
|
||||||
|
../deps/opus/silk/fixed/find_LPC_FIX.c \
|
||||||
|
../deps/config/opus/linux/x64/config.h \
|
||||||
|
../deps/opus/silk/fixed/main_FIX.h ../deps/opus/silk/SigProc_FIX.h \
|
||||||
|
../deps/opus/silk/typedef.h ../deps/opus/include/opus_types.h \
|
||||||
|
../deps/opus/include/opus_defines.h ../deps/opus/include/opus_types.h \
|
||||||
|
../deps/opus/silk/resampler_structs.h ../deps/opus/silk/macros.h \
|
||||||
|
../deps/opus/celt/arch.h ../deps/opus/celt/ecintrin.h \
|
||||||
|
../deps/opus/celt/arch.h ../deps/opus/celt/cpu_support.h \
|
||||||
|
../deps/opus/silk/Inlines.h ../deps/opus/silk/MacroCount.h \
|
||||||
|
../deps/opus/silk/MacroDebug.h ../deps/opus/silk/fixed/structs_FIX.h \
|
||||||
|
../deps/opus/silk/typedef.h ../deps/opus/silk/main.h \
|
||||||
|
../deps/opus/silk/SigProc_FIX.h ../deps/opus/silk/define.h \
|
||||||
|
../deps/opus/silk/errors.h ../deps/opus/silk/structs.h \
|
||||||
|
../deps/opus/celt/entenc.h ../deps/opus/celt/entcode.h \
|
||||||
|
../deps/opus/celt/ecintrin.h ../deps/opus/celt/entdec.h \
|
||||||
|
../deps/opus/silk/tables.h ../deps/opus/silk/PLC.h \
|
||||||
|
../deps/opus/silk/main.h ../deps/opus/silk/control.h \
|
||||||
|
../deps/opus/silk/debug.h ../deps/opus/silk/structs.h \
|
||||||
|
../deps/opus/silk/control.h ../deps/opus/silk/PLC.h \
|
||||||
|
../deps/opus/silk/debug.h ../deps/opus/celt/stack_alloc.h \
|
||||||
|
../deps/opus/silk/tuning_parameters.h
|
||||||
|
../deps/opus/silk/fixed/find_LPC_FIX.c:
|
||||||
|
../deps/config/opus/linux/x64/config.h:
|
||||||
|
../deps/opus/silk/fixed/main_FIX.h:
|
||||||
|
../deps/opus/silk/SigProc_FIX.h:
|
||||||
|
../deps/opus/silk/typedef.h:
|
||||||
|
../deps/opus/include/opus_types.h:
|
||||||
|
../deps/opus/include/opus_defines.h:
|
||||||
|
../deps/opus/include/opus_types.h:
|
||||||
|
../deps/opus/silk/resampler_structs.h:
|
||||||
|
../deps/opus/silk/macros.h:
|
||||||
|
../deps/opus/celt/arch.h:
|
||||||
|
../deps/opus/celt/ecintrin.h:
|
||||||
|
../deps/opus/celt/arch.h:
|
||||||
|
../deps/opus/celt/cpu_support.h:
|
||||||
|
../deps/opus/silk/Inlines.h:
|
||||||
|
../deps/opus/silk/MacroCount.h:
|
||||||
|
../deps/opus/silk/MacroDebug.h:
|
||||||
|
../deps/opus/silk/fixed/structs_FIX.h:
|
||||||
|
../deps/opus/silk/typedef.h:
|
||||||
|
../deps/opus/silk/main.h:
|
||||||
|
../deps/opus/silk/SigProc_FIX.h:
|
||||||
|
../deps/opus/silk/define.h:
|
||||||
|
../deps/opus/silk/errors.h:
|
||||||
|
../deps/opus/silk/structs.h:
|
||||||
|
../deps/opus/celt/entenc.h:
|
||||||
|
../deps/opus/celt/entcode.h:
|
||||||
|
../deps/opus/celt/ecintrin.h:
|
||||||
|
../deps/opus/celt/entdec.h:
|
||||||
|
../deps/opus/silk/tables.h:
|
||||||
|
../deps/opus/silk/PLC.h:
|
||||||
|
../deps/opus/silk/main.h:
|
||||||
|
../deps/opus/silk/control.h:
|
||||||
|
../deps/opus/silk/debug.h:
|
||||||
|
../deps/opus/silk/structs.h:
|
||||||
|
../deps/opus/silk/control.h:
|
||||||
|
../deps/opus/silk/PLC.h:
|
||||||
|
../deps/opus/silk/debug.h:
|
||||||
|
../deps/opus/celt/stack_alloc.h:
|
||||||
|
../deps/opus/silk/tuning_parameters.h:
|
60
node_modules/@discordjs/.opus-537sWZVY/build/Release/.deps/Release/obj.target/libopus/deps/opus/silk/fixed/find_LTP_FIX.o.d
generated
vendored
Normal file
60
node_modules/@discordjs/.opus-537sWZVY/build/Release/.deps/Release/obj.target/libopus/deps/opus/silk/fixed/find_LTP_FIX.o.d
generated
vendored
Normal file
|
@ -0,0 +1,60 @@
|
||||||
|
cmd_Release/obj.target/libopus/deps/opus/silk/fixed/find_LTP_FIX.o := cc -o Release/obj.target/libopus/deps/opus/silk/fixed/find_LTP_FIX.o ../deps/opus/silk/fixed/find_LTP_FIX.c '-DNODE_GYP_MODULE_NAME=libopus' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_GLIBCXX_USE_CXX11_ABI=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-D__STDC_FORMAT_MACROS' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DPIC' '-DHAVE_CONFIG_H' -I/home/sykora/.cache/node-gyp/20.12.2/include/node -I/home/sykora/.cache/node-gyp/20.12.2/src -I/home/sykora/.cache/node-gyp/20.12.2/deps/openssl/config -I/home/sykora/.cache/node-gyp/20.12.2/deps/openssl/openssl/include -I/home/sykora/.cache/node-gyp/20.12.2/deps/uv/include -I/home/sykora/.cache/node-gyp/20.12.2/deps/zlib -I/home/sykora/.cache/node-gyp/20.12.2/deps/v8/include -I../deps/config/opus/linux/x64 -I../deps/opus/include -I../deps/opus/celt -I../deps/opus/silk -I../deps/opus/silk/float -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -fvisibility=hidden -W -Wstrict-prototypes -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wno-parentheses -Wno-unused-parameter -Wno-sign-compare -Wno-maybe-uninitialized -m64 -O3 -fno-omit-frame-pointer -MMD -MF ./Release/.deps/Release/obj.target/libopus/deps/opus/silk/fixed/find_LTP_FIX.o.d.raw -c
|
||||||
|
Release/obj.target/libopus/deps/opus/silk/fixed/find_LTP_FIX.o: \
|
||||||
|
../deps/opus/silk/fixed/find_LTP_FIX.c \
|
||||||
|
../deps/config/opus/linux/x64/config.h \
|
||||||
|
../deps/opus/silk/fixed/main_FIX.h ../deps/opus/silk/SigProc_FIX.h \
|
||||||
|
../deps/opus/silk/typedef.h ../deps/opus/include/opus_types.h \
|
||||||
|
../deps/opus/include/opus_defines.h ../deps/opus/include/opus_types.h \
|
||||||
|
../deps/opus/silk/resampler_structs.h ../deps/opus/silk/macros.h \
|
||||||
|
../deps/opus/celt/arch.h ../deps/opus/celt/ecintrin.h \
|
||||||
|
../deps/opus/celt/arch.h ../deps/opus/celt/cpu_support.h \
|
||||||
|
../deps/opus/silk/Inlines.h ../deps/opus/silk/MacroCount.h \
|
||||||
|
../deps/opus/silk/MacroDebug.h ../deps/opus/silk/fixed/structs_FIX.h \
|
||||||
|
../deps/opus/silk/typedef.h ../deps/opus/silk/main.h \
|
||||||
|
../deps/opus/silk/SigProc_FIX.h ../deps/opus/silk/define.h \
|
||||||
|
../deps/opus/silk/errors.h ../deps/opus/silk/structs.h \
|
||||||
|
../deps/opus/celt/entenc.h ../deps/opus/celt/entcode.h \
|
||||||
|
../deps/opus/celt/ecintrin.h ../deps/opus/celt/entdec.h \
|
||||||
|
../deps/opus/silk/tables.h ../deps/opus/silk/PLC.h \
|
||||||
|
../deps/opus/silk/main.h ../deps/opus/silk/control.h \
|
||||||
|
../deps/opus/silk/debug.h ../deps/opus/silk/structs.h \
|
||||||
|
../deps/opus/silk/control.h ../deps/opus/silk/PLC.h \
|
||||||
|
../deps/opus/silk/debug.h ../deps/opus/silk/tuning_parameters.h
|
||||||
|
../deps/opus/silk/fixed/find_LTP_FIX.c:
|
||||||
|
../deps/config/opus/linux/x64/config.h:
|
||||||
|
../deps/opus/silk/fixed/main_FIX.h:
|
||||||
|
../deps/opus/silk/SigProc_FIX.h:
|
||||||
|
../deps/opus/silk/typedef.h:
|
||||||
|
../deps/opus/include/opus_types.h:
|
||||||
|
../deps/opus/include/opus_defines.h:
|
||||||
|
../deps/opus/include/opus_types.h:
|
||||||
|
../deps/opus/silk/resampler_structs.h:
|
||||||
|
../deps/opus/silk/macros.h:
|
||||||
|
../deps/opus/celt/arch.h:
|
||||||
|
../deps/opus/celt/ecintrin.h:
|
||||||
|
../deps/opus/celt/arch.h:
|
||||||
|
../deps/opus/celt/cpu_support.h:
|
||||||
|
../deps/opus/silk/Inlines.h:
|
||||||
|
../deps/opus/silk/MacroCount.h:
|
||||||
|
../deps/opus/silk/MacroDebug.h:
|
||||||
|
../deps/opus/silk/fixed/structs_FIX.h:
|
||||||
|
../deps/opus/silk/typedef.h:
|
||||||
|
../deps/opus/silk/main.h:
|
||||||
|
../deps/opus/silk/SigProc_FIX.h:
|
||||||
|
../deps/opus/silk/define.h:
|
||||||
|
../deps/opus/silk/errors.h:
|
||||||
|
../deps/opus/silk/structs.h:
|
||||||
|
../deps/opus/celt/entenc.h:
|
||||||
|
../deps/opus/celt/entcode.h:
|
||||||
|
../deps/opus/celt/ecintrin.h:
|
||||||
|
../deps/opus/celt/entdec.h:
|
||||||
|
../deps/opus/silk/tables.h:
|
||||||
|
../deps/opus/silk/PLC.h:
|
||||||
|
../deps/opus/silk/main.h:
|
||||||
|
../deps/opus/silk/control.h:
|
||||||
|
../deps/opus/silk/debug.h:
|
||||||
|
../deps/opus/silk/structs.h:
|
||||||
|
../deps/opus/silk/control.h:
|
||||||
|
../deps/opus/silk/PLC.h:
|
||||||
|
../deps/opus/silk/debug.h:
|
||||||
|
../deps/opus/silk/tuning_parameters.h:
|
62
node_modules/@discordjs/.opus-537sWZVY/build/Release/.deps/Release/obj.target/libopus/deps/opus/silk/fixed/find_pitch_lags_FIX.o.d
generated
vendored
Normal file
62
node_modules/@discordjs/.opus-537sWZVY/build/Release/.deps/Release/obj.target/libopus/deps/opus/silk/fixed/find_pitch_lags_FIX.o.d
generated
vendored
Normal file
|
@ -0,0 +1,62 @@
|
||||||
|
cmd_Release/obj.target/libopus/deps/opus/silk/fixed/find_pitch_lags_FIX.o := cc -o Release/obj.target/libopus/deps/opus/silk/fixed/find_pitch_lags_FIX.o ../deps/opus/silk/fixed/find_pitch_lags_FIX.c '-DNODE_GYP_MODULE_NAME=libopus' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_GLIBCXX_USE_CXX11_ABI=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-D__STDC_FORMAT_MACROS' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DPIC' '-DHAVE_CONFIG_H' -I/home/sykora/.cache/node-gyp/20.12.2/include/node -I/home/sykora/.cache/node-gyp/20.12.2/src -I/home/sykora/.cache/node-gyp/20.12.2/deps/openssl/config -I/home/sykora/.cache/node-gyp/20.12.2/deps/openssl/openssl/include -I/home/sykora/.cache/node-gyp/20.12.2/deps/uv/include -I/home/sykora/.cache/node-gyp/20.12.2/deps/zlib -I/home/sykora/.cache/node-gyp/20.12.2/deps/v8/include -I../deps/config/opus/linux/x64 -I../deps/opus/include -I../deps/opus/celt -I../deps/opus/silk -I../deps/opus/silk/float -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -fvisibility=hidden -W -Wstrict-prototypes -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wno-parentheses -Wno-unused-parameter -Wno-sign-compare -Wno-maybe-uninitialized -m64 -O3 -fno-omit-frame-pointer -MMD -MF ./Release/.deps/Release/obj.target/libopus/deps/opus/silk/fixed/find_pitch_lags_FIX.o.d.raw -c
|
||||||
|
Release/obj.target/libopus/deps/opus/silk/fixed/find_pitch_lags_FIX.o: \
|
||||||
|
../deps/opus/silk/fixed/find_pitch_lags_FIX.c \
|
||||||
|
../deps/config/opus/linux/x64/config.h \
|
||||||
|
../deps/opus/silk/fixed/main_FIX.h ../deps/opus/silk/SigProc_FIX.h \
|
||||||
|
../deps/opus/silk/typedef.h ../deps/opus/include/opus_types.h \
|
||||||
|
../deps/opus/include/opus_defines.h ../deps/opus/include/opus_types.h \
|
||||||
|
../deps/opus/silk/resampler_structs.h ../deps/opus/silk/macros.h \
|
||||||
|
../deps/opus/celt/arch.h ../deps/opus/celt/ecintrin.h \
|
||||||
|
../deps/opus/celt/arch.h ../deps/opus/celt/cpu_support.h \
|
||||||
|
../deps/opus/silk/Inlines.h ../deps/opus/silk/MacroCount.h \
|
||||||
|
../deps/opus/silk/MacroDebug.h ../deps/opus/silk/fixed/structs_FIX.h \
|
||||||
|
../deps/opus/silk/typedef.h ../deps/opus/silk/main.h \
|
||||||
|
../deps/opus/silk/SigProc_FIX.h ../deps/opus/silk/define.h \
|
||||||
|
../deps/opus/silk/errors.h ../deps/opus/silk/structs.h \
|
||||||
|
../deps/opus/celt/entenc.h ../deps/opus/celt/entcode.h \
|
||||||
|
../deps/opus/celt/ecintrin.h ../deps/opus/celt/entdec.h \
|
||||||
|
../deps/opus/silk/tables.h ../deps/opus/silk/PLC.h \
|
||||||
|
../deps/opus/silk/main.h ../deps/opus/silk/control.h \
|
||||||
|
../deps/opus/silk/debug.h ../deps/opus/silk/structs.h \
|
||||||
|
../deps/opus/silk/control.h ../deps/opus/silk/PLC.h \
|
||||||
|
../deps/opus/silk/debug.h ../deps/opus/celt/stack_alloc.h \
|
||||||
|
../deps/opus/silk/tuning_parameters.h
|
||||||
|
../deps/opus/silk/fixed/find_pitch_lags_FIX.c:
|
||||||
|
../deps/config/opus/linux/x64/config.h:
|
||||||
|
../deps/opus/silk/fixed/main_FIX.h:
|
||||||
|
../deps/opus/silk/SigProc_FIX.h:
|
||||||
|
../deps/opus/silk/typedef.h:
|
||||||
|
../deps/opus/include/opus_types.h:
|
||||||
|
../deps/opus/include/opus_defines.h:
|
||||||
|
../deps/opus/include/opus_types.h:
|
||||||
|
../deps/opus/silk/resampler_structs.h:
|
||||||
|
../deps/opus/silk/macros.h:
|
||||||
|
../deps/opus/celt/arch.h:
|
||||||
|
../deps/opus/celt/ecintrin.h:
|
||||||
|
../deps/opus/celt/arch.h:
|
||||||
|
../deps/opus/celt/cpu_support.h:
|
||||||
|
../deps/opus/silk/Inlines.h:
|
||||||
|
../deps/opus/silk/MacroCount.h:
|
||||||
|
../deps/opus/silk/MacroDebug.h:
|
||||||
|
../deps/opus/silk/fixed/structs_FIX.h:
|
||||||
|
../deps/opus/silk/typedef.h:
|
||||||
|
../deps/opus/silk/main.h:
|
||||||
|
../deps/opus/silk/SigProc_FIX.h:
|
||||||
|
../deps/opus/silk/define.h:
|
||||||
|
../deps/opus/silk/errors.h:
|
||||||
|
../deps/opus/silk/structs.h:
|
||||||
|
../deps/opus/celt/entenc.h:
|
||||||
|
../deps/opus/celt/entcode.h:
|
||||||
|
../deps/opus/celt/ecintrin.h:
|
||||||
|
../deps/opus/celt/entdec.h:
|
||||||
|
../deps/opus/silk/tables.h:
|
||||||
|
../deps/opus/silk/PLC.h:
|
||||||
|
../deps/opus/silk/main.h:
|
||||||
|
../deps/opus/silk/control.h:
|
||||||
|
../deps/opus/silk/debug.h:
|
||||||
|
../deps/opus/silk/structs.h:
|
||||||
|
../deps/opus/silk/control.h:
|
||||||
|
../deps/opus/silk/PLC.h:
|
||||||
|
../deps/opus/silk/debug.h:
|
||||||
|
../deps/opus/celt/stack_alloc.h:
|
||||||
|
../deps/opus/silk/tuning_parameters.h:
|
60
node_modules/@discordjs/.opus-537sWZVY/build/Release/.deps/Release/obj.target/libopus/deps/opus/silk/fixed/find_pred_coefs_FIX.o.d
generated
vendored
Normal file
60
node_modules/@discordjs/.opus-537sWZVY/build/Release/.deps/Release/obj.target/libopus/deps/opus/silk/fixed/find_pred_coefs_FIX.o.d
generated
vendored
Normal file
|
@ -0,0 +1,60 @@
|
||||||
|
cmd_Release/obj.target/libopus/deps/opus/silk/fixed/find_pred_coefs_FIX.o := cc -o Release/obj.target/libopus/deps/opus/silk/fixed/find_pred_coefs_FIX.o ../deps/opus/silk/fixed/find_pred_coefs_FIX.c '-DNODE_GYP_MODULE_NAME=libopus' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_GLIBCXX_USE_CXX11_ABI=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-D__STDC_FORMAT_MACROS' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DPIC' '-DHAVE_CONFIG_H' -I/home/sykora/.cache/node-gyp/20.12.2/include/node -I/home/sykora/.cache/node-gyp/20.12.2/src -I/home/sykora/.cache/node-gyp/20.12.2/deps/openssl/config -I/home/sykora/.cache/node-gyp/20.12.2/deps/openssl/openssl/include -I/home/sykora/.cache/node-gyp/20.12.2/deps/uv/include -I/home/sykora/.cache/node-gyp/20.12.2/deps/zlib -I/home/sykora/.cache/node-gyp/20.12.2/deps/v8/include -I../deps/config/opus/linux/x64 -I../deps/opus/include -I../deps/opus/celt -I../deps/opus/silk -I../deps/opus/silk/float -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -fvisibility=hidden -W -Wstrict-prototypes -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wno-parentheses -Wno-unused-parameter -Wno-sign-compare -Wno-maybe-uninitialized -m64 -O3 -fno-omit-frame-pointer -MMD -MF ./Release/.deps/Release/obj.target/libopus/deps/opus/silk/fixed/find_pred_coefs_FIX.o.d.raw -c
|
||||||
|
Release/obj.target/libopus/deps/opus/silk/fixed/find_pred_coefs_FIX.o: \
|
||||||
|
../deps/opus/silk/fixed/find_pred_coefs_FIX.c \
|
||||||
|
../deps/config/opus/linux/x64/config.h \
|
||||||
|
../deps/opus/silk/fixed/main_FIX.h ../deps/opus/silk/SigProc_FIX.h \
|
||||||
|
../deps/opus/silk/typedef.h ../deps/opus/include/opus_types.h \
|
||||||
|
../deps/opus/include/opus_defines.h ../deps/opus/include/opus_types.h \
|
||||||
|
../deps/opus/silk/resampler_structs.h ../deps/opus/silk/macros.h \
|
||||||
|
../deps/opus/celt/arch.h ../deps/opus/celt/ecintrin.h \
|
||||||
|
../deps/opus/celt/arch.h ../deps/opus/celt/cpu_support.h \
|
||||||
|
../deps/opus/silk/Inlines.h ../deps/opus/silk/MacroCount.h \
|
||||||
|
../deps/opus/silk/MacroDebug.h ../deps/opus/silk/fixed/structs_FIX.h \
|
||||||
|
../deps/opus/silk/typedef.h ../deps/opus/silk/main.h \
|
||||||
|
../deps/opus/silk/SigProc_FIX.h ../deps/opus/silk/define.h \
|
||||||
|
../deps/opus/silk/errors.h ../deps/opus/silk/structs.h \
|
||||||
|
../deps/opus/celt/entenc.h ../deps/opus/celt/entcode.h \
|
||||||
|
../deps/opus/celt/ecintrin.h ../deps/opus/celt/entdec.h \
|
||||||
|
../deps/opus/silk/tables.h ../deps/opus/silk/PLC.h \
|
||||||
|
../deps/opus/silk/main.h ../deps/opus/silk/control.h \
|
||||||
|
../deps/opus/silk/debug.h ../deps/opus/silk/structs.h \
|
||||||
|
../deps/opus/silk/control.h ../deps/opus/silk/PLC.h \
|
||||||
|
../deps/opus/silk/debug.h ../deps/opus/celt/stack_alloc.h
|
||||||
|
../deps/opus/silk/fixed/find_pred_coefs_FIX.c:
|
||||||
|
../deps/config/opus/linux/x64/config.h:
|
||||||
|
../deps/opus/silk/fixed/main_FIX.h:
|
||||||
|
../deps/opus/silk/SigProc_FIX.h:
|
||||||
|
../deps/opus/silk/typedef.h:
|
||||||
|
../deps/opus/include/opus_types.h:
|
||||||
|
../deps/opus/include/opus_defines.h:
|
||||||
|
../deps/opus/include/opus_types.h:
|
||||||
|
../deps/opus/silk/resampler_structs.h:
|
||||||
|
../deps/opus/silk/macros.h:
|
||||||
|
../deps/opus/celt/arch.h:
|
||||||
|
../deps/opus/celt/ecintrin.h:
|
||||||
|
../deps/opus/celt/arch.h:
|
||||||
|
../deps/opus/celt/cpu_support.h:
|
||||||
|
../deps/opus/silk/Inlines.h:
|
||||||
|
../deps/opus/silk/MacroCount.h:
|
||||||
|
../deps/opus/silk/MacroDebug.h:
|
||||||
|
../deps/opus/silk/fixed/structs_FIX.h:
|
||||||
|
../deps/opus/silk/typedef.h:
|
||||||
|
../deps/opus/silk/main.h:
|
||||||
|
../deps/opus/silk/SigProc_FIX.h:
|
||||||
|
../deps/opus/silk/define.h:
|
||||||
|
../deps/opus/silk/errors.h:
|
||||||
|
../deps/opus/silk/structs.h:
|
||||||
|
../deps/opus/celt/entenc.h:
|
||||||
|
../deps/opus/celt/entcode.h:
|
||||||
|
../deps/opus/celt/ecintrin.h:
|
||||||
|
../deps/opus/celt/entdec.h:
|
||||||
|
../deps/opus/silk/tables.h:
|
||||||
|
../deps/opus/silk/PLC.h:
|
||||||
|
../deps/opus/silk/main.h:
|
||||||
|
../deps/opus/silk/control.h:
|
||||||
|
../deps/opus/silk/debug.h:
|
||||||
|
../deps/opus/silk/structs.h:
|
||||||
|
../deps/opus/silk/control.h:
|
||||||
|
../deps/opus/silk/PLC.h:
|
||||||
|
../deps/opus/silk/debug.h:
|
||||||
|
../deps/opus/celt/stack_alloc.h:
|
26
node_modules/@discordjs/.opus-537sWZVY/build/Release/.deps/Release/obj.target/libopus/deps/opus/silk/fixed/k2a_FIX.o.d
generated
vendored
Normal file
26
node_modules/@discordjs/.opus-537sWZVY/build/Release/.deps/Release/obj.target/libopus/deps/opus/silk/fixed/k2a_FIX.o.d
generated
vendored
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
cmd_Release/obj.target/libopus/deps/opus/silk/fixed/k2a_FIX.o := cc -o Release/obj.target/libopus/deps/opus/silk/fixed/k2a_FIX.o ../deps/opus/silk/fixed/k2a_FIX.c '-DNODE_GYP_MODULE_NAME=libopus' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_GLIBCXX_USE_CXX11_ABI=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-D__STDC_FORMAT_MACROS' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DPIC' '-DHAVE_CONFIG_H' -I/home/sykora/.cache/node-gyp/20.12.2/include/node -I/home/sykora/.cache/node-gyp/20.12.2/src -I/home/sykora/.cache/node-gyp/20.12.2/deps/openssl/config -I/home/sykora/.cache/node-gyp/20.12.2/deps/openssl/openssl/include -I/home/sykora/.cache/node-gyp/20.12.2/deps/uv/include -I/home/sykora/.cache/node-gyp/20.12.2/deps/zlib -I/home/sykora/.cache/node-gyp/20.12.2/deps/v8/include -I../deps/config/opus/linux/x64 -I../deps/opus/include -I../deps/opus/celt -I../deps/opus/silk -I../deps/opus/silk/float -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -fvisibility=hidden -W -Wstrict-prototypes -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wno-parentheses -Wno-unused-parameter -Wno-sign-compare -Wno-maybe-uninitialized -m64 -O3 -fno-omit-frame-pointer -MMD -MF ./Release/.deps/Release/obj.target/libopus/deps/opus/silk/fixed/k2a_FIX.o.d.raw -c
|
||||||
|
Release/obj.target/libopus/deps/opus/silk/fixed/k2a_FIX.o: \
|
||||||
|
../deps/opus/silk/fixed/k2a_FIX.c ../deps/config/opus/linux/x64/config.h \
|
||||||
|
../deps/opus/silk/SigProc_FIX.h ../deps/opus/silk/typedef.h \
|
||||||
|
../deps/opus/include/opus_types.h ../deps/opus/include/opus_defines.h \
|
||||||
|
../deps/opus/include/opus_types.h ../deps/opus/silk/resampler_structs.h \
|
||||||
|
../deps/opus/silk/macros.h ../deps/opus/celt/arch.h \
|
||||||
|
../deps/opus/celt/ecintrin.h ../deps/opus/celt/arch.h \
|
||||||
|
../deps/opus/celt/cpu_support.h ../deps/opus/silk/Inlines.h \
|
||||||
|
../deps/opus/silk/MacroCount.h ../deps/opus/silk/MacroDebug.h
|
||||||
|
../deps/opus/silk/fixed/k2a_FIX.c:
|
||||||
|
../deps/config/opus/linux/x64/config.h:
|
||||||
|
../deps/opus/silk/SigProc_FIX.h:
|
||||||
|
../deps/opus/silk/typedef.h:
|
||||||
|
../deps/opus/include/opus_types.h:
|
||||||
|
../deps/opus/include/opus_defines.h:
|
||||||
|
../deps/opus/include/opus_types.h:
|
||||||
|
../deps/opus/silk/resampler_structs.h:
|
||||||
|
../deps/opus/silk/macros.h:
|
||||||
|
../deps/opus/celt/arch.h:
|
||||||
|
../deps/opus/celt/ecintrin.h:
|
||||||
|
../deps/opus/celt/arch.h:
|
||||||
|
../deps/opus/celt/cpu_support.h:
|
||||||
|
../deps/opus/silk/Inlines.h:
|
||||||
|
../deps/opus/silk/MacroCount.h:
|
||||||
|
../deps/opus/silk/MacroDebug.h:
|
27
node_modules/@discordjs/.opus-537sWZVY/build/Release/.deps/Release/obj.target/libopus/deps/opus/silk/fixed/k2a_Q16_FIX.o.d
generated
vendored
Normal file
27
node_modules/@discordjs/.opus-537sWZVY/build/Release/.deps/Release/obj.target/libopus/deps/opus/silk/fixed/k2a_Q16_FIX.o.d
generated
vendored
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
cmd_Release/obj.target/libopus/deps/opus/silk/fixed/k2a_Q16_FIX.o := cc -o Release/obj.target/libopus/deps/opus/silk/fixed/k2a_Q16_FIX.o ../deps/opus/silk/fixed/k2a_Q16_FIX.c '-DNODE_GYP_MODULE_NAME=libopus' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_GLIBCXX_USE_CXX11_ABI=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-D__STDC_FORMAT_MACROS' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DPIC' '-DHAVE_CONFIG_H' -I/home/sykora/.cache/node-gyp/20.12.2/include/node -I/home/sykora/.cache/node-gyp/20.12.2/src -I/home/sykora/.cache/node-gyp/20.12.2/deps/openssl/config -I/home/sykora/.cache/node-gyp/20.12.2/deps/openssl/openssl/include -I/home/sykora/.cache/node-gyp/20.12.2/deps/uv/include -I/home/sykora/.cache/node-gyp/20.12.2/deps/zlib -I/home/sykora/.cache/node-gyp/20.12.2/deps/v8/include -I../deps/config/opus/linux/x64 -I../deps/opus/include -I../deps/opus/celt -I../deps/opus/silk -I../deps/opus/silk/float -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -fvisibility=hidden -W -Wstrict-prototypes -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wno-parentheses -Wno-unused-parameter -Wno-sign-compare -Wno-maybe-uninitialized -m64 -O3 -fno-omit-frame-pointer -MMD -MF ./Release/.deps/Release/obj.target/libopus/deps/opus/silk/fixed/k2a_Q16_FIX.o.d.raw -c
|
||||||
|
Release/obj.target/libopus/deps/opus/silk/fixed/k2a_Q16_FIX.o: \
|
||||||
|
../deps/opus/silk/fixed/k2a_Q16_FIX.c \
|
||||||
|
../deps/config/opus/linux/x64/config.h ../deps/opus/silk/SigProc_FIX.h \
|
||||||
|
../deps/opus/silk/typedef.h ../deps/opus/include/opus_types.h \
|
||||||
|
../deps/opus/include/opus_defines.h ../deps/opus/include/opus_types.h \
|
||||||
|
../deps/opus/silk/resampler_structs.h ../deps/opus/silk/macros.h \
|
||||||
|
../deps/opus/celt/arch.h ../deps/opus/celt/ecintrin.h \
|
||||||
|
../deps/opus/celt/arch.h ../deps/opus/celt/cpu_support.h \
|
||||||
|
../deps/opus/silk/Inlines.h ../deps/opus/silk/MacroCount.h \
|
||||||
|
../deps/opus/silk/MacroDebug.h
|
||||||
|
../deps/opus/silk/fixed/k2a_Q16_FIX.c:
|
||||||
|
../deps/config/opus/linux/x64/config.h:
|
||||||
|
../deps/opus/silk/SigProc_FIX.h:
|
||||||
|
../deps/opus/silk/typedef.h:
|
||||||
|
../deps/opus/include/opus_types.h:
|
||||||
|
../deps/opus/include/opus_defines.h:
|
||||||
|
../deps/opus/include/opus_types.h:
|
||||||
|
../deps/opus/silk/resampler_structs.h:
|
||||||
|
../deps/opus/silk/macros.h:
|
||||||
|
../deps/opus/celt/arch.h:
|
||||||
|
../deps/opus/celt/ecintrin.h:
|
||||||
|
../deps/opus/celt/arch.h:
|
||||||
|
../deps/opus/celt/cpu_support.h:
|
||||||
|
../deps/opus/silk/Inlines.h:
|
||||||
|
../deps/opus/silk/MacroCount.h:
|
||||||
|
../deps/opus/silk/MacroDebug.h:
|
62
node_modules/@discordjs/.opus-537sWZVY/build/Release/.deps/Release/obj.target/libopus/deps/opus/silk/fixed/noise_shape_analysis_FIX.o.d
generated
vendored
Normal file
62
node_modules/@discordjs/.opus-537sWZVY/build/Release/.deps/Release/obj.target/libopus/deps/opus/silk/fixed/noise_shape_analysis_FIX.o.d
generated
vendored
Normal file
|
@ -0,0 +1,62 @@
|
||||||
|
cmd_Release/obj.target/libopus/deps/opus/silk/fixed/noise_shape_analysis_FIX.o := cc -o Release/obj.target/libopus/deps/opus/silk/fixed/noise_shape_analysis_FIX.o ../deps/opus/silk/fixed/noise_shape_analysis_FIX.c '-DNODE_GYP_MODULE_NAME=libopus' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_GLIBCXX_USE_CXX11_ABI=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-D__STDC_FORMAT_MACROS' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DPIC' '-DHAVE_CONFIG_H' -I/home/sykora/.cache/node-gyp/20.12.2/include/node -I/home/sykora/.cache/node-gyp/20.12.2/src -I/home/sykora/.cache/node-gyp/20.12.2/deps/openssl/config -I/home/sykora/.cache/node-gyp/20.12.2/deps/openssl/openssl/include -I/home/sykora/.cache/node-gyp/20.12.2/deps/uv/include -I/home/sykora/.cache/node-gyp/20.12.2/deps/zlib -I/home/sykora/.cache/node-gyp/20.12.2/deps/v8/include -I../deps/config/opus/linux/x64 -I../deps/opus/include -I../deps/opus/celt -I../deps/opus/silk -I../deps/opus/silk/float -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -fvisibility=hidden -W -Wstrict-prototypes -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wno-parentheses -Wno-unused-parameter -Wno-sign-compare -Wno-maybe-uninitialized -m64 -O3 -fno-omit-frame-pointer -MMD -MF ./Release/.deps/Release/obj.target/libopus/deps/opus/silk/fixed/noise_shape_analysis_FIX.o.d.raw -c
|
||||||
|
Release/obj.target/libopus/deps/opus/silk/fixed/noise_shape_analysis_FIX.o: \
|
||||||
|
../deps/opus/silk/fixed/noise_shape_analysis_FIX.c \
|
||||||
|
../deps/config/opus/linux/x64/config.h \
|
||||||
|
../deps/opus/silk/fixed/main_FIX.h ../deps/opus/silk/SigProc_FIX.h \
|
||||||
|
../deps/opus/silk/typedef.h ../deps/opus/include/opus_types.h \
|
||||||
|
../deps/opus/include/opus_defines.h ../deps/opus/include/opus_types.h \
|
||||||
|
../deps/opus/silk/resampler_structs.h ../deps/opus/silk/macros.h \
|
||||||
|
../deps/opus/celt/arch.h ../deps/opus/celt/ecintrin.h \
|
||||||
|
../deps/opus/celt/arch.h ../deps/opus/celt/cpu_support.h \
|
||||||
|
../deps/opus/silk/Inlines.h ../deps/opus/silk/MacroCount.h \
|
||||||
|
../deps/opus/silk/MacroDebug.h ../deps/opus/silk/fixed/structs_FIX.h \
|
||||||
|
../deps/opus/silk/typedef.h ../deps/opus/silk/main.h \
|
||||||
|
../deps/opus/silk/SigProc_FIX.h ../deps/opus/silk/define.h \
|
||||||
|
../deps/opus/silk/errors.h ../deps/opus/silk/structs.h \
|
||||||
|
../deps/opus/celt/entenc.h ../deps/opus/celt/entcode.h \
|
||||||
|
../deps/opus/celt/ecintrin.h ../deps/opus/celt/entdec.h \
|
||||||
|
../deps/opus/silk/tables.h ../deps/opus/silk/PLC.h \
|
||||||
|
../deps/opus/silk/main.h ../deps/opus/silk/control.h \
|
||||||
|
../deps/opus/silk/debug.h ../deps/opus/silk/structs.h \
|
||||||
|
../deps/opus/silk/control.h ../deps/opus/silk/PLC.h \
|
||||||
|
../deps/opus/silk/debug.h ../deps/opus/celt/stack_alloc.h \
|
||||||
|
../deps/opus/silk/tuning_parameters.h
|
||||||
|
../deps/opus/silk/fixed/noise_shape_analysis_FIX.c:
|
||||||
|
../deps/config/opus/linux/x64/config.h:
|
||||||
|
../deps/opus/silk/fixed/main_FIX.h:
|
||||||
|
../deps/opus/silk/SigProc_FIX.h:
|
||||||
|
../deps/opus/silk/typedef.h:
|
||||||
|
../deps/opus/include/opus_types.h:
|
||||||
|
../deps/opus/include/opus_defines.h:
|
||||||
|
../deps/opus/include/opus_types.h:
|
||||||
|
../deps/opus/silk/resampler_structs.h:
|
||||||
|
../deps/opus/silk/macros.h:
|
||||||
|
../deps/opus/celt/arch.h:
|
||||||
|
../deps/opus/celt/ecintrin.h:
|
||||||
|
../deps/opus/celt/arch.h:
|
||||||
|
../deps/opus/celt/cpu_support.h:
|
||||||
|
../deps/opus/silk/Inlines.h:
|
||||||
|
../deps/opus/silk/MacroCount.h:
|
||||||
|
../deps/opus/silk/MacroDebug.h:
|
||||||
|
../deps/opus/silk/fixed/structs_FIX.h:
|
||||||
|
../deps/opus/silk/typedef.h:
|
||||||
|
../deps/opus/silk/main.h:
|
||||||
|
../deps/opus/silk/SigProc_FIX.h:
|
||||||
|
../deps/opus/silk/define.h:
|
||||||
|
../deps/opus/silk/errors.h:
|
||||||
|
../deps/opus/silk/structs.h:
|
||||||
|
../deps/opus/celt/entenc.h:
|
||||||
|
../deps/opus/celt/entcode.h:
|
||||||
|
../deps/opus/celt/ecintrin.h:
|
||||||
|
../deps/opus/celt/entdec.h:
|
||||||
|
../deps/opus/silk/tables.h:
|
||||||
|
../deps/opus/silk/PLC.h:
|
||||||
|
../deps/opus/silk/main.h:
|
||||||
|
../deps/opus/silk/control.h:
|
||||||
|
../deps/opus/silk/debug.h:
|
||||||
|
../deps/opus/silk/structs.h:
|
||||||
|
../deps/opus/silk/control.h:
|
||||||
|
../deps/opus/silk/PLC.h:
|
||||||
|
../deps/opus/silk/debug.h:
|
||||||
|
../deps/opus/celt/stack_alloc.h:
|
||||||
|
../deps/opus/silk/tuning_parameters.h:
|
51
node_modules/@discordjs/.opus-537sWZVY/build/Release/.deps/Release/obj.target/libopus/deps/opus/silk/fixed/pitch_analysis_core_FIX.o.d
generated
vendored
Normal file
51
node_modules/@discordjs/.opus-537sWZVY/build/Release/.deps/Release/obj.target/libopus/deps/opus/silk/fixed/pitch_analysis_core_FIX.o.d
generated
vendored
Normal file
|
@ -0,0 +1,51 @@
|
||||||
|
cmd_Release/obj.target/libopus/deps/opus/silk/fixed/pitch_analysis_core_FIX.o := cc -o Release/obj.target/libopus/deps/opus/silk/fixed/pitch_analysis_core_FIX.o ../deps/opus/silk/fixed/pitch_analysis_core_FIX.c '-DNODE_GYP_MODULE_NAME=libopus' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_GLIBCXX_USE_CXX11_ABI=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-D__STDC_FORMAT_MACROS' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DPIC' '-DHAVE_CONFIG_H' -I/home/sykora/.cache/node-gyp/20.12.2/include/node -I/home/sykora/.cache/node-gyp/20.12.2/src -I/home/sykora/.cache/node-gyp/20.12.2/deps/openssl/config -I/home/sykora/.cache/node-gyp/20.12.2/deps/openssl/openssl/include -I/home/sykora/.cache/node-gyp/20.12.2/deps/uv/include -I/home/sykora/.cache/node-gyp/20.12.2/deps/zlib -I/home/sykora/.cache/node-gyp/20.12.2/deps/v8/include -I../deps/config/opus/linux/x64 -I../deps/opus/include -I../deps/opus/celt -I../deps/opus/silk -I../deps/opus/silk/float -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -fvisibility=hidden -W -Wstrict-prototypes -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wno-parentheses -Wno-unused-parameter -Wno-sign-compare -Wno-maybe-uninitialized -m64 -O3 -fno-omit-frame-pointer -MMD -MF ./Release/.deps/Release/obj.target/libopus/deps/opus/silk/fixed/pitch_analysis_core_FIX.o.d.raw -c
|
||||||
|
Release/obj.target/libopus/deps/opus/silk/fixed/pitch_analysis_core_FIX.o: \
|
||||||
|
../deps/opus/silk/fixed/pitch_analysis_core_FIX.c \
|
||||||
|
../deps/config/opus/linux/x64/config.h ../deps/opus/silk/SigProc_FIX.h \
|
||||||
|
../deps/opus/silk/typedef.h ../deps/opus/include/opus_types.h \
|
||||||
|
../deps/opus/include/opus_defines.h ../deps/opus/include/opus_types.h \
|
||||||
|
../deps/opus/silk/resampler_structs.h ../deps/opus/silk/macros.h \
|
||||||
|
../deps/opus/celt/arch.h ../deps/opus/celt/ecintrin.h \
|
||||||
|
../deps/opus/celt/arch.h ../deps/opus/celt/cpu_support.h \
|
||||||
|
../deps/opus/silk/Inlines.h ../deps/opus/silk/MacroCount.h \
|
||||||
|
../deps/opus/silk/MacroDebug.h ../deps/opus/silk/pitch_est_defines.h \
|
||||||
|
../deps/opus/silk/SigProc_FIX.h ../deps/opus/celt/stack_alloc.h \
|
||||||
|
../deps/opus/silk/debug.h ../deps/opus/celt/pitch.h \
|
||||||
|
../deps/opus/celt/modes.h ../deps/opus/celt/celt.h \
|
||||||
|
../deps/opus/include/opus_custom.h ../deps/opus/include/opus_defines.h \
|
||||||
|
../deps/opus/celt/entenc.h ../deps/opus/celt/entcode.h \
|
||||||
|
../deps/opus/celt/ecintrin.h ../deps/opus/celt/entdec.h \
|
||||||
|
../deps/opus/celt/mdct.h ../deps/opus/celt/kiss_fft.h \
|
||||||
|
../deps/opus/celt/cpu_support.h
|
||||||
|
../deps/opus/silk/fixed/pitch_analysis_core_FIX.c:
|
||||||
|
../deps/config/opus/linux/x64/config.h:
|
||||||
|
../deps/opus/silk/SigProc_FIX.h:
|
||||||
|
../deps/opus/silk/typedef.h:
|
||||||
|
../deps/opus/include/opus_types.h:
|
||||||
|
../deps/opus/include/opus_defines.h:
|
||||||
|
../deps/opus/include/opus_types.h:
|
||||||
|
../deps/opus/silk/resampler_structs.h:
|
||||||
|
../deps/opus/silk/macros.h:
|
||||||
|
../deps/opus/celt/arch.h:
|
||||||
|
../deps/opus/celt/ecintrin.h:
|
||||||
|
../deps/opus/celt/arch.h:
|
||||||
|
../deps/opus/celt/cpu_support.h:
|
||||||
|
../deps/opus/silk/Inlines.h:
|
||||||
|
../deps/opus/silk/MacroCount.h:
|
||||||
|
../deps/opus/silk/MacroDebug.h:
|
||||||
|
../deps/opus/silk/pitch_est_defines.h:
|
||||||
|
../deps/opus/silk/SigProc_FIX.h:
|
||||||
|
../deps/opus/celt/stack_alloc.h:
|
||||||
|
../deps/opus/silk/debug.h:
|
||||||
|
../deps/opus/celt/pitch.h:
|
||||||
|
../deps/opus/celt/modes.h:
|
||||||
|
../deps/opus/celt/celt.h:
|
||||||
|
../deps/opus/include/opus_custom.h:
|
||||||
|
../deps/opus/include/opus_defines.h:
|
||||||
|
../deps/opus/celt/entenc.h:
|
||||||
|
../deps/opus/celt/entcode.h:
|
||||||
|
../deps/opus/celt/ecintrin.h:
|
||||||
|
../deps/opus/celt/entdec.h:
|
||||||
|
../deps/opus/celt/mdct.h:
|
||||||
|
../deps/opus/celt/kiss_fft.h:
|
||||||
|
../deps/opus/celt/cpu_support.h:
|
60
node_modules/@discordjs/.opus-537sWZVY/build/Release/.deps/Release/obj.target/libopus/deps/opus/silk/fixed/process_gains_FIX.o.d
generated
vendored
Normal file
60
node_modules/@discordjs/.opus-537sWZVY/build/Release/.deps/Release/obj.target/libopus/deps/opus/silk/fixed/process_gains_FIX.o.d
generated
vendored
Normal file
|
@ -0,0 +1,60 @@
|
||||||
|
cmd_Release/obj.target/libopus/deps/opus/silk/fixed/process_gains_FIX.o := cc -o Release/obj.target/libopus/deps/opus/silk/fixed/process_gains_FIX.o ../deps/opus/silk/fixed/process_gains_FIX.c '-DNODE_GYP_MODULE_NAME=libopus' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_GLIBCXX_USE_CXX11_ABI=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-D__STDC_FORMAT_MACROS' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DPIC' '-DHAVE_CONFIG_H' -I/home/sykora/.cache/node-gyp/20.12.2/include/node -I/home/sykora/.cache/node-gyp/20.12.2/src -I/home/sykora/.cache/node-gyp/20.12.2/deps/openssl/config -I/home/sykora/.cache/node-gyp/20.12.2/deps/openssl/openssl/include -I/home/sykora/.cache/node-gyp/20.12.2/deps/uv/include -I/home/sykora/.cache/node-gyp/20.12.2/deps/zlib -I/home/sykora/.cache/node-gyp/20.12.2/deps/v8/include -I../deps/config/opus/linux/x64 -I../deps/opus/include -I../deps/opus/celt -I../deps/opus/silk -I../deps/opus/silk/float -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -fvisibility=hidden -W -Wstrict-prototypes -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wno-parentheses -Wno-unused-parameter -Wno-sign-compare -Wno-maybe-uninitialized -m64 -O3 -fno-omit-frame-pointer -MMD -MF ./Release/.deps/Release/obj.target/libopus/deps/opus/silk/fixed/process_gains_FIX.o.d.raw -c
|
||||||
|
Release/obj.target/libopus/deps/opus/silk/fixed/process_gains_FIX.o: \
|
||||||
|
../deps/opus/silk/fixed/process_gains_FIX.c \
|
||||||
|
../deps/config/opus/linux/x64/config.h \
|
||||||
|
../deps/opus/silk/fixed/main_FIX.h ../deps/opus/silk/SigProc_FIX.h \
|
||||||
|
../deps/opus/silk/typedef.h ../deps/opus/include/opus_types.h \
|
||||||
|
../deps/opus/include/opus_defines.h ../deps/opus/include/opus_types.h \
|
||||||
|
../deps/opus/silk/resampler_structs.h ../deps/opus/silk/macros.h \
|
||||||
|
../deps/opus/celt/arch.h ../deps/opus/celt/ecintrin.h \
|
||||||
|
../deps/opus/celt/arch.h ../deps/opus/celt/cpu_support.h \
|
||||||
|
../deps/opus/silk/Inlines.h ../deps/opus/silk/MacroCount.h \
|
||||||
|
../deps/opus/silk/MacroDebug.h ../deps/opus/silk/fixed/structs_FIX.h \
|
||||||
|
../deps/opus/silk/typedef.h ../deps/opus/silk/main.h \
|
||||||
|
../deps/opus/silk/SigProc_FIX.h ../deps/opus/silk/define.h \
|
||||||
|
../deps/opus/silk/errors.h ../deps/opus/silk/structs.h \
|
||||||
|
../deps/opus/celt/entenc.h ../deps/opus/celt/entcode.h \
|
||||||
|
../deps/opus/celt/ecintrin.h ../deps/opus/celt/entdec.h \
|
||||||
|
../deps/opus/silk/tables.h ../deps/opus/silk/PLC.h \
|
||||||
|
../deps/opus/silk/main.h ../deps/opus/silk/control.h \
|
||||||
|
../deps/opus/silk/debug.h ../deps/opus/silk/structs.h \
|
||||||
|
../deps/opus/silk/control.h ../deps/opus/silk/PLC.h \
|
||||||
|
../deps/opus/silk/debug.h ../deps/opus/silk/tuning_parameters.h
|
||||||
|
../deps/opus/silk/fixed/process_gains_FIX.c:
|
||||||
|
../deps/config/opus/linux/x64/config.h:
|
||||||
|
../deps/opus/silk/fixed/main_FIX.h:
|
||||||
|
../deps/opus/silk/SigProc_FIX.h:
|
||||||
|
../deps/opus/silk/typedef.h:
|
||||||
|
../deps/opus/include/opus_types.h:
|
||||||
|
../deps/opus/include/opus_defines.h:
|
||||||
|
../deps/opus/include/opus_types.h:
|
||||||
|
../deps/opus/silk/resampler_structs.h:
|
||||||
|
../deps/opus/silk/macros.h:
|
||||||
|
../deps/opus/celt/arch.h:
|
||||||
|
../deps/opus/celt/ecintrin.h:
|
||||||
|
../deps/opus/celt/arch.h:
|
||||||
|
../deps/opus/celt/cpu_support.h:
|
||||||
|
../deps/opus/silk/Inlines.h:
|
||||||
|
../deps/opus/silk/MacroCount.h:
|
||||||
|
../deps/opus/silk/MacroDebug.h:
|
||||||
|
../deps/opus/silk/fixed/structs_FIX.h:
|
||||||
|
../deps/opus/silk/typedef.h:
|
||||||
|
../deps/opus/silk/main.h:
|
||||||
|
../deps/opus/silk/SigProc_FIX.h:
|
||||||
|
../deps/opus/silk/define.h:
|
||||||
|
../deps/opus/silk/errors.h:
|
||||||
|
../deps/opus/silk/structs.h:
|
||||||
|
../deps/opus/celt/entenc.h:
|
||||||
|
../deps/opus/celt/entcode.h:
|
||||||
|
../deps/opus/celt/ecintrin.h:
|
||||||
|
../deps/opus/celt/entdec.h:
|
||||||
|
../deps/opus/silk/tables.h:
|
||||||
|
../deps/opus/silk/PLC.h:
|
||||||
|
../deps/opus/silk/main.h:
|
||||||
|
../deps/opus/silk/control.h:
|
||||||
|
../deps/opus/silk/debug.h:
|
||||||
|
../deps/opus/silk/structs.h:
|
||||||
|
../deps/opus/silk/control.h:
|
||||||
|
../deps/opus/silk/PLC.h:
|
||||||
|
../deps/opus/silk/debug.h:
|
||||||
|
../deps/opus/silk/tuning_parameters.h:
|
|
@ -0,0 +1,59 @@
|
||||||
|
cmd_Release/obj.target/libopus/deps/opus/silk/fixed/regularize_correlations_FIX.o := cc -o Release/obj.target/libopus/deps/opus/silk/fixed/regularize_correlations_FIX.o ../deps/opus/silk/fixed/regularize_correlations_FIX.c '-DNODE_GYP_MODULE_NAME=libopus' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_GLIBCXX_USE_CXX11_ABI=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-D__STDC_FORMAT_MACROS' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DPIC' '-DHAVE_CONFIG_H' -I/home/sykora/.cache/node-gyp/20.12.2/include/node -I/home/sykora/.cache/node-gyp/20.12.2/src -I/home/sykora/.cache/node-gyp/20.12.2/deps/openssl/config -I/home/sykora/.cache/node-gyp/20.12.2/deps/openssl/openssl/include -I/home/sykora/.cache/node-gyp/20.12.2/deps/uv/include -I/home/sykora/.cache/node-gyp/20.12.2/deps/zlib -I/home/sykora/.cache/node-gyp/20.12.2/deps/v8/include -I../deps/config/opus/linux/x64 -I../deps/opus/include -I../deps/opus/celt -I../deps/opus/silk -I../deps/opus/silk/float -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -fvisibility=hidden -W -Wstrict-prototypes -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wno-parentheses -Wno-unused-parameter -Wno-sign-compare -Wno-maybe-uninitialized -m64 -O3 -fno-omit-frame-pointer -MMD -MF ./Release/.deps/Release/obj.target/libopus/deps/opus/silk/fixed/regularize_correlations_FIX.o.d.raw -c
|
||||||
|
Release/obj.target/libopus/deps/opus/silk/fixed/regularize_correlations_FIX.o: \
|
||||||
|
../deps/opus/silk/fixed/regularize_correlations_FIX.c \
|
||||||
|
../deps/config/opus/linux/x64/config.h \
|
||||||
|
../deps/opus/silk/fixed/main_FIX.h ../deps/opus/silk/SigProc_FIX.h \
|
||||||
|
../deps/opus/silk/typedef.h ../deps/opus/include/opus_types.h \
|
||||||
|
../deps/opus/include/opus_defines.h ../deps/opus/include/opus_types.h \
|
||||||
|
../deps/opus/silk/resampler_structs.h ../deps/opus/silk/macros.h \
|
||||||
|
../deps/opus/celt/arch.h ../deps/opus/celt/ecintrin.h \
|
||||||
|
../deps/opus/celt/arch.h ../deps/opus/celt/cpu_support.h \
|
||||||
|
../deps/opus/silk/Inlines.h ../deps/opus/silk/MacroCount.h \
|
||||||
|
../deps/opus/silk/MacroDebug.h ../deps/opus/silk/fixed/structs_FIX.h \
|
||||||
|
../deps/opus/silk/typedef.h ../deps/opus/silk/main.h \
|
||||||
|
../deps/opus/silk/SigProc_FIX.h ../deps/opus/silk/define.h \
|
||||||
|
../deps/opus/silk/errors.h ../deps/opus/silk/structs.h \
|
||||||
|
../deps/opus/celt/entenc.h ../deps/opus/celt/entcode.h \
|
||||||
|
../deps/opus/celt/ecintrin.h ../deps/opus/celt/entdec.h \
|
||||||
|
../deps/opus/silk/tables.h ../deps/opus/silk/PLC.h \
|
||||||
|
../deps/opus/silk/main.h ../deps/opus/silk/control.h \
|
||||||
|
../deps/opus/silk/debug.h ../deps/opus/silk/structs.h \
|
||||||
|
../deps/opus/silk/control.h ../deps/opus/silk/PLC.h \
|
||||||
|
../deps/opus/silk/debug.h
|
||||||
|
../deps/opus/silk/fixed/regularize_correlations_FIX.c:
|
||||||
|
../deps/config/opus/linux/x64/config.h:
|
||||||
|
../deps/opus/silk/fixed/main_FIX.h:
|
||||||
|
../deps/opus/silk/SigProc_FIX.h:
|
||||||
|
../deps/opus/silk/typedef.h:
|
||||||
|
../deps/opus/include/opus_types.h:
|
||||||
|
../deps/opus/include/opus_defines.h:
|
||||||
|
../deps/opus/include/opus_types.h:
|
||||||
|
../deps/opus/silk/resampler_structs.h:
|
||||||
|
../deps/opus/silk/macros.h:
|
||||||
|
../deps/opus/celt/arch.h:
|
||||||
|
../deps/opus/celt/ecintrin.h:
|
||||||
|
../deps/opus/celt/arch.h:
|
||||||
|
../deps/opus/celt/cpu_support.h:
|
||||||
|
../deps/opus/silk/Inlines.h:
|
||||||
|
../deps/opus/silk/MacroCount.h:
|
||||||
|
../deps/opus/silk/MacroDebug.h:
|
||||||
|
../deps/opus/silk/fixed/structs_FIX.h:
|
||||||
|
../deps/opus/silk/typedef.h:
|
||||||
|
../deps/opus/silk/main.h:
|
||||||
|
../deps/opus/silk/SigProc_FIX.h:
|
||||||
|
../deps/opus/silk/define.h:
|
||||||
|
../deps/opus/silk/errors.h:
|
||||||
|
../deps/opus/silk/structs.h:
|
||||||
|
../deps/opus/celt/entenc.h:
|
||||||
|
../deps/opus/celt/entcode.h:
|
||||||
|
../deps/opus/celt/ecintrin.h:
|
||||||
|
../deps/opus/celt/entdec.h:
|
||||||
|
../deps/opus/silk/tables.h:
|
||||||
|
../deps/opus/silk/PLC.h:
|
||||||
|
../deps/opus/silk/main.h:
|
||||||
|
../deps/opus/silk/control.h:
|
||||||
|
../deps/opus/silk/debug.h:
|
||||||
|
../deps/opus/silk/structs.h:
|
||||||
|
../deps/opus/silk/control.h:
|
||||||
|
../deps/opus/silk/PLC.h:
|
||||||
|
../deps/opus/silk/debug.h:
|
59
node_modules/@discordjs/.opus-537sWZVY/build/Release/.deps/Release/obj.target/libopus/deps/opus/silk/fixed/residual_energy16_FIX.o.d
generated
vendored
Normal file
59
node_modules/@discordjs/.opus-537sWZVY/build/Release/.deps/Release/obj.target/libopus/deps/opus/silk/fixed/residual_energy16_FIX.o.d
generated
vendored
Normal file
|
@ -0,0 +1,59 @@
|
||||||
|
cmd_Release/obj.target/libopus/deps/opus/silk/fixed/residual_energy16_FIX.o := cc -o Release/obj.target/libopus/deps/opus/silk/fixed/residual_energy16_FIX.o ../deps/opus/silk/fixed/residual_energy16_FIX.c '-DNODE_GYP_MODULE_NAME=libopus' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_GLIBCXX_USE_CXX11_ABI=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-D__STDC_FORMAT_MACROS' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DPIC' '-DHAVE_CONFIG_H' -I/home/sykora/.cache/node-gyp/20.12.2/include/node -I/home/sykora/.cache/node-gyp/20.12.2/src -I/home/sykora/.cache/node-gyp/20.12.2/deps/openssl/config -I/home/sykora/.cache/node-gyp/20.12.2/deps/openssl/openssl/include -I/home/sykora/.cache/node-gyp/20.12.2/deps/uv/include -I/home/sykora/.cache/node-gyp/20.12.2/deps/zlib -I/home/sykora/.cache/node-gyp/20.12.2/deps/v8/include -I../deps/config/opus/linux/x64 -I../deps/opus/include -I../deps/opus/celt -I../deps/opus/silk -I../deps/opus/silk/float -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -fvisibility=hidden -W -Wstrict-prototypes -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wno-parentheses -Wno-unused-parameter -Wno-sign-compare -Wno-maybe-uninitialized -m64 -O3 -fno-omit-frame-pointer -MMD -MF ./Release/.deps/Release/obj.target/libopus/deps/opus/silk/fixed/residual_energy16_FIX.o.d.raw -c
|
||||||
|
Release/obj.target/libopus/deps/opus/silk/fixed/residual_energy16_FIX.o: \
|
||||||
|
../deps/opus/silk/fixed/residual_energy16_FIX.c \
|
||||||
|
../deps/config/opus/linux/x64/config.h \
|
||||||
|
../deps/opus/silk/fixed/main_FIX.h ../deps/opus/silk/SigProc_FIX.h \
|
||||||
|
../deps/opus/silk/typedef.h ../deps/opus/include/opus_types.h \
|
||||||
|
../deps/opus/include/opus_defines.h ../deps/opus/include/opus_types.h \
|
||||||
|
../deps/opus/silk/resampler_structs.h ../deps/opus/silk/macros.h \
|
||||||
|
../deps/opus/celt/arch.h ../deps/opus/celt/ecintrin.h \
|
||||||
|
../deps/opus/celt/arch.h ../deps/opus/celt/cpu_support.h \
|
||||||
|
../deps/opus/silk/Inlines.h ../deps/opus/silk/MacroCount.h \
|
||||||
|
../deps/opus/silk/MacroDebug.h ../deps/opus/silk/fixed/structs_FIX.h \
|
||||||
|
../deps/opus/silk/typedef.h ../deps/opus/silk/main.h \
|
||||||
|
../deps/opus/silk/SigProc_FIX.h ../deps/opus/silk/define.h \
|
||||||
|
../deps/opus/silk/errors.h ../deps/opus/silk/structs.h \
|
||||||
|
../deps/opus/celt/entenc.h ../deps/opus/celt/entcode.h \
|
||||||
|
../deps/opus/celt/ecintrin.h ../deps/opus/celt/entdec.h \
|
||||||
|
../deps/opus/silk/tables.h ../deps/opus/silk/PLC.h \
|
||||||
|
../deps/opus/silk/main.h ../deps/opus/silk/control.h \
|
||||||
|
../deps/opus/silk/debug.h ../deps/opus/silk/structs.h \
|
||||||
|
../deps/opus/silk/control.h ../deps/opus/silk/PLC.h \
|
||||||
|
../deps/opus/silk/debug.h
|
||||||
|
../deps/opus/silk/fixed/residual_energy16_FIX.c:
|
||||||
|
../deps/config/opus/linux/x64/config.h:
|
||||||
|
../deps/opus/silk/fixed/main_FIX.h:
|
||||||
|
../deps/opus/silk/SigProc_FIX.h:
|
||||||
|
../deps/opus/silk/typedef.h:
|
||||||
|
../deps/opus/include/opus_types.h:
|
||||||
|
../deps/opus/include/opus_defines.h:
|
||||||
|
../deps/opus/include/opus_types.h:
|
||||||
|
../deps/opus/silk/resampler_structs.h:
|
||||||
|
../deps/opus/silk/macros.h:
|
||||||
|
../deps/opus/celt/arch.h:
|
||||||
|
../deps/opus/celt/ecintrin.h:
|
||||||
|
../deps/opus/celt/arch.h:
|
||||||
|
../deps/opus/celt/cpu_support.h:
|
||||||
|
../deps/opus/silk/Inlines.h:
|
||||||
|
../deps/opus/silk/MacroCount.h:
|
||||||
|
../deps/opus/silk/MacroDebug.h:
|
||||||
|
../deps/opus/silk/fixed/structs_FIX.h:
|
||||||
|
../deps/opus/silk/typedef.h:
|
||||||
|
../deps/opus/silk/main.h:
|
||||||
|
../deps/opus/silk/SigProc_FIX.h:
|
||||||
|
../deps/opus/silk/define.h:
|
||||||
|
../deps/opus/silk/errors.h:
|
||||||
|
../deps/opus/silk/structs.h:
|
||||||
|
../deps/opus/celt/entenc.h:
|
||||||
|
../deps/opus/celt/entcode.h:
|
||||||
|
../deps/opus/celt/ecintrin.h:
|
||||||
|
../deps/opus/celt/entdec.h:
|
||||||
|
../deps/opus/silk/tables.h:
|
||||||
|
../deps/opus/silk/PLC.h:
|
||||||
|
../deps/opus/silk/main.h:
|
||||||
|
../deps/opus/silk/control.h:
|
||||||
|
../deps/opus/silk/debug.h:
|
||||||
|
../deps/opus/silk/structs.h:
|
||||||
|
../deps/opus/silk/control.h:
|
||||||
|
../deps/opus/silk/PLC.h:
|
||||||
|
../deps/opus/silk/debug.h:
|
60
node_modules/@discordjs/.opus-537sWZVY/build/Release/.deps/Release/obj.target/libopus/deps/opus/silk/fixed/residual_energy_FIX.o.d
generated
vendored
Normal file
60
node_modules/@discordjs/.opus-537sWZVY/build/Release/.deps/Release/obj.target/libopus/deps/opus/silk/fixed/residual_energy_FIX.o.d
generated
vendored
Normal file
|
@ -0,0 +1,60 @@
|
||||||
|
cmd_Release/obj.target/libopus/deps/opus/silk/fixed/residual_energy_FIX.o := cc -o Release/obj.target/libopus/deps/opus/silk/fixed/residual_energy_FIX.o ../deps/opus/silk/fixed/residual_energy_FIX.c '-DNODE_GYP_MODULE_NAME=libopus' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_GLIBCXX_USE_CXX11_ABI=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-D__STDC_FORMAT_MACROS' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DPIC' '-DHAVE_CONFIG_H' -I/home/sykora/.cache/node-gyp/20.12.2/include/node -I/home/sykora/.cache/node-gyp/20.12.2/src -I/home/sykora/.cache/node-gyp/20.12.2/deps/openssl/config -I/home/sykora/.cache/node-gyp/20.12.2/deps/openssl/openssl/include -I/home/sykora/.cache/node-gyp/20.12.2/deps/uv/include -I/home/sykora/.cache/node-gyp/20.12.2/deps/zlib -I/home/sykora/.cache/node-gyp/20.12.2/deps/v8/include -I../deps/config/opus/linux/x64 -I../deps/opus/include -I../deps/opus/celt -I../deps/opus/silk -I../deps/opus/silk/float -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -fvisibility=hidden -W -Wstrict-prototypes -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wno-parentheses -Wno-unused-parameter -Wno-sign-compare -Wno-maybe-uninitialized -m64 -O3 -fno-omit-frame-pointer -MMD -MF ./Release/.deps/Release/obj.target/libopus/deps/opus/silk/fixed/residual_energy_FIX.o.d.raw -c
|
||||||
|
Release/obj.target/libopus/deps/opus/silk/fixed/residual_energy_FIX.o: \
|
||||||
|
../deps/opus/silk/fixed/residual_energy_FIX.c \
|
||||||
|
../deps/config/opus/linux/x64/config.h \
|
||||||
|
../deps/opus/silk/fixed/main_FIX.h ../deps/opus/silk/SigProc_FIX.h \
|
||||||
|
../deps/opus/silk/typedef.h ../deps/opus/include/opus_types.h \
|
||||||
|
../deps/opus/include/opus_defines.h ../deps/opus/include/opus_types.h \
|
||||||
|
../deps/opus/silk/resampler_structs.h ../deps/opus/silk/macros.h \
|
||||||
|
../deps/opus/celt/arch.h ../deps/opus/celt/ecintrin.h \
|
||||||
|
../deps/opus/celt/arch.h ../deps/opus/celt/cpu_support.h \
|
||||||
|
../deps/opus/silk/Inlines.h ../deps/opus/silk/MacroCount.h \
|
||||||
|
../deps/opus/silk/MacroDebug.h ../deps/opus/silk/fixed/structs_FIX.h \
|
||||||
|
../deps/opus/silk/typedef.h ../deps/opus/silk/main.h \
|
||||||
|
../deps/opus/silk/SigProc_FIX.h ../deps/opus/silk/define.h \
|
||||||
|
../deps/opus/silk/errors.h ../deps/opus/silk/structs.h \
|
||||||
|
../deps/opus/celt/entenc.h ../deps/opus/celt/entcode.h \
|
||||||
|
../deps/opus/celt/ecintrin.h ../deps/opus/celt/entdec.h \
|
||||||
|
../deps/opus/silk/tables.h ../deps/opus/silk/PLC.h \
|
||||||
|
../deps/opus/silk/main.h ../deps/opus/silk/control.h \
|
||||||
|
../deps/opus/silk/debug.h ../deps/opus/silk/structs.h \
|
||||||
|
../deps/opus/silk/control.h ../deps/opus/silk/PLC.h \
|
||||||
|
../deps/opus/silk/debug.h ../deps/opus/celt/stack_alloc.h
|
||||||
|
../deps/opus/silk/fixed/residual_energy_FIX.c:
|
||||||
|
../deps/config/opus/linux/x64/config.h:
|
||||||
|
../deps/opus/silk/fixed/main_FIX.h:
|
||||||
|
../deps/opus/silk/SigProc_FIX.h:
|
||||||
|
../deps/opus/silk/typedef.h:
|
||||||
|
../deps/opus/include/opus_types.h:
|
||||||
|
../deps/opus/include/opus_defines.h:
|
||||||
|
../deps/opus/include/opus_types.h:
|
||||||
|
../deps/opus/silk/resampler_structs.h:
|
||||||
|
../deps/opus/silk/macros.h:
|
||||||
|
../deps/opus/celt/arch.h:
|
||||||
|
../deps/opus/celt/ecintrin.h:
|
||||||
|
../deps/opus/celt/arch.h:
|
||||||
|
../deps/opus/celt/cpu_support.h:
|
||||||
|
../deps/opus/silk/Inlines.h:
|
||||||
|
../deps/opus/silk/MacroCount.h:
|
||||||
|
../deps/opus/silk/MacroDebug.h:
|
||||||
|
../deps/opus/silk/fixed/structs_FIX.h:
|
||||||
|
../deps/opus/silk/typedef.h:
|
||||||
|
../deps/opus/silk/main.h:
|
||||||
|
../deps/opus/silk/SigProc_FIX.h:
|
||||||
|
../deps/opus/silk/define.h:
|
||||||
|
../deps/opus/silk/errors.h:
|
||||||
|
../deps/opus/silk/structs.h:
|
||||||
|
../deps/opus/celt/entenc.h:
|
||||||
|
../deps/opus/celt/entcode.h:
|
||||||
|
../deps/opus/celt/ecintrin.h:
|
||||||
|
../deps/opus/celt/entdec.h:
|
||||||
|
../deps/opus/silk/tables.h:
|
||||||
|
../deps/opus/silk/PLC.h:
|
||||||
|
../deps/opus/silk/main.h:
|
||||||
|
../deps/opus/silk/control.h:
|
||||||
|
../deps/opus/silk/debug.h:
|
||||||
|
../deps/opus/silk/structs.h:
|
||||||
|
../deps/opus/silk/control.h:
|
||||||
|
../deps/opus/silk/PLC.h:
|
||||||
|
../deps/opus/silk/debug.h:
|
||||||
|
../deps/opus/celt/stack_alloc.h:
|
27
node_modules/@discordjs/.opus-537sWZVY/build/Release/.deps/Release/obj.target/libopus/deps/opus/silk/fixed/schur64_FIX.o.d
generated
vendored
Normal file
27
node_modules/@discordjs/.opus-537sWZVY/build/Release/.deps/Release/obj.target/libopus/deps/opus/silk/fixed/schur64_FIX.o.d
generated
vendored
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
cmd_Release/obj.target/libopus/deps/opus/silk/fixed/schur64_FIX.o := cc -o Release/obj.target/libopus/deps/opus/silk/fixed/schur64_FIX.o ../deps/opus/silk/fixed/schur64_FIX.c '-DNODE_GYP_MODULE_NAME=libopus' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_GLIBCXX_USE_CXX11_ABI=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-D__STDC_FORMAT_MACROS' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DPIC' '-DHAVE_CONFIG_H' -I/home/sykora/.cache/node-gyp/20.12.2/include/node -I/home/sykora/.cache/node-gyp/20.12.2/src -I/home/sykora/.cache/node-gyp/20.12.2/deps/openssl/config -I/home/sykora/.cache/node-gyp/20.12.2/deps/openssl/openssl/include -I/home/sykora/.cache/node-gyp/20.12.2/deps/uv/include -I/home/sykora/.cache/node-gyp/20.12.2/deps/zlib -I/home/sykora/.cache/node-gyp/20.12.2/deps/v8/include -I../deps/config/opus/linux/x64 -I../deps/opus/include -I../deps/opus/celt -I../deps/opus/silk -I../deps/opus/silk/float -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -fvisibility=hidden -W -Wstrict-prototypes -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wno-parentheses -Wno-unused-parameter -Wno-sign-compare -Wno-maybe-uninitialized -m64 -O3 -fno-omit-frame-pointer -MMD -MF ./Release/.deps/Release/obj.target/libopus/deps/opus/silk/fixed/schur64_FIX.o.d.raw -c
|
||||||
|
Release/obj.target/libopus/deps/opus/silk/fixed/schur64_FIX.o: \
|
||||||
|
../deps/opus/silk/fixed/schur64_FIX.c \
|
||||||
|
../deps/config/opus/linux/x64/config.h ../deps/opus/silk/SigProc_FIX.h \
|
||||||
|
../deps/opus/silk/typedef.h ../deps/opus/include/opus_types.h \
|
||||||
|
../deps/opus/include/opus_defines.h ../deps/opus/include/opus_types.h \
|
||||||
|
../deps/opus/silk/resampler_structs.h ../deps/opus/silk/macros.h \
|
||||||
|
../deps/opus/celt/arch.h ../deps/opus/celt/ecintrin.h \
|
||||||
|
../deps/opus/celt/arch.h ../deps/opus/celt/cpu_support.h \
|
||||||
|
../deps/opus/silk/Inlines.h ../deps/opus/silk/MacroCount.h \
|
||||||
|
../deps/opus/silk/MacroDebug.h
|
||||||
|
../deps/opus/silk/fixed/schur64_FIX.c:
|
||||||
|
../deps/config/opus/linux/x64/config.h:
|
||||||
|
../deps/opus/silk/SigProc_FIX.h:
|
||||||
|
../deps/opus/silk/typedef.h:
|
||||||
|
../deps/opus/include/opus_types.h:
|
||||||
|
../deps/opus/include/opus_defines.h:
|
||||||
|
../deps/opus/include/opus_types.h:
|
||||||
|
../deps/opus/silk/resampler_structs.h:
|
||||||
|
../deps/opus/silk/macros.h:
|
||||||
|
../deps/opus/celt/arch.h:
|
||||||
|
../deps/opus/celt/ecintrin.h:
|
||||||
|
../deps/opus/celt/arch.h:
|
||||||
|
../deps/opus/celt/cpu_support.h:
|
||||||
|
../deps/opus/silk/Inlines.h:
|
||||||
|
../deps/opus/silk/MacroCount.h:
|
||||||
|
../deps/opus/silk/MacroDebug.h:
|
27
node_modules/@discordjs/.opus-537sWZVY/build/Release/.deps/Release/obj.target/libopus/deps/opus/silk/fixed/schur_FIX.o.d
generated
vendored
Normal file
27
node_modules/@discordjs/.opus-537sWZVY/build/Release/.deps/Release/obj.target/libopus/deps/opus/silk/fixed/schur_FIX.o.d
generated
vendored
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
cmd_Release/obj.target/libopus/deps/opus/silk/fixed/schur_FIX.o := cc -o Release/obj.target/libopus/deps/opus/silk/fixed/schur_FIX.o ../deps/opus/silk/fixed/schur_FIX.c '-DNODE_GYP_MODULE_NAME=libopus' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_GLIBCXX_USE_CXX11_ABI=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-D__STDC_FORMAT_MACROS' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DPIC' '-DHAVE_CONFIG_H' -I/home/sykora/.cache/node-gyp/20.12.2/include/node -I/home/sykora/.cache/node-gyp/20.12.2/src -I/home/sykora/.cache/node-gyp/20.12.2/deps/openssl/config -I/home/sykora/.cache/node-gyp/20.12.2/deps/openssl/openssl/include -I/home/sykora/.cache/node-gyp/20.12.2/deps/uv/include -I/home/sykora/.cache/node-gyp/20.12.2/deps/zlib -I/home/sykora/.cache/node-gyp/20.12.2/deps/v8/include -I../deps/config/opus/linux/x64 -I../deps/opus/include -I../deps/opus/celt -I../deps/opus/silk -I../deps/opus/silk/float -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -fvisibility=hidden -W -Wstrict-prototypes -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wno-parentheses -Wno-unused-parameter -Wno-sign-compare -Wno-maybe-uninitialized -m64 -O3 -fno-omit-frame-pointer -MMD -MF ./Release/.deps/Release/obj.target/libopus/deps/opus/silk/fixed/schur_FIX.o.d.raw -c
|
||||||
|
Release/obj.target/libopus/deps/opus/silk/fixed/schur_FIX.o: \
|
||||||
|
../deps/opus/silk/fixed/schur_FIX.c \
|
||||||
|
../deps/config/opus/linux/x64/config.h ../deps/opus/silk/SigProc_FIX.h \
|
||||||
|
../deps/opus/silk/typedef.h ../deps/opus/include/opus_types.h \
|
||||||
|
../deps/opus/include/opus_defines.h ../deps/opus/include/opus_types.h \
|
||||||
|
../deps/opus/silk/resampler_structs.h ../deps/opus/silk/macros.h \
|
||||||
|
../deps/opus/celt/arch.h ../deps/opus/celt/ecintrin.h \
|
||||||
|
../deps/opus/celt/arch.h ../deps/opus/celt/cpu_support.h \
|
||||||
|
../deps/opus/silk/Inlines.h ../deps/opus/silk/MacroCount.h \
|
||||||
|
../deps/opus/silk/MacroDebug.h
|
||||||
|
../deps/opus/silk/fixed/schur_FIX.c:
|
||||||
|
../deps/config/opus/linux/x64/config.h:
|
||||||
|
../deps/opus/silk/SigProc_FIX.h:
|
||||||
|
../deps/opus/silk/typedef.h:
|
||||||
|
../deps/opus/include/opus_types.h:
|
||||||
|
../deps/opus/include/opus_defines.h:
|
||||||
|
../deps/opus/include/opus_types.h:
|
||||||
|
../deps/opus/silk/resampler_structs.h:
|
||||||
|
../deps/opus/silk/macros.h:
|
||||||
|
../deps/opus/celt/arch.h:
|
||||||
|
../deps/opus/celt/ecintrin.h:
|
||||||
|
../deps/opus/celt/arch.h:
|
||||||
|
../deps/opus/celt/cpu_support.h:
|
||||||
|
../deps/opus/silk/Inlines.h:
|
||||||
|
../deps/opus/silk/MacroCount.h:
|
||||||
|
../deps/opus/silk/MacroDebug.h:
|
45
node_modules/@discordjs/.opus-537sWZVY/build/Release/.deps/Release/obj.target/libopus/deps/opus/silk/fixed/vector_ops_FIX.o.d
generated
vendored
Normal file
45
node_modules/@discordjs/.opus-537sWZVY/build/Release/.deps/Release/obj.target/libopus/deps/opus/silk/fixed/vector_ops_FIX.o.d
generated
vendored
Normal file
|
@ -0,0 +1,45 @@
|
||||||
|
cmd_Release/obj.target/libopus/deps/opus/silk/fixed/vector_ops_FIX.o := cc -o Release/obj.target/libopus/deps/opus/silk/fixed/vector_ops_FIX.o ../deps/opus/silk/fixed/vector_ops_FIX.c '-DNODE_GYP_MODULE_NAME=libopus' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_GLIBCXX_USE_CXX11_ABI=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-D__STDC_FORMAT_MACROS' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DPIC' '-DHAVE_CONFIG_H' -I/home/sykora/.cache/node-gyp/20.12.2/include/node -I/home/sykora/.cache/node-gyp/20.12.2/src -I/home/sykora/.cache/node-gyp/20.12.2/deps/openssl/config -I/home/sykora/.cache/node-gyp/20.12.2/deps/openssl/openssl/include -I/home/sykora/.cache/node-gyp/20.12.2/deps/uv/include -I/home/sykora/.cache/node-gyp/20.12.2/deps/zlib -I/home/sykora/.cache/node-gyp/20.12.2/deps/v8/include -I../deps/config/opus/linux/x64 -I../deps/opus/include -I../deps/opus/celt -I../deps/opus/silk -I../deps/opus/silk/float -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -fvisibility=hidden -W -Wstrict-prototypes -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wno-parentheses -Wno-unused-parameter -Wno-sign-compare -Wno-maybe-uninitialized -m64 -O3 -fno-omit-frame-pointer -MMD -MF ./Release/.deps/Release/obj.target/libopus/deps/opus/silk/fixed/vector_ops_FIX.o.d.raw -c
|
||||||
|
Release/obj.target/libopus/deps/opus/silk/fixed/vector_ops_FIX.o: \
|
||||||
|
../deps/opus/silk/fixed/vector_ops_FIX.c \
|
||||||
|
../deps/config/opus/linux/x64/config.h ../deps/opus/silk/SigProc_FIX.h \
|
||||||
|
../deps/opus/silk/typedef.h ../deps/opus/include/opus_types.h \
|
||||||
|
../deps/opus/include/opus_defines.h ../deps/opus/include/opus_types.h \
|
||||||
|
../deps/opus/silk/resampler_structs.h ../deps/opus/silk/macros.h \
|
||||||
|
../deps/opus/celt/arch.h ../deps/opus/celt/ecintrin.h \
|
||||||
|
../deps/opus/celt/arch.h ../deps/opus/celt/cpu_support.h \
|
||||||
|
../deps/opus/silk/Inlines.h ../deps/opus/silk/MacroCount.h \
|
||||||
|
../deps/opus/silk/MacroDebug.h ../deps/opus/celt/pitch.h \
|
||||||
|
../deps/opus/celt/modes.h ../deps/opus/celt/celt.h \
|
||||||
|
../deps/opus/include/opus_custom.h ../deps/opus/include/opus_defines.h \
|
||||||
|
../deps/opus/celt/entenc.h ../deps/opus/celt/entcode.h \
|
||||||
|
../deps/opus/celt/ecintrin.h ../deps/opus/celt/entdec.h \
|
||||||
|
../deps/opus/celt/mdct.h ../deps/opus/celt/kiss_fft.h \
|
||||||
|
../deps/opus/celt/cpu_support.h
|
||||||
|
../deps/opus/silk/fixed/vector_ops_FIX.c:
|
||||||
|
../deps/config/opus/linux/x64/config.h:
|
||||||
|
../deps/opus/silk/SigProc_FIX.h:
|
||||||
|
../deps/opus/silk/typedef.h:
|
||||||
|
../deps/opus/include/opus_types.h:
|
||||||
|
../deps/opus/include/opus_defines.h:
|
||||||
|
../deps/opus/include/opus_types.h:
|
||||||
|
../deps/opus/silk/resampler_structs.h:
|
||||||
|
../deps/opus/silk/macros.h:
|
||||||
|
../deps/opus/celt/arch.h:
|
||||||
|
../deps/opus/celt/ecintrin.h:
|
||||||
|
../deps/opus/celt/arch.h:
|
||||||
|
../deps/opus/celt/cpu_support.h:
|
||||||
|
../deps/opus/silk/Inlines.h:
|
||||||
|
../deps/opus/silk/MacroCount.h:
|
||||||
|
../deps/opus/silk/MacroDebug.h:
|
||||||
|
../deps/opus/celt/pitch.h:
|
||||||
|
../deps/opus/celt/modes.h:
|
||||||
|
../deps/opus/celt/celt.h:
|
||||||
|
../deps/opus/include/opus_custom.h:
|
||||||
|
../deps/opus/include/opus_defines.h:
|
||||||
|
../deps/opus/celt/entenc.h:
|
||||||
|
../deps/opus/celt/entcode.h:
|
||||||
|
../deps/opus/celt/ecintrin.h:
|
||||||
|
../deps/opus/celt/entdec.h:
|
||||||
|
../deps/opus/celt/mdct.h:
|
||||||
|
../deps/opus/celt/kiss_fft.h:
|
||||||
|
../deps/opus/celt/cpu_support.h:
|
|
@ -0,0 +1,59 @@
|
||||||
|
cmd_Release/obj.target/libopus/deps/opus/silk/fixed/warped_autocorrelation_FIX.o := cc -o Release/obj.target/libopus/deps/opus/silk/fixed/warped_autocorrelation_FIX.o ../deps/opus/silk/fixed/warped_autocorrelation_FIX.c '-DNODE_GYP_MODULE_NAME=libopus' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_GLIBCXX_USE_CXX11_ABI=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-D__STDC_FORMAT_MACROS' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DPIC' '-DHAVE_CONFIG_H' -I/home/sykora/.cache/node-gyp/20.12.2/include/node -I/home/sykora/.cache/node-gyp/20.12.2/src -I/home/sykora/.cache/node-gyp/20.12.2/deps/openssl/config -I/home/sykora/.cache/node-gyp/20.12.2/deps/openssl/openssl/include -I/home/sykora/.cache/node-gyp/20.12.2/deps/uv/include -I/home/sykora/.cache/node-gyp/20.12.2/deps/zlib -I/home/sykora/.cache/node-gyp/20.12.2/deps/v8/include -I../deps/config/opus/linux/x64 -I../deps/opus/include -I../deps/opus/celt -I../deps/opus/silk -I../deps/opus/silk/float -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -fvisibility=hidden -W -Wstrict-prototypes -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wno-parentheses -Wno-unused-parameter -Wno-sign-compare -Wno-maybe-uninitialized -m64 -O3 -fno-omit-frame-pointer -MMD -MF ./Release/.deps/Release/obj.target/libopus/deps/opus/silk/fixed/warped_autocorrelation_FIX.o.d.raw -c
|
||||||
|
Release/obj.target/libopus/deps/opus/silk/fixed/warped_autocorrelation_FIX.o: \
|
||||||
|
../deps/opus/silk/fixed/warped_autocorrelation_FIX.c \
|
||||||
|
../deps/config/opus/linux/x64/config.h \
|
||||||
|
../deps/opus/silk/fixed/main_FIX.h ../deps/opus/silk/SigProc_FIX.h \
|
||||||
|
../deps/opus/silk/typedef.h ../deps/opus/include/opus_types.h \
|
||||||
|
../deps/opus/include/opus_defines.h ../deps/opus/include/opus_types.h \
|
||||||
|
../deps/opus/silk/resampler_structs.h ../deps/opus/silk/macros.h \
|
||||||
|
../deps/opus/celt/arch.h ../deps/opus/celt/ecintrin.h \
|
||||||
|
../deps/opus/celt/arch.h ../deps/opus/celt/cpu_support.h \
|
||||||
|
../deps/opus/silk/Inlines.h ../deps/opus/silk/MacroCount.h \
|
||||||
|
../deps/opus/silk/MacroDebug.h ../deps/opus/silk/fixed/structs_FIX.h \
|
||||||
|
../deps/opus/silk/typedef.h ../deps/opus/silk/main.h \
|
||||||
|
../deps/opus/silk/SigProc_FIX.h ../deps/opus/silk/define.h \
|
||||||
|
../deps/opus/silk/errors.h ../deps/opus/silk/structs.h \
|
||||||
|
../deps/opus/celt/entenc.h ../deps/opus/celt/entcode.h \
|
||||||
|
../deps/opus/celt/ecintrin.h ../deps/opus/celt/entdec.h \
|
||||||
|
../deps/opus/silk/tables.h ../deps/opus/silk/PLC.h \
|
||||||
|
../deps/opus/silk/main.h ../deps/opus/silk/control.h \
|
||||||
|
../deps/opus/silk/debug.h ../deps/opus/silk/structs.h \
|
||||||
|
../deps/opus/silk/control.h ../deps/opus/silk/PLC.h \
|
||||||
|
../deps/opus/silk/debug.h
|
||||||
|
../deps/opus/silk/fixed/warped_autocorrelation_FIX.c:
|
||||||
|
../deps/config/opus/linux/x64/config.h:
|
||||||
|
../deps/opus/silk/fixed/main_FIX.h:
|
||||||
|
../deps/opus/silk/SigProc_FIX.h:
|
||||||
|
../deps/opus/silk/typedef.h:
|
||||||
|
../deps/opus/include/opus_types.h:
|
||||||
|
../deps/opus/include/opus_defines.h:
|
||||||
|
../deps/opus/include/opus_types.h:
|
||||||
|
../deps/opus/silk/resampler_structs.h:
|
||||||
|
../deps/opus/silk/macros.h:
|
||||||
|
../deps/opus/celt/arch.h:
|
||||||
|
../deps/opus/celt/ecintrin.h:
|
||||||
|
../deps/opus/celt/arch.h:
|
||||||
|
../deps/opus/celt/cpu_support.h:
|
||||||
|
../deps/opus/silk/Inlines.h:
|
||||||
|
../deps/opus/silk/MacroCount.h:
|
||||||
|
../deps/opus/silk/MacroDebug.h:
|
||||||
|
../deps/opus/silk/fixed/structs_FIX.h:
|
||||||
|
../deps/opus/silk/typedef.h:
|
||||||
|
../deps/opus/silk/main.h:
|
||||||
|
../deps/opus/silk/SigProc_FIX.h:
|
||||||
|
../deps/opus/silk/define.h:
|
||||||
|
../deps/opus/silk/errors.h:
|
||||||
|
../deps/opus/silk/structs.h:
|
||||||
|
../deps/opus/celt/entenc.h:
|
||||||
|
../deps/opus/celt/entcode.h:
|
||||||
|
../deps/opus/celt/ecintrin.h:
|
||||||
|
../deps/opus/celt/entdec.h:
|
||||||
|
../deps/opus/silk/tables.h:
|
||||||
|
../deps/opus/silk/PLC.h:
|
||||||
|
../deps/opus/silk/main.h:
|
||||||
|
../deps/opus/silk/control.h:
|
||||||
|
../deps/opus/silk/debug.h:
|
||||||
|
../deps/opus/silk/structs.h:
|
||||||
|
../deps/opus/silk/control.h:
|
||||||
|
../deps/opus/silk/PLC.h:
|
||||||
|
../deps/opus/silk/debug.h:
|
30
node_modules/@discordjs/.opus-537sWZVY/build/Release/.deps/Release/obj.target/libopus/deps/opus/silk/float/schur_FLP.o.d
generated
vendored
Normal file
30
node_modules/@discordjs/.opus-537sWZVY/build/Release/.deps/Release/obj.target/libopus/deps/opus/silk/float/schur_FLP.o.d
generated
vendored
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
cmd_Release/obj.target/libopus/deps/opus/silk/float/schur_FLP.o := cc -o Release/obj.target/libopus/deps/opus/silk/float/schur_FLP.o ../deps/opus/silk/float/schur_FLP.c '-DNODE_GYP_MODULE_NAME=libopus' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_GLIBCXX_USE_CXX11_ABI=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-D__STDC_FORMAT_MACROS' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DPIC' '-DHAVE_CONFIG_H' -I/home/sykora/.cache/node-gyp/20.12.2/include/node -I/home/sykora/.cache/node-gyp/20.12.2/src -I/home/sykora/.cache/node-gyp/20.12.2/deps/openssl/config -I/home/sykora/.cache/node-gyp/20.12.2/deps/openssl/openssl/include -I/home/sykora/.cache/node-gyp/20.12.2/deps/uv/include -I/home/sykora/.cache/node-gyp/20.12.2/deps/zlib -I/home/sykora/.cache/node-gyp/20.12.2/deps/v8/include -I../deps/config/opus/linux/x64 -I../deps/opus/include -I../deps/opus/celt -I../deps/opus/silk -I../deps/opus/silk/float -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -fvisibility=hidden -W -Wstrict-prototypes -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wno-parentheses -Wno-unused-parameter -Wno-sign-compare -Wno-maybe-uninitialized -m64 -O3 -fno-omit-frame-pointer -MMD -MF ./Release/.deps/Release/obj.target/libopus/deps/opus/silk/float/schur_FLP.o.d.raw -c
|
||||||
|
Release/obj.target/libopus/deps/opus/silk/float/schur_FLP.o: \
|
||||||
|
../deps/opus/silk/float/schur_FLP.c \
|
||||||
|
../deps/config/opus/linux/x64/config.h \
|
||||||
|
../deps/opus/silk/float/SigProc_FLP.h ../deps/opus/silk/SigProc_FIX.h \
|
||||||
|
../deps/opus/silk/typedef.h ../deps/opus/include/opus_types.h \
|
||||||
|
../deps/opus/include/opus_defines.h ../deps/opus/include/opus_types.h \
|
||||||
|
../deps/opus/silk/resampler_structs.h ../deps/opus/silk/macros.h \
|
||||||
|
../deps/opus/celt/arch.h ../deps/opus/celt/ecintrin.h \
|
||||||
|
../deps/opus/celt/arch.h ../deps/opus/celt/cpu_support.h \
|
||||||
|
../deps/opus/silk/Inlines.h ../deps/opus/silk/MacroCount.h \
|
||||||
|
../deps/opus/silk/MacroDebug.h ../deps/opus/celt/float_cast.h
|
||||||
|
../deps/opus/silk/float/schur_FLP.c:
|
||||||
|
../deps/config/opus/linux/x64/config.h:
|
||||||
|
../deps/opus/silk/float/SigProc_FLP.h:
|
||||||
|
../deps/opus/silk/SigProc_FIX.h:
|
||||||
|
../deps/opus/silk/typedef.h:
|
||||||
|
../deps/opus/include/opus_types.h:
|
||||||
|
../deps/opus/include/opus_defines.h:
|
||||||
|
../deps/opus/include/opus_types.h:
|
||||||
|
../deps/opus/silk/resampler_structs.h:
|
||||||
|
../deps/opus/silk/macros.h:
|
||||||
|
../deps/opus/celt/arch.h:
|
||||||
|
../deps/opus/celt/ecintrin.h:
|
||||||
|
../deps/opus/celt/arch.h:
|
||||||
|
../deps/opus/celt/cpu_support.h:
|
||||||
|
../deps/opus/silk/Inlines.h:
|
||||||
|
../deps/opus/silk/MacroCount.h:
|
||||||
|
../deps/opus/silk/MacroDebug.h:
|
||||||
|
../deps/opus/celt/float_cast.h:
|
31
node_modules/@discordjs/.opus-537sWZVY/build/Release/.deps/Release/obj.target/libopus/deps/opus/silk/float/sort_FLP.o.d
generated
vendored
Normal file
31
node_modules/@discordjs/.opus-537sWZVY/build/Release/.deps/Release/obj.target/libopus/deps/opus/silk/float/sort_FLP.o.d
generated
vendored
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
cmd_Release/obj.target/libopus/deps/opus/silk/float/sort_FLP.o := cc -o Release/obj.target/libopus/deps/opus/silk/float/sort_FLP.o ../deps/opus/silk/float/sort_FLP.c '-DNODE_GYP_MODULE_NAME=libopus' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_GLIBCXX_USE_CXX11_ABI=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-D__STDC_FORMAT_MACROS' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DPIC' '-DHAVE_CONFIG_H' -I/home/sykora/.cache/node-gyp/20.12.2/include/node -I/home/sykora/.cache/node-gyp/20.12.2/src -I/home/sykora/.cache/node-gyp/20.12.2/deps/openssl/config -I/home/sykora/.cache/node-gyp/20.12.2/deps/openssl/openssl/include -I/home/sykora/.cache/node-gyp/20.12.2/deps/uv/include -I/home/sykora/.cache/node-gyp/20.12.2/deps/zlib -I/home/sykora/.cache/node-gyp/20.12.2/deps/v8/include -I../deps/config/opus/linux/x64 -I../deps/opus/include -I../deps/opus/celt -I../deps/opus/silk -I../deps/opus/silk/float -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -fvisibility=hidden -W -Wstrict-prototypes -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wno-parentheses -Wno-unused-parameter -Wno-sign-compare -Wno-maybe-uninitialized -m64 -O3 -fno-omit-frame-pointer -MMD -MF ./Release/.deps/Release/obj.target/libopus/deps/opus/silk/float/sort_FLP.o.d.raw -c
|
||||||
|
Release/obj.target/libopus/deps/opus/silk/float/sort_FLP.o: \
|
||||||
|
../deps/opus/silk/float/sort_FLP.c \
|
||||||
|
../deps/config/opus/linux/x64/config.h ../deps/opus/silk/typedef.h \
|
||||||
|
../deps/opus/include/opus_types.h ../deps/opus/include/opus_defines.h \
|
||||||
|
../deps/opus/include/opus_types.h ../deps/opus/silk/float/SigProc_FLP.h \
|
||||||
|
../deps/opus/silk/SigProc_FIX.h ../deps/opus/silk/typedef.h \
|
||||||
|
../deps/opus/silk/resampler_structs.h ../deps/opus/silk/macros.h \
|
||||||
|
../deps/opus/celt/arch.h ../deps/opus/celt/ecintrin.h \
|
||||||
|
../deps/opus/celt/arch.h ../deps/opus/celt/cpu_support.h \
|
||||||
|
../deps/opus/silk/Inlines.h ../deps/opus/silk/MacroCount.h \
|
||||||
|
../deps/opus/silk/MacroDebug.h ../deps/opus/celt/float_cast.h
|
||||||
|
../deps/opus/silk/float/sort_FLP.c:
|
||||||
|
../deps/config/opus/linux/x64/config.h:
|
||||||
|
../deps/opus/silk/typedef.h:
|
||||||
|
../deps/opus/include/opus_types.h:
|
||||||
|
../deps/opus/include/opus_defines.h:
|
||||||
|
../deps/opus/include/opus_types.h:
|
||||||
|
../deps/opus/silk/float/SigProc_FLP.h:
|
||||||
|
../deps/opus/silk/SigProc_FIX.h:
|
||||||
|
../deps/opus/silk/typedef.h:
|
||||||
|
../deps/opus/silk/resampler_structs.h:
|
||||||
|
../deps/opus/silk/macros.h:
|
||||||
|
../deps/opus/celt/arch.h:
|
||||||
|
../deps/opus/celt/ecintrin.h:
|
||||||
|
../deps/opus/celt/arch.h:
|
||||||
|
../deps/opus/celt/cpu_support.h:
|
||||||
|
../deps/opus/silk/Inlines.h:
|
||||||
|
../deps/opus/silk/MacroCount.h:
|
||||||
|
../deps/opus/silk/MacroDebug.h:
|
||||||
|
../deps/opus/celt/float_cast.h:
|
|
@ -0,0 +1,60 @@
|
||||||
|
cmd_Release/obj.target/libopus/deps/opus/silk/float/warped_autocorrelation_FLP.o := cc -o Release/obj.target/libopus/deps/opus/silk/float/warped_autocorrelation_FLP.o ../deps/opus/silk/float/warped_autocorrelation_FLP.c '-DNODE_GYP_MODULE_NAME=libopus' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_GLIBCXX_USE_CXX11_ABI=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-D__STDC_FORMAT_MACROS' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DPIC' '-DHAVE_CONFIG_H' -I/home/sykora/.cache/node-gyp/20.12.2/include/node -I/home/sykora/.cache/node-gyp/20.12.2/src -I/home/sykora/.cache/node-gyp/20.12.2/deps/openssl/config -I/home/sykora/.cache/node-gyp/20.12.2/deps/openssl/openssl/include -I/home/sykora/.cache/node-gyp/20.12.2/deps/uv/include -I/home/sykora/.cache/node-gyp/20.12.2/deps/zlib -I/home/sykora/.cache/node-gyp/20.12.2/deps/v8/include -I../deps/config/opus/linux/x64 -I../deps/opus/include -I../deps/opus/celt -I../deps/opus/silk -I../deps/opus/silk/float -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -fvisibility=hidden -W -Wstrict-prototypes -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wno-parentheses -Wno-unused-parameter -Wno-sign-compare -Wno-maybe-uninitialized -m64 -O3 -fno-omit-frame-pointer -MMD -MF ./Release/.deps/Release/obj.target/libopus/deps/opus/silk/float/warped_autocorrelation_FLP.o.d.raw -c
|
||||||
|
Release/obj.target/libopus/deps/opus/silk/float/warped_autocorrelation_FLP.o: \
|
||||||
|
../deps/opus/silk/float/warped_autocorrelation_FLP.c \
|
||||||
|
../deps/config/opus/linux/x64/config.h \
|
||||||
|
../deps/opus/silk/float/main_FLP.h ../deps/opus/silk/float/SigProc_FLP.h \
|
||||||
|
../deps/opus/silk/SigProc_FIX.h ../deps/opus/silk/typedef.h \
|
||||||
|
../deps/opus/include/opus_types.h ../deps/opus/include/opus_defines.h \
|
||||||
|
../deps/opus/include/opus_types.h ../deps/opus/silk/resampler_structs.h \
|
||||||
|
../deps/opus/silk/macros.h ../deps/opus/celt/arch.h \
|
||||||
|
../deps/opus/celt/ecintrin.h ../deps/opus/celt/arch.h \
|
||||||
|
../deps/opus/celt/cpu_support.h ../deps/opus/silk/Inlines.h \
|
||||||
|
../deps/opus/silk/MacroCount.h ../deps/opus/silk/MacroDebug.h \
|
||||||
|
../deps/opus/celt/float_cast.h ../deps/opus/silk/float/structs_FLP.h \
|
||||||
|
../deps/opus/silk/typedef.h ../deps/opus/silk/main.h \
|
||||||
|
../deps/opus/silk/SigProc_FIX.h ../deps/opus/silk/define.h \
|
||||||
|
../deps/opus/silk/errors.h ../deps/opus/silk/structs.h \
|
||||||
|
../deps/opus/celt/entenc.h ../deps/opus/celt/entcode.h \
|
||||||
|
../deps/opus/celt/ecintrin.h ../deps/opus/celt/entdec.h \
|
||||||
|
../deps/opus/silk/tables.h ../deps/opus/silk/PLC.h \
|
||||||
|
../deps/opus/silk/main.h ../deps/opus/silk/control.h \
|
||||||
|
../deps/opus/silk/debug.h ../deps/opus/silk/structs.h \
|
||||||
|
../deps/opus/silk/define.h ../deps/opus/silk/debug.h
|
||||||
|
../deps/opus/silk/float/warped_autocorrelation_FLP.c:
|
||||||
|
../deps/config/opus/linux/x64/config.h:
|
||||||
|
../deps/opus/silk/float/main_FLP.h:
|
||||||
|
../deps/opus/silk/float/SigProc_FLP.h:
|
||||||
|
../deps/opus/silk/SigProc_FIX.h:
|
||||||
|
../deps/opus/silk/typedef.h:
|
||||||
|
../deps/opus/include/opus_types.h:
|
||||||
|
../deps/opus/include/opus_defines.h:
|
||||||
|
../deps/opus/include/opus_types.h:
|
||||||
|
../deps/opus/silk/resampler_structs.h:
|
||||||
|
../deps/opus/silk/macros.h:
|
||||||
|
../deps/opus/celt/arch.h:
|
||||||
|
../deps/opus/celt/ecintrin.h:
|
||||||
|
../deps/opus/celt/arch.h:
|
||||||
|
../deps/opus/celt/cpu_support.h:
|
||||||
|
../deps/opus/silk/Inlines.h:
|
||||||
|
../deps/opus/silk/MacroCount.h:
|
||||||
|
../deps/opus/silk/MacroDebug.h:
|
||||||
|
../deps/opus/celt/float_cast.h:
|
||||||
|
../deps/opus/silk/float/structs_FLP.h:
|
||||||
|
../deps/opus/silk/typedef.h:
|
||||||
|
../deps/opus/silk/main.h:
|
||||||
|
../deps/opus/silk/SigProc_FIX.h:
|
||||||
|
../deps/opus/silk/define.h:
|
||||||
|
../deps/opus/silk/errors.h:
|
||||||
|
../deps/opus/silk/structs.h:
|
||||||
|
../deps/opus/celt/entenc.h:
|
||||||
|
../deps/opus/celt/entcode.h:
|
||||||
|
../deps/opus/celt/ecintrin.h:
|
||||||
|
../deps/opus/celt/entdec.h:
|
||||||
|
../deps/opus/silk/tables.h:
|
||||||
|
../deps/opus/silk/PLC.h:
|
||||||
|
../deps/opus/silk/main.h:
|
||||||
|
../deps/opus/silk/control.h:
|
||||||
|
../deps/opus/silk/debug.h:
|
||||||
|
../deps/opus/silk/structs.h:
|
||||||
|
../deps/opus/silk/define.h:
|
||||||
|
../deps/opus/silk/debug.h:
|
60
node_modules/@discordjs/.opus-537sWZVY/build/Release/.deps/Release/obj.target/libopus/deps/opus/silk/float/wrappers_FLP.o.d
generated
vendored
Normal file
60
node_modules/@discordjs/.opus-537sWZVY/build/Release/.deps/Release/obj.target/libopus/deps/opus/silk/float/wrappers_FLP.o.d
generated
vendored
Normal file
|
@ -0,0 +1,60 @@
|
||||||
|
cmd_Release/obj.target/libopus/deps/opus/silk/float/wrappers_FLP.o := cc -o Release/obj.target/libopus/deps/opus/silk/float/wrappers_FLP.o ../deps/opus/silk/float/wrappers_FLP.c '-DNODE_GYP_MODULE_NAME=libopus' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_GLIBCXX_USE_CXX11_ABI=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-D__STDC_FORMAT_MACROS' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DPIC' '-DHAVE_CONFIG_H' -I/home/sykora/.cache/node-gyp/20.12.2/include/node -I/home/sykora/.cache/node-gyp/20.12.2/src -I/home/sykora/.cache/node-gyp/20.12.2/deps/openssl/config -I/home/sykora/.cache/node-gyp/20.12.2/deps/openssl/openssl/include -I/home/sykora/.cache/node-gyp/20.12.2/deps/uv/include -I/home/sykora/.cache/node-gyp/20.12.2/deps/zlib -I/home/sykora/.cache/node-gyp/20.12.2/deps/v8/include -I../deps/config/opus/linux/x64 -I../deps/opus/include -I../deps/opus/celt -I../deps/opus/silk -I../deps/opus/silk/float -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -fvisibility=hidden -W -Wstrict-prototypes -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wno-parentheses -Wno-unused-parameter -Wno-sign-compare -Wno-maybe-uninitialized -m64 -O3 -fno-omit-frame-pointer -MMD -MF ./Release/.deps/Release/obj.target/libopus/deps/opus/silk/float/wrappers_FLP.o.d.raw -c
|
||||||
|
Release/obj.target/libopus/deps/opus/silk/float/wrappers_FLP.o: \
|
||||||
|
../deps/opus/silk/float/wrappers_FLP.c \
|
||||||
|
../deps/config/opus/linux/x64/config.h \
|
||||||
|
../deps/opus/silk/float/main_FLP.h ../deps/opus/silk/float/SigProc_FLP.h \
|
||||||
|
../deps/opus/silk/SigProc_FIX.h ../deps/opus/silk/typedef.h \
|
||||||
|
../deps/opus/include/opus_types.h ../deps/opus/include/opus_defines.h \
|
||||||
|
../deps/opus/include/opus_types.h ../deps/opus/silk/resampler_structs.h \
|
||||||
|
../deps/opus/silk/macros.h ../deps/opus/celt/arch.h \
|
||||||
|
../deps/opus/celt/ecintrin.h ../deps/opus/celt/arch.h \
|
||||||
|
../deps/opus/celt/cpu_support.h ../deps/opus/silk/Inlines.h \
|
||||||
|
../deps/opus/silk/MacroCount.h ../deps/opus/silk/MacroDebug.h \
|
||||||
|
../deps/opus/celt/float_cast.h ../deps/opus/silk/float/structs_FLP.h \
|
||||||
|
../deps/opus/silk/typedef.h ../deps/opus/silk/main.h \
|
||||||
|
../deps/opus/silk/SigProc_FIX.h ../deps/opus/silk/define.h \
|
||||||
|
../deps/opus/silk/errors.h ../deps/opus/silk/structs.h \
|
||||||
|
../deps/opus/celt/entenc.h ../deps/opus/celt/entcode.h \
|
||||||
|
../deps/opus/celt/ecintrin.h ../deps/opus/celt/entdec.h \
|
||||||
|
../deps/opus/silk/tables.h ../deps/opus/silk/PLC.h \
|
||||||
|
../deps/opus/silk/main.h ../deps/opus/silk/control.h \
|
||||||
|
../deps/opus/silk/debug.h ../deps/opus/silk/structs.h \
|
||||||
|
../deps/opus/silk/define.h ../deps/opus/silk/debug.h
|
||||||
|
../deps/opus/silk/float/wrappers_FLP.c:
|
||||||
|
../deps/config/opus/linux/x64/config.h:
|
||||||
|
../deps/opus/silk/float/main_FLP.h:
|
||||||
|
../deps/opus/silk/float/SigProc_FLP.h:
|
||||||
|
../deps/opus/silk/SigProc_FIX.h:
|
||||||
|
../deps/opus/silk/typedef.h:
|
||||||
|
../deps/opus/include/opus_types.h:
|
||||||
|
../deps/opus/include/opus_defines.h:
|
||||||
|
../deps/opus/include/opus_types.h:
|
||||||
|
../deps/opus/silk/resampler_structs.h:
|
||||||
|
../deps/opus/silk/macros.h:
|
||||||
|
../deps/opus/celt/arch.h:
|
||||||
|
../deps/opus/celt/ecintrin.h:
|
||||||
|
../deps/opus/celt/arch.h:
|
||||||
|
../deps/opus/celt/cpu_support.h:
|
||||||
|
../deps/opus/silk/Inlines.h:
|
||||||
|
../deps/opus/silk/MacroCount.h:
|
||||||
|
../deps/opus/silk/MacroDebug.h:
|
||||||
|
../deps/opus/celt/float_cast.h:
|
||||||
|
../deps/opus/silk/float/structs_FLP.h:
|
||||||
|
../deps/opus/silk/typedef.h:
|
||||||
|
../deps/opus/silk/main.h:
|
||||||
|
../deps/opus/silk/SigProc_FIX.h:
|
||||||
|
../deps/opus/silk/define.h:
|
||||||
|
../deps/opus/silk/errors.h:
|
||||||
|
../deps/opus/silk/structs.h:
|
||||||
|
../deps/opus/celt/entenc.h:
|
||||||
|
../deps/opus/celt/entcode.h:
|
||||||
|
../deps/opus/celt/ecintrin.h:
|
||||||
|
../deps/opus/celt/entdec.h:
|
||||||
|
../deps/opus/silk/tables.h:
|
||||||
|
../deps/opus/silk/PLC.h:
|
||||||
|
../deps/opus/silk/main.h:
|
||||||
|
../deps/opus/silk/control.h:
|
||||||
|
../deps/opus/silk/debug.h:
|
||||||
|
../deps/opus/silk/structs.h:
|
||||||
|
../deps/opus/silk/define.h:
|
||||||
|
../deps/opus/silk/debug.h:
|
191
node_modules/@discordjs/builders/LICENSE
generated
vendored
Normal file
191
node_modules/@discordjs/builders/LICENSE
generated
vendored
Normal file
|
@ -0,0 +1,191 @@
|
||||||
|
Apache License
|
||||||
|
Version 2.0, January 2004
|
||||||
|
http://www.apache.org/licenses/
|
||||||
|
|
||||||
|
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||||
|
|
||||||
|
1. Definitions.
|
||||||
|
|
||||||
|
"License" shall mean the terms and conditions for use, reproduction,
|
||||||
|
and distribution as defined by Sections 1 through 9 of this document.
|
||||||
|
|
||||||
|
"Licensor" shall mean the copyright owner or entity authorized by
|
||||||
|
the copyright owner that is granting the License.
|
||||||
|
|
||||||
|
"Legal Entity" shall mean the union of the acting entity and all
|
||||||
|
other entities that control, are controlled by, or are under common
|
||||||
|
control with that entity. For the purposes of this definition,
|
||||||
|
"control" means (i) the power, direct or indirect, to cause the
|
||||||
|
direction or management of such entity, whether by contract or
|
||||||
|
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
||||||
|
outstanding shares, or (iii) beneficial ownership of such entity.
|
||||||
|
|
||||||
|
"You" (or "Your") shall mean an individual or Legal Entity
|
||||||
|
exercising permissions granted by this License.
|
||||||
|
|
||||||
|
"Source" form shall mean the preferred form for making modifications,
|
||||||
|
including but not limited to software source code, documentation
|
||||||
|
source, and configuration files.
|
||||||
|
|
||||||
|
"Object" form shall mean any form resulting from mechanical
|
||||||
|
transformation or translation of a Source form, including but
|
||||||
|
not limited to compiled object code, generated documentation,
|
||||||
|
and conversions to other media types.
|
||||||
|
|
||||||
|
"Work" shall mean the work of authorship, whether in Source or
|
||||||
|
Object form, made available under the License, as indicated by a
|
||||||
|
copyright notice that is included in or attached to the work
|
||||||
|
(an example is provided in the Appendix below).
|
||||||
|
|
||||||
|
"Derivative Works" shall mean any work, whether in Source or Object
|
||||||
|
form, that is based on (or derived from) the Work and for which the
|
||||||
|
editorial revisions, annotations, elaborations, or other modifications
|
||||||
|
represent, as a whole, an original work of authorship. For the purposes
|
||||||
|
of this License, Derivative Works shall not include works that remain
|
||||||
|
separable from, or merely link (or bind by name) to the interfaces of,
|
||||||
|
the Work and Derivative Works thereof.
|
||||||
|
|
||||||
|
"Contribution" shall mean any work of authorship, including
|
||||||
|
the original version of the Work and any modifications or additions
|
||||||
|
to that Work or Derivative Works thereof, that is intentionally
|
||||||
|
submitted to Licensor for inclusion in the Work by the copyright owner
|
||||||
|
or by an individual or Legal Entity authorized to submit on behalf of
|
||||||
|
the copyright owner. For the purposes of this definition, "submitted"
|
||||||
|
means any form of electronic, verbal, or written communication sent
|
||||||
|
to the Licensor or its representatives, including but not limited to
|
||||||
|
communication on electronic mailing lists, source code control systems,
|
||||||
|
and issue tracking systems that are managed by, or on behalf of, the
|
||||||
|
Licensor for the purpose of discussing and improving the Work, but
|
||||||
|
excluding communication that is conspicuously marked or otherwise
|
||||||
|
designated in writing by the copyright owner as "Not a Contribution."
|
||||||
|
|
||||||
|
"Contributor" shall mean Licensor and any individual or Legal Entity
|
||||||
|
on behalf of whom a Contribution has been received by Licensor and
|
||||||
|
subsequently incorporated within the Work.
|
||||||
|
|
||||||
|
2. Grant of Copyright License. Subject to the terms and conditions of
|
||||||
|
this License, each Contributor hereby grants to You a perpetual,
|
||||||
|
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||||
|
copyright license to reproduce, prepare Derivative Works of,
|
||||||
|
publicly display, publicly perform, sublicense, and distribute the
|
||||||
|
Work and such Derivative Works in Source or Object form.
|
||||||
|
|
||||||
|
3. Grant of Patent License. Subject to the terms and conditions of
|
||||||
|
this License, each Contributor hereby grants to You a perpetual,
|
||||||
|
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||||
|
(except as stated in this section) patent license to make, have made,
|
||||||
|
use, offer to sell, sell, import, and otherwise transfer the Work,
|
||||||
|
where such license applies only to those patent claims licensable
|
||||||
|
by such Contributor that are necessarily infringed by their
|
||||||
|
Contribution(s) alone or by combination of their Contribution(s)
|
||||||
|
with the Work to which such Contribution(s) was submitted. If You
|
||||||
|
institute patent litigation against any entity (including a
|
||||||
|
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
||||||
|
or a Contribution incorporated within the Work constitutes direct
|
||||||
|
or contributory patent infringement, then any patent licenses
|
||||||
|
granted to You under this License for that Work shall terminate
|
||||||
|
as of the date such litigation is filed.
|
||||||
|
|
||||||
|
4. Redistribution. You may reproduce and distribute copies of the
|
||||||
|
Work or Derivative Works thereof in any medium, with or without
|
||||||
|
modifications, and in Source or Object form, provided that You
|
||||||
|
meet the following conditions:
|
||||||
|
|
||||||
|
(a) You must give any other recipients of the Work or
|
||||||
|
Derivative Works a copy of this License; and
|
||||||
|
|
||||||
|
(b) You must cause any modified files to carry prominent notices
|
||||||
|
stating that You changed the files; and
|
||||||
|
|
||||||
|
(c) You must retain, in the Source form of any Derivative Works
|
||||||
|
that You distribute, all copyright, patent, trademark, and
|
||||||
|
attribution notices from the Source form of the Work,
|
||||||
|
excluding those notices that do not pertain to any part of
|
||||||
|
the Derivative Works; and
|
||||||
|
|
||||||
|
(d) If the Work includes a "NOTICE" text file as part of its
|
||||||
|
distribution, then any Derivative Works that You distribute must
|
||||||
|
include a readable copy of the attribution notices contained
|
||||||
|
within such NOTICE file, excluding those notices that do not
|
||||||
|
pertain to any part of the Derivative Works, in at least one
|
||||||
|
of the following places: within a NOTICE text file distributed
|
||||||
|
as part of the Derivative Works; within the Source form or
|
||||||
|
documentation, if provided along with the Derivative Works; or,
|
||||||
|
within a display generated by the Derivative Works, if and
|
||||||
|
wherever such third-party notices normally appear. The contents
|
||||||
|
of the NOTICE file are for informational purposes only and
|
||||||
|
do not modify the License. You may add Your own attribution
|
||||||
|
notices within Derivative Works that You distribute, alongside
|
||||||
|
or as an addendum to the NOTICE text from the Work, provided
|
||||||
|
that such additional attribution notices cannot be construed
|
||||||
|
as modifying the License.
|
||||||
|
|
||||||
|
You may add Your own copyright statement to Your modifications and
|
||||||
|
may provide additional or different license terms and conditions
|
||||||
|
for use, reproduction, or distribution of Your modifications, or
|
||||||
|
for any such Derivative Works as a whole, provided Your use,
|
||||||
|
reproduction, and distribution of the Work otherwise complies with
|
||||||
|
the conditions stated in this License.
|
||||||
|
|
||||||
|
5. Submission of Contributions. Unless You explicitly state otherwise,
|
||||||
|
any Contribution intentionally submitted for inclusion in the Work
|
||||||
|
by You to the Licensor shall be under the terms and conditions of
|
||||||
|
this License, without any additional terms or conditions.
|
||||||
|
Notwithstanding the above, nothing herein shall supersede or modify
|
||||||
|
the terms of any separate license agreement you may have executed
|
||||||
|
with Licensor regarding such Contributions.
|
||||||
|
|
||||||
|
6. Trademarks. This License does not grant permission to use the trade
|
||||||
|
names, trademarks, service marks, or product names of the Licensor,
|
||||||
|
except as required for reasonable and customary use in describing the
|
||||||
|
origin of the Work and reproducing the content of the NOTICE file.
|
||||||
|
|
||||||
|
7. Disclaimer of Warranty. Unless required by applicable law or
|
||||||
|
agreed to in writing, Licensor provides the Work (and each
|
||||||
|
Contributor provides its Contributions) on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||||
|
implied, including, without limitation, any warranties or conditions
|
||||||
|
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
||||||
|
PARTICULAR PURPOSE. You are solely responsible for determining the
|
||||||
|
appropriateness of using or redistributing the Work and assume any
|
||||||
|
risks associated with Your exercise of permissions under this License.
|
||||||
|
|
||||||
|
8. Limitation of Liability. In no event and under no legal theory,
|
||||||
|
whether in tort (including negligence), contract, or otherwise,
|
||||||
|
unless required by applicable law (such as deliberate and grossly
|
||||||
|
negligent acts) or agreed to in writing, shall any Contributor be
|
||||||
|
liable to You for damages, including any direct, indirect, special,
|
||||||
|
incidental, or consequential damages of any character arising as a
|
||||||
|
result of this License or out of the use or inability to use the
|
||||||
|
Work (including but not limited to damages for loss of goodwill,
|
||||||
|
work stoppage, computer failure or malfunction, or any and all
|
||||||
|
other commercial damages or losses), even if such Contributor
|
||||||
|
has been advised of the possibility of such damages.
|
||||||
|
|
||||||
|
9. Accepting Warranty or Additional Liability. While redistributing
|
||||||
|
the Work or Derivative Works thereof, You may choose to offer,
|
||||||
|
and charge a fee for, acceptance of support, warranty, indemnity,
|
||||||
|
or other liability obligations and/or rights consistent with this
|
||||||
|
License. However, in accepting such obligations, You may act only
|
||||||
|
on Your own behalf and on Your sole responsibility, not on behalf
|
||||||
|
of any other Contributor, and only if You agree to indemnify,
|
||||||
|
defend, and hold each Contributor harmless for any liability
|
||||||
|
incurred by, or claims asserted against, such Contributor by reason
|
||||||
|
of your accepting any such warranty or additional liability.
|
||||||
|
|
||||||
|
END OF TERMS AND CONDITIONS
|
||||||
|
|
||||||
|
Copyright 2021 Noel Buechler
|
||||||
|
Copyright 2021 Vlad Frangu
|
||||||
|
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
you may not use this file except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
72
node_modules/@discordjs/builders/README.md
generated
vendored
Normal file
72
node_modules/@discordjs/builders/README.md
generated
vendored
Normal file
|
@ -0,0 +1,72 @@
|
||||||
|
<div align="center">
|
||||||
|
<br />
|
||||||
|
<p>
|
||||||
|
<a href="https://discord.js.org"><img src="https://discord.js.org/static/logo.svg" width="546" alt="discord.js" /></a>
|
||||||
|
</p>
|
||||||
|
<br />
|
||||||
|
<p>
|
||||||
|
<a href="https://discord.gg/djs"><img src="https://img.shields.io/discord/222078108977594368?color=5865F2&logo=discord&logoColor=white" alt="Discord server" /></a>
|
||||||
|
<a href="https://www.npmjs.com/package/@discordjs/builders"><img src="https://img.shields.io/npm/v/@discordjs/builders.svg?maxAge=3600" alt="npm version" /></a>
|
||||||
|
<a href="https://www.npmjs.com/package/@discordjs/builders"><img src="https://img.shields.io/npm/dt/@discordjs/builders.svg?maxAge=3600" alt="npm downloads" /></a>
|
||||||
|
<a href="https://github.com/discordjs/discord.js/actions"><img src="https://github.com/discordjs/discord.js/actions/workflows/test.yml/badge.svg" alt="Build status" /></a>
|
||||||
|
<a href="https://codecov.io/gh/discordjs/discord.js" ><img src="https://codecov.io/gh/discordjs/discord.js/branch/main/graph/badge.svg?precision=2&flag=builders" alt="Code coverage" /></a>
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
<a href="https://vercel.com/?utm_source=discordjs&utm_campaign=oss"><img src="https://raw.githubusercontent.com/discordjs/discord.js/main/.github/powered-by-vercel.svg" alt="Vercel" /></a>
|
||||||
|
<a href="https://www.cloudflare.com"><img src="https://raw.githubusercontent.com/discordjs/discord.js/main/.github/powered-by-workers.png" alt="Cloudflare Workers" height="44" /></a>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
## About
|
||||||
|
|
||||||
|
`@discordjs/builders` is a utility package for easily building Discord API payloads.
|
||||||
|
|
||||||
|
## Installation
|
||||||
|
|
||||||
|
**Node.js 16.11.0 or newer is required.**
|
||||||
|
|
||||||
|
```sh
|
||||||
|
npm install @discordjs/builders
|
||||||
|
yarn add @discordjs/builders
|
||||||
|
pnpm add @discordjs/builders
|
||||||
|
```
|
||||||
|
|
||||||
|
## Examples
|
||||||
|
|
||||||
|
You can find examples of how to use the builders in the [Slash Command Builders][example] examples.
|
||||||
|
|
||||||
|
## Links
|
||||||
|
|
||||||
|
- [Website][website] ([source][website-source])
|
||||||
|
- [Documentation][documentation]
|
||||||
|
- [Guide][guide] ([source][guide-source])
|
||||||
|
Also see the v13 to v14 [Update Guide][guide-update], which includes updated and removed items from the library.
|
||||||
|
- [discord.js Discord server][discord]
|
||||||
|
- [Discord API Discord server][discord-api]
|
||||||
|
- [GitHub][source]
|
||||||
|
- [npm][npm]
|
||||||
|
- [Related libraries][related-libs]
|
||||||
|
|
||||||
|
## Contributing
|
||||||
|
|
||||||
|
Before creating an issue, please ensure that it hasn't already been reported/suggested, and double-check the
|
||||||
|
[documentation][documentation].
|
||||||
|
See [the contribution guide][contributing] if you'd like to submit a PR.
|
||||||
|
|
||||||
|
## Help
|
||||||
|
|
||||||
|
If you don't understand something in the documentation, you are experiencing problems, or you just need a gentle nudge in the right direction, please don't hesitate to join our official [discord.js Server][discord].
|
||||||
|
|
||||||
|
[example]: https://github.com/discordjs/discord.js/blob/main/packages/builders/docs/examples/Slash%20Command%20Builders.md
|
||||||
|
[website]: https://discord.js.org
|
||||||
|
[website-source]: https://github.com/discordjs/discord.js/tree/main/apps/website
|
||||||
|
[documentation]: https://discord.js.org/docs/packages/builders/stable
|
||||||
|
[guide]: https://discordjs.guide/
|
||||||
|
[guide-source]: https://github.com/discordjs/guide
|
||||||
|
[guide-update]: https://discordjs.guide/additional-info/changes-in-v14.html
|
||||||
|
[discord]: https://discord.gg/djs
|
||||||
|
[discord-api]: https://discord.gg/discord-api
|
||||||
|
[source]: https://github.com/discordjs/discord.js/tree/main/packages/builders
|
||||||
|
[npm]: https://www.npmjs.com/package/@discordjs/builders
|
||||||
|
[related-libs]: https://discord.com/developers/docs/topics/community-resources#libraries
|
||||||
|
[contributing]: https://github.com/discordjs/discord.js/blob/main/.github/CONTRIBUTING.md
|
2008
node_modules/@discordjs/builders/dist/index.d.mts
generated
vendored
Normal file
2008
node_modules/@discordjs/builders/dist/index.d.mts
generated
vendored
Normal file
File diff suppressed because it is too large
Load diff
2008
node_modules/@discordjs/builders/dist/index.d.ts
generated
vendored
Normal file
2008
node_modules/@discordjs/builders/dist/index.d.ts
generated
vendored
Normal file
File diff suppressed because it is too large
Load diff
2763
node_modules/@discordjs/builders/dist/index.js
generated
vendored
Normal file
2763
node_modules/@discordjs/builders/dist/index.js
generated
vendored
Normal file
File diff suppressed because it is too large
Load diff
1
node_modules/@discordjs/builders/dist/index.js.map
generated
vendored
Normal file
1
node_modules/@discordjs/builders/dist/index.js.map
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
2703
node_modules/@discordjs/builders/dist/index.mjs
generated
vendored
Normal file
2703
node_modules/@discordjs/builders/dist/index.mjs
generated
vendored
Normal file
File diff suppressed because it is too large
Load diff
1
node_modules/@discordjs/builders/dist/index.mjs.map
generated
vendored
Normal file
1
node_modules/@discordjs/builders/dist/index.mjs.map
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
97
node_modules/@discordjs/builders/package.json
generated
vendored
Normal file
97
node_modules/@discordjs/builders/package.json
generated
vendored
Normal file
|
@ -0,0 +1,97 @@
|
||||||
|
{
|
||||||
|
"$schema": "https://json.schemastore.org/package.json",
|
||||||
|
"name": "@discordjs/builders",
|
||||||
|
"version": "1.7.0",
|
||||||
|
"description": "A set of builders that you can use when creating your bot",
|
||||||
|
"exports": {
|
||||||
|
".": {
|
||||||
|
"require": {
|
||||||
|
"types": "./dist/index.d.ts",
|
||||||
|
"default": "./dist/index.js"
|
||||||
|
},
|
||||||
|
"import": {
|
||||||
|
"types": "./dist/index.d.mts",
|
||||||
|
"default": "./dist/index.mjs"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"main": "./dist/index.js",
|
||||||
|
"module": "./dist/index.mjs",
|
||||||
|
"types": "./dist/index.d.ts",
|
||||||
|
"directories": {
|
||||||
|
"lib": "src",
|
||||||
|
"test": "__tests__"
|
||||||
|
},
|
||||||
|
"files": [
|
||||||
|
"dist"
|
||||||
|
],
|
||||||
|
"contributors": [
|
||||||
|
"Vlad Frangu <kingdgrizzle@gmail.com>",
|
||||||
|
"Crawl <icrawltogo@gmail.com>",
|
||||||
|
"Amish Shah <amishshah.2k@gmail.com>",
|
||||||
|
"SpaceEEC <spaceeec@yahoo.com>",
|
||||||
|
"Aura Román <kyradiscord@gmail.com>"
|
||||||
|
],
|
||||||
|
"license": "Apache-2.0",
|
||||||
|
"keywords": [
|
||||||
|
"discord",
|
||||||
|
"api",
|
||||||
|
"bot",
|
||||||
|
"client",
|
||||||
|
"node",
|
||||||
|
"discordapp",
|
||||||
|
"discordjs"
|
||||||
|
],
|
||||||
|
"repository": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/discordjs/discord.js.git",
|
||||||
|
"directory": "packages/builders"
|
||||||
|
},
|
||||||
|
"bugs": {
|
||||||
|
"url": "https://github.com/discordjs/discord.js/issues"
|
||||||
|
},
|
||||||
|
"homepage": "https://discord.js.org",
|
||||||
|
"dependencies": {
|
||||||
|
"@sapphire/shapeshift": "^3.9.3",
|
||||||
|
"discord-api-types": "0.37.61",
|
||||||
|
"fast-deep-equal": "^3.1.3",
|
||||||
|
"ts-mixer": "^6.0.3",
|
||||||
|
"tslib": "^2.6.2",
|
||||||
|
"@discordjs/formatters": "^0.3.3",
|
||||||
|
"@discordjs/util": "^1.0.2"
|
||||||
|
},
|
||||||
|
"devDependencies": {
|
||||||
|
"@favware/cliff-jumper": "^2.2.1",
|
||||||
|
"@types/node": "16.18.60",
|
||||||
|
"@vitest/coverage-v8": "^0.34.6",
|
||||||
|
"cross-env": "^7.0.3",
|
||||||
|
"downlevel-dts": "^0.11.0",
|
||||||
|
"esbuild-plugin-version-injector": "^1.2.1",
|
||||||
|
"eslint": "^8.53.0",
|
||||||
|
"eslint-config-neon": "^0.1.57",
|
||||||
|
"eslint-formatter-pretty": "^5.0.0",
|
||||||
|
"prettier": "^3.0.3",
|
||||||
|
"tsup": "^7.2.0",
|
||||||
|
"turbo": "^1.10.17-canary.0",
|
||||||
|
"typescript": "^5.2.2",
|
||||||
|
"vitest": "^0.34.6",
|
||||||
|
"@discordjs/api-extractor": "^7.38.1"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": ">=16.11.0"
|
||||||
|
},
|
||||||
|
"publishConfig": {
|
||||||
|
"access": "public"
|
||||||
|
},
|
||||||
|
"scripts": {
|
||||||
|
"test": "vitest run",
|
||||||
|
"build": "tsc --noEmit && tsup",
|
||||||
|
"build:docs": "tsc -p tsconfig.docs.json && downlevel-dts ./dist-docs ./dist-docs",
|
||||||
|
"lint": "prettier --check . && cross-env TIMING=1 eslint --format=pretty src __tests__",
|
||||||
|
"format": "prettier --write . && cross-env TIMING=1 eslint --fix --format=pretty src __tests__",
|
||||||
|
"fmt": "pnpm run format",
|
||||||
|
"docs": "pnpm run build:docs && api-extractor run --local",
|
||||||
|
"changelog": "git cliff --prepend ./CHANGELOG.md -u -c ./cliff.toml -r ../../ --include-path 'packages/builders/*'",
|
||||||
|
"release": "cliff-jumper"
|
||||||
|
}
|
||||||
|
}
|
190
node_modules/@discordjs/collection/CHANGELOG.md
generated
vendored
Normal file
190
node_modules/@discordjs/collection/CHANGELOG.md
generated
vendored
Normal file
|
@ -0,0 +1,190 @@
|
||||||
|
# Changelog
|
||||||
|
|
||||||
|
All notable changes to this project will be documented in this file.
|
||||||
|
|
||||||
|
# [@discordjs/collection@1.5.3](https://github.com/discordjs/discord.js/compare/@discordjs/collection@1.5.2...@discordjs/collection@1.5.3) - (2023-08-17)
|
||||||
|
|
||||||
|
## Documentation
|
||||||
|
|
||||||
|
- Update Node.js requirement to 16.11.0 (#9764) ([188877c](https://github.com/discordjs/discord.js/commit/188877c50af70f0d5cffb246620fa277435c6ce6))
|
||||||
|
|
||||||
|
# [@discordjs/collection@1.5.2](https://github.com/discordjs/discord.js/compare/@discordjs/collection@1.5.1...@discordjs/collection@1.5.2) - (2023-07-31)
|
||||||
|
|
||||||
|
## Refactor
|
||||||
|
|
||||||
|
- **collection:** Reduce `reduce`'s code (#9581) ([b85a3f2](https://github.com/discordjs/discord.js/commit/b85a3f2ddee8fc5974749b95fc07389a03093df2))
|
||||||
|
|
||||||
|
# [@discordjs/collection@1.5.1](https://github.com/discordjs/discord.js/compare/@discordjs/collection@1.5.0...@discordjs/collection@1.5.1) - (2023-05-01)
|
||||||
|
|
||||||
|
## Bug Fixes
|
||||||
|
|
||||||
|
- Fix external links (#9313) ([a7425c2](https://github.com/discordjs/discord.js/commit/a7425c29c4f23f1b31f4c6a463107ca9eb7fd7e2))
|
||||||
|
|
||||||
|
## Documentation
|
||||||
|
|
||||||
|
- Generate static imports for types with api-extractor ([98a76db](https://github.com/discordjs/discord.js/commit/98a76db482879f79d6bb2fb2e5fc65ac2c34e2d9))
|
||||||
|
|
||||||
|
# [@discordjs/collection@1.5.2](https://github.com/discordjs/discord.js/compare/@discordjs/collection@1.5.1...@discordjs/collection@1.5.2) - (2023-07-31)
|
||||||
|
|
||||||
|
## Refactor
|
||||||
|
|
||||||
|
- **collection:** Reduce `reduce`'s code (#9581) ([b85a3f2](https://github.com/discordjs/discord.js/commit/b85a3f2ddee8fc5974749b95fc07389a03093df2))
|
||||||
|
|
||||||
|
# [@discordjs/collection@1.5.1](https://github.com/discordjs/discord.js/compare/@discordjs/collection@1.5.0...@discordjs/collection@1.5.1) - (2023-05-01)
|
||||||
|
|
||||||
|
## Bug Fixes
|
||||||
|
|
||||||
|
- Fix external links (#9313) ([a7425c2](https://github.com/discordjs/discord.js/commit/a7425c29c4f23f1b31f4c6a463107ca9eb7fd7e2))
|
||||||
|
|
||||||
|
## Documentation
|
||||||
|
|
||||||
|
- Generate static imports for types with api-extractor ([98a76db](https://github.com/discordjs/discord.js/commit/98a76db482879f79d6bb2fb2e5fc65ac2c34e2d9))
|
||||||
|
|
||||||
|
# [@discordjs/collection@1.5.1](https://github.com/discordjs/discord.js/compare/@discordjs/collection@1.5.0...@discordjs/collection@1.5.1) - (2023-05-01)
|
||||||
|
|
||||||
|
## Bug Fixes
|
||||||
|
|
||||||
|
- Fix external links (#9313) ([a7425c2](https://github.com/discordjs/discord.js/commit/a7425c29c4f23f1b31f4c6a463107ca9eb7fd7e2))
|
||||||
|
|
||||||
|
## Documentation
|
||||||
|
|
||||||
|
- Generate static imports for types with api-extractor ([98a76db](https://github.com/discordjs/discord.js/commit/98a76db482879f79d6bb2fb2e5fc65ac2c34e2d9))
|
||||||
|
|
||||||
|
# [@discordjs/collection@1.5.0](https://github.com/discordjs/discord.js/compare/@discordjs/collection@1.4.0...@discordjs/collection@1.5.0) - (2023-04-01)
|
||||||
|
|
||||||
|
## Bug Fixes
|
||||||
|
|
||||||
|
- **scripts:** Accessing tsComment ([d8d5f31](https://github.com/discordjs/discord.js/commit/d8d5f31d3927fd1de62f1fa3a1a6e454243ad87b))
|
||||||
|
|
||||||
|
## Features
|
||||||
|
|
||||||
|
- **website:** Render syntax and mdx on the server (#9086) ([ee5169e](https://github.com/discordjs/discord.js/commit/ee5169e0aadd7bbfcd752aae614ec0f69602b68b))
|
||||||
|
|
||||||
|
## Refactor
|
||||||
|
|
||||||
|
- **collection:** Fix/silence linter warnings (#9266) ([d6f4e60](https://github.com/discordjs/discord.js/commit/d6f4e60efd1a1796fc84dbbfbac4f9790e480a1c))
|
||||||
|
|
||||||
|
# [@discordjs/collection@1.4.0](https://github.com/discordjs/discord.js/compare/@discordjs/collection@1.3.0...@discordjs/collection@1.4.0) - (2023-03-12)
|
||||||
|
|
||||||
|
## Documentation
|
||||||
|
|
||||||
|
- Fix version export (#9049) ([8b70f49](https://github.com/discordjs/discord.js/commit/8b70f497a1207e30edebdecd12b926c981c13d28))
|
||||||
|
|
||||||
|
## Features
|
||||||
|
|
||||||
|
- **website:** Add support for source file links (#9048) ([f6506e9](https://github.com/discordjs/discord.js/commit/f6506e99c496683ee0ab67db0726b105b929af38))
|
||||||
|
|
||||||
|
## Refactor
|
||||||
|
|
||||||
|
- Compare with `undefined` directly (#9191) ([869153c](https://github.com/discordjs/discord.js/commit/869153c3fdf155783e7c0ecebd3627b087c3a026))
|
||||||
|
|
||||||
|
# [@discordjs/collection@1.3.0](https://github.com/discordjs/discord.js/compare/@discordjs/collection@1.2.0...@discordjs/collection@1.3.0) - (2022-11-28)
|
||||||
|
|
||||||
|
## Bug Fixes
|
||||||
|
|
||||||
|
- Pin @types/node version ([9d8179c](https://github.com/discordjs/discord.js/commit/9d8179c6a78e1c7f9976f852804055964d5385d4))
|
||||||
|
|
||||||
|
## Features
|
||||||
|
|
||||||
|
- Add `Collection#subtract()` (#8393) ([291f36c](https://github.com/discordjs/discord.js/commit/291f36cd736b5dea058145a1335bf7c78ec1d81d))
|
||||||
|
|
||||||
|
# [@discordjs/collection@1.2.0](https://github.com/discordjs/discord.js/compare/@discordjs/collection@1.1.0...@discordjs/collection@1.2.0) - (2022-10-08)
|
||||||
|
|
||||||
|
## Bug Fixes
|
||||||
|
|
||||||
|
- Footer / sidebar / deprecation alert ([ba3e0ed](https://github.com/discordjs/discord.js/commit/ba3e0ed348258fe8e51eefb4aa7379a1230616a9))
|
||||||
|
|
||||||
|
## Documentation
|
||||||
|
|
||||||
|
- Change name (#8604) ([dd5a089](https://github.com/discordjs/discord.js/commit/dd5a08944c258a847fc4377f1d5e953264ab47d0))
|
||||||
|
- Remove xml tag from collection#find (#8550) ([4032457](https://github.com/discordjs/discord.js/commit/40324574ebea9894cadcc967e0db0e4e21d62768))
|
||||||
|
|
||||||
|
## Features
|
||||||
|
|
||||||
|
- Web-components (#8715) ([0ac3e76](https://github.com/discordjs/discord.js/commit/0ac3e766bd9dbdeb106483fa4bb085d74de346a2))
|
||||||
|
|
||||||
|
## Refactor
|
||||||
|
|
||||||
|
- Website components (#8600) ([c334157](https://github.com/discordjs/discord.js/commit/c3341570d983aea9ecc419979d5a01de658c9d67))
|
||||||
|
- Use `eslint-config-neon` for packages. (#8579) ([edadb9f](https://github.com/discordjs/discord.js/commit/edadb9fe5dfd9ff51a3cfc9b25cb242d3f9f5241))
|
||||||
|
|
||||||
|
## Typings
|
||||||
|
|
||||||
|
- **Collection:** Make fn return type unknown (#8676) ([822b7f2](https://github.com/discordjs/discord.js/commit/822b7f234af053c8f917b0a998b82abfccd33801))
|
||||||
|
|
||||||
|
# [@discordjs/collection@1.1.0](https://github.com/discordjs/discord.js/compare/@discordjs/collection@1.0.1...@discordjs/collection@1.1.0) - (2022-08-22)
|
||||||
|
|
||||||
|
## Bug Fixes
|
||||||
|
|
||||||
|
- Use proper format for `@link` text (#8384) ([2655639](https://github.com/discordjs/discord.js/commit/26556390a3800e954974a00c1328ff47d3e67e9a))
|
||||||
|
|
||||||
|
## Documentation
|
||||||
|
|
||||||
|
- Fence examples in codeblocks ([193b252](https://github.com/discordjs/discord.js/commit/193b252672440a860318d3c2968aedd9cb88e0ce))
|
||||||
|
- Use link tags (#8382) ([5494791](https://github.com/discordjs/discord.js/commit/549479131318c659f86f0eb18578d597e22522d3))
|
||||||
|
|
||||||
|
## Features
|
||||||
|
|
||||||
|
- **website:** Show `constructor` information (#8540) ([e42fd16](https://github.com/discordjs/discord.js/commit/e42fd1636973b10dd7ed6fb4280ee1a4a8f82007))
|
||||||
|
- **website:** Show descriptions for `@typeParam` blocks (#8523) ([e475b63](https://github.com/discordjs/discord.js/commit/e475b63f257f6261d73cb89fee9ecbcdd84e2a6b))
|
||||||
|
|
||||||
|
## Refactor
|
||||||
|
|
||||||
|
- **website:** Adjust typography (#8503) ([0f83402](https://github.com/discordjs/discord.js/commit/0f834029850d2448981596cf082ff59917018d66))
|
||||||
|
- Docs design (#8487) ([4ab1d09](https://github.com/discordjs/discord.js/commit/4ab1d09997a18879a9eb9bda39df6f15aa22557e))
|
||||||
|
|
||||||
|
# [@discordjs/collection@0.8.0](https://github.com/discordjs/discord.js/compare/@discordjs/collection@0.7.0...@discordjs/collection@0.8.0) - (2022-07-17)
|
||||||
|
|
||||||
|
## Bug Fixes
|
||||||
|
|
||||||
|
- **Collection:** Make error messages consistent (#8224) ([5bd6b28](https://github.com/discordjs/discord.js/commit/5bd6b28b3ebfced1cb9d23e83bd7c0def7a12404))
|
||||||
|
- Check for function type (#8064) ([3bb9c0e](https://github.com/discordjs/discord.js/commit/3bb9c0e5c37311044ff41761b572ac4f91cda57c))
|
||||||
|
|
||||||
|
## Documentation
|
||||||
|
|
||||||
|
- Add codecov coverage badge to readmes (#8226) ([f6db285](https://github.com/discordjs/discord.js/commit/f6db285c073898a749fe4591cbd4463d1896daf5))
|
||||||
|
|
||||||
|
## Features
|
||||||
|
|
||||||
|
- Codecov (#8219) ([f10f4cd](https://github.com/discordjs/discord.js/commit/f10f4cdcd88ca6be7ec735ed3a415ba13da83db0))
|
||||||
|
- **docgen:** Update typedoc ([b3346f4](https://github.com/discordjs/discord.js/commit/b3346f4b9b3d4f96443506643d4631dc1c6d7b21))
|
||||||
|
- Website (#8043) ([127931d](https://github.com/discordjs/discord.js/commit/127931d1df7a2a5c27923c2f2151dbf3824e50cc))
|
||||||
|
- **docgen:** Typescript support ([3279b40](https://github.com/discordjs/discord.js/commit/3279b40912e6aa61507bedb7db15a2b8668de44b))
|
||||||
|
- Docgen package (#8029) ([8b979c0](https://github.com/discordjs/discord.js/commit/8b979c0245c42fd824d8e98745ee869f5360fc86))
|
||||||
|
- Use vitest instead of jest for more speed ([8d8e6c0](https://github.com/discordjs/discord.js/commit/8d8e6c03decd7352a2aa180f6e5bc1a13602539b))
|
||||||
|
- Add scripts package for locally used scripts ([f2ae1f9](https://github.com/discordjs/discord.js/commit/f2ae1f9348bfd893332a9060f71a8a5f272a1b8b))
|
||||||
|
|
||||||
|
## Refactor
|
||||||
|
|
||||||
|
- **collection:** Remove `default` property (#8055) ([c8f1690](https://github.com/discordjs/discord.js/commit/c8f1690896f55f06e05a83704262783cfc2bb91d))
|
||||||
|
- **collection:** Remove default export (#8053) ([16810f3](https://github.com/discordjs/discord.js/commit/16810f3e410bf35ed7e6e7412d517ea74c792c5d))
|
||||||
|
- Move all the config files to root (#8033) ([769ea0b](https://github.com/discordjs/discord.js/commit/769ea0bfe78c4f1d413c6b397c604ffe91e39c6a))
|
||||||
|
|
||||||
|
## Testing
|
||||||
|
|
||||||
|
- **collection:** Improve coverage (#8222) ([a51f721](https://github.com/discordjs/discord.js/commit/a51f7215eca67a0f46fba8b2d706f7ec6f6dc228))
|
||||||
|
|
||||||
|
# [@discordjs/collection@0.7.0](https://github.com/discordjs/discord.js/compare/@discordjs/collection@0.6.0...@discordjs/collection@0.7.0) - (2022-06-04)
|
||||||
|
|
||||||
|
## Styling
|
||||||
|
|
||||||
|
- Cleanup tests and tsup configs ([6b8ef20](https://github.com/discordjs/discord.js/commit/6b8ef20cb3af5b5cfd176dd0aa0a1a1e98551629))
|
||||||
|
|
||||||
|
# [@discordjs/collection@0.6.0](https://github.com/discordjs/discord.js/compare/@discordjs/collection@0.5.0...@discordjs/collection@0.6.0) - (2022-04-17)
|
||||||
|
|
||||||
|
## Features
|
||||||
|
|
||||||
|
- Add support for module: NodeNext in TS and ESM (#7598) ([8f1986a](https://github.com/discordjs/discord.js/commit/8f1986a6aa98365e09b00e84ad5f9f354ab61f3d))
|
||||||
|
- **builders:** Add attachment command option type (#7203) ([ae0f35f](https://github.com/discordjs/discord.js/commit/ae0f35f51d68dfa5a7dc43d161ef9365171debdb))
|
||||||
|
- **Collection:** Add merging functions (#7299) ([e4bd07b](https://github.com/discordjs/discord.js/commit/e4bd07b2394f227ea06b72eb6999de9ab3127b25))
|
||||||
|
|
||||||
|
# [@discordjs/collection@0.5.0](https://github.com/discordjs/discord.js/compare/@discordjs/collection@0.4.0...@discordjs/collection@0.5.0) - (2022-01-24)
|
||||||
|
|
||||||
|
## Refactor
|
||||||
|
|
||||||
|
- Make `intersect` perform a true intersection (#7211) ([d8efba2](https://github.com/discordjs/discord.js/commit/d8efba24e09aa2a8dbf028fc57a561a56e7833fd))
|
||||||
|
|
||||||
|
## Typings
|
||||||
|
|
||||||
|
- Add `ReadonlyCollection` (#7245) ([db25f52](https://github.com/discordjs/discord.js/commit/db25f529b26d7c819c1c42ad3e26c2263ea2da0e))
|
||||||
|
- **Collection:** Union types on `intersect` and `difference` (#7196) ([1f9b922](https://github.com/discordjs/discord.js/commit/1f9b9225f2066e9cc66c3355417139fd25cc403c))
|
191
node_modules/@discordjs/collection/LICENSE
generated
vendored
Normal file
191
node_modules/@discordjs/collection/LICENSE
generated
vendored
Normal file
|
@ -0,0 +1,191 @@
|
||||||
|
Apache License
|
||||||
|
Version 2.0, January 2004
|
||||||
|
http://www.apache.org/licenses/
|
||||||
|
|
||||||
|
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||||
|
|
||||||
|
1. Definitions.
|
||||||
|
|
||||||
|
"License" shall mean the terms and conditions for use, reproduction,
|
||||||
|
and distribution as defined by Sections 1 through 9 of this document.
|
||||||
|
|
||||||
|
"Licensor" shall mean the copyright owner or entity authorized by
|
||||||
|
the copyright owner that is granting the License.
|
||||||
|
|
||||||
|
"Legal Entity" shall mean the union of the acting entity and all
|
||||||
|
other entities that control, are controlled by, or are under common
|
||||||
|
control with that entity. For the purposes of this definition,
|
||||||
|
"control" means (i) the power, direct or indirect, to cause the
|
||||||
|
direction or management of such entity, whether by contract or
|
||||||
|
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
||||||
|
outstanding shares, or (iii) beneficial ownership of such entity.
|
||||||
|
|
||||||
|
"You" (or "Your") shall mean an individual or Legal Entity
|
||||||
|
exercising permissions granted by this License.
|
||||||
|
|
||||||
|
"Source" form shall mean the preferred form for making modifications,
|
||||||
|
including but not limited to software source code, documentation
|
||||||
|
source, and configuration files.
|
||||||
|
|
||||||
|
"Object" form shall mean any form resulting from mechanical
|
||||||
|
transformation or translation of a Source form, including but
|
||||||
|
not limited to compiled object code, generated documentation,
|
||||||
|
and conversions to other media types.
|
||||||
|
|
||||||
|
"Work" shall mean the work of authorship, whether in Source or
|
||||||
|
Object form, made available under the License, as indicated by a
|
||||||
|
copyright notice that is included in or attached to the work
|
||||||
|
(an example is provided in the Appendix below).
|
||||||
|
|
||||||
|
"Derivative Works" shall mean any work, whether in Source or Object
|
||||||
|
form, that is based on (or derived from) the Work and for which the
|
||||||
|
editorial revisions, annotations, elaborations, or other modifications
|
||||||
|
represent, as a whole, an original work of authorship. For the purposes
|
||||||
|
of this License, Derivative Works shall not include works that remain
|
||||||
|
separable from, or merely link (or bind by name) to the interfaces of,
|
||||||
|
the Work and Derivative Works thereof.
|
||||||
|
|
||||||
|
"Contribution" shall mean any work of authorship, including
|
||||||
|
the original version of the Work and any modifications or additions
|
||||||
|
to that Work or Derivative Works thereof, that is intentionally
|
||||||
|
submitted to Licensor for inclusion in the Work by the copyright owner
|
||||||
|
or by an individual or Legal Entity authorized to submit on behalf of
|
||||||
|
the copyright owner. For the purposes of this definition, "submitted"
|
||||||
|
means any form of electronic, verbal, or written communication sent
|
||||||
|
to the Licensor or its representatives, including but not limited to
|
||||||
|
communication on electronic mailing lists, source code control systems,
|
||||||
|
and issue tracking systems that are managed by, or on behalf of, the
|
||||||
|
Licensor for the purpose of discussing and improving the Work, but
|
||||||
|
excluding communication that is conspicuously marked or otherwise
|
||||||
|
designated in writing by the copyright owner as "Not a Contribution."
|
||||||
|
|
||||||
|
"Contributor" shall mean Licensor and any individual or Legal Entity
|
||||||
|
on behalf of whom a Contribution has been received by Licensor and
|
||||||
|
subsequently incorporated within the Work.
|
||||||
|
|
||||||
|
2. Grant of Copyright License. Subject to the terms and conditions of
|
||||||
|
this License, each Contributor hereby grants to You a perpetual,
|
||||||
|
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||||
|
copyright license to reproduce, prepare Derivative Works of,
|
||||||
|
publicly display, publicly perform, sublicense, and distribute the
|
||||||
|
Work and such Derivative Works in Source or Object form.
|
||||||
|
|
||||||
|
3. Grant of Patent License. Subject to the terms and conditions of
|
||||||
|
this License, each Contributor hereby grants to You a perpetual,
|
||||||
|
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||||
|
(except as stated in this section) patent license to make, have made,
|
||||||
|
use, offer to sell, sell, import, and otherwise transfer the Work,
|
||||||
|
where such license applies only to those patent claims licensable
|
||||||
|
by such Contributor that are necessarily infringed by their
|
||||||
|
Contribution(s) alone or by combination of their Contribution(s)
|
||||||
|
with the Work to which such Contribution(s) was submitted. If You
|
||||||
|
institute patent litigation against any entity (including a
|
||||||
|
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
||||||
|
or a Contribution incorporated within the Work constitutes direct
|
||||||
|
or contributory patent infringement, then any patent licenses
|
||||||
|
granted to You under this License for that Work shall terminate
|
||||||
|
as of the date such litigation is filed.
|
||||||
|
|
||||||
|
4. Redistribution. You may reproduce and distribute copies of the
|
||||||
|
Work or Derivative Works thereof in any medium, with or without
|
||||||
|
modifications, and in Source or Object form, provided that You
|
||||||
|
meet the following conditions:
|
||||||
|
|
||||||
|
(a) You must give any other recipients of the Work or
|
||||||
|
Derivative Works a copy of this License; and
|
||||||
|
|
||||||
|
(b) You must cause any modified files to carry prominent notices
|
||||||
|
stating that You changed the files; and
|
||||||
|
|
||||||
|
(c) You must retain, in the Source form of any Derivative Works
|
||||||
|
that You distribute, all copyright, patent, trademark, and
|
||||||
|
attribution notices from the Source form of the Work,
|
||||||
|
excluding those notices that do not pertain to any part of
|
||||||
|
the Derivative Works; and
|
||||||
|
|
||||||
|
(d) If the Work includes a "NOTICE" text file as part of its
|
||||||
|
distribution, then any Derivative Works that You distribute must
|
||||||
|
include a readable copy of the attribution notices contained
|
||||||
|
within such NOTICE file, excluding those notices that do not
|
||||||
|
pertain to any part of the Derivative Works, in at least one
|
||||||
|
of the following places: within a NOTICE text file distributed
|
||||||
|
as part of the Derivative Works; within the Source form or
|
||||||
|
documentation, if provided along with the Derivative Works; or,
|
||||||
|
within a display generated by the Derivative Works, if and
|
||||||
|
wherever such third-party notices normally appear. The contents
|
||||||
|
of the NOTICE file are for informational purposes only and
|
||||||
|
do not modify the License. You may add Your own attribution
|
||||||
|
notices within Derivative Works that You distribute, alongside
|
||||||
|
or as an addendum to the NOTICE text from the Work, provided
|
||||||
|
that such additional attribution notices cannot be construed
|
||||||
|
as modifying the License.
|
||||||
|
|
||||||
|
You may add Your own copyright statement to Your modifications and
|
||||||
|
may provide additional or different license terms and conditions
|
||||||
|
for use, reproduction, or distribution of Your modifications, or
|
||||||
|
for any such Derivative Works as a whole, provided Your use,
|
||||||
|
reproduction, and distribution of the Work otherwise complies with
|
||||||
|
the conditions stated in this License.
|
||||||
|
|
||||||
|
5. Submission of Contributions. Unless You explicitly state otherwise,
|
||||||
|
any Contribution intentionally submitted for inclusion in the Work
|
||||||
|
by You to the Licensor shall be under the terms and conditions of
|
||||||
|
this License, without any additional terms or conditions.
|
||||||
|
Notwithstanding the above, nothing herein shall supersede or modify
|
||||||
|
the terms of any separate license agreement you may have executed
|
||||||
|
with Licensor regarding such Contributions.
|
||||||
|
|
||||||
|
6. Trademarks. This License does not grant permission to use the trade
|
||||||
|
names, trademarks, service marks, or product names of the Licensor,
|
||||||
|
except as required for reasonable and customary use in describing the
|
||||||
|
origin of the Work and reproducing the content of the NOTICE file.
|
||||||
|
|
||||||
|
7. Disclaimer of Warranty. Unless required by applicable law or
|
||||||
|
agreed to in writing, Licensor provides the Work (and each
|
||||||
|
Contributor provides its Contributions) on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||||
|
implied, including, without limitation, any warranties or conditions
|
||||||
|
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
||||||
|
PARTICULAR PURPOSE. You are solely responsible for determining the
|
||||||
|
appropriateness of using or redistributing the Work and assume any
|
||||||
|
risks associated with Your exercise of permissions under this License.
|
||||||
|
|
||||||
|
8. Limitation of Liability. In no event and under no legal theory,
|
||||||
|
whether in tort (including negligence), contract, or otherwise,
|
||||||
|
unless required by applicable law (such as deliberate and grossly
|
||||||
|
negligent acts) or agreed to in writing, shall any Contributor be
|
||||||
|
liable to You for damages, including any direct, indirect, special,
|
||||||
|
incidental, or consequential damages of any character arising as a
|
||||||
|
result of this License or out of the use or inability to use the
|
||||||
|
Work (including but not limited to damages for loss of goodwill,
|
||||||
|
work stoppage, computer failure or malfunction, or any and all
|
||||||
|
other commercial damages or losses), even if such Contributor
|
||||||
|
has been advised of the possibility of such damages.
|
||||||
|
|
||||||
|
9. Accepting Warranty or Additional Liability. While redistributing
|
||||||
|
the Work or Derivative Works thereof, You may choose to offer,
|
||||||
|
and charge a fee for, acceptance of support, warranty, indemnity,
|
||||||
|
or other liability obligations and/or rights consistent with this
|
||||||
|
License. However, in accepting such obligations, You may act only
|
||||||
|
on Your own behalf and on Your sole responsibility, not on behalf
|
||||||
|
of any other Contributor, and only if You agree to indemnify,
|
||||||
|
defend, and hold each Contributor harmless for any liability
|
||||||
|
incurred by, or claims asserted against, such Contributor by reason
|
||||||
|
of your accepting any such warranty or additional liability.
|
||||||
|
|
||||||
|
END OF TERMS AND CONDITIONS
|
||||||
|
|
||||||
|
Copyright 2021 Noel Buechler
|
||||||
|
Copyright 2015 Amish Shah
|
||||||
|
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
you may not use this file except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
67
node_modules/@discordjs/collection/README.md
generated
vendored
Normal file
67
node_modules/@discordjs/collection/README.md
generated
vendored
Normal file
|
@ -0,0 +1,67 @@
|
||||||
|
<div align="center">
|
||||||
|
<br />
|
||||||
|
<p>
|
||||||
|
<a href="https://discord.js.org"><img src="https://discord.js.org/static/logo.svg" width="546" alt="discord.js" /></a>
|
||||||
|
</p>
|
||||||
|
<br />
|
||||||
|
<p>
|
||||||
|
<a href="https://discord.gg/djs"><img src="https://img.shields.io/discord/222078108977594368?color=5865F2&logo=discord&logoColor=white" alt="Discord server" /></a>
|
||||||
|
<a href="https://www.npmjs.com/package/@discordjs/collection"><img src="https://img.shields.io/npm/v/@discordjs/collection.svg?maxAge=3600" alt="npm version" /></a>
|
||||||
|
<a href="https://www.npmjs.com/package/@discordjs/collection"><img src="https://img.shields.io/npm/dt/@discordjs/collection.svg?maxAge=3600" alt="npm downloads" /></a>
|
||||||
|
<a href="https://github.com/discordjs/discord.js/actions"><img src="https://github.com/discordjs/discord.js/actions/workflows/test.yml/badge.svg" alt="Build status" /></a>
|
||||||
|
<a href="https://codecov.io/gh/discordjs/discord.js" ><img src="https://codecov.io/gh/discordjs/discord.js/branch/main/graph/badge.svg?precision=2&flag=collection" alt="Code coverage" /></a>
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
<a href="https://vercel.com/?utm_source=discordjs&utm_campaign=oss"><img src="https://raw.githubusercontent.com/discordjs/discord.js/main/.github/powered-by-vercel.svg" alt="Vercel" /></a>
|
||||||
|
<a href="https://www.cloudflare.com"><img src="https://raw.githubusercontent.com/discordjs/discord.js/main/.github/powered-by-workers.png" alt="Cloudflare Workers" height="44" /></a>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
## About
|
||||||
|
|
||||||
|
`@discordjs/collection` is a powerful utility data structure used in discord.js.
|
||||||
|
|
||||||
|
## Installation
|
||||||
|
|
||||||
|
**Node.js 16.11.0 or newer is required.**
|
||||||
|
|
||||||
|
```sh
|
||||||
|
npm install @discordjs/collection
|
||||||
|
yarn add @discordjs/collection
|
||||||
|
pnpm add @discordjs/collection
|
||||||
|
```
|
||||||
|
|
||||||
|
## Links
|
||||||
|
|
||||||
|
- [Website][website] ([source][website-source])
|
||||||
|
- [Documentation][documentation]
|
||||||
|
- [Guide][guide] ([source][guide-source])
|
||||||
|
Also see the v13 to v14 [Update Guide][guide-update], which includes updated and removed items from the library.
|
||||||
|
- [discord.js Discord server][discord]
|
||||||
|
- [Discord API Discord server][discord-api]
|
||||||
|
- [GitHub][source]
|
||||||
|
- [npm][npm]
|
||||||
|
- [Related libraries][related-libs]
|
||||||
|
|
||||||
|
## Contributing
|
||||||
|
|
||||||
|
Before creating an issue, please ensure that it hasn't already been reported/suggested, and double-check the
|
||||||
|
[documentation][documentation].
|
||||||
|
See [the contribution guide][contributing] if you'd like to submit a PR.
|
||||||
|
|
||||||
|
## Help
|
||||||
|
|
||||||
|
If you don't understand something in the documentation, you are experiencing problems, or you just need a gentle nudge in the right direction, please don't hesitate to join our official [discord.js Server][discord].
|
||||||
|
|
||||||
|
[website]: https://discord.js.org
|
||||||
|
[website-source]: https://github.com/discordjs/discord.js/tree/main/apps/website
|
||||||
|
[documentation]: https://discord.js.org/docs/packages/collection/stable
|
||||||
|
[guide]: https://discordjs.guide/
|
||||||
|
[guide-source]: https://github.com/discordjs/guide
|
||||||
|
[guide-update]: https://discordjs.guide/additional-info/changes-in-v14.html
|
||||||
|
[discord]: https://discord.gg/djs
|
||||||
|
[discord-api]: https://discord.gg/discord-api
|
||||||
|
[source]: https://github.com/discordjs/discord.js/tree/main/packages/collection
|
||||||
|
[npm]: https://www.npmjs.com/package/@discordjs/collection
|
||||||
|
[related-libs]: https://discord.com/developers/docs/topics/community-resources#libraries
|
||||||
|
[contributing]: https://github.com/discordjs/discord.js/blob/main/.github/CONTRIBUTING.md
|
457
node_modules/@discordjs/collection/dist/index.d.mts
generated
vendored
Normal file
457
node_modules/@discordjs/collection/dist/index.d.mts
generated
vendored
Normal file
|
@ -0,0 +1,457 @@
|
||||||
|
/**
|
||||||
|
* @internal
|
||||||
|
*/
|
||||||
|
interface CollectionConstructor {
|
||||||
|
new (): Collection<unknown, unknown>;
|
||||||
|
new <K, V>(entries?: readonly (readonly [K, V])[] | null): Collection<K, V>;
|
||||||
|
new <K, V>(iterable: Iterable<readonly [K, V]>): Collection<K, V>;
|
||||||
|
readonly prototype: Collection<unknown, unknown>;
|
||||||
|
readonly [Symbol.species]: CollectionConstructor;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* Represents an immutable version of a collection
|
||||||
|
*/
|
||||||
|
type ReadonlyCollection<K, V> = Omit<Collection<K, V>, 'delete' | 'ensure' | 'forEach' | 'get' | 'reverse' | 'set' | 'sort' | 'sweep'> & ReadonlyMap<K, V>;
|
||||||
|
/**
|
||||||
|
* Separate interface for the constructor so that emitted js does not have a constructor that overwrites itself
|
||||||
|
*
|
||||||
|
* @internal
|
||||||
|
*/
|
||||||
|
interface Collection<K, V> extends Map<K, V> {
|
||||||
|
constructor: CollectionConstructor;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* A Map with additional utility methods. This is used throughout discord.js rather than Arrays for anything that has
|
||||||
|
* an ID, for significantly improved performance and ease-of-use.
|
||||||
|
*
|
||||||
|
* @typeParam K - The key type this collection holds
|
||||||
|
* @typeParam V - The value type this collection holds
|
||||||
|
*/
|
||||||
|
declare class Collection<K, V> extends Map<K, V> {
|
||||||
|
/**
|
||||||
|
* Obtains the value of the given key if it exists, otherwise sets and returns the value provided by the default value generator.
|
||||||
|
*
|
||||||
|
* @param key - The key to get if it exists, or set otherwise
|
||||||
|
* @param defaultValueGenerator - A function that generates the default value
|
||||||
|
* @example
|
||||||
|
* ```ts
|
||||||
|
* collection.ensure(guildId, () => defaultGuildConfig);
|
||||||
|
* ```
|
||||||
|
*/
|
||||||
|
ensure(key: K, defaultValueGenerator: (key: K, collection: this) => V): V;
|
||||||
|
/**
|
||||||
|
* Checks if all of the elements exist in the collection.
|
||||||
|
*
|
||||||
|
* @param keys - The keys of the elements to check for
|
||||||
|
* @returns `true` if all of the elements exist, `false` if at least one does not exist.
|
||||||
|
*/
|
||||||
|
hasAll(...keys: K[]): boolean;
|
||||||
|
/**
|
||||||
|
* Checks if any of the elements exist in the collection.
|
||||||
|
*
|
||||||
|
* @param keys - The keys of the elements to check for
|
||||||
|
* @returns `true` if any of the elements exist, `false` if none exist.
|
||||||
|
*/
|
||||||
|
hasAny(...keys: K[]): boolean;
|
||||||
|
/**
|
||||||
|
* Obtains the first value(s) in this collection.
|
||||||
|
*
|
||||||
|
* @param amount - Amount of values to obtain from the beginning
|
||||||
|
* @returns A single value if no amount is provided or an array of values, starting from the end if amount is negative
|
||||||
|
*/
|
||||||
|
first(): V | undefined;
|
||||||
|
first(amount: number): V[];
|
||||||
|
/**
|
||||||
|
* Obtains the first key(s) in this collection.
|
||||||
|
*
|
||||||
|
* @param amount - Amount of keys to obtain from the beginning
|
||||||
|
* @returns A single key if no amount is provided or an array of keys, starting from the end if
|
||||||
|
* amount is negative
|
||||||
|
*/
|
||||||
|
firstKey(): K | undefined;
|
||||||
|
firstKey(amount: number): K[];
|
||||||
|
/**
|
||||||
|
* Obtains the last value(s) in this collection.
|
||||||
|
*
|
||||||
|
* @param amount - Amount of values to obtain from the end
|
||||||
|
* @returns A single value if no amount is provided or an array of values, starting from the start if
|
||||||
|
* amount is negative
|
||||||
|
*/
|
||||||
|
last(): V | undefined;
|
||||||
|
last(amount: number): V[];
|
||||||
|
/**
|
||||||
|
* Obtains the last key(s) in this collection.
|
||||||
|
*
|
||||||
|
* @param amount - Amount of keys to obtain from the end
|
||||||
|
* @returns A single key if no amount is provided or an array of keys, starting from the start if
|
||||||
|
* amount is negative
|
||||||
|
*/
|
||||||
|
lastKey(): K | undefined;
|
||||||
|
lastKey(amount: number): K[];
|
||||||
|
/**
|
||||||
|
* Identical to {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/at | Array.at()}.
|
||||||
|
* Returns the item at a given index, allowing for positive and negative integers.
|
||||||
|
* Negative integers count back from the last item in the collection.
|
||||||
|
*
|
||||||
|
* @param index - The index of the element to obtain
|
||||||
|
*/
|
||||||
|
at(index: number): V | undefined;
|
||||||
|
/**
|
||||||
|
* Identical to {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/at | Array.at()}.
|
||||||
|
* Returns the key at a given index, allowing for positive and negative integers.
|
||||||
|
* Negative integers count back from the last item in the collection.
|
||||||
|
*
|
||||||
|
* @param index - The index of the key to obtain
|
||||||
|
*/
|
||||||
|
keyAt(index: number): K | undefined;
|
||||||
|
/**
|
||||||
|
* Obtains unique random value(s) from this collection.
|
||||||
|
*
|
||||||
|
* @param amount - Amount of values to obtain randomly
|
||||||
|
* @returns A single value if no amount is provided or an array of values
|
||||||
|
*/
|
||||||
|
random(): V | undefined;
|
||||||
|
random(amount: number): V[];
|
||||||
|
/**
|
||||||
|
* Obtains unique random key(s) from this collection.
|
||||||
|
*
|
||||||
|
* @param amount - Amount of keys to obtain randomly
|
||||||
|
* @returns A single key if no amount is provided or an array
|
||||||
|
*/
|
||||||
|
randomKey(): K | undefined;
|
||||||
|
randomKey(amount: number): K[];
|
||||||
|
/**
|
||||||
|
* Identical to {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/reverse | Array.reverse()}
|
||||||
|
* but returns a Collection instead of an Array.
|
||||||
|
*/
|
||||||
|
reverse(): this;
|
||||||
|
/**
|
||||||
|
* Searches for a single item where the given function returns a truthy value. This behaves like
|
||||||
|
* {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find | Array.find()}.
|
||||||
|
* All collections used in Discord.js are mapped using their `id` property, and if you want to find by id you
|
||||||
|
* should use the `get` method. See
|
||||||
|
* {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map/get | MDN} for details.
|
||||||
|
*
|
||||||
|
* @param fn - The function to test with (should return boolean)
|
||||||
|
* @param thisArg - Value to use as `this` when executing function
|
||||||
|
* @example
|
||||||
|
* ```ts
|
||||||
|
* collection.find(user => user.username === 'Bob');
|
||||||
|
* ```
|
||||||
|
*/
|
||||||
|
find<V2 extends V>(fn: (value: V, key: K, collection: this) => value is V2): V2 | undefined;
|
||||||
|
find(fn: (value: V, key: K, collection: this) => unknown): V | undefined;
|
||||||
|
find<This, V2 extends V>(fn: (this: This, value: V, key: K, collection: this) => value is V2, thisArg: This): V2 | undefined;
|
||||||
|
find<This>(fn: (this: This, value: V, key: K, collection: this) => unknown, thisArg: This): V | undefined;
|
||||||
|
/**
|
||||||
|
* Searches for the key of a single item where the given function returns a truthy value. This behaves like
|
||||||
|
* {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/findIndex | Array.findIndex()},
|
||||||
|
* but returns the key rather than the positional index.
|
||||||
|
*
|
||||||
|
* @param fn - The function to test with (should return boolean)
|
||||||
|
* @param thisArg - Value to use as `this` when executing function
|
||||||
|
* @example
|
||||||
|
* ```ts
|
||||||
|
* collection.findKey(user => user.username === 'Bob');
|
||||||
|
* ```
|
||||||
|
*/
|
||||||
|
findKey<K2 extends K>(fn: (value: V, key: K, collection: this) => key is K2): K2 | undefined;
|
||||||
|
findKey(fn: (value: V, key: K, collection: this) => unknown): K | undefined;
|
||||||
|
findKey<This, K2 extends K>(fn: (this: This, value: V, key: K, collection: this) => key is K2, thisArg: This): K2 | undefined;
|
||||||
|
findKey<This>(fn: (this: This, value: V, key: K, collection: this) => unknown, thisArg: This): K | undefined;
|
||||||
|
/**
|
||||||
|
* Removes items that satisfy the provided filter function.
|
||||||
|
*
|
||||||
|
* @param fn - Function used to test (should return a boolean)
|
||||||
|
* @param thisArg - Value to use as `this` when executing function
|
||||||
|
* @returns The number of removed entries
|
||||||
|
*/
|
||||||
|
sweep(fn: (value: V, key: K, collection: this) => unknown): number;
|
||||||
|
sweep<T>(fn: (this: T, value: V, key: K, collection: this) => unknown, thisArg: T): number;
|
||||||
|
/**
|
||||||
|
* Identical to
|
||||||
|
* {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/filter | Array.filter()},
|
||||||
|
* but returns a Collection instead of an Array.
|
||||||
|
*
|
||||||
|
* @param fn - The function to test with (should return boolean)
|
||||||
|
* @param thisArg - Value to use as `this` when executing function
|
||||||
|
* @example
|
||||||
|
* ```ts
|
||||||
|
* collection.filter(user => user.username === 'Bob');
|
||||||
|
* ```
|
||||||
|
*/
|
||||||
|
filter<K2 extends K>(fn: (value: V, key: K, collection: this) => key is K2): Collection<K2, V>;
|
||||||
|
filter<V2 extends V>(fn: (value: V, key: K, collection: this) => value is V2): Collection<K, V2>;
|
||||||
|
filter(fn: (value: V, key: K, collection: this) => unknown): Collection<K, V>;
|
||||||
|
filter<This, K2 extends K>(fn: (this: This, value: V, key: K, collection: this) => key is K2, thisArg: This): Collection<K2, V>;
|
||||||
|
filter<This, V2 extends V>(fn: (this: This, value: V, key: K, collection: this) => value is V2, thisArg: This): Collection<K, V2>;
|
||||||
|
filter<This>(fn: (this: This, value: V, key: K, collection: this) => unknown, thisArg: This): Collection<K, V>;
|
||||||
|
/**
|
||||||
|
* Partitions the collection into two collections where the first collection
|
||||||
|
* contains the items that passed and the second contains the items that failed.
|
||||||
|
*
|
||||||
|
* @param fn - Function used to test (should return a boolean)
|
||||||
|
* @param thisArg - Value to use as `this` when executing function
|
||||||
|
* @example
|
||||||
|
* ```ts
|
||||||
|
* const [big, small] = collection.partition(guild => guild.memberCount > 250);
|
||||||
|
* ```
|
||||||
|
*/
|
||||||
|
partition<K2 extends K>(fn: (value: V, key: K, collection: this) => key is K2): [Collection<K2, V>, Collection<Exclude<K, K2>, V>];
|
||||||
|
partition<V2 extends V>(fn: (value: V, key: K, collection: this) => value is V2): [Collection<K, V2>, Collection<K, Exclude<V, V2>>];
|
||||||
|
partition(fn: (value: V, key: K, collection: this) => unknown): [Collection<K, V>, Collection<K, V>];
|
||||||
|
partition<This, K2 extends K>(fn: (this: This, value: V, key: K, collection: this) => key is K2, thisArg: This): [Collection<K2, V>, Collection<Exclude<K, K2>, V>];
|
||||||
|
partition<This, V2 extends V>(fn: (this: This, value: V, key: K, collection: this) => value is V2, thisArg: This): [Collection<K, V2>, Collection<K, Exclude<V, V2>>];
|
||||||
|
partition<This>(fn: (this: This, value: V, key: K, collection: this) => unknown, thisArg: This): [Collection<K, V>, Collection<K, V>];
|
||||||
|
/**
|
||||||
|
* Maps each item into a Collection, then joins the results into a single Collection. Identical in behavior to
|
||||||
|
* {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/flatMap | Array.flatMap()}.
|
||||||
|
*
|
||||||
|
* @param fn - Function that produces a new Collection
|
||||||
|
* @param thisArg - Value to use as `this` when executing function
|
||||||
|
* @example
|
||||||
|
* ```ts
|
||||||
|
* collection.flatMap(guild => guild.members.cache);
|
||||||
|
* ```
|
||||||
|
*/
|
||||||
|
flatMap<T>(fn: (value: V, key: K, collection: this) => Collection<K, T>): Collection<K, T>;
|
||||||
|
flatMap<T, This>(fn: (this: This, value: V, key: K, collection: this) => Collection<K, T>, thisArg: This): Collection<K, T>;
|
||||||
|
/**
|
||||||
|
* Maps each item to another value into an array. Identical in behavior to
|
||||||
|
* {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/map | Array.map()}.
|
||||||
|
*
|
||||||
|
* @param fn - Function that produces an element of the new array, taking three arguments
|
||||||
|
* @param thisArg - Value to use as `this` when executing function
|
||||||
|
* @example
|
||||||
|
* ```ts
|
||||||
|
* collection.map(user => user.tag);
|
||||||
|
* ```
|
||||||
|
*/
|
||||||
|
map<T>(fn: (value: V, key: K, collection: this) => T): T[];
|
||||||
|
map<This, T>(fn: (this: This, value: V, key: K, collection: this) => T, thisArg: This): T[];
|
||||||
|
/**
|
||||||
|
* Maps each item to another value into a collection. Identical in behavior to
|
||||||
|
* {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/map | Array.map()}.
|
||||||
|
*
|
||||||
|
* @param fn - Function that produces an element of the new collection, taking three arguments
|
||||||
|
* @param thisArg - Value to use as `this` when executing function
|
||||||
|
* @example
|
||||||
|
* ```ts
|
||||||
|
* collection.mapValues(user => user.tag);
|
||||||
|
* ```
|
||||||
|
*/
|
||||||
|
mapValues<T>(fn: (value: V, key: K, collection: this) => T): Collection<K, T>;
|
||||||
|
mapValues<This, T>(fn: (this: This, value: V, key: K, collection: this) => T, thisArg: This): Collection<K, T>;
|
||||||
|
/**
|
||||||
|
* Checks if there exists an item that passes a test. Identical in behavior to
|
||||||
|
* {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/some | Array.some()}.
|
||||||
|
*
|
||||||
|
* @param fn - Function used to test (should return a boolean)
|
||||||
|
* @param thisArg - Value to use as `this` when executing function
|
||||||
|
* @example
|
||||||
|
* ```ts
|
||||||
|
* collection.some(user => user.discriminator === '0000');
|
||||||
|
* ```
|
||||||
|
*/
|
||||||
|
some(fn: (value: V, key: K, collection: this) => unknown): boolean;
|
||||||
|
some<T>(fn: (this: T, value: V, key: K, collection: this) => unknown, thisArg: T): boolean;
|
||||||
|
/**
|
||||||
|
* Checks if all items passes a test. Identical in behavior to
|
||||||
|
* {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/every | Array.every()}.
|
||||||
|
*
|
||||||
|
* @param fn - Function used to test (should return a boolean)
|
||||||
|
* @param thisArg - Value to use as `this` when executing function
|
||||||
|
* @example
|
||||||
|
* ```ts
|
||||||
|
* collection.every(user => !user.bot);
|
||||||
|
* ```
|
||||||
|
*/
|
||||||
|
every<K2 extends K>(fn: (value: V, key: K, collection: this) => key is K2): this is Collection<K2, V>;
|
||||||
|
every<V2 extends V>(fn: (value: V, key: K, collection: this) => value is V2): this is Collection<K, V2>;
|
||||||
|
every(fn: (value: V, key: K, collection: this) => unknown): boolean;
|
||||||
|
every<This, K2 extends K>(fn: (this: This, value: V, key: K, collection: this) => key is K2, thisArg: This): this is Collection<K2, V>;
|
||||||
|
every<This, V2 extends V>(fn: (this: This, value: V, key: K, collection: this) => value is V2, thisArg: This): this is Collection<K, V2>;
|
||||||
|
every<This>(fn: (this: This, value: V, key: K, collection: this) => unknown, thisArg: This): boolean;
|
||||||
|
/**
|
||||||
|
* Applies a function to produce a single value. Identical in behavior to
|
||||||
|
* {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/reduce | Array.reduce()}.
|
||||||
|
*
|
||||||
|
* @param fn - Function used to reduce, taking four arguments; `accumulator`, `currentValue`, `currentKey`,
|
||||||
|
* and `collection`
|
||||||
|
* @param initialValue - Starting value for the accumulator
|
||||||
|
* @example
|
||||||
|
* ```ts
|
||||||
|
* collection.reduce((acc, guild) => acc + guild.memberCount, 0);
|
||||||
|
* ```
|
||||||
|
*/
|
||||||
|
reduce<T = V>(fn: (accumulator: T, value: V, key: K, collection: this) => T, initialValue?: T): T;
|
||||||
|
/**
|
||||||
|
* Identical to
|
||||||
|
* {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map/forEach | Map.forEach()},
|
||||||
|
* but returns the collection instead of undefined.
|
||||||
|
*
|
||||||
|
* @param fn - Function to execute for each element
|
||||||
|
* @param thisArg - Value to use as `this` when executing function
|
||||||
|
* @example
|
||||||
|
* ```ts
|
||||||
|
* collection
|
||||||
|
* .each(user => console.log(user.username))
|
||||||
|
* .filter(user => user.bot)
|
||||||
|
* .each(user => console.log(user.username));
|
||||||
|
* ```
|
||||||
|
*/
|
||||||
|
each(fn: (value: V, key: K, collection: this) => void): this;
|
||||||
|
each<T>(fn: (this: T, value: V, key: K, collection: this) => void, thisArg: T): this;
|
||||||
|
/**
|
||||||
|
* Runs a function on the collection and returns the collection.
|
||||||
|
*
|
||||||
|
* @param fn - Function to execute
|
||||||
|
* @param thisArg - Value to use as `this` when executing function
|
||||||
|
* @example
|
||||||
|
* ```ts
|
||||||
|
* collection
|
||||||
|
* .tap(coll => console.log(coll.size))
|
||||||
|
* .filter(user => user.bot)
|
||||||
|
* .tap(coll => console.log(coll.size))
|
||||||
|
* ```
|
||||||
|
*/
|
||||||
|
tap(fn: (collection: this) => void): this;
|
||||||
|
tap<T>(fn: (this: T, collection: this) => void, thisArg: T): this;
|
||||||
|
/**
|
||||||
|
* Creates an identical shallow copy of this collection.
|
||||||
|
*
|
||||||
|
* @example
|
||||||
|
* ```ts
|
||||||
|
* const newColl = someColl.clone();
|
||||||
|
* ```
|
||||||
|
*/
|
||||||
|
clone(): Collection<K, V>;
|
||||||
|
/**
|
||||||
|
* Combines this collection with others into a new collection. None of the source collections are modified.
|
||||||
|
*
|
||||||
|
* @param collections - Collections to merge
|
||||||
|
* @example
|
||||||
|
* ```ts
|
||||||
|
* const newColl = someColl.concat(someOtherColl, anotherColl, ohBoyAColl);
|
||||||
|
* ```
|
||||||
|
*/
|
||||||
|
concat(...collections: ReadonlyCollection<K, V>[]): Collection<K, V>;
|
||||||
|
/**
|
||||||
|
* Checks if this collection shares identical items with another.
|
||||||
|
* This is different to checking for equality using equal-signs, because
|
||||||
|
* the collections may be different objects, but contain the same data.
|
||||||
|
*
|
||||||
|
* @param collection - Collection to compare with
|
||||||
|
* @returns Whether the collections have identical contents
|
||||||
|
*/
|
||||||
|
equals(collection: ReadonlyCollection<K, V>): boolean;
|
||||||
|
/**
|
||||||
|
* The sort method sorts the items of a collection in place and returns it.
|
||||||
|
* The sort is not necessarily stable in Node 10 or older.
|
||||||
|
* The default sort order is according to string Unicode code points.
|
||||||
|
*
|
||||||
|
* @param compareFunction - Specifies a function that defines the sort order.
|
||||||
|
* If omitted, the collection is sorted according to each character's Unicode code point value, according to the string conversion of each element.
|
||||||
|
* @example
|
||||||
|
* ```ts
|
||||||
|
* collection.sort((userA, userB) => userA.createdTimestamp - userB.createdTimestamp);
|
||||||
|
* ```
|
||||||
|
*/
|
||||||
|
sort(compareFunction?: Comparator<K, V>): this;
|
||||||
|
/**
|
||||||
|
* The intersect method returns a new structure containing items where the keys and values are present in both original structures.
|
||||||
|
*
|
||||||
|
* @param other - The other Collection to filter against
|
||||||
|
*/
|
||||||
|
intersect<T>(other: ReadonlyCollection<K, T>): Collection<K, T>;
|
||||||
|
/**
|
||||||
|
* The subtract method returns a new structure containing items where the keys and values of the original structure are not present in the other.
|
||||||
|
*
|
||||||
|
* @param other - The other Collection to filter against
|
||||||
|
*/
|
||||||
|
subtract<T>(other: ReadonlyCollection<K, T>): Collection<K, V>;
|
||||||
|
/**
|
||||||
|
* The difference method returns a new structure containing items where the key is present in one of the original structures but not the other.
|
||||||
|
*
|
||||||
|
* @param other - The other Collection to filter against
|
||||||
|
*/
|
||||||
|
difference<T>(other: ReadonlyCollection<K, T>): Collection<K, T | V>;
|
||||||
|
/**
|
||||||
|
* Merges two Collections together into a new Collection.
|
||||||
|
*
|
||||||
|
* @param other - The other Collection to merge with
|
||||||
|
* @param whenInSelf - Function getting the result if the entry only exists in this Collection
|
||||||
|
* @param whenInOther - Function getting the result if the entry only exists in the other Collection
|
||||||
|
* @param whenInBoth - Function getting the result if the entry exists in both Collections
|
||||||
|
* @example
|
||||||
|
* ```ts
|
||||||
|
* // Sums up the entries in two collections.
|
||||||
|
* coll.merge(
|
||||||
|
* other,
|
||||||
|
* x => ({ keep: true, value: x }),
|
||||||
|
* y => ({ keep: true, value: y }),
|
||||||
|
* (x, y) => ({ keep: true, value: x + y }),
|
||||||
|
* );
|
||||||
|
* ```
|
||||||
|
* @example
|
||||||
|
* ```ts
|
||||||
|
* // Intersects two collections in a left-biased manner.
|
||||||
|
* coll.merge(
|
||||||
|
* other,
|
||||||
|
* x => ({ keep: false }),
|
||||||
|
* y => ({ keep: false }),
|
||||||
|
* (x, _) => ({ keep: true, value: x }),
|
||||||
|
* );
|
||||||
|
* ```
|
||||||
|
*/
|
||||||
|
merge<T, R>(other: ReadonlyCollection<K, T>, whenInSelf: (value: V, key: K) => Keep<R>, whenInOther: (valueOther: T, key: K) => Keep<R>, whenInBoth: (value: V, valueOther: T, key: K) => Keep<R>): Collection<K, R>;
|
||||||
|
/**
|
||||||
|
* The sorted method sorts the items of a collection and returns it.
|
||||||
|
* The sort is not necessarily stable in Node 10 or older.
|
||||||
|
* The default sort order is according to string Unicode code points.
|
||||||
|
*
|
||||||
|
* @param compareFunction - Specifies a function that defines the sort order.
|
||||||
|
* If omitted, the collection is sorted according to each character's Unicode code point value,
|
||||||
|
* according to the string conversion of each element.
|
||||||
|
* @example
|
||||||
|
* ```ts
|
||||||
|
* collection.sorted((userA, userB) => userA.createdTimestamp - userB.createdTimestamp);
|
||||||
|
* ```
|
||||||
|
*/
|
||||||
|
sorted(compareFunction?: Comparator<K, V>): Collection<K, V>;
|
||||||
|
toJSON(): V[];
|
||||||
|
private static defaultSort;
|
||||||
|
/**
|
||||||
|
* Creates a Collection from a list of entries.
|
||||||
|
*
|
||||||
|
* @param entries - The list of entries
|
||||||
|
* @param combine - Function to combine an existing entry with a new one
|
||||||
|
* @example
|
||||||
|
* ```ts
|
||||||
|
* Collection.combineEntries([["a", 1], ["b", 2], ["a", 2]], (x, y) => x + y);
|
||||||
|
* // returns Collection { "a" => 3, "b" => 2 }
|
||||||
|
* ```
|
||||||
|
*/
|
||||||
|
static combineEntries<K, V>(entries: Iterable<[K, V]>, combine: (firstValue: V, secondValue: V, key: K) => V): Collection<K, V>;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* @internal
|
||||||
|
*/
|
||||||
|
type Keep<V> = {
|
||||||
|
keep: false;
|
||||||
|
} | {
|
||||||
|
keep: true;
|
||||||
|
value: V;
|
||||||
|
};
|
||||||
|
/**
|
||||||
|
* @internal
|
||||||
|
*/
|
||||||
|
type Comparator<K, V> = (firstValue: V, secondValue: V, firstKey: K, secondKey: K) => number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The {@link https://github.com/discordjs/discord.js/blob/main/packages/collection/#readme | @discordjs/collection} version
|
||||||
|
* that you are currently using.
|
||||||
|
*/
|
||||||
|
declare const version: string;
|
||||||
|
|
||||||
|
export { Collection, CollectionConstructor, Comparator, Keep, ReadonlyCollection, version };
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue