rkwyu
commited on
Commit
·
f6f0c71
0
Parent(s):
First commit
Browse files- .gitignore +135 -0
- LICENSE.md +675 -0
- README.md +44 -0
- config.ini +2 -0
- package-lock.json +2301 -0
- package.json +24 -0
- run.js +7 -0
- src/App.js +21 -0
- src/object/Image.js +9 -0
- src/regex/ScribdRegex.js +5 -0
- src/service/ScribdDownloader.js +102 -0
- src/utils/io/ConfigLoader.js +27 -0
- src/utils/io/DirectoryIo.js +34 -0
- src/utils/io/PdfGenerator.js +49 -0
- src/utils/request/PuppeteerSg.js +51 -0
.gitignore
ADDED
@@ -0,0 +1,135 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Byte-compiled / optimized / DLL files
|
2 |
+
__pycache__/
|
3 |
+
*.py[cod]
|
4 |
+
*$py.class
|
5 |
+
|
6 |
+
# C extensions
|
7 |
+
*.so
|
8 |
+
|
9 |
+
# Distribution / packaging
|
10 |
+
.Python
|
11 |
+
build/
|
12 |
+
develop-eggs/
|
13 |
+
dist/
|
14 |
+
downloads/
|
15 |
+
eggs/
|
16 |
+
.eggs/
|
17 |
+
lib/
|
18 |
+
lib64/
|
19 |
+
parts/
|
20 |
+
sdist/
|
21 |
+
var/
|
22 |
+
wheels/
|
23 |
+
pip-wheel-metadata/
|
24 |
+
share/python-wheels/
|
25 |
+
*.egg-info/
|
26 |
+
.installed.cfg
|
27 |
+
*.egg
|
28 |
+
MANIFEST
|
29 |
+
|
30 |
+
# PyInstaller
|
31 |
+
# Usually these files are written by a python script from a template
|
32 |
+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
33 |
+
*.manifest
|
34 |
+
*.spec
|
35 |
+
|
36 |
+
# Installer logs
|
37 |
+
pip-log.txt
|
38 |
+
pip-delete-this-directory.txt
|
39 |
+
|
40 |
+
# Unit test / coverage reports
|
41 |
+
htmlcov/
|
42 |
+
.tox/
|
43 |
+
.nox/
|
44 |
+
.coverage
|
45 |
+
.coverage.*
|
46 |
+
.cache
|
47 |
+
nosetests.xml
|
48 |
+
coverage.xml
|
49 |
+
*.cover
|
50 |
+
.hypothesis/
|
51 |
+
.pytest_cache/
|
52 |
+
|
53 |
+
# Translations
|
54 |
+
*.mo
|
55 |
+
*.pot
|
56 |
+
|
57 |
+
# Django stuff:
|
58 |
+
*.log
|
59 |
+
local_settings.py
|
60 |
+
db.sqlite3
|
61 |
+
db.sqlite3-journal
|
62 |
+
|
63 |
+
# Flask stuff:
|
64 |
+
instance/
|
65 |
+
.webassets-cache
|
66 |
+
|
67 |
+
# Scrapy stuff:
|
68 |
+
.scrapy
|
69 |
+
|
70 |
+
# Sphinx documentation
|
71 |
+
docs/_build/
|
72 |
+
|
73 |
+
# PyBuilder
|
74 |
+
target/
|
75 |
+
|
76 |
+
# Jupyter Notebook
|
77 |
+
.ipynb_checkpoints
|
78 |
+
|
79 |
+
# IPython
|
80 |
+
profile_default/
|
81 |
+
ipython_config.py
|
82 |
+
|
83 |
+
# pyenv
|
84 |
+
.python-version
|
85 |
+
|
86 |
+
# pipenv
|
87 |
+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
|
88 |
+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
|
89 |
+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
|
90 |
+
# install all needed dependencies.
|
91 |
+
#Pipfile.lock
|
92 |
+
|
93 |
+
# celery beat schedule file
|
94 |
+
celerybeat-schedule
|
95 |
+
|
96 |
+
# SageMath parsed files
|
97 |
+
*.sage.py
|
98 |
+
|
99 |
+
# Environments
|
100 |
+
.env
|
101 |
+
.venv
|
102 |
+
env/
|
103 |
+
venv/
|
104 |
+
ENV/
|
105 |
+
env.bak/
|
106 |
+
venv.bak/
|
107 |
+
|
108 |
+
# Spyder project settings
|
109 |
+
.spyderproject
|
110 |
+
.spyproject
|
111 |
+
|
112 |
+
# Rope project settings
|
113 |
+
.ropeproject
|
114 |
+
|
115 |
+
# mkdocs documentation
|
116 |
+
/site
|
117 |
+
|
118 |
+
# mypy
|
119 |
+
.mypy_cache/
|
120 |
+
.dmypy.json
|
121 |
+
dmypy.json
|
122 |
+
|
123 |
+
# Pyre type checker
|
124 |
+
.pyre/
|
125 |
+
|
126 |
+
# mac
|
127 |
+
.DS_Store
|
128 |
+
# vscode
|
129 |
+
.vscode
|
130 |
+
# sqlite
|
131 |
+
.sqlite
|
132 |
+
# output dir
|
133 |
+
output/
|
134 |
+
#node
|
135 |
+
node_modules/
|
LICENSE.md
ADDED
@@ -0,0 +1,675 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
GNU GENERAL PUBLIC LICENSE
|
3 |
+
Version 3, 29 June 2007
|
4 |
+
|
5 |
+
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
|
6 |
+
Everyone is permitted to copy and distribute verbatim copies
|
7 |
+
of this license document, but changing it is not allowed.
|
8 |
+
|
9 |
+
Preamble
|
10 |
+
|
11 |
+
The GNU General Public License is a free, copyleft license for
|
12 |
+
software and other kinds of works.
|
13 |
+
|
14 |
+
The licenses for most software and other practical works are designed
|
15 |
+
to take away your freedom to share and change the works. By contrast,
|
16 |
+
the GNU General Public License is intended to guarantee your freedom to
|
17 |
+
share and change all versions of a program--to make sure it remains free
|
18 |
+
software for all its users. We, the Free Software Foundation, use the
|
19 |
+
GNU General Public License for most of our software; it applies also to
|
20 |
+
any other work released this way by its authors. You can apply it to
|
21 |
+
your programs, too.
|
22 |
+
|
23 |
+
When we speak of free software, we are referring to freedom, not
|
24 |
+
price. Our General Public Licenses are designed to make sure that you
|
25 |
+
have the freedom to distribute copies of free software (and charge for
|
26 |
+
them if you wish), that you receive source code or can get it if you
|
27 |
+
want it, that you can change the software or use pieces of it in new
|
28 |
+
free programs, and that you know you can do these things.
|
29 |
+
|
30 |
+
To protect your rights, we need to prevent others from denying you
|
31 |
+
these rights or asking you to surrender the rights. Therefore, you have
|
32 |
+
certain responsibilities if you distribute copies of the software, or if
|
33 |
+
you modify it: responsibilities to respect the freedom of others.
|
34 |
+
|
35 |
+
For example, if you distribute copies of such a program, whether
|
36 |
+
gratis or for a fee, you must pass on to the recipients the same
|
37 |
+
freedoms that you received. You must make sure that they, too, receive
|
38 |
+
or can get the source code. And you must show them these terms so they
|
39 |
+
know their rights.
|
40 |
+
|
41 |
+
Developers that use the GNU GPL protect your rights with two steps:
|
42 |
+
(1) assert copyright on the software, and (2) offer you this License
|
43 |
+
giving you legal permission to copy, distribute and/or modify it.
|
44 |
+
|
45 |
+
For the developers' and authors' protection, the GPL clearly explains
|
46 |
+
that there is no warranty for this free software. For both users' and
|
47 |
+
authors' sake, the GPL requires that modified versions be marked as
|
48 |
+
changed, so that their problems will not be attributed erroneously to
|
49 |
+
authors of previous versions.
|
50 |
+
|
51 |
+
Some devices are designed to deny users access to install or run
|
52 |
+
modified versions of the software inside them, although the manufacturer
|
53 |
+
can do so. This is fundamentally incompatible with the aim of
|
54 |
+
protecting users' freedom to change the software. The systematic
|
55 |
+
pattern of such abuse occurs in the area of products for individuals to
|
56 |
+
use, which is precisely where it is most unacceptable. Therefore, we
|
57 |
+
have designed this version of the GPL to prohibit the practice for those
|
58 |
+
products. If such problems arise substantially in other domains, we
|
59 |
+
stand ready to extend this provision to those domains in future versions
|
60 |
+
of the GPL, as needed to protect the freedom of users.
|
61 |
+
|
62 |
+
Finally, every program is threatened constantly by software patents.
|
63 |
+
States should not allow patents to restrict development and use of
|
64 |
+
software on general-purpose computers, but in those that do, we wish to
|
65 |
+
avoid the special danger that patents applied to a free program could
|
66 |
+
make it effectively proprietary. To prevent this, the GPL assures that
|
67 |
+
patents cannot be used to render the program non-free.
|
68 |
+
|
69 |
+
The precise terms and conditions for copying, distribution and
|
70 |
+
modification follow.
|
71 |
+
|
72 |
+
TERMS AND CONDITIONS
|
73 |
+
|
74 |
+
0. Definitions.
|
75 |
+
|
76 |
+
"This License" refers to version 3 of the GNU General Public License.
|
77 |
+
|
78 |
+
"Copyright" also means copyright-like laws that apply to other kinds of
|
79 |
+
works, such as semiconductor masks.
|
80 |
+
|
81 |
+
"The Program" refers to any copyrightable work licensed under this
|
82 |
+
License. Each licensee is addressed as "you". "Licensees" and
|
83 |
+
"recipients" may be individuals or organizations.
|
84 |
+
|
85 |
+
To "modify" a work means to copy from or adapt all or part of the work
|
86 |
+
in a fashion requiring copyright permission, other than the making of an
|
87 |
+
exact copy. The resulting work is called a "modified version" of the
|
88 |
+
earlier work or a work "based on" the earlier work.
|
89 |
+
|
90 |
+
A "covered work" means either the unmodified Program or a work based
|
91 |
+
on the Program.
|
92 |
+
|
93 |
+
To "propagate" a work means to do anything with it that, without
|
94 |
+
permission, would make you directly or secondarily liable for
|
95 |
+
infringement under applicable copyright law, except executing it on a
|
96 |
+
computer or modifying a private copy. Propagation includes copying,
|
97 |
+
distribution (with or without modification), making available to the
|
98 |
+
public, and in some countries other activities as well.
|
99 |
+
|
100 |
+
To "convey" a work means any kind of propagation that enables other
|
101 |
+
parties to make or receive copies. Mere interaction with a user through
|
102 |
+
a computer network, with no transfer of a copy, is not conveying.
|
103 |
+
|
104 |
+
An interactive user interface displays "Appropriate Legal Notices"
|
105 |
+
to the extent that it includes a convenient and prominently visible
|
106 |
+
feature that (1) displays an appropriate copyright notice, and (2)
|
107 |
+
tells the user that there is no warranty for the work (except to the
|
108 |
+
extent that warranties are provided), that licensees may convey the
|
109 |
+
work under this License, and how to view a copy of this License. If
|
110 |
+
the interface presents a list of user commands or options, such as a
|
111 |
+
menu, a prominent item in the list meets this criterion.
|
112 |
+
|
113 |
+
1. Source Code.
|
114 |
+
|
115 |
+
The "source code" for a work means the preferred form of the work
|
116 |
+
for making modifications to it. "Object code" means any non-source
|
117 |
+
form of a work.
|
118 |
+
|
119 |
+
A "Standard Interface" means an interface that either is an official
|
120 |
+
standard defined by a recognized standards body, or, in the case of
|
121 |
+
interfaces specified for a particular programming language, one that
|
122 |
+
is widely used among developers working in that language.
|
123 |
+
|
124 |
+
The "System Libraries" of an executable work include anything, other
|
125 |
+
than the work as a whole, that (a) is included in the normal form of
|
126 |
+
packaging a Major Component, but which is not part of that Major
|
127 |
+
Component, and (b) serves only to enable use of the work with that
|
128 |
+
Major Component, or to implement a Standard Interface for which an
|
129 |
+
implementation is available to the public in source code form. A
|
130 |
+
"Major Component", in this context, means a major essential component
|
131 |
+
(kernel, window system, and so on) of the specific operating system
|
132 |
+
(if any) on which the executable work runs, or a compiler used to
|
133 |
+
produce the work, or an object code interpreter used to run it.
|
134 |
+
|
135 |
+
The "Corresponding Source" for a work in object code form means all
|
136 |
+
the source code needed to generate, install, and (for an executable
|
137 |
+
work) run the object code and to modify the work, including scripts to
|
138 |
+
control those activities. However, it does not include the work's
|
139 |
+
System Libraries, or general-purpose tools or generally available free
|
140 |
+
programs which are used unmodified in performing those activities but
|
141 |
+
which are not part of the work. For example, Corresponding Source
|
142 |
+
includes interface definition files associated with source files for
|
143 |
+
the work, and the source code for shared libraries and dynamically
|
144 |
+
linked subprograms that the work is specifically designed to require,
|
145 |
+
such as by intimate data communication or control flow between those
|
146 |
+
subprograms and other parts of the work.
|
147 |
+
|
148 |
+
The Corresponding Source need not include anything that users
|
149 |
+
can regenerate automatically from other parts of the Corresponding
|
150 |
+
Source.
|
151 |
+
|
152 |
+
The Corresponding Source for a work in source code form is that
|
153 |
+
same work.
|
154 |
+
|
155 |
+
2. Basic Permissions.
|
156 |
+
|
157 |
+
All rights granted under this License are granted for the term of
|
158 |
+
copyright on the Program, and are irrevocable provided the stated
|
159 |
+
conditions are met. This License explicitly affirms your unlimited
|
160 |
+
permission to run the unmodified Program. The output from running a
|
161 |
+
covered work is covered by this License only if the output, given its
|
162 |
+
content, constitutes a covered work. This License acknowledges your
|
163 |
+
rights of fair use or other equivalent, as provided by copyright law.
|
164 |
+
|
165 |
+
You may make, run and propagate covered works that you do not
|
166 |
+
convey, without conditions so long as your license otherwise remains
|
167 |
+
in force. You may convey covered works to others for the sole purpose
|
168 |
+
of having them make modifications exclusively for you, or provide you
|
169 |
+
with facilities for running those works, provided that you comply with
|
170 |
+
the terms of this License in conveying all material for which you do
|
171 |
+
not control copyright. Those thus making or running the covered works
|
172 |
+
for you must do so exclusively on your behalf, under your direction
|
173 |
+
and control, on terms that prohibit them from making any copies of
|
174 |
+
your copyrighted material outside their relationship with you.
|
175 |
+
|
176 |
+
Conveying under any other circumstances is permitted solely under
|
177 |
+
the conditions stated below. Sublicensing is not allowed; section 10
|
178 |
+
makes it unnecessary.
|
179 |
+
|
180 |
+
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
|
181 |
+
|
182 |
+
No covered work shall be deemed part of an effective technological
|
183 |
+
measure under any applicable law fulfilling obligations under article
|
184 |
+
11 of the WIPO copyright treaty adopted on 20 December 1996, or
|
185 |
+
similar laws prohibiting or restricting circumvention of such
|
186 |
+
measures.
|
187 |
+
|
188 |
+
When you convey a covered work, you waive any legal power to forbid
|
189 |
+
circumvention of technological measures to the extent such circumvention
|
190 |
+
is effected by exercising rights under this License with respect to
|
191 |
+
the covered work, and you disclaim any intention to limit operation or
|
192 |
+
modification of the work as a means of enforcing, against the work's
|
193 |
+
users, your or third parties' legal rights to forbid circumvention of
|
194 |
+
technological measures.
|
195 |
+
|
196 |
+
4. Conveying Verbatim Copies.
|
197 |
+
|
198 |
+
You may convey verbatim copies of the Program's source code as you
|
199 |
+
receive it, in any medium, provided that you conspicuously and
|
200 |
+
appropriately publish on each copy an appropriate copyright notice;
|
201 |
+
keep intact all notices stating that this License and any
|
202 |
+
non-permissive terms added in accord with section 7 apply to the code;
|
203 |
+
keep intact all notices of the absence of any warranty; and give all
|
204 |
+
recipients a copy of this License along with the Program.
|
205 |
+
|
206 |
+
You may charge any price or no price for each copy that you convey,
|
207 |
+
and you may offer support or warranty protection for a fee.
|
208 |
+
|
209 |
+
5. Conveying Modified Source Versions.
|
210 |
+
|
211 |
+
You may convey a work based on the Program, or the modifications to
|
212 |
+
produce it from the Program, in the form of source code under the
|
213 |
+
terms of section 4, provided that you also meet all of these conditions:
|
214 |
+
|
215 |
+
a) The work must carry prominent notices stating that you modified
|
216 |
+
it, and giving a relevant date.
|
217 |
+
|
218 |
+
b) The work must carry prominent notices stating that it is
|
219 |
+
released under this License and any conditions added under section
|
220 |
+
7. This requirement modifies the requirement in section 4 to
|
221 |
+
"keep intact all notices".
|
222 |
+
|
223 |
+
c) You must license the entire work, as a whole, under this
|
224 |
+
License to anyone who comes into possession of a copy. This
|
225 |
+
License will therefore apply, along with any applicable section 7
|
226 |
+
additional terms, to the whole of the work, and all its parts,
|
227 |
+
regardless of how they are packaged. This License gives no
|
228 |
+
permission to license the work in any other way, but it does not
|
229 |
+
invalidate such permission if you have separately received it.
|
230 |
+
|
231 |
+
d) If the work has interactive user interfaces, each must display
|
232 |
+
Appropriate Legal Notices; however, if the Program has interactive
|
233 |
+
interfaces that do not display Appropriate Legal Notices, your
|
234 |
+
work need not make them do so.
|
235 |
+
|
236 |
+
A compilation of a covered work with other separate and independent
|
237 |
+
works, which are not by their nature extensions of the covered work,
|
238 |
+
and which are not combined with it such as to form a larger program,
|
239 |
+
in or on a volume of a storage or distribution medium, is called an
|
240 |
+
"aggregate" if the compilation and its resulting copyright are not
|
241 |
+
used to limit the access or legal rights of the compilation's users
|
242 |
+
beyond what the individual works permit. Inclusion of a covered work
|
243 |
+
in an aggregate does not cause this License to apply to the other
|
244 |
+
parts of the aggregate.
|
245 |
+
|
246 |
+
6. Conveying Non-Source Forms.
|
247 |
+
|
248 |
+
You may convey a covered work in object code form under the terms
|
249 |
+
of sections 4 and 5, provided that you also convey the
|
250 |
+
machine-readable Corresponding Source under the terms of this License,
|
251 |
+
in one of these ways:
|
252 |
+
|
253 |
+
a) Convey the object code in, or embodied in, a physical product
|
254 |
+
(including a physical distribution medium), accompanied by the
|
255 |
+
Corresponding Source fixed on a durable physical medium
|
256 |
+
customarily used for software interchange.
|
257 |
+
|
258 |
+
b) Convey the object code in, or embodied in, a physical product
|
259 |
+
(including a physical distribution medium), accompanied by a
|
260 |
+
written offer, valid for at least three years and valid for as
|
261 |
+
long as you offer spare parts or customer support for that product
|
262 |
+
model, to give anyone who possesses the object code either (1) a
|
263 |
+
copy of the Corresponding Source for all the software in the
|
264 |
+
product that is covered by this License, on a durable physical
|
265 |
+
medium customarily used for software interchange, for a price no
|
266 |
+
more than your reasonable cost of physically performing this
|
267 |
+
conveying of source, or (2) access to copy the
|
268 |
+
Corresponding Source from a network server at no charge.
|
269 |
+
|
270 |
+
c) Convey individual copies of the object code with a copy of the
|
271 |
+
written offer to provide the Corresponding Source. This
|
272 |
+
alternative is allowed only occasionally and noncommercially, and
|
273 |
+
only if you received the object code with such an offer, in accord
|
274 |
+
with subsection 6b.
|
275 |
+
|
276 |
+
d) Convey the object code by offering access from a designated
|
277 |
+
place (gratis or for a charge), and offer equivalent access to the
|
278 |
+
Corresponding Source in the same way through the same place at no
|
279 |
+
further charge. You need not require recipients to copy the
|
280 |
+
Corresponding Source along with the object code. If the place to
|
281 |
+
copy the object code is a network server, the Corresponding Source
|
282 |
+
may be on a different server (operated by you or a third party)
|
283 |
+
that supports equivalent copying facilities, provided you maintain
|
284 |
+
clear directions next to the object code saying where to find the
|
285 |
+
Corresponding Source. Regardless of what server hosts the
|
286 |
+
Corresponding Source, you remain obligated to ensure that it is
|
287 |
+
available for as long as needed to satisfy these requirements.
|
288 |
+
|
289 |
+
e) Convey the object code using peer-to-peer transmission, provided
|
290 |
+
you inform other peers where the object code and Corresponding
|
291 |
+
Source of the work are being offered to the general public at no
|
292 |
+
charge under subsection 6d.
|
293 |
+
|
294 |
+
A separable portion of the object code, whose source code is excluded
|
295 |
+
from the Corresponding Source as a System Library, need not be
|
296 |
+
included in conveying the object code work.
|
297 |
+
|
298 |
+
A "User Product" is either (1) a "consumer product", which means any
|
299 |
+
tangible personal property which is normally used for personal, family,
|
300 |
+
or household purposes, or (2) anything designed or sold for incorporation
|
301 |
+
into a dwelling. In determining whether a product is a consumer product,
|
302 |
+
doubtful cases shall be resolved in favor of coverage. For a particular
|
303 |
+
product received by a particular user, "normally used" refers to a
|
304 |
+
typical or common use of that class of product, regardless of the status
|
305 |
+
of the particular user or of the way in which the particular user
|
306 |
+
actually uses, or expects or is expected to use, the product. A product
|
307 |
+
is a consumer product regardless of whether the product has substantial
|
308 |
+
commercial, industrial or non-consumer uses, unless such uses represent
|
309 |
+
the only significant mode of use of the product.
|
310 |
+
|
311 |
+
"Installation Information" for a User Product means any methods,
|
312 |
+
procedures, authorization keys, or other information required to install
|
313 |
+
and execute modified versions of a covered work in that User Product from
|
314 |
+
a modified version of its Corresponding Source. The information must
|
315 |
+
suffice to ensure that the continued functioning of the modified object
|
316 |
+
code is in no case prevented or interfered with solely because
|
317 |
+
modification has been made.
|
318 |
+
|
319 |
+
If you convey an object code work under this section in, or with, or
|
320 |
+
specifically for use in, a User Product, and the conveying occurs as
|
321 |
+
part of a transaction in which the right of possession and use of the
|
322 |
+
User Product is transferred to the recipient in perpetuity or for a
|
323 |
+
fixed term (regardless of how the transaction is characterized), the
|
324 |
+
Corresponding Source conveyed under this section must be accompanied
|
325 |
+
by the Installation Information. But this requirement does not apply
|
326 |
+
if neither you nor any third party retains the ability to install
|
327 |
+
modified object code on the User Product (for example, the work has
|
328 |
+
been installed in ROM).
|
329 |
+
|
330 |
+
The requirement to provide Installation Information does not include a
|
331 |
+
requirement to continue to provide support service, warranty, or updates
|
332 |
+
for a work that has been modified or installed by the recipient, or for
|
333 |
+
the User Product in which it has been modified or installed. Access to a
|
334 |
+
network may be denied when the modification itself materially and
|
335 |
+
adversely affects the operation of the network or violates the rules and
|
336 |
+
protocols for communication across the network.
|
337 |
+
|
338 |
+
Corresponding Source conveyed, and Installation Information provided,
|
339 |
+
in accord with this section must be in a format that is publicly
|
340 |
+
documented (and with an implementation available to the public in
|
341 |
+
source code form), and must require no special password or key for
|
342 |
+
unpacking, reading or copying.
|
343 |
+
|
344 |
+
7. Additional Terms.
|
345 |
+
|
346 |
+
"Additional permissions" are terms that supplement the terms of this
|
347 |
+
License by making exceptions from one or more of its conditions.
|
348 |
+
Additional permissions that are applicable to the entire Program shall
|
349 |
+
be treated as though they were included in this License, to the extent
|
350 |
+
that they are valid under applicable law. If additional permissions
|
351 |
+
apply only to part of the Program, that part may be used separately
|
352 |
+
under those permissions, but the entire Program remains governed by
|
353 |
+
this License without regard to the additional permissions.
|
354 |
+
|
355 |
+
When you convey a copy of a covered work, you may at your option
|
356 |
+
remove any additional permissions from that copy, or from any part of
|
357 |
+
it. (Additional permissions may be written to require their own
|
358 |
+
removal in certain cases when you modify the work.) You may place
|
359 |
+
additional permissions on material, added by you to a covered work,
|
360 |
+
for which you have or can give appropriate copyright permission.
|
361 |
+
|
362 |
+
Notwithstanding any other provision of this License, for material you
|
363 |
+
add to a covered work, you may (if authorized by the copyright holders of
|
364 |
+
that material) supplement the terms of this License with terms:
|
365 |
+
|
366 |
+
a) Disclaiming warranty or limiting liability differently from the
|
367 |
+
terms of sections 15 and 16 of this License; or
|
368 |
+
|
369 |
+
b) Requiring preservation of specified reasonable legal notices or
|
370 |
+
author attributions in that material or in the Appropriate Legal
|
371 |
+
Notices displayed by works containing it; or
|
372 |
+
|
373 |
+
c) Prohibiting misrepresentation of the origin of that material, or
|
374 |
+
requiring that modified versions of such material be marked in
|
375 |
+
reasonable ways as different from the original version; or
|
376 |
+
|
377 |
+
d) Limiting the use for publicity purposes of names of licensors or
|
378 |
+
authors of the material; or
|
379 |
+
|
380 |
+
e) Declining to grant rights under trademark law for use of some
|
381 |
+
trade names, trademarks, or service marks; or
|
382 |
+
|
383 |
+
f) Requiring indemnification of licensors and authors of that
|
384 |
+
material by anyone who conveys the material (or modified versions of
|
385 |
+
it) with contractual assumptions of liability to the recipient, for
|
386 |
+
any liability that these contractual assumptions directly impose on
|
387 |
+
those licensors and authors.
|
388 |
+
|
389 |
+
All other non-permissive additional terms are considered "further
|
390 |
+
restrictions" within the meaning of section 10. If the Program as you
|
391 |
+
received it, or any part of it, contains a notice stating that it is
|
392 |
+
governed by this License along with a term that is a further
|
393 |
+
restriction, you may remove that term. If a license document contains
|
394 |
+
a further restriction but permits relicensing or conveying under this
|
395 |
+
License, you may add to a covered work material governed by the terms
|
396 |
+
of that license document, provided that the further restriction does
|
397 |
+
not survive such relicensing or conveying.
|
398 |
+
|
399 |
+
If you add terms to a covered work in accord with this section, you
|
400 |
+
must place, in the relevant source files, a statement of the
|
401 |
+
additional terms that apply to those files, or a notice indicating
|
402 |
+
where to find the applicable terms.
|
403 |
+
|
404 |
+
Additional terms, permissive or non-permissive, may be stated in the
|
405 |
+
form of a separately written license, or stated as exceptions;
|
406 |
+
the above requirements apply either way.
|
407 |
+
|
408 |
+
8. Termination.
|
409 |
+
|
410 |
+
You may not propagate or modify a covered work except as expressly
|
411 |
+
provided under this License. Any attempt otherwise to propagate or
|
412 |
+
modify it is void, and will automatically terminate your rights under
|
413 |
+
this License (including any patent licenses granted under the third
|
414 |
+
paragraph of section 11).
|
415 |
+
|
416 |
+
However, if you cease all violation of this License, then your
|
417 |
+
license from a particular copyright holder is reinstated (a)
|
418 |
+
provisionally, unless and until the copyright holder explicitly and
|
419 |
+
finally terminates your license, and (b) permanently, if the copyright
|
420 |
+
holder fails to notify you of the violation by some reasonable means
|
421 |
+
prior to 60 days after the cessation.
|
422 |
+
|
423 |
+
Moreover, your license from a particular copyright holder is
|
424 |
+
reinstated permanently if the copyright holder notifies you of the
|
425 |
+
violation by some reasonable means, this is the first time you have
|
426 |
+
received notice of violation of this License (for any work) from that
|
427 |
+
copyright holder, and you cure the violation prior to 30 days after
|
428 |
+
your receipt of the notice.
|
429 |
+
|
430 |
+
Termination of your rights under this section does not terminate the
|
431 |
+
licenses of parties who have received copies or rights from you under
|
432 |
+
this License. If your rights have been terminated and not permanently
|
433 |
+
reinstated, you do not qualify to receive new licenses for the same
|
434 |
+
material under section 10.
|
435 |
+
|
436 |
+
9. Acceptance Not Required for Having Copies.
|
437 |
+
|
438 |
+
You are not required to accept this License in order to receive or
|
439 |
+
run a copy of the Program. Ancillary propagation of a covered work
|
440 |
+
occurring solely as a consequence of using peer-to-peer transmission
|
441 |
+
to receive a copy likewise does not require acceptance. However,
|
442 |
+
nothing other than this License grants you permission to propagate or
|
443 |
+
modify any covered work. These actions infringe copyright if you do
|
444 |
+
not accept this License. Therefore, by modifying or propagating a
|
445 |
+
covered work, you indicate your acceptance of this License to do so.
|
446 |
+
|
447 |
+
10. Automatic Licensing of Downstream Recipients.
|
448 |
+
|
449 |
+
Each time you convey a covered work, the recipient automatically
|
450 |
+
receives a license from the original licensors, to run, modify and
|
451 |
+
propagate that work, subject to this License. You are not responsible
|
452 |
+
for enforcing compliance by third parties with this License.
|
453 |
+
|
454 |
+
An "entity transaction" is a transaction transferring control of an
|
455 |
+
organization, or substantially all assets of one, or subdividing an
|
456 |
+
organization, or merging organizations. If propagation of a covered
|
457 |
+
work results from an entity transaction, each party to that
|
458 |
+
transaction who receives a copy of the work also receives whatever
|
459 |
+
licenses to the work the party's predecessor in interest had or could
|
460 |
+
give under the previous paragraph, plus a right to possession of the
|
461 |
+
Corresponding Source of the work from the predecessor in interest, if
|
462 |
+
the predecessor has it or can get it with reasonable efforts.
|
463 |
+
|
464 |
+
You may not impose any further restrictions on the exercise of the
|
465 |
+
rights granted or affirmed under this License. For example, you may
|
466 |
+
not impose a license fee, royalty, or other charge for exercise of
|
467 |
+
rights granted under this License, and you may not initiate litigation
|
468 |
+
(including a cross-claim or counterclaim in a lawsuit) alleging that
|
469 |
+
any patent claim is infringed by making, using, selling, offering for
|
470 |
+
sale, or importing the Program or any portion of it.
|
471 |
+
|
472 |
+
11. Patents.
|
473 |
+
|
474 |
+
A "contributor" is a copyright holder who authorizes use under this
|
475 |
+
License of the Program or a work on which the Program is based. The
|
476 |
+
work thus licensed is called the contributor's "contributor version".
|
477 |
+
|
478 |
+
A contributor's "essential patent claims" are all patent claims
|
479 |
+
owned or controlled by the contributor, whether already acquired or
|
480 |
+
hereafter acquired, that would be infringed by some manner, permitted
|
481 |
+
by this License, of making, using, or selling its contributor version,
|
482 |
+
but do not include claims that would be infringed only as a
|
483 |
+
consequence of further modification of the contributor version. For
|
484 |
+
purposes of this definition, "control" includes the right to grant
|
485 |
+
patent sublicenses in a manner consistent with the requirements of
|
486 |
+
this License.
|
487 |
+
|
488 |
+
Each contributor grants you a non-exclusive, worldwide, royalty-free
|
489 |
+
patent license under the contributor's essential patent claims, to
|
490 |
+
make, use, sell, offer for sale, import and otherwise run, modify and
|
491 |
+
propagate the contents of its contributor version.
|
492 |
+
|
493 |
+
In the following three paragraphs, a "patent license" is any express
|
494 |
+
agreement or commitment, however denominated, not to enforce a patent
|
495 |
+
(such as an express permission to practice a patent or covenant not to
|
496 |
+
sue for patent infringement). To "grant" such a patent license to a
|
497 |
+
party means to make such an agreement or commitment not to enforce a
|
498 |
+
patent against the party.
|
499 |
+
|
500 |
+
If you convey a covered work, knowingly relying on a patent license,
|
501 |
+
and the Corresponding Source of the work is not available for anyone
|
502 |
+
to copy, free of charge and under the terms of this License, through a
|
503 |
+
publicly available network server or other readily accessible means,
|
504 |
+
then you must either (1) cause the Corresponding Source to be so
|
505 |
+
available, or (2) arrange to deprive yourself of the benefit of the
|
506 |
+
patent license for this particular work, or (3) arrange, in a manner
|
507 |
+
consistent with the requirements of this License, to extend the patent
|
508 |
+
license to downstream recipients. "Knowingly relying" means you have
|
509 |
+
actual knowledge that, but for the patent license, your conveying the
|
510 |
+
covered work in a country, or your recipient's use of the covered work
|
511 |
+
in a country, would infringe one or more identifiable patents in that
|
512 |
+
country that you have reason to believe are valid.
|
513 |
+
|
514 |
+
If, pursuant to or in connection with a single transaction or
|
515 |
+
arrangement, you convey, or propagate by procuring conveyance of, a
|
516 |
+
covered work, and grant a patent license to some of the parties
|
517 |
+
receiving the covered work authorizing them to use, propagate, modify
|
518 |
+
or convey a specific copy of the covered work, then the patent license
|
519 |
+
you grant is automatically extended to all recipients of the covered
|
520 |
+
work and works based on it.
|
521 |
+
|
522 |
+
A patent license is "discriminatory" if it does not include within
|
523 |
+
the scope of its coverage, prohibits the exercise of, or is
|
524 |
+
conditioned on the non-exercise of one or more of the rights that are
|
525 |
+
specifically granted under this License. You may not convey a covered
|
526 |
+
work if you are a party to an arrangement with a third party that is
|
527 |
+
in the business of distributing software, under which you make payment
|
528 |
+
to the third party based on the extent of your activity of conveying
|
529 |
+
the work, and under which the third party grants, to any of the
|
530 |
+
parties who would receive the covered work from you, a discriminatory
|
531 |
+
patent license (a) in connection with copies of the covered work
|
532 |
+
conveyed by you (or copies made from those copies), or (b) primarily
|
533 |
+
for and in connection with specific products or compilations that
|
534 |
+
contain the covered work, unless you entered into that arrangement,
|
535 |
+
or that patent license was granted, prior to 28 March 2007.
|
536 |
+
|
537 |
+
Nothing in this License shall be construed as excluding or limiting
|
538 |
+
any implied license or other defenses to infringement that may
|
539 |
+
otherwise be available to you under applicable patent law.
|
540 |
+
|
541 |
+
12. No Surrender of Others' Freedom.
|
542 |
+
|
543 |
+
If conditions are imposed on you (whether by court order, agreement or
|
544 |
+
otherwise) that contradict the conditions of this License, they do not
|
545 |
+
excuse you from the conditions of this License. If you cannot convey a
|
546 |
+
covered work so as to satisfy simultaneously your obligations under this
|
547 |
+
License and any other pertinent obligations, then as a consequence you may
|
548 |
+
not convey it at all. For example, if you agree to terms that obligate you
|
549 |
+
to collect a royalty for further conveying from those to whom you convey
|
550 |
+
the Program, the only way you could satisfy both those terms and this
|
551 |
+
License would be to refrain entirely from conveying the Program.
|
552 |
+
|
553 |
+
13. Use with the GNU Affero General Public License.
|
554 |
+
|
555 |
+
Notwithstanding any other provision of this License, you have
|
556 |
+
permission to link or combine any covered work with a work licensed
|
557 |
+
under version 3 of the GNU Affero General Public License into a single
|
558 |
+
combined work, and to convey the resulting work. The terms of this
|
559 |
+
License will continue to apply to the part which is the covered work,
|
560 |
+
but the special requirements of the GNU Affero General Public License,
|
561 |
+
section 13, concerning interaction through a network will apply to the
|
562 |
+
combination as such.
|
563 |
+
|
564 |
+
14. Revised Versions of this License.
|
565 |
+
|
566 |
+
The Free Software Foundation may publish revised and/or new versions of
|
567 |
+
the GNU General Public License from time to time. Such new versions will
|
568 |
+
be similar in spirit to the present version, but may differ in detail to
|
569 |
+
address new problems or concerns.
|
570 |
+
|
571 |
+
Each version is given a distinguishing version number. If the
|
572 |
+
Program specifies that a certain numbered version of the GNU General
|
573 |
+
Public License "or any later version" applies to it, you have the
|
574 |
+
option of following the terms and conditions either of that numbered
|
575 |
+
version or of any later version published by the Free Software
|
576 |
+
Foundation. If the Program does not specify a version number of the
|
577 |
+
GNU General Public License, you may choose any version ever published
|
578 |
+
by the Free Software Foundation.
|
579 |
+
|
580 |
+
If the Program specifies that a proxy can decide which future
|
581 |
+
versions of the GNU General Public License can be used, that proxy's
|
582 |
+
public statement of acceptance of a version permanently authorizes you
|
583 |
+
to choose that version for the Program.
|
584 |
+
|
585 |
+
Later license versions may give you additional or different
|
586 |
+
permissions. However, no additional obligations are imposed on any
|
587 |
+
author or copyright holder as a result of your choosing to follow a
|
588 |
+
later version.
|
589 |
+
|
590 |
+
15. Disclaimer of Warranty.
|
591 |
+
|
592 |
+
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
|
593 |
+
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
|
594 |
+
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
|
595 |
+
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
|
596 |
+
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
597 |
+
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
|
598 |
+
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
|
599 |
+
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
600 |
+
|
601 |
+
16. Limitation of Liability.
|
602 |
+
|
603 |
+
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
604 |
+
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
|
605 |
+
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
|
606 |
+
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
|
607 |
+
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
|
608 |
+
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
|
609 |
+
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
|
610 |
+
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
|
611 |
+
SUCH DAMAGES.
|
612 |
+
|
613 |
+
17. Interpretation of Sections 15 and 16.
|
614 |
+
|
615 |
+
If the disclaimer of warranty and limitation of liability provided
|
616 |
+
above cannot be given local legal effect according to their terms,
|
617 |
+
reviewing courts shall apply local law that most closely approximates
|
618 |
+
an absolute waiver of all civil liability in connection with the
|
619 |
+
Program, unless a warranty or assumption of liability accompanies a
|
620 |
+
copy of the Program in return for a fee.
|
621 |
+
|
622 |
+
END OF TERMS AND CONDITIONS
|
623 |
+
|
624 |
+
How to Apply These Terms to Your New Programs
|
625 |
+
|
626 |
+
If you develop a new program, and you want it to be of the greatest
|
627 |
+
possible use to the public, the best way to achieve this is to make it
|
628 |
+
free software which everyone can redistribute and change under these terms.
|
629 |
+
|
630 |
+
To do so, attach the following notices to the program. It is safest
|
631 |
+
to attach them to the start of each source file to most effectively
|
632 |
+
state the exclusion of warranty; and each file should have at least
|
633 |
+
the "copyright" line and a pointer to where the full notice is found.
|
634 |
+
|
635 |
+
<one line to give the program's name and a brief idea of what it does.>
|
636 |
+
Copyright (C) <year> <name of author>
|
637 |
+
|
638 |
+
This program is free software: you can redistribute it and/or modify
|
639 |
+
it under the terms of the GNU General Public License as published by
|
640 |
+
the Free Software Foundation, either version 3 of the License, or
|
641 |
+
(at your option) any later version.
|
642 |
+
|
643 |
+
This program is distributed in the hope that it will be useful,
|
644 |
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
645 |
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
646 |
+
GNU General Public License for more details.
|
647 |
+
|
648 |
+
You should have received a copy of the GNU General Public License
|
649 |
+
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
650 |
+
|
651 |
+
Also add information on how to contact you by electronic and paper mail.
|
652 |
+
|
653 |
+
If the program does terminal interaction, make it output a short
|
654 |
+
notice like this when it starts in an interactive mode:
|
655 |
+
|
656 |
+
{project} Copyright (C) {year} {fullname}
|
657 |
+
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
658 |
+
This is free software, and you are welcome to redistribute it
|
659 |
+
under certain conditions; type `show c' for details.
|
660 |
+
|
661 |
+
The hypothetical commands `show w' and `show c' should show the appropriate
|
662 |
+
parts of the General Public License. Of course, your program's commands
|
663 |
+
might be different; for a GUI interface, you would use an "about box".
|
664 |
+
|
665 |
+
You should also get your employer (if you work as a programmer) or school,
|
666 |
+
if any, to sign a "copyright disclaimer" for the program, if necessary.
|
667 |
+
For more information on this, and how to apply and follow the GNU GPL, see
|
668 |
+
<http://www.gnu.org/licenses/>.
|
669 |
+
|
670 |
+
The GNU General Public License does not permit incorporating your program
|
671 |
+
into proprietary programs. If your program is a subroutine library, you
|
672 |
+
may consider it more useful to permit linking proprietary applications with
|
673 |
+
the library. If this is what you want to do, use the GNU Lesser General
|
674 |
+
Public License instead of this License. But first, please read
|
675 |
+
<http://www.gnu.org/philosophy/why-not-lgpl.html>.
|
README.md
ADDED
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Scribd-dl ![nodedotjs](https://img.shields.io/badge/node.js-v21.6.1-339933.svg?style=flat&logo=nodedotjs&logoColor=white) ![npm](https://img.shields.io/badge/npm-10.2.4-dc2c35.svg?style=flat&logo=npm&logoColor=white)
|
2 |
+
[![License: GPLv3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)
|
3 |
+
|
4 |
+
## About ##
|
5 |
+
Scribd-dl helps downloading documents on [scribd.com](https://www.scribd.com/) without membership / sign-in.
|
6 |
+
It takes snapshots of the pages and generate a .pdf file.
|
7 |
+
|
8 |
+
Friendly reminder:
|
9 |
+
The .pdf generated is formed by images, so NO text can be copied directly from it.
|
10 |
+
|
11 |
+
## Prerequisites ##
|
12 |
+
Please make sure the following tool(s) / application(s) are properly setup and ready to use:
|
13 |
+
- Node.js ([https://nodejs.org/](https://nodejs.org/))
|
14 |
+
|
15 |
+
## Setup ##
|
16 |
+
1. Download repository
|
17 |
+
```console
|
18 |
+
git clone https://github.com/rkwyu/scridb-dl
|
19 |
+
```
|
20 |
+
2. Install dependencies
|
21 |
+
```console
|
22 |
+
cd ./scridb-dl
|
23 |
+
npm install
|
24 |
+
```
|
25 |
+
|
26 |
+
## Configuration ##
|
27 |
+
Output directory can be configured in `config.ini`
|
28 |
+
```ini
|
29 |
+
[DIRECTORY]
|
30 |
+
output=output
|
31 |
+
```
|
32 |
+
|
33 |
+
## Usage (CLI) ##
|
34 |
+
```console
|
35 |
+
Usage: node run.js [URL]
|
36 |
+
```
|
37 |
+
|
38 |
+
#### Example: Download 《The Minds of Billy Milligan》 ####
|
39 |
+
```console
|
40 |
+
node run.js https://www.scribd.com/embeds/249398282/content
|
41 |
+
```
|
42 |
+
|
43 |
+
## License ##
|
44 |
+
[GNU GPL v3.0](LICENSE.md)
|
config.ini
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
[DIRECTORY]
|
2 |
+
output=output
|
package-lock.json
ADDED
@@ -0,0 +1,2301 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "scribd-dl",
|
3 |
+
"version": "1.0.0",
|
4 |
+
"lockfileVersion": 3,
|
5 |
+
"requires": true,
|
6 |
+
"packages": {
|
7 |
+
"": {
|
8 |
+
"name": "scribd-dl",
|
9 |
+
"version": "1.0.0",
|
10 |
+
"license": "GPL-3.0-or-later",
|
11 |
+
"dependencies": {
|
12 |
+
"cli-progress": "^3.12.0",
|
13 |
+
"ini": "^4.1.2",
|
14 |
+
"pdfkit": "^0.15.0",
|
15 |
+
"puppeteer": "^19.11.1",
|
16 |
+
"sharp": "^0.33.3"
|
17 |
+
}
|
18 |
+
},
|
19 |
+
"node_modules/@babel/code-frame": {
|
20 |
+
"version": "7.24.2",
|
21 |
+
"resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.24.2.tgz",
|
22 |
+
"integrity": "sha512-y5+tLQyV8pg3fsiln67BVLD1P13Eg4lh5RW9mF0zUuvLrv9uIQ4MCL+CRT+FTsBlBjcIan6PGsLcBN0m3ClUyQ==",
|
23 |
+
"dependencies": {
|
24 |
+
"@babel/highlight": "^7.24.2",
|
25 |
+
"picocolors": "^1.0.0"
|
26 |
+
},
|
27 |
+
"engines": {
|
28 |
+
"node": ">=6.9.0"
|
29 |
+
}
|
30 |
+
},
|
31 |
+
"node_modules/@babel/helper-validator-identifier": {
|
32 |
+
"version": "7.22.20",
|
33 |
+
"resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.20.tgz",
|
34 |
+
"integrity": "sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A==",
|
35 |
+
"engines": {
|
36 |
+
"node": ">=6.9.0"
|
37 |
+
}
|
38 |
+
},
|
39 |
+
"node_modules/@babel/highlight": {
|
40 |
+
"version": "7.24.2",
|
41 |
+
"resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.24.2.tgz",
|
42 |
+
"integrity": "sha512-Yac1ao4flkTxTteCDZLEvdxg2fZfz1v8M4QpaGypq/WPDqg3ijHYbDfs+LG5hvzSoqaSZ9/Z9lKSP3CjZjv+pA==",
|
43 |
+
"dependencies": {
|
44 |
+
"@babel/helper-validator-identifier": "^7.22.20",
|
45 |
+
"chalk": "^2.4.2",
|
46 |
+
"js-tokens": "^4.0.0",
|
47 |
+
"picocolors": "^1.0.0"
|
48 |
+
},
|
49 |
+
"engines": {
|
50 |
+
"node": ">=6.9.0"
|
51 |
+
}
|
52 |
+
},
|
53 |
+
"node_modules/@emnapi/runtime": {
|
54 |
+
"version": "1.1.1",
|
55 |
+
"resolved": "https://registry.npmjs.org/@emnapi/runtime/-/runtime-1.1.1.tgz",
|
56 |
+
"integrity": "sha512-3bfqkzuR1KLx57nZfjr2NLnFOobvyS0aTszaEGCGqmYMVDRaGvgIZbjGSV/MHSSmLgQ/b9JFHQ5xm5WRZYd+XQ==",
|
57 |
+
"optional": true,
|
58 |
+
"dependencies": {
|
59 |
+
"tslib": "^2.4.0"
|
60 |
+
}
|
61 |
+
},
|
62 |
+
"node_modules/@img/sharp-darwin-arm64": {
|
63 |
+
"version": "0.33.3",
|
64 |
+
"resolved": "https://registry.npmjs.org/@img/sharp-darwin-arm64/-/sharp-darwin-arm64-0.33.3.tgz",
|
65 |
+
"integrity": "sha512-FaNiGX1MrOuJ3hxuNzWgsT/mg5OHG/Izh59WW2mk1UwYHUwtfbhk5QNKYZgxf0pLOhx9ctGiGa2OykD71vOnSw==",
|
66 |
+
"cpu": [
|
67 |
+
"arm64"
|
68 |
+
],
|
69 |
+
"optional": true,
|
70 |
+
"os": [
|
71 |
+
"darwin"
|
72 |
+
],
|
73 |
+
"engines": {
|
74 |
+
"glibc": ">=2.26",
|
75 |
+
"node": "^18.17.0 || ^20.3.0 || >=21.0.0",
|
76 |
+
"npm": ">=9.6.5",
|
77 |
+
"pnpm": ">=7.1.0",
|
78 |
+
"yarn": ">=3.2.0"
|
79 |
+
},
|
80 |
+
"funding": {
|
81 |
+
"url": "https://opencollective.com/libvips"
|
82 |
+
},
|
83 |
+
"optionalDependencies": {
|
84 |
+
"@img/sharp-libvips-darwin-arm64": "1.0.2"
|
85 |
+
}
|
86 |
+
},
|
87 |
+
"node_modules/@img/sharp-darwin-x64": {
|
88 |
+
"version": "0.33.3",
|
89 |
+
"resolved": "https://registry.npmjs.org/@img/sharp-darwin-x64/-/sharp-darwin-x64-0.33.3.tgz",
|
90 |
+
"integrity": "sha512-2QeSl7QDK9ru//YBT4sQkoq7L0EAJZA3rtV+v9p8xTKl4U1bUqTIaCnoC7Ctx2kCjQgwFXDasOtPTCT8eCTXvw==",
|
91 |
+
"cpu": [
|
92 |
+
"x64"
|
93 |
+
],
|
94 |
+
"optional": true,
|
95 |
+
"os": [
|
96 |
+
"darwin"
|
97 |
+
],
|
98 |
+
"engines": {
|
99 |
+
"glibc": ">=2.26",
|
100 |
+
"node": "^18.17.0 || ^20.3.0 || >=21.0.0",
|
101 |
+
"npm": ">=9.6.5",
|
102 |
+
"pnpm": ">=7.1.0",
|
103 |
+
"yarn": ">=3.2.0"
|
104 |
+
},
|
105 |
+
"funding": {
|
106 |
+
"url": "https://opencollective.com/libvips"
|
107 |
+
},
|
108 |
+
"optionalDependencies": {
|
109 |
+
"@img/sharp-libvips-darwin-x64": "1.0.2"
|
110 |
+
}
|
111 |
+
},
|
112 |
+
"node_modules/@img/sharp-libvips-darwin-arm64": {
|
113 |
+
"version": "1.0.2",
|
114 |
+
"resolved": "https://registry.npmjs.org/@img/sharp-libvips-darwin-arm64/-/sharp-libvips-darwin-arm64-1.0.2.tgz",
|
115 |
+
"integrity": "sha512-tcK/41Rq8IKlSaKRCCAuuY3lDJjQnYIW1UXU1kxcEKrfL8WR7N6+rzNoOxoQRJWTAECuKwgAHnPvqXGN8XfkHA==",
|
116 |
+
"cpu": [
|
117 |
+
"arm64"
|
118 |
+
],
|
119 |
+
"optional": true,
|
120 |
+
"os": [
|
121 |
+
"darwin"
|
122 |
+
],
|
123 |
+
"engines": {
|
124 |
+
"macos": ">=11",
|
125 |
+
"npm": ">=9.6.5",
|
126 |
+
"pnpm": ">=7.1.0",
|
127 |
+
"yarn": ">=3.2.0"
|
128 |
+
},
|
129 |
+
"funding": {
|
130 |
+
"url": "https://opencollective.com/libvips"
|
131 |
+
}
|
132 |
+
},
|
133 |
+
"node_modules/@img/sharp-libvips-darwin-x64": {
|
134 |
+
"version": "1.0.2",
|
135 |
+
"resolved": "https://registry.npmjs.org/@img/sharp-libvips-darwin-x64/-/sharp-libvips-darwin-x64-1.0.2.tgz",
|
136 |
+
"integrity": "sha512-Ofw+7oaWa0HiiMiKWqqaZbaYV3/UGL2wAPeLuJTx+9cXpCRdvQhCLG0IH8YGwM0yGWGLpsF4Su9vM1o6aer+Fw==",
|
137 |
+
"cpu": [
|
138 |
+
"x64"
|
139 |
+
],
|
140 |
+
"optional": true,
|
141 |
+
"os": [
|
142 |
+
"darwin"
|
143 |
+
],
|
144 |
+
"engines": {
|
145 |
+
"macos": ">=10.13",
|
146 |
+
"npm": ">=9.6.5",
|
147 |
+
"pnpm": ">=7.1.0",
|
148 |
+
"yarn": ">=3.2.0"
|
149 |
+
},
|
150 |
+
"funding": {
|
151 |
+
"url": "https://opencollective.com/libvips"
|
152 |
+
}
|
153 |
+
},
|
154 |
+
"node_modules/@img/sharp-libvips-linux-arm": {
|
155 |
+
"version": "1.0.2",
|
156 |
+
"resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-arm/-/sharp-libvips-linux-arm-1.0.2.tgz",
|
157 |
+
"integrity": "sha512-iLWCvrKgeFoglQxdEwzu1eQV04o8YeYGFXtfWU26Zr2wWT3q3MTzC+QTCO3ZQfWd3doKHT4Pm2kRmLbupT+sZw==",
|
158 |
+
"cpu": [
|
159 |
+
"arm"
|
160 |
+
],
|
161 |
+
"optional": true,
|
162 |
+
"os": [
|
163 |
+
"linux"
|
164 |
+
],
|
165 |
+
"engines": {
|
166 |
+
"glibc": ">=2.28",
|
167 |
+
"npm": ">=9.6.5",
|
168 |
+
"pnpm": ">=7.1.0",
|
169 |
+
"yarn": ">=3.2.0"
|
170 |
+
},
|
171 |
+
"funding": {
|
172 |
+
"url": "https://opencollective.com/libvips"
|
173 |
+
}
|
174 |
+
},
|
175 |
+
"node_modules/@img/sharp-libvips-linux-arm64": {
|
176 |
+
"version": "1.0.2",
|
177 |
+
"resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-arm64/-/sharp-libvips-linux-arm64-1.0.2.tgz",
|
178 |
+
"integrity": "sha512-x7kCt3N00ofFmmkkdshwj3vGPCnmiDh7Gwnd4nUwZln2YjqPxV1NlTyZOvoDWdKQVDL911487HOueBvrpflagw==",
|
179 |
+
"cpu": [
|
180 |
+
"arm64"
|
181 |
+
],
|
182 |
+
"optional": true,
|
183 |
+
"os": [
|
184 |
+
"linux"
|
185 |
+
],
|
186 |
+
"engines": {
|
187 |
+
"glibc": ">=2.26",
|
188 |
+
"npm": ">=9.6.5",
|
189 |
+
"pnpm": ">=7.1.0",
|
190 |
+
"yarn": ">=3.2.0"
|
191 |
+
},
|
192 |
+
"funding": {
|
193 |
+
"url": "https://opencollective.com/libvips"
|
194 |
+
}
|
195 |
+
},
|
196 |
+
"node_modules/@img/sharp-libvips-linux-s390x": {
|
197 |
+
"version": "1.0.2",
|
198 |
+
"resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-s390x/-/sharp-libvips-linux-s390x-1.0.2.tgz",
|
199 |
+
"integrity": "sha512-cmhQ1J4qVhfmS6szYW7RT+gLJq9dH2i4maq+qyXayUSn9/3iY2ZeWpbAgSpSVbV2E1JUL2Gg7pwnYQ1h8rQIog==",
|
200 |
+
"cpu": [
|
201 |
+
"s390x"
|
202 |
+
],
|
203 |
+
"optional": true,
|
204 |
+
"os": [
|
205 |
+
"linux"
|
206 |
+
],
|
207 |
+
"engines": {
|
208 |
+
"glibc": ">=2.28",
|
209 |
+
"npm": ">=9.6.5",
|
210 |
+
"pnpm": ">=7.1.0",
|
211 |
+
"yarn": ">=3.2.0"
|
212 |
+
},
|
213 |
+
"funding": {
|
214 |
+
"url": "https://opencollective.com/libvips"
|
215 |
+
}
|
216 |
+
},
|
217 |
+
"node_modules/@img/sharp-libvips-linux-x64": {
|
218 |
+
"version": "1.0.2",
|
219 |
+
"resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-x64/-/sharp-libvips-linux-x64-1.0.2.tgz",
|
220 |
+
"integrity": "sha512-E441q4Qdb+7yuyiADVi5J+44x8ctlrqn8XgkDTwr4qPJzWkaHwD489iZ4nGDgcuya4iMN3ULV6NwbhRZJ9Z7SQ==",
|
221 |
+
"cpu": [
|
222 |
+
"x64"
|
223 |
+
],
|
224 |
+
"optional": true,
|
225 |
+
"os": [
|
226 |
+
"linux"
|
227 |
+
],
|
228 |
+
"engines": {
|
229 |
+
"glibc": ">=2.26",
|
230 |
+
"npm": ">=9.6.5",
|
231 |
+
"pnpm": ">=7.1.0",
|
232 |
+
"yarn": ">=3.2.0"
|
233 |
+
},
|
234 |
+
"funding": {
|
235 |
+
"url": "https://opencollective.com/libvips"
|
236 |
+
}
|
237 |
+
},
|
238 |
+
"node_modules/@img/sharp-libvips-linuxmusl-arm64": {
|
239 |
+
"version": "1.0.2",
|
240 |
+
"resolved": "https://registry.npmjs.org/@img/sharp-libvips-linuxmusl-arm64/-/sharp-libvips-linuxmusl-arm64-1.0.2.tgz",
|
241 |
+
"integrity": "sha512-3CAkndNpYUrlDqkCM5qhksfE+qSIREVpyoeHIU6jd48SJZViAmznoQQLAv4hVXF7xyUB9zf+G++e2v1ABjCbEQ==",
|
242 |
+
"cpu": [
|
243 |
+
"arm64"
|
244 |
+
],
|
245 |
+
"optional": true,
|
246 |
+
"os": [
|
247 |
+
"linux"
|
248 |
+
],
|
249 |
+
"engines": {
|
250 |
+
"musl": ">=1.2.2",
|
251 |
+
"npm": ">=9.6.5",
|
252 |
+
"pnpm": ">=7.1.0",
|
253 |
+
"yarn": ">=3.2.0"
|
254 |
+
},
|
255 |
+
"funding": {
|
256 |
+
"url": "https://opencollective.com/libvips"
|
257 |
+
}
|
258 |
+
},
|
259 |
+
"node_modules/@img/sharp-libvips-linuxmusl-x64": {
|
260 |
+
"version": "1.0.2",
|
261 |
+
"resolved": "https://registry.npmjs.org/@img/sharp-libvips-linuxmusl-x64/-/sharp-libvips-linuxmusl-x64-1.0.2.tgz",
|
262 |
+
"integrity": "sha512-VI94Q6khIHqHWNOh6LLdm9s2Ry4zdjWJwH56WoiJU7NTeDwyApdZZ8c+SADC8OH98KWNQXnE01UdJ9CSfZvwZw==",
|
263 |
+
"cpu": [
|
264 |
+
"x64"
|
265 |
+
],
|
266 |
+
"optional": true,
|
267 |
+
"os": [
|
268 |
+
"linux"
|
269 |
+
],
|
270 |
+
"engines": {
|
271 |
+
"musl": ">=1.2.2",
|
272 |
+
"npm": ">=9.6.5",
|
273 |
+
"pnpm": ">=7.1.0",
|
274 |
+
"yarn": ">=3.2.0"
|
275 |
+
},
|
276 |
+
"funding": {
|
277 |
+
"url": "https://opencollective.com/libvips"
|
278 |
+
}
|
279 |
+
},
|
280 |
+
"node_modules/@img/sharp-linux-arm": {
|
281 |
+
"version": "0.33.3",
|
282 |
+
"resolved": "https://registry.npmjs.org/@img/sharp-linux-arm/-/sharp-linux-arm-0.33.3.tgz",
|
283 |
+
"integrity": "sha512-Q7Ee3fFSC9P7vUSqVEF0zccJsZ8GiiCJYGWDdhEjdlOeS9/jdkyJ6sUSPj+bL8VuOYFSbofrW0t/86ceVhx32w==",
|
284 |
+
"cpu": [
|
285 |
+
"arm"
|
286 |
+
],
|
287 |
+
"optional": true,
|
288 |
+
"os": [
|
289 |
+
"linux"
|
290 |
+
],
|
291 |
+
"engines": {
|
292 |
+
"glibc": ">=2.28",
|
293 |
+
"node": "^18.17.0 || ^20.3.0 || >=21.0.0",
|
294 |
+
"npm": ">=9.6.5",
|
295 |
+
"pnpm": ">=7.1.0",
|
296 |
+
"yarn": ">=3.2.0"
|
297 |
+
},
|
298 |
+
"funding": {
|
299 |
+
"url": "https://opencollective.com/libvips"
|
300 |
+
},
|
301 |
+
"optionalDependencies": {
|
302 |
+
"@img/sharp-libvips-linux-arm": "1.0.2"
|
303 |
+
}
|
304 |
+
},
|
305 |
+
"node_modules/@img/sharp-linux-arm64": {
|
306 |
+
"version": "0.33.3",
|
307 |
+
"resolved": "https://registry.npmjs.org/@img/sharp-linux-arm64/-/sharp-linux-arm64-0.33.3.tgz",
|
308 |
+
"integrity": "sha512-Zf+sF1jHZJKA6Gor9hoYG2ljr4wo9cY4twaxgFDvlG0Xz9V7sinsPp8pFd1XtlhTzYo0IhDbl3rK7P6MzHpnYA==",
|
309 |
+
"cpu": [
|
310 |
+
"arm64"
|
311 |
+
],
|
312 |
+
"optional": true,
|
313 |
+
"os": [
|
314 |
+
"linux"
|
315 |
+
],
|
316 |
+
"engines": {
|
317 |
+
"glibc": ">=2.26",
|
318 |
+
"node": "^18.17.0 || ^20.3.0 || >=21.0.0",
|
319 |
+
"npm": ">=9.6.5",
|
320 |
+
"pnpm": ">=7.1.0",
|
321 |
+
"yarn": ">=3.2.0"
|
322 |
+
},
|
323 |
+
"funding": {
|
324 |
+
"url": "https://opencollective.com/libvips"
|
325 |
+
},
|
326 |
+
"optionalDependencies": {
|
327 |
+
"@img/sharp-libvips-linux-arm64": "1.0.2"
|
328 |
+
}
|
329 |
+
},
|
330 |
+
"node_modules/@img/sharp-linux-s390x": {
|
331 |
+
"version": "0.33.3",
|
332 |
+
"resolved": "https://registry.npmjs.org/@img/sharp-linux-s390x/-/sharp-linux-s390x-0.33.3.tgz",
|
333 |
+
"integrity": "sha512-vFk441DKRFepjhTEH20oBlFrHcLjPfI8B0pMIxGm3+yilKyYeHEVvrZhYFdqIseSclIqbQ3SnZMwEMWonY5XFA==",
|
334 |
+
"cpu": [
|
335 |
+
"s390x"
|
336 |
+
],
|
337 |
+
"optional": true,
|
338 |
+
"os": [
|
339 |
+
"linux"
|
340 |
+
],
|
341 |
+
"engines": {
|
342 |
+
"glibc": ">=2.28",
|
343 |
+
"node": "^18.17.0 || ^20.3.0 || >=21.0.0",
|
344 |
+
"npm": ">=9.6.5",
|
345 |
+
"pnpm": ">=7.1.0",
|
346 |
+
"yarn": ">=3.2.0"
|
347 |
+
},
|
348 |
+
"funding": {
|
349 |
+
"url": "https://opencollective.com/libvips"
|
350 |
+
},
|
351 |
+
"optionalDependencies": {
|
352 |
+
"@img/sharp-libvips-linux-s390x": "1.0.2"
|
353 |
+
}
|
354 |
+
},
|
355 |
+
"node_modules/@img/sharp-linux-x64": {
|
356 |
+
"version": "0.33.3",
|
357 |
+
"resolved": "https://registry.npmjs.org/@img/sharp-linux-x64/-/sharp-linux-x64-0.33.3.tgz",
|
358 |
+
"integrity": "sha512-Q4I++herIJxJi+qmbySd072oDPRkCg/SClLEIDh5IL9h1zjhqjv82H0Seupd+q2m0yOfD+/fJnjSoDFtKiHu2g==",
|
359 |
+
"cpu": [
|
360 |
+
"x64"
|
361 |
+
],
|
362 |
+
"optional": true,
|
363 |
+
"os": [
|
364 |
+
"linux"
|
365 |
+
],
|
366 |
+
"engines": {
|
367 |
+
"glibc": ">=2.26",
|
368 |
+
"node": "^18.17.0 || ^20.3.0 || >=21.0.0",
|
369 |
+
"npm": ">=9.6.5",
|
370 |
+
"pnpm": ">=7.1.0",
|
371 |
+
"yarn": ">=3.2.0"
|
372 |
+
},
|
373 |
+
"funding": {
|
374 |
+
"url": "https://opencollective.com/libvips"
|
375 |
+
},
|
376 |
+
"optionalDependencies": {
|
377 |
+
"@img/sharp-libvips-linux-x64": "1.0.2"
|
378 |
+
}
|
379 |
+
},
|
380 |
+
"node_modules/@img/sharp-linuxmusl-arm64": {
|
381 |
+
"version": "0.33.3",
|
382 |
+
"resolved": "https://registry.npmjs.org/@img/sharp-linuxmusl-arm64/-/sharp-linuxmusl-arm64-0.33.3.tgz",
|
383 |
+
"integrity": "sha512-qnDccehRDXadhM9PM5hLvcPRYqyFCBN31kq+ErBSZtZlsAc1U4Z85xf/RXv1qolkdu+ibw64fUDaRdktxTNP9A==",
|
384 |
+
"cpu": [
|
385 |
+
"arm64"
|
386 |
+
],
|
387 |
+
"optional": true,
|
388 |
+
"os": [
|
389 |
+
"linux"
|
390 |
+
],
|
391 |
+
"engines": {
|
392 |
+
"musl": ">=1.2.2",
|
393 |
+
"node": "^18.17.0 || ^20.3.0 || >=21.0.0",
|
394 |
+
"npm": ">=9.6.5",
|
395 |
+
"pnpm": ">=7.1.0",
|
396 |
+
"yarn": ">=3.2.0"
|
397 |
+
},
|
398 |
+
"funding": {
|
399 |
+
"url": "https://opencollective.com/libvips"
|
400 |
+
},
|
401 |
+
"optionalDependencies": {
|
402 |
+
"@img/sharp-libvips-linuxmusl-arm64": "1.0.2"
|
403 |
+
}
|
404 |
+
},
|
405 |
+
"node_modules/@img/sharp-linuxmusl-x64": {
|
406 |
+
"version": "0.33.3",
|
407 |
+
"resolved": "https://registry.npmjs.org/@img/sharp-linuxmusl-x64/-/sharp-linuxmusl-x64-0.33.3.tgz",
|
408 |
+
"integrity": "sha512-Jhchim8kHWIU/GZ+9poHMWRcefeaxFIs9EBqf9KtcC14Ojk6qua7ghKiPs0sbeLbLj/2IGBtDcxHyjCdYWkk2w==",
|
409 |
+
"cpu": [
|
410 |
+
"x64"
|
411 |
+
],
|
412 |
+
"optional": true,
|
413 |
+
"os": [
|
414 |
+
"linux"
|
415 |
+
],
|
416 |
+
"engines": {
|
417 |
+
"musl": ">=1.2.2",
|
418 |
+
"node": "^18.17.0 || ^20.3.0 || >=21.0.0",
|
419 |
+
"npm": ">=9.6.5",
|
420 |
+
"pnpm": ">=7.1.0",
|
421 |
+
"yarn": ">=3.2.0"
|
422 |
+
},
|
423 |
+
"funding": {
|
424 |
+
"url": "https://opencollective.com/libvips"
|
425 |
+
},
|
426 |
+
"optionalDependencies": {
|
427 |
+
"@img/sharp-libvips-linuxmusl-x64": "1.0.2"
|
428 |
+
}
|
429 |
+
},
|
430 |
+
"node_modules/@img/sharp-wasm32": {
|
431 |
+
"version": "0.33.3",
|
432 |
+
"resolved": "https://registry.npmjs.org/@img/sharp-wasm32/-/sharp-wasm32-0.33.3.tgz",
|
433 |
+
"integrity": "sha512-68zivsdJ0koE96stdUfM+gmyaK/NcoSZK5dV5CAjES0FUXS9lchYt8LAB5rTbM7nlWtxaU/2GON0HVN6/ZYJAQ==",
|
434 |
+
"cpu": [
|
435 |
+
"wasm32"
|
436 |
+
],
|
437 |
+
"optional": true,
|
438 |
+
"dependencies": {
|
439 |
+
"@emnapi/runtime": "^1.1.0"
|
440 |
+
},
|
441 |
+
"engines": {
|
442 |
+
"node": "^18.17.0 || ^20.3.0 || >=21.0.0",
|
443 |
+
"npm": ">=9.6.5",
|
444 |
+
"pnpm": ">=7.1.0",
|
445 |
+
"yarn": ">=3.2.0"
|
446 |
+
},
|
447 |
+
"funding": {
|
448 |
+
"url": "https://opencollective.com/libvips"
|
449 |
+
}
|
450 |
+
},
|
451 |
+
"node_modules/@img/sharp-win32-ia32": {
|
452 |
+
"version": "0.33.3",
|
453 |
+
"resolved": "https://registry.npmjs.org/@img/sharp-win32-ia32/-/sharp-win32-ia32-0.33.3.tgz",
|
454 |
+
"integrity": "sha512-CyimAduT2whQD8ER4Ux7exKrtfoaUiVr7HG0zZvO0XTFn2idUWljjxv58GxNTkFb8/J9Ub9AqITGkJD6ZginxQ==",
|
455 |
+
"cpu": [
|
456 |
+
"ia32"
|
457 |
+
],
|
458 |
+
"optional": true,
|
459 |
+
"os": [
|
460 |
+
"win32"
|
461 |
+
],
|
462 |
+
"engines": {
|
463 |
+
"node": "^18.17.0 || ^20.3.0 || >=21.0.0",
|
464 |
+
"npm": ">=9.6.5",
|
465 |
+
"pnpm": ">=7.1.0",
|
466 |
+
"yarn": ">=3.2.0"
|
467 |
+
},
|
468 |
+
"funding": {
|
469 |
+
"url": "https://opencollective.com/libvips"
|
470 |
+
}
|
471 |
+
},
|
472 |
+
"node_modules/@img/sharp-win32-x64": {
|
473 |
+
"version": "0.33.3",
|
474 |
+
"resolved": "https://registry.npmjs.org/@img/sharp-win32-x64/-/sharp-win32-x64-0.33.3.tgz",
|
475 |
+
"integrity": "sha512-viT4fUIDKnli3IfOephGnolMzhz5VaTvDRkYqtZxOMIoMQ4MrAziO7pT1nVnOt2FAm7qW5aa+CCc13aEY6Le0g==",
|
476 |
+
"cpu": [
|
477 |
+
"x64"
|
478 |
+
],
|
479 |
+
"optional": true,
|
480 |
+
"os": [
|
481 |
+
"win32"
|
482 |
+
],
|
483 |
+
"engines": {
|
484 |
+
"node": "^18.17.0 || ^20.3.0 || >=21.0.0",
|
485 |
+
"npm": ">=9.6.5",
|
486 |
+
"pnpm": ">=7.1.0",
|
487 |
+
"yarn": ">=3.2.0"
|
488 |
+
},
|
489 |
+
"funding": {
|
490 |
+
"url": "https://opencollective.com/libvips"
|
491 |
+
}
|
492 |
+
},
|
493 |
+
"node_modules/@puppeteer/browsers": {
|
494 |
+
"version": "0.5.0",
|
495 |
+
"resolved": "https://registry.npmjs.org/@puppeteer/browsers/-/browsers-0.5.0.tgz",
|
496 |
+
"integrity": "sha512-Uw6oB7VvmPRLE4iKsjuOh8zgDabhNX67dzo8U/BB0f9527qx+4eeUs+korU98OhG5C4ubg7ufBgVi63XYwS6TQ==",
|
497 |
+
"dependencies": {
|
498 |
+
"debug": "4.3.4",
|
499 |
+
"extract-zip": "2.0.1",
|
500 |
+
"https-proxy-agent": "5.0.1",
|
501 |
+
"progress": "2.0.3",
|
502 |
+
"proxy-from-env": "1.1.0",
|
503 |
+
"tar-fs": "2.1.1",
|
504 |
+
"unbzip2-stream": "1.4.3",
|
505 |
+
"yargs": "17.7.1"
|
506 |
+
},
|
507 |
+
"bin": {
|
508 |
+
"browsers": "lib/cjs/main-cli.js"
|
509 |
+
},
|
510 |
+
"engines": {
|
511 |
+
"node": ">=14.1.0"
|
512 |
+
},
|
513 |
+
"peerDependencies": {
|
514 |
+
"typescript": ">= 4.7.4"
|
515 |
+
},
|
516 |
+
"peerDependenciesMeta": {
|
517 |
+
"typescript": {
|
518 |
+
"optional": true
|
519 |
+
}
|
520 |
+
}
|
521 |
+
},
|
522 |
+
"node_modules/@swc/helpers": {
|
523 |
+
"version": "0.3.17",
|
524 |
+
"resolved": "https://registry.npmjs.org/@swc/helpers/-/helpers-0.3.17.tgz",
|
525 |
+
"integrity": "sha512-tb7Iu+oZ+zWJZ3HJqwx8oNwSDIU440hmVMDPhpACWQWnrZHK99Bxs70gT1L2dnr5Hg50ZRWEFkQCAnOVVV0z1Q==",
|
526 |
+
"dependencies": {
|
527 |
+
"tslib": "^2.4.0"
|
528 |
+
}
|
529 |
+
},
|
530 |
+
"node_modules/@types/node": {
|
531 |
+
"version": "20.12.7",
|
532 |
+
"resolved": "https://registry.npmjs.org/@types/node/-/node-20.12.7.tgz",
|
533 |
+
"integrity": "sha512-wq0cICSkRLVaf3UGLMGItu/PtdY7oaXaI/RVU+xliKVOtRna3PRY57ZDfztpDL0n11vfymMUnXv8QwYCO7L1wg==",
|
534 |
+
"optional": true,
|
535 |
+
"dependencies": {
|
536 |
+
"undici-types": "~5.26.4"
|
537 |
+
}
|
538 |
+
},
|
539 |
+
"node_modules/@types/yauzl": {
|
540 |
+
"version": "2.10.3",
|
541 |
+
"resolved": "https://registry.npmjs.org/@types/yauzl/-/yauzl-2.10.3.tgz",
|
542 |
+
"integrity": "sha512-oJoftv0LSuaDZE3Le4DbKX+KS9G36NzOeSap90UIK0yMA/NhKJhqlSGtNDORNRaIbQfzjXDrQa0ytJ6mNRGz/Q==",
|
543 |
+
"optional": true,
|
544 |
+
"dependencies": {
|
545 |
+
"@types/node": "*"
|
546 |
+
}
|
547 |
+
},
|
548 |
+
"node_modules/agent-base": {
|
549 |
+
"version": "6.0.2",
|
550 |
+
"resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz",
|
551 |
+
"integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==",
|
552 |
+
"dependencies": {
|
553 |
+
"debug": "4"
|
554 |
+
},
|
555 |
+
"engines": {
|
556 |
+
"node": ">= 6.0.0"
|
557 |
+
}
|
558 |
+
},
|
559 |
+
"node_modules/ansi-regex": {
|
560 |
+
"version": "5.0.1",
|
561 |
+
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz",
|
562 |
+
"integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==",
|
563 |
+
"engines": {
|
564 |
+
"node": ">=8"
|
565 |
+
}
|
566 |
+
},
|
567 |
+
"node_modules/ansi-styles": {
|
568 |
+
"version": "3.2.1",
|
569 |
+
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",
|
570 |
+
"integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",
|
571 |
+
"dependencies": {
|
572 |
+
"color-convert": "^1.9.0"
|
573 |
+
},
|
574 |
+
"engines": {
|
575 |
+
"node": ">=4"
|
576 |
+
}
|
577 |
+
},
|
578 |
+
"node_modules/argparse": {
|
579 |
+
"version": "2.0.1",
|
580 |
+
"resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz",
|
581 |
+
"integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q=="
|
582 |
+
},
|
583 |
+
"node_modules/array-buffer-byte-length": {
|
584 |
+
"version": "1.0.1",
|
585 |
+
"resolved": "https://registry.npmjs.org/array-buffer-byte-length/-/array-buffer-byte-length-1.0.1.tgz",
|
586 |
+
"integrity": "sha512-ahC5W1xgou+KTXix4sAO8Ki12Q+jf4i0+tmk3sC+zgcynshkHxzpXdImBehiUYKKKDwvfFiJl1tZt6ewscS1Mg==",
|
587 |
+
"dependencies": {
|
588 |
+
"call-bind": "^1.0.5",
|
589 |
+
"is-array-buffer": "^3.0.4"
|
590 |
+
},
|
591 |
+
"engines": {
|
592 |
+
"node": ">= 0.4"
|
593 |
+
},
|
594 |
+
"funding": {
|
595 |
+
"url": "https://github.com/sponsors/ljharb"
|
596 |
+
}
|
597 |
+
},
|
598 |
+
"node_modules/available-typed-arrays": {
|
599 |
+
"version": "1.0.7",
|
600 |
+
"resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.7.tgz",
|
601 |
+
"integrity": "sha512-wvUjBtSGN7+7SjNpq/9M2Tg350UZD3q62IFZLbRAR1bSMlCo1ZaeW+BJ+D090e4hIIZLBcTDWe4Mh4jvUDajzQ==",
|
602 |
+
"dependencies": {
|
603 |
+
"possible-typed-array-names": "^1.0.0"
|
604 |
+
},
|
605 |
+
"engines": {
|
606 |
+
"node": ">= 0.4"
|
607 |
+
},
|
608 |
+
"funding": {
|
609 |
+
"url": "https://github.com/sponsors/ljharb"
|
610 |
+
}
|
611 |
+
},
|
612 |
+
"node_modules/base64-js": {
|
613 |
+
"version": "1.5.1",
|
614 |
+
"resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz",
|
615 |
+
"integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==",
|
616 |
+
"funding": [
|
617 |
+
{
|
618 |
+
"type": "github",
|
619 |
+
"url": "https://github.com/sponsors/feross"
|
620 |
+
},
|
621 |
+
{
|
622 |
+
"type": "patreon",
|
623 |
+
"url": "https://www.patreon.com/feross"
|
624 |
+
},
|
625 |
+
{
|
626 |
+
"type": "consulting",
|
627 |
+
"url": "https://feross.org/support"
|
628 |
+
}
|
629 |
+
]
|
630 |
+
},
|
631 |
+
"node_modules/bl": {
|
632 |
+
"version": "4.1.0",
|
633 |
+
"resolved": "https://registry.npmjs.org/bl/-/bl-4.1.0.tgz",
|
634 |
+
"integrity": "sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==",
|
635 |
+
"dependencies": {
|
636 |
+
"buffer": "^5.5.0",
|
637 |
+
"inherits": "^2.0.4",
|
638 |
+
"readable-stream": "^3.4.0"
|
639 |
+
}
|
640 |
+
},
|
641 |
+
"node_modules/brotli": {
|
642 |
+
"version": "1.3.3",
|
643 |
+
"resolved": "https://registry.npmjs.org/brotli/-/brotli-1.3.3.tgz",
|
644 |
+
"integrity": "sha512-oTKjJdShmDuGW94SyyaoQvAjf30dZaHnjJ8uAF+u2/vGJkJbJPJAT1gDiOJP5v1Zb6f9KEyW/1HpuaWIXtGHPg==",
|
645 |
+
"dependencies": {
|
646 |
+
"base64-js": "^1.1.2"
|
647 |
+
}
|
648 |
+
},
|
649 |
+
"node_modules/buffer": {
|
650 |
+
"version": "5.7.1",
|
651 |
+
"resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz",
|
652 |
+
"integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==",
|
653 |
+
"funding": [
|
654 |
+
{
|
655 |
+
"type": "github",
|
656 |
+
"url": "https://github.com/sponsors/feross"
|
657 |
+
},
|
658 |
+
{
|
659 |
+
"type": "patreon",
|
660 |
+
"url": "https://www.patreon.com/feross"
|
661 |
+
},
|
662 |
+
{
|
663 |
+
"type": "consulting",
|
664 |
+
"url": "https://feross.org/support"
|
665 |
+
}
|
666 |
+
],
|
667 |
+
"dependencies": {
|
668 |
+
"base64-js": "^1.3.1",
|
669 |
+
"ieee754": "^1.1.13"
|
670 |
+
}
|
671 |
+
},
|
672 |
+
"node_modules/buffer-crc32": {
|
673 |
+
"version": "0.2.13",
|
674 |
+
"resolved": "https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.13.tgz",
|
675 |
+
"integrity": "sha512-VO9Ht/+p3SN7SKWqcrgEzjGbRSJYTx+Q1pTQC0wrWqHx0vpJraQ6GtHx8tvcg1rlK1byhU5gccxgOgj7B0TDkQ==",
|
676 |
+
"engines": {
|
677 |
+
"node": "*"
|
678 |
+
}
|
679 |
+
},
|
680 |
+
"node_modules/call-bind": {
|
681 |
+
"version": "1.0.7",
|
682 |
+
"resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.7.tgz",
|
683 |
+
"integrity": "sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w==",
|
684 |
+
"dependencies": {
|
685 |
+
"es-define-property": "^1.0.0",
|
686 |
+
"es-errors": "^1.3.0",
|
687 |
+
"function-bind": "^1.1.2",
|
688 |
+
"get-intrinsic": "^1.2.4",
|
689 |
+
"set-function-length": "^1.2.1"
|
690 |
+
},
|
691 |
+
"engines": {
|
692 |
+
"node": ">= 0.4"
|
693 |
+
},
|
694 |
+
"funding": {
|
695 |
+
"url": "https://github.com/sponsors/ljharb"
|
696 |
+
}
|
697 |
+
},
|
698 |
+
"node_modules/callsites": {
|
699 |
+
"version": "3.1.0",
|
700 |
+
"resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz",
|
701 |
+
"integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==",
|
702 |
+
"engines": {
|
703 |
+
"node": ">=6"
|
704 |
+
}
|
705 |
+
},
|
706 |
+
"node_modules/chalk": {
|
707 |
+
"version": "2.4.2",
|
708 |
+
"resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",
|
709 |
+
"integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",
|
710 |
+
"dependencies": {
|
711 |
+
"ansi-styles": "^3.2.1",
|
712 |
+
"escape-string-regexp": "^1.0.5",
|
713 |
+
"supports-color": "^5.3.0"
|
714 |
+
},
|
715 |
+
"engines": {
|
716 |
+
"node": ">=4"
|
717 |
+
}
|
718 |
+
},
|
719 |
+
"node_modules/chownr": {
|
720 |
+
"version": "1.1.4",
|
721 |
+
"resolved": "https://registry.npmjs.org/chownr/-/chownr-1.1.4.tgz",
|
722 |
+
"integrity": "sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg=="
|
723 |
+
},
|
724 |
+
"node_modules/chromium-bidi": {
|
725 |
+
"version": "0.4.7",
|
726 |
+
"resolved": "https://registry.npmjs.org/chromium-bidi/-/chromium-bidi-0.4.7.tgz",
|
727 |
+
"integrity": "sha512-6+mJuFXwTMU6I3vYLs6IL8A1DyQTPjCfIL971X0aMPVGRbGnNfl6i6Cl0NMbxi2bRYLGESt9T2ZIMRM5PAEcIQ==",
|
728 |
+
"dependencies": {
|
729 |
+
"mitt": "3.0.0"
|
730 |
+
},
|
731 |
+
"peerDependencies": {
|
732 |
+
"devtools-protocol": "*"
|
733 |
+
}
|
734 |
+
},
|
735 |
+
"node_modules/cli-progress": {
|
736 |
+
"version": "3.12.0",
|
737 |
+
"resolved": "https://registry.npmjs.org/cli-progress/-/cli-progress-3.12.0.tgz",
|
738 |
+
"integrity": "sha512-tRkV3HJ1ASwm19THiiLIXLO7Im7wlTuKnvkYaTkyoAPefqjNg7W7DHKUlGRxy9vxDvbyCYQkQozvptuMkGCg8A==",
|
739 |
+
"dependencies": {
|
740 |
+
"string-width": "^4.2.3"
|
741 |
+
},
|
742 |
+
"engines": {
|
743 |
+
"node": ">=4"
|
744 |
+
}
|
745 |
+
},
|
746 |
+
"node_modules/cliui": {
|
747 |
+
"version": "8.0.1",
|
748 |
+
"resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz",
|
749 |
+
"integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==",
|
750 |
+
"dependencies": {
|
751 |
+
"string-width": "^4.2.0",
|
752 |
+
"strip-ansi": "^6.0.1",
|
753 |
+
"wrap-ansi": "^7.0.0"
|
754 |
+
},
|
755 |
+
"engines": {
|
756 |
+
"node": ">=12"
|
757 |
+
}
|
758 |
+
},
|
759 |
+
"node_modules/clone": {
|
760 |
+
"version": "2.1.2",
|
761 |
+
"resolved": "https://registry.npmjs.org/clone/-/clone-2.1.2.tgz",
|
762 |
+
"integrity": "sha512-3Pe/CF1Nn94hyhIYpjtiLhdCoEoz0DqQ+988E9gmeEdQZlojxnOb74wctFyuwWQHzqyf9X7C7MG8juUpqBJT8w==",
|
763 |
+
"engines": {
|
764 |
+
"node": ">=0.8"
|
765 |
+
}
|
766 |
+
},
|
767 |
+
"node_modules/color": {
|
768 |
+
"version": "4.2.3",
|
769 |
+
"resolved": "https://registry.npmjs.org/color/-/color-4.2.3.tgz",
|
770 |
+
"integrity": "sha512-1rXeuUUiGGrykh+CeBdu5Ie7OJwinCgQY0bc7GCRxy5xVHy+moaqkpL/jqQq0MtQOeYcrqEz4abc5f0KtU7W4A==",
|
771 |
+
"dependencies": {
|
772 |
+
"color-convert": "^2.0.1",
|
773 |
+
"color-string": "^1.9.0"
|
774 |
+
},
|
775 |
+
"engines": {
|
776 |
+
"node": ">=12.5.0"
|
777 |
+
}
|
778 |
+
},
|
779 |
+
"node_modules/color-convert": {
|
780 |
+
"version": "1.9.3",
|
781 |
+
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",
|
782 |
+
"integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",
|
783 |
+
"dependencies": {
|
784 |
+
"color-name": "1.1.3"
|
785 |
+
}
|
786 |
+
},
|
787 |
+
"node_modules/color-name": {
|
788 |
+
"version": "1.1.3",
|
789 |
+
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",
|
790 |
+
"integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw=="
|
791 |
+
},
|
792 |
+
"node_modules/color-string": {
|
793 |
+
"version": "1.9.1",
|
794 |
+
"resolved": "https://registry.npmjs.org/color-string/-/color-string-1.9.1.tgz",
|
795 |
+
"integrity": "sha512-shrVawQFojnZv6xM40anx4CkoDP+fZsw/ZerEMsW/pyzsRbElpsL/DBVW7q3ExxwusdNXI3lXpuhEZkzs8p5Eg==",
|
796 |
+
"dependencies": {
|
797 |
+
"color-name": "^1.0.0",
|
798 |
+
"simple-swizzle": "^0.2.2"
|
799 |
+
}
|
800 |
+
},
|
801 |
+
"node_modules/color/node_modules/color-convert": {
|
802 |
+
"version": "2.0.1",
|
803 |
+
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
|
804 |
+
"integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
|
805 |
+
"dependencies": {
|
806 |
+
"color-name": "~1.1.4"
|
807 |
+
},
|
808 |
+
"engines": {
|
809 |
+
"node": ">=7.0.0"
|
810 |
+
}
|
811 |
+
},
|
812 |
+
"node_modules/color/node_modules/color-name": {
|
813 |
+
"version": "1.1.4",
|
814 |
+
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
|
815 |
+
"integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA=="
|
816 |
+
},
|
817 |
+
"node_modules/cosmiconfig": {
|
818 |
+
"version": "8.1.3",
|
819 |
+
"resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-8.1.3.tgz",
|
820 |
+
"integrity": "sha512-/UkO2JKI18b5jVMJUp0lvKFMpa/Gye+ZgZjKD+DGEN9y7NRcf/nK1A0sp67ONmKtnDCNMS44E6jrk0Yc3bDuUw==",
|
821 |
+
"dependencies": {
|
822 |
+
"import-fresh": "^3.2.1",
|
823 |
+
"js-yaml": "^4.1.0",
|
824 |
+
"parse-json": "^5.0.0",
|
825 |
+
"path-type": "^4.0.0"
|
826 |
+
},
|
827 |
+
"engines": {
|
828 |
+
"node": ">=14"
|
829 |
+
},
|
830 |
+
"funding": {
|
831 |
+
"url": "https://github.com/sponsors/d-fischer"
|
832 |
+
}
|
833 |
+
},
|
834 |
+
"node_modules/cross-fetch": {
|
835 |
+
"version": "3.1.5",
|
836 |
+
"resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-3.1.5.tgz",
|
837 |
+
"integrity": "sha512-lvb1SBsI0Z7GDwmuid+mU3kWVBwTVUbe7S0H52yaaAdQOXq2YktTCZdlAcNKFzE6QtRz0snpw9bNiPeOIkkQvw==",
|
838 |
+
"dependencies": {
|
839 |
+
"node-fetch": "2.6.7"
|
840 |
+
}
|
841 |
+
},
|
842 |
+
"node_modules/crypto-js": {
|
843 |
+
"version": "4.2.0",
|
844 |
+
"resolved": "https://registry.npmjs.org/crypto-js/-/crypto-js-4.2.0.tgz",
|
845 |
+
"integrity": "sha512-KALDyEYgpY+Rlob/iriUtjV6d5Eq+Y191A5g4UqLAi8CyGP9N1+FdVbkc1SxKc2r4YAYqG8JzO2KGL+AizD70Q=="
|
846 |
+
},
|
847 |
+
"node_modules/debug": {
|
848 |
+
"version": "4.3.4",
|
849 |
+
"resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz",
|
850 |
+
"integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==",
|
851 |
+
"dependencies": {
|
852 |
+
"ms": "2.1.2"
|
853 |
+
},
|
854 |
+
"engines": {
|
855 |
+
"node": ">=6.0"
|
856 |
+
},
|
857 |
+
"peerDependenciesMeta": {
|
858 |
+
"supports-color": {
|
859 |
+
"optional": true
|
860 |
+
}
|
861 |
+
}
|
862 |
+
},
|
863 |
+
"node_modules/deep-equal": {
|
864 |
+
"version": "2.2.3",
|
865 |
+
"resolved": "https://registry.npmjs.org/deep-equal/-/deep-equal-2.2.3.tgz",
|
866 |
+
"integrity": "sha512-ZIwpnevOurS8bpT4192sqAowWM76JDKSHYzMLty3BZGSswgq6pBaH3DhCSW5xVAZICZyKdOBPjwww5wfgT/6PA==",
|
867 |
+
"dependencies": {
|
868 |
+
"array-buffer-byte-length": "^1.0.0",
|
869 |
+
"call-bind": "^1.0.5",
|
870 |
+
"es-get-iterator": "^1.1.3",
|
871 |
+
"get-intrinsic": "^1.2.2",
|
872 |
+
"is-arguments": "^1.1.1",
|
873 |
+
"is-array-buffer": "^3.0.2",
|
874 |
+
"is-date-object": "^1.0.5",
|
875 |
+
"is-regex": "^1.1.4",
|
876 |
+
"is-shared-array-buffer": "^1.0.2",
|
877 |
+
"isarray": "^2.0.5",
|
878 |
+
"object-is": "^1.1.5",
|
879 |
+
"object-keys": "^1.1.1",
|
880 |
+
"object.assign": "^4.1.4",
|
881 |
+
"regexp.prototype.flags": "^1.5.1",
|
882 |
+
"side-channel": "^1.0.4",
|
883 |
+
"which-boxed-primitive": "^1.0.2",
|
884 |
+
"which-collection": "^1.0.1",
|
885 |
+
"which-typed-array": "^1.1.13"
|
886 |
+
},
|
887 |
+
"engines": {
|
888 |
+
"node": ">= 0.4"
|
889 |
+
},
|
890 |
+
"funding": {
|
891 |
+
"url": "https://github.com/sponsors/ljharb"
|
892 |
+
}
|
893 |
+
},
|
894 |
+
"node_modules/define-data-property": {
|
895 |
+
"version": "1.1.4",
|
896 |
+
"resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.4.tgz",
|
897 |
+
"integrity": "sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==",
|
898 |
+
"dependencies": {
|
899 |
+
"es-define-property": "^1.0.0",
|
900 |
+
"es-errors": "^1.3.0",
|
901 |
+
"gopd": "^1.0.1"
|
902 |
+
},
|
903 |
+
"engines": {
|
904 |
+
"node": ">= 0.4"
|
905 |
+
},
|
906 |
+
"funding": {
|
907 |
+
"url": "https://github.com/sponsors/ljharb"
|
908 |
+
}
|
909 |
+
},
|
910 |
+
"node_modules/define-properties": {
|
911 |
+
"version": "1.2.1",
|
912 |
+
"resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.2.1.tgz",
|
913 |
+
"integrity": "sha512-8QmQKqEASLd5nx0U1B1okLElbUuuttJ/AnYmRXbbbGDWh6uS208EjD4Xqq/I9wK7u0v6O08XhTWnt5XtEbR6Dg==",
|
914 |
+
"dependencies": {
|
915 |
+
"define-data-property": "^1.0.1",
|
916 |
+
"has-property-descriptors": "^1.0.0",
|
917 |
+
"object-keys": "^1.1.1"
|
918 |
+
},
|
919 |
+
"engines": {
|
920 |
+
"node": ">= 0.4"
|
921 |
+
},
|
922 |
+
"funding": {
|
923 |
+
"url": "https://github.com/sponsors/ljharb"
|
924 |
+
}
|
925 |
+
},
|
926 |
+
"node_modules/detect-libc": {
|
927 |
+
"version": "2.0.3",
|
928 |
+
"resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.0.3.tgz",
|
929 |
+
"integrity": "sha512-bwy0MGW55bG41VqxxypOsdSdGqLwXPI/focwgTYCFMbdUiBAxLg9CFzG08sz2aqzknwiX7Hkl0bQENjg8iLByw==",
|
930 |
+
"engines": {
|
931 |
+
"node": ">=8"
|
932 |
+
}
|
933 |
+
},
|
934 |
+
"node_modules/devtools-protocol": {
|
935 |
+
"version": "0.0.1107588",
|
936 |
+
"resolved": "https://registry.npmjs.org/devtools-protocol/-/devtools-protocol-0.0.1107588.tgz",
|
937 |
+
"integrity": "sha512-yIR+pG9x65Xko7bErCUSQaDLrO/P1p3JUzEk7JCU4DowPcGHkTGUGQapcfcLc4qj0UaALwZ+cr0riFgiqpixcg=="
|
938 |
+
},
|
939 |
+
"node_modules/dfa": {
|
940 |
+
"version": "1.2.0",
|
941 |
+
"resolved": "https://registry.npmjs.org/dfa/-/dfa-1.2.0.tgz",
|
942 |
+
"integrity": "sha512-ED3jP8saaweFTjeGX8HQPjeC1YYyZs98jGNZx6IiBvxW7JG5v492kamAQB3m2wop07CvU/RQmzcKr6bgcC5D/Q=="
|
943 |
+
},
|
944 |
+
"node_modules/emoji-regex": {
|
945 |
+
"version": "8.0.0",
|
946 |
+
"resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz",
|
947 |
+
"integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A=="
|
948 |
+
},
|
949 |
+
"node_modules/end-of-stream": {
|
950 |
+
"version": "1.4.4",
|
951 |
+
"resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz",
|
952 |
+
"integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==",
|
953 |
+
"dependencies": {
|
954 |
+
"once": "^1.4.0"
|
955 |
+
}
|
956 |
+
},
|
957 |
+
"node_modules/error-ex": {
|
958 |
+
"version": "1.3.2",
|
959 |
+
"resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz",
|
960 |
+
"integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==",
|
961 |
+
"dependencies": {
|
962 |
+
"is-arrayish": "^0.2.1"
|
963 |
+
}
|
964 |
+
},
|
965 |
+
"node_modules/es-define-property": {
|
966 |
+
"version": "1.0.0",
|
967 |
+
"resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.0.tgz",
|
968 |
+
"integrity": "sha512-jxayLKShrEqqzJ0eumQbVhTYQM27CfT1T35+gCgDFoL82JLsXqTJ76zv6A0YLOgEnLUMvLzsDsGIrl8NFpT2gQ==",
|
969 |
+
"dependencies": {
|
970 |
+
"get-intrinsic": "^1.2.4"
|
971 |
+
},
|
972 |
+
"engines": {
|
973 |
+
"node": ">= 0.4"
|
974 |
+
}
|
975 |
+
},
|
976 |
+
"node_modules/es-errors": {
|
977 |
+
"version": "1.3.0",
|
978 |
+
"resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz",
|
979 |
+
"integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==",
|
980 |
+
"engines": {
|
981 |
+
"node": ">= 0.4"
|
982 |
+
}
|
983 |
+
},
|
984 |
+
"node_modules/es-get-iterator": {
|
985 |
+
"version": "1.1.3",
|
986 |
+
"resolved": "https://registry.npmjs.org/es-get-iterator/-/es-get-iterator-1.1.3.tgz",
|
987 |
+
"integrity": "sha512-sPZmqHBe6JIiTfN5q2pEi//TwxmAFHwj/XEuYjTuse78i8KxaqMTTzxPoFKuzRpDpTJ+0NAbpfenkmH2rePtuw==",
|
988 |
+
"dependencies": {
|
989 |
+
"call-bind": "^1.0.2",
|
990 |
+
"get-intrinsic": "^1.1.3",
|
991 |
+
"has-symbols": "^1.0.3",
|
992 |
+
"is-arguments": "^1.1.1",
|
993 |
+
"is-map": "^2.0.2",
|
994 |
+
"is-set": "^2.0.2",
|
995 |
+
"is-string": "^1.0.7",
|
996 |
+
"isarray": "^2.0.5",
|
997 |
+
"stop-iteration-iterator": "^1.0.0"
|
998 |
+
},
|
999 |
+
"funding": {
|
1000 |
+
"url": "https://github.com/sponsors/ljharb"
|
1001 |
+
}
|
1002 |
+
},
|
1003 |
+
"node_modules/escalade": {
|
1004 |
+
"version": "3.1.2",
|
1005 |
+
"resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.2.tgz",
|
1006 |
+
"integrity": "sha512-ErCHMCae19vR8vQGe50xIsVomy19rg6gFu3+r3jkEO46suLMWBksvVyoGgQV+jOfl84ZSOSlmv6Gxa89PmTGmA==",
|
1007 |
+
"engines": {
|
1008 |
+
"node": ">=6"
|
1009 |
+
}
|
1010 |
+
},
|
1011 |
+
"node_modules/escape-string-regexp": {
|
1012 |
+
"version": "1.0.5",
|
1013 |
+
"resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",
|
1014 |
+
"integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==",
|
1015 |
+
"engines": {
|
1016 |
+
"node": ">=0.8.0"
|
1017 |
+
}
|
1018 |
+
},
|
1019 |
+
"node_modules/extract-zip": {
|
1020 |
+
"version": "2.0.1",
|
1021 |
+
"resolved": "https://registry.npmjs.org/extract-zip/-/extract-zip-2.0.1.tgz",
|
1022 |
+
"integrity": "sha512-GDhU9ntwuKyGXdZBUgTIe+vXnWj0fppUEtMDL0+idd5Sta8TGpHssn/eusA9mrPr9qNDym6SxAYZjNvCn/9RBg==",
|
1023 |
+
"dependencies": {
|
1024 |
+
"debug": "^4.1.1",
|
1025 |
+
"get-stream": "^5.1.0",
|
1026 |
+
"yauzl": "^2.10.0"
|
1027 |
+
},
|
1028 |
+
"bin": {
|
1029 |
+
"extract-zip": "cli.js"
|
1030 |
+
},
|
1031 |
+
"engines": {
|
1032 |
+
"node": ">= 10.17.0"
|
1033 |
+
},
|
1034 |
+
"optionalDependencies": {
|
1035 |
+
"@types/yauzl": "^2.9.1"
|
1036 |
+
}
|
1037 |
+
},
|
1038 |
+
"node_modules/fd-slicer": {
|
1039 |
+
"version": "1.1.0",
|
1040 |
+
"resolved": "https://registry.npmjs.org/fd-slicer/-/fd-slicer-1.1.0.tgz",
|
1041 |
+
"integrity": "sha512-cE1qsB/VwyQozZ+q1dGxR8LBYNZeofhEdUNGSMbQD3Gw2lAzX9Zb3uIU6Ebc/Fmyjo9AWWfnn0AUCHqtevs/8g==",
|
1042 |
+
"dependencies": {
|
1043 |
+
"pend": "~1.2.0"
|
1044 |
+
}
|
1045 |
+
},
|
1046 |
+
"node_modules/fontkit": {
|
1047 |
+
"version": "1.9.0",
|
1048 |
+
"resolved": "https://registry.npmjs.org/fontkit/-/fontkit-1.9.0.tgz",
|
1049 |
+
"integrity": "sha512-HkW/8Lrk8jl18kzQHvAw9aTHe1cqsyx5sDnxncx652+CIfhawokEPkeM3BoIC+z/Xv7a0yMr0f3pRRwhGH455g==",
|
1050 |
+
"dependencies": {
|
1051 |
+
"@swc/helpers": "^0.3.13",
|
1052 |
+
"brotli": "^1.3.2",
|
1053 |
+
"clone": "^2.1.2",
|
1054 |
+
"deep-equal": "^2.0.5",
|
1055 |
+
"dfa": "^1.2.0",
|
1056 |
+
"restructure": "^2.0.1",
|
1057 |
+
"tiny-inflate": "^1.0.3",
|
1058 |
+
"unicode-properties": "^1.3.1",
|
1059 |
+
"unicode-trie": "^2.0.0"
|
1060 |
+
}
|
1061 |
+
},
|
1062 |
+
"node_modules/for-each": {
|
1063 |
+
"version": "0.3.3",
|
1064 |
+
"resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.3.tgz",
|
1065 |
+
"integrity": "sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==",
|
1066 |
+
"dependencies": {
|
1067 |
+
"is-callable": "^1.1.3"
|
1068 |
+
}
|
1069 |
+
},
|
1070 |
+
"node_modules/fs-constants": {
|
1071 |
+
"version": "1.0.0",
|
1072 |
+
"resolved": "https://registry.npmjs.org/fs-constants/-/fs-constants-1.0.0.tgz",
|
1073 |
+
"integrity": "sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow=="
|
1074 |
+
},
|
1075 |
+
"node_modules/function-bind": {
|
1076 |
+
"version": "1.1.2",
|
1077 |
+
"resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz",
|
1078 |
+
"integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==",
|
1079 |
+
"funding": {
|
1080 |
+
"url": "https://github.com/sponsors/ljharb"
|
1081 |
+
}
|
1082 |
+
},
|
1083 |
+
"node_modules/functions-have-names": {
|
1084 |
+
"version": "1.2.3",
|
1085 |
+
"resolved": "https://registry.npmjs.org/functions-have-names/-/functions-have-names-1.2.3.tgz",
|
1086 |
+
"integrity": "sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==",
|
1087 |
+
"funding": {
|
1088 |
+
"url": "https://github.com/sponsors/ljharb"
|
1089 |
+
}
|
1090 |
+
},
|
1091 |
+
"node_modules/get-caller-file": {
|
1092 |
+
"version": "2.0.5",
|
1093 |
+
"resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz",
|
1094 |
+
"integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==",
|
1095 |
+
"engines": {
|
1096 |
+
"node": "6.* || 8.* || >= 10.*"
|
1097 |
+
}
|
1098 |
+
},
|
1099 |
+
"node_modules/get-intrinsic": {
|
1100 |
+
"version": "1.2.4",
|
1101 |
+
"resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.4.tgz",
|
1102 |
+
"integrity": "sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ==",
|
1103 |
+
"dependencies": {
|
1104 |
+
"es-errors": "^1.3.0",
|
1105 |
+
"function-bind": "^1.1.2",
|
1106 |
+
"has-proto": "^1.0.1",
|
1107 |
+
"has-symbols": "^1.0.3",
|
1108 |
+
"hasown": "^2.0.0"
|
1109 |
+
},
|
1110 |
+
"engines": {
|
1111 |
+
"node": ">= 0.4"
|
1112 |
+
},
|
1113 |
+
"funding": {
|
1114 |
+
"url": "https://github.com/sponsors/ljharb"
|
1115 |
+
}
|
1116 |
+
},
|
1117 |
+
"node_modules/get-stream": {
|
1118 |
+
"version": "5.2.0",
|
1119 |
+
"resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.2.0.tgz",
|
1120 |
+
"integrity": "sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==",
|
1121 |
+
"dependencies": {
|
1122 |
+
"pump": "^3.0.0"
|
1123 |
+
},
|
1124 |
+
"engines": {
|
1125 |
+
"node": ">=8"
|
1126 |
+
},
|
1127 |
+
"funding": {
|
1128 |
+
"url": "https://github.com/sponsors/sindresorhus"
|
1129 |
+
}
|
1130 |
+
},
|
1131 |
+
"node_modules/gopd": {
|
1132 |
+
"version": "1.0.1",
|
1133 |
+
"resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz",
|
1134 |
+
"integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==",
|
1135 |
+
"dependencies": {
|
1136 |
+
"get-intrinsic": "^1.1.3"
|
1137 |
+
},
|
1138 |
+
"funding": {
|
1139 |
+
"url": "https://github.com/sponsors/ljharb"
|
1140 |
+
}
|
1141 |
+
},
|
1142 |
+
"node_modules/has-bigints": {
|
1143 |
+
"version": "1.0.2",
|
1144 |
+
"resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.0.2.tgz",
|
1145 |
+
"integrity": "sha512-tSvCKtBr9lkF0Ex0aQiP9N+OpV4zi2r/Nee5VkRDbaqv35RLYMzbwQfFSZZH0kR+Rd6302UJZ2p/bJCEoR3VoQ==",
|
1146 |
+
"funding": {
|
1147 |
+
"url": "https://github.com/sponsors/ljharb"
|
1148 |
+
}
|
1149 |
+
},
|
1150 |
+
"node_modules/has-flag": {
|
1151 |
+
"version": "3.0.0",
|
1152 |
+
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",
|
1153 |
+
"integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==",
|
1154 |
+
"engines": {
|
1155 |
+
"node": ">=4"
|
1156 |
+
}
|
1157 |
+
},
|
1158 |
+
"node_modules/has-property-descriptors": {
|
1159 |
+
"version": "1.0.2",
|
1160 |
+
"resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz",
|
1161 |
+
"integrity": "sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==",
|
1162 |
+
"dependencies": {
|
1163 |
+
"es-define-property": "^1.0.0"
|
1164 |
+
},
|
1165 |
+
"funding": {
|
1166 |
+
"url": "https://github.com/sponsors/ljharb"
|
1167 |
+
}
|
1168 |
+
},
|
1169 |
+
"node_modules/has-proto": {
|
1170 |
+
"version": "1.0.3",
|
1171 |
+
"resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.3.tgz",
|
1172 |
+
"integrity": "sha512-SJ1amZAJUiZS+PhsVLf5tGydlaVB8EdFpaSO4gmiUKUOxk8qzn5AIy4ZeJUmh22znIdk/uMAUT2pl3FxzVUH+Q==",
|
1173 |
+
"engines": {
|
1174 |
+
"node": ">= 0.4"
|
1175 |
+
},
|
1176 |
+
"funding": {
|
1177 |
+
"url": "https://github.com/sponsors/ljharb"
|
1178 |
+
}
|
1179 |
+
},
|
1180 |
+
"node_modules/has-symbols": {
|
1181 |
+
"version": "1.0.3",
|
1182 |
+
"resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz",
|
1183 |
+
"integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==",
|
1184 |
+
"engines": {
|
1185 |
+
"node": ">= 0.4"
|
1186 |
+
},
|
1187 |
+
"funding": {
|
1188 |
+
"url": "https://github.com/sponsors/ljharb"
|
1189 |
+
}
|
1190 |
+
},
|
1191 |
+
"node_modules/has-tostringtag": {
|
1192 |
+
"version": "1.0.2",
|
1193 |
+
"resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.2.tgz",
|
1194 |
+
"integrity": "sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==",
|
1195 |
+
"dependencies": {
|
1196 |
+
"has-symbols": "^1.0.3"
|
1197 |
+
},
|
1198 |
+
"engines": {
|
1199 |
+
"node": ">= 0.4"
|
1200 |
+
},
|
1201 |
+
"funding": {
|
1202 |
+
"url": "https://github.com/sponsors/ljharb"
|
1203 |
+
}
|
1204 |
+
},
|
1205 |
+
"node_modules/hasown": {
|
1206 |
+
"version": "2.0.2",
|
1207 |
+
"resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz",
|
1208 |
+
"integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==",
|
1209 |
+
"dependencies": {
|
1210 |
+
"function-bind": "^1.1.2"
|
1211 |
+
},
|
1212 |
+
"engines": {
|
1213 |
+
"node": ">= 0.4"
|
1214 |
+
}
|
1215 |
+
},
|
1216 |
+
"node_modules/https-proxy-agent": {
|
1217 |
+
"version": "5.0.1",
|
1218 |
+
"resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz",
|
1219 |
+
"integrity": "sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==",
|
1220 |
+
"dependencies": {
|
1221 |
+
"agent-base": "6",
|
1222 |
+
"debug": "4"
|
1223 |
+
},
|
1224 |
+
"engines": {
|
1225 |
+
"node": ">= 6"
|
1226 |
+
}
|
1227 |
+
},
|
1228 |
+
"node_modules/ieee754": {
|
1229 |
+
"version": "1.2.1",
|
1230 |
+
"resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz",
|
1231 |
+
"integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==",
|
1232 |
+
"funding": [
|
1233 |
+
{
|
1234 |
+
"type": "github",
|
1235 |
+
"url": "https://github.com/sponsors/feross"
|
1236 |
+
},
|
1237 |
+
{
|
1238 |
+
"type": "patreon",
|
1239 |
+
"url": "https://www.patreon.com/feross"
|
1240 |
+
},
|
1241 |
+
{
|
1242 |
+
"type": "consulting",
|
1243 |
+
"url": "https://feross.org/support"
|
1244 |
+
}
|
1245 |
+
]
|
1246 |
+
},
|
1247 |
+
"node_modules/import-fresh": {
|
1248 |
+
"version": "3.3.0",
|
1249 |
+
"resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz",
|
1250 |
+
"integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==",
|
1251 |
+
"dependencies": {
|
1252 |
+
"parent-module": "^1.0.0",
|
1253 |
+
"resolve-from": "^4.0.0"
|
1254 |
+
},
|
1255 |
+
"engines": {
|
1256 |
+
"node": ">=6"
|
1257 |
+
},
|
1258 |
+
"funding": {
|
1259 |
+
"url": "https://github.com/sponsors/sindresorhus"
|
1260 |
+
}
|
1261 |
+
},
|
1262 |
+
"node_modules/inherits": {
|
1263 |
+
"version": "2.0.4",
|
1264 |
+
"resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
|
1265 |
+
"integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="
|
1266 |
+
},
|
1267 |
+
"node_modules/ini": {
|
1268 |
+
"version": "4.1.2",
|
1269 |
+
"resolved": "https://registry.npmjs.org/ini/-/ini-4.1.2.tgz",
|
1270 |
+
"integrity": "sha512-AMB1mvwR1pyBFY/nSevUX6y8nJWS63/SzUKD3JyQn97s4xgIdgQPT75IRouIiBAN4yLQBUShNYVW0+UG25daCw==",
|
1271 |
+
"engines": {
|
1272 |
+
"node": "^14.17.0 || ^16.13.0 || >=18.0.0"
|
1273 |
+
}
|
1274 |
+
},
|
1275 |
+
"node_modules/internal-slot": {
|
1276 |
+
"version": "1.0.7",
|
1277 |
+
"resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.7.tgz",
|
1278 |
+
"integrity": "sha512-NGnrKwXzSms2qUUih/ILZ5JBqNTSa1+ZmP6flaIp6KmSElgE9qdndzS3cqjrDovwFdmwsGsLdeFgB6suw+1e9g==",
|
1279 |
+
"dependencies": {
|
1280 |
+
"es-errors": "^1.3.0",
|
1281 |
+
"hasown": "^2.0.0",
|
1282 |
+
"side-channel": "^1.0.4"
|
1283 |
+
},
|
1284 |
+
"engines": {
|
1285 |
+
"node": ">= 0.4"
|
1286 |
+
}
|
1287 |
+
},
|
1288 |
+
"node_modules/is-arguments": {
|
1289 |
+
"version": "1.1.1",
|
1290 |
+
"resolved": "https://registry.npmjs.org/is-arguments/-/is-arguments-1.1.1.tgz",
|
1291 |
+
"integrity": "sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA==",
|
1292 |
+
"dependencies": {
|
1293 |
+
"call-bind": "^1.0.2",
|
1294 |
+
"has-tostringtag": "^1.0.0"
|
1295 |
+
},
|
1296 |
+
"engines": {
|
1297 |
+
"node": ">= 0.4"
|
1298 |
+
},
|
1299 |
+
"funding": {
|
1300 |
+
"url": "https://github.com/sponsors/ljharb"
|
1301 |
+
}
|
1302 |
+
},
|
1303 |
+
"node_modules/is-array-buffer": {
|
1304 |
+
"version": "3.0.4",
|
1305 |
+
"resolved": "https://registry.npmjs.org/is-array-buffer/-/is-array-buffer-3.0.4.tgz",
|
1306 |
+
"integrity": "sha512-wcjaerHw0ydZwfhiKbXJWLDY8A7yV7KhjQOpb83hGgGfId/aQa4TOvwyzn2PuswW2gPCYEL/nEAiSVpdOj1lXw==",
|
1307 |
+
"dependencies": {
|
1308 |
+
"call-bind": "^1.0.2",
|
1309 |
+
"get-intrinsic": "^1.2.1"
|
1310 |
+
},
|
1311 |
+
"engines": {
|
1312 |
+
"node": ">= 0.4"
|
1313 |
+
},
|
1314 |
+
"funding": {
|
1315 |
+
"url": "https://github.com/sponsors/ljharb"
|
1316 |
+
}
|
1317 |
+
},
|
1318 |
+
"node_modules/is-arrayish": {
|
1319 |
+
"version": "0.2.1",
|
1320 |
+
"resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz",
|
1321 |
+
"integrity": "sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg=="
|
1322 |
+
},
|
1323 |
+
"node_modules/is-bigint": {
|
1324 |
+
"version": "1.0.4",
|
1325 |
+
"resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.4.tgz",
|
1326 |
+
"integrity": "sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg==",
|
1327 |
+
"dependencies": {
|
1328 |
+
"has-bigints": "^1.0.1"
|
1329 |
+
},
|
1330 |
+
"funding": {
|
1331 |
+
"url": "https://github.com/sponsors/ljharb"
|
1332 |
+
}
|
1333 |
+
},
|
1334 |
+
"node_modules/is-boolean-object": {
|
1335 |
+
"version": "1.1.2",
|
1336 |
+
"resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.1.2.tgz",
|
1337 |
+
"integrity": "sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==",
|
1338 |
+
"dependencies": {
|
1339 |
+
"call-bind": "^1.0.2",
|
1340 |
+
"has-tostringtag": "^1.0.0"
|
1341 |
+
},
|
1342 |
+
"engines": {
|
1343 |
+
"node": ">= 0.4"
|
1344 |
+
},
|
1345 |
+
"funding": {
|
1346 |
+
"url": "https://github.com/sponsors/ljharb"
|
1347 |
+
}
|
1348 |
+
},
|
1349 |
+
"node_modules/is-callable": {
|
1350 |
+
"version": "1.2.7",
|
1351 |
+
"resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.7.tgz",
|
1352 |
+
"integrity": "sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==",
|
1353 |
+
"engines": {
|
1354 |
+
"node": ">= 0.4"
|
1355 |
+
},
|
1356 |
+
"funding": {
|
1357 |
+
"url": "https://github.com/sponsors/ljharb"
|
1358 |
+
}
|
1359 |
+
},
|
1360 |
+
"node_modules/is-date-object": {
|
1361 |
+
"version": "1.0.5",
|
1362 |
+
"resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.5.tgz",
|
1363 |
+
"integrity": "sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==",
|
1364 |
+
"dependencies": {
|
1365 |
+
"has-tostringtag": "^1.0.0"
|
1366 |
+
},
|
1367 |
+
"engines": {
|
1368 |
+
"node": ">= 0.4"
|
1369 |
+
},
|
1370 |
+
"funding": {
|
1371 |
+
"url": "https://github.com/sponsors/ljharb"
|
1372 |
+
}
|
1373 |
+
},
|
1374 |
+
"node_modules/is-fullwidth-code-point": {
|
1375 |
+
"version": "3.0.0",
|
1376 |
+
"resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz",
|
1377 |
+
"integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==",
|
1378 |
+
"engines": {
|
1379 |
+
"node": ">=8"
|
1380 |
+
}
|
1381 |
+
},
|
1382 |
+
"node_modules/is-map": {
|
1383 |
+
"version": "2.0.3",
|
1384 |
+
"resolved": "https://registry.npmjs.org/is-map/-/is-map-2.0.3.tgz",
|
1385 |
+
"integrity": "sha512-1Qed0/Hr2m+YqxnM09CjA2d/i6YZNfF6R2oRAOj36eUdS6qIV/huPJNSEpKbupewFs+ZsJlxsjjPbc0/afW6Lw==",
|
1386 |
+
"engines": {
|
1387 |
+
"node": ">= 0.4"
|
1388 |
+
},
|
1389 |
+
"funding": {
|
1390 |
+
"url": "https://github.com/sponsors/ljharb"
|
1391 |
+
}
|
1392 |
+
},
|
1393 |
+
"node_modules/is-number-object": {
|
1394 |
+
"version": "1.0.7",
|
1395 |
+
"resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.7.tgz",
|
1396 |
+
"integrity": "sha512-k1U0IRzLMo7ZlYIfzRu23Oh6MiIFasgpb9X76eqfFZAqwH44UI4KTBvBYIZ1dSL9ZzChTB9ShHfLkR4pdW5krQ==",
|
1397 |
+
"dependencies": {
|
1398 |
+
"has-tostringtag": "^1.0.0"
|
1399 |
+
},
|
1400 |
+
"engines": {
|
1401 |
+
"node": ">= 0.4"
|
1402 |
+
},
|
1403 |
+
"funding": {
|
1404 |
+
"url": "https://github.com/sponsors/ljharb"
|
1405 |
+
}
|
1406 |
+
},
|
1407 |
+
"node_modules/is-regex": {
|
1408 |
+
"version": "1.1.4",
|
1409 |
+
"resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.4.tgz",
|
1410 |
+
"integrity": "sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==",
|
1411 |
+
"dependencies": {
|
1412 |
+
"call-bind": "^1.0.2",
|
1413 |
+
"has-tostringtag": "^1.0.0"
|
1414 |
+
},
|
1415 |
+
"engines": {
|
1416 |
+
"node": ">= 0.4"
|
1417 |
+
},
|
1418 |
+
"funding": {
|
1419 |
+
"url": "https://github.com/sponsors/ljharb"
|
1420 |
+
}
|
1421 |
+
},
|
1422 |
+
"node_modules/is-set": {
|
1423 |
+
"version": "2.0.3",
|
1424 |
+
"resolved": "https://registry.npmjs.org/is-set/-/is-set-2.0.3.tgz",
|
1425 |
+
"integrity": "sha512-iPAjerrse27/ygGLxw+EBR9agv9Y6uLeYVJMu+QNCoouJ1/1ri0mGrcWpfCqFZuzzx3WjtwxG098X+n4OuRkPg==",
|
1426 |
+
"engines": {
|
1427 |
+
"node": ">= 0.4"
|
1428 |
+
},
|
1429 |
+
"funding": {
|
1430 |
+
"url": "https://github.com/sponsors/ljharb"
|
1431 |
+
}
|
1432 |
+
},
|
1433 |
+
"node_modules/is-shared-array-buffer": {
|
1434 |
+
"version": "1.0.3",
|
1435 |
+
"resolved": "https://registry.npmjs.org/is-shared-array-buffer/-/is-shared-array-buffer-1.0.3.tgz",
|
1436 |
+
"integrity": "sha512-nA2hv5XIhLR3uVzDDfCIknerhx8XUKnstuOERPNNIinXG7v9u+ohXF67vxm4TPTEPU6lm61ZkwP3c9PCB97rhg==",
|
1437 |
+
"dependencies": {
|
1438 |
+
"call-bind": "^1.0.7"
|
1439 |
+
},
|
1440 |
+
"engines": {
|
1441 |
+
"node": ">= 0.4"
|
1442 |
+
},
|
1443 |
+
"funding": {
|
1444 |
+
"url": "https://github.com/sponsors/ljharb"
|
1445 |
+
}
|
1446 |
+
},
|
1447 |
+
"node_modules/is-string": {
|
1448 |
+
"version": "1.0.7",
|
1449 |
+
"resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.7.tgz",
|
1450 |
+
"integrity": "sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==",
|
1451 |
+
"dependencies": {
|
1452 |
+
"has-tostringtag": "^1.0.0"
|
1453 |
+
},
|
1454 |
+
"engines": {
|
1455 |
+
"node": ">= 0.4"
|
1456 |
+
},
|
1457 |
+
"funding": {
|
1458 |
+
"url": "https://github.com/sponsors/ljharb"
|
1459 |
+
}
|
1460 |
+
},
|
1461 |
+
"node_modules/is-symbol": {
|
1462 |
+
"version": "1.0.4",
|
1463 |
+
"resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.4.tgz",
|
1464 |
+
"integrity": "sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg==",
|
1465 |
+
"dependencies": {
|
1466 |
+
"has-symbols": "^1.0.2"
|
1467 |
+
},
|
1468 |
+
"engines": {
|
1469 |
+
"node": ">= 0.4"
|
1470 |
+
},
|
1471 |
+
"funding": {
|
1472 |
+
"url": "https://github.com/sponsors/ljharb"
|
1473 |
+
}
|
1474 |
+
},
|
1475 |
+
"node_modules/is-weakmap": {
|
1476 |
+
"version": "2.0.2",
|
1477 |
+
"resolved": "https://registry.npmjs.org/is-weakmap/-/is-weakmap-2.0.2.tgz",
|
1478 |
+
"integrity": "sha512-K5pXYOm9wqY1RgjpL3YTkF39tni1XajUIkawTLUo9EZEVUFga5gSQJF8nNS7ZwJQ02y+1YCNYcMh+HIf1ZqE+w==",
|
1479 |
+
"engines": {
|
1480 |
+
"node": ">= 0.4"
|
1481 |
+
},
|
1482 |
+
"funding": {
|
1483 |
+
"url": "https://github.com/sponsors/ljharb"
|
1484 |
+
}
|
1485 |
+
},
|
1486 |
+
"node_modules/is-weakset": {
|
1487 |
+
"version": "2.0.3",
|
1488 |
+
"resolved": "https://registry.npmjs.org/is-weakset/-/is-weakset-2.0.3.tgz",
|
1489 |
+
"integrity": "sha512-LvIm3/KWzS9oRFHugab7d+M/GcBXuXX5xZkzPmN+NxihdQlZUQ4dWuSV1xR/sq6upL1TJEDrfBgRepHFdBtSNQ==",
|
1490 |
+
"dependencies": {
|
1491 |
+
"call-bind": "^1.0.7",
|
1492 |
+
"get-intrinsic": "^1.2.4"
|
1493 |
+
},
|
1494 |
+
"engines": {
|
1495 |
+
"node": ">= 0.4"
|
1496 |
+
},
|
1497 |
+
"funding": {
|
1498 |
+
"url": "https://github.com/sponsors/ljharb"
|
1499 |
+
}
|
1500 |
+
},
|
1501 |
+
"node_modules/isarray": {
|
1502 |
+
"version": "2.0.5",
|
1503 |
+
"resolved": "https://registry.npmjs.org/isarray/-/isarray-2.0.5.tgz",
|
1504 |
+
"integrity": "sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw=="
|
1505 |
+
},
|
1506 |
+
"node_modules/jpeg-exif": {
|
1507 |
+
"version": "1.1.4",
|
1508 |
+
"resolved": "https://registry.npmjs.org/jpeg-exif/-/jpeg-exif-1.1.4.tgz",
|
1509 |
+
"integrity": "sha512-a+bKEcCjtuW5WTdgeXFzswSrdqi0jk4XlEtZlx5A94wCoBpFjfFTbo/Tra5SpNCl/YFZPvcV1dJc+TAYeg6ROQ=="
|
1510 |
+
},
|
1511 |
+
"node_modules/js-tokens": {
|
1512 |
+
"version": "4.0.0",
|
1513 |
+
"resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz",
|
1514 |
+
"integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ=="
|
1515 |
+
},
|
1516 |
+
"node_modules/js-yaml": {
|
1517 |
+
"version": "4.1.0",
|
1518 |
+
"resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz",
|
1519 |
+
"integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==",
|
1520 |
+
"dependencies": {
|
1521 |
+
"argparse": "^2.0.1"
|
1522 |
+
},
|
1523 |
+
"bin": {
|
1524 |
+
"js-yaml": "bin/js-yaml.js"
|
1525 |
+
}
|
1526 |
+
},
|
1527 |
+
"node_modules/json-parse-even-better-errors": {
|
1528 |
+
"version": "2.3.1",
|
1529 |
+
"resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz",
|
1530 |
+
"integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w=="
|
1531 |
+
},
|
1532 |
+
"node_modules/linebreak": {
|
1533 |
+
"version": "1.1.0",
|
1534 |
+
"resolved": "https://registry.npmjs.org/linebreak/-/linebreak-1.1.0.tgz",
|
1535 |
+
"integrity": "sha512-MHp03UImeVhB7XZtjd0E4n6+3xr5Dq/9xI/5FptGk5FrbDR3zagPa2DS6U8ks/3HjbKWG9Q1M2ufOzxV2qLYSQ==",
|
1536 |
+
"dependencies": {
|
1537 |
+
"base64-js": "0.0.8",
|
1538 |
+
"unicode-trie": "^2.0.0"
|
1539 |
+
}
|
1540 |
+
},
|
1541 |
+
"node_modules/linebreak/node_modules/base64-js": {
|
1542 |
+
"version": "0.0.8",
|
1543 |
+
"resolved": "https://registry.npmjs.org/base64-js/-/base64-js-0.0.8.tgz",
|
1544 |
+
"integrity": "sha512-3XSA2cR/h/73EzlXXdU6YNycmYI7+kicTxks4eJg2g39biHR84slg2+des+p7iHYhbRg/udIS4TD53WabcOUkw==",
|
1545 |
+
"engines": {
|
1546 |
+
"node": ">= 0.4"
|
1547 |
+
}
|
1548 |
+
},
|
1549 |
+
"node_modules/lines-and-columns": {
|
1550 |
+
"version": "1.2.4",
|
1551 |
+
"resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz",
|
1552 |
+
"integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg=="
|
1553 |
+
},
|
1554 |
+
"node_modules/lru-cache": {
|
1555 |
+
"version": "6.0.0",
|
1556 |
+
"resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz",
|
1557 |
+
"integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==",
|
1558 |
+
"dependencies": {
|
1559 |
+
"yallist": "^4.0.0"
|
1560 |
+
},
|
1561 |
+
"engines": {
|
1562 |
+
"node": ">=10"
|
1563 |
+
}
|
1564 |
+
},
|
1565 |
+
"node_modules/mitt": {
|
1566 |
+
"version": "3.0.0",
|
1567 |
+
"resolved": "https://registry.npmjs.org/mitt/-/mitt-3.0.0.tgz",
|
1568 |
+
"integrity": "sha512-7dX2/10ITVyqh4aOSVI9gdape+t9l2/8QxHrFmUXu4EEUpdlxl6RudZUPZoc+zuY2hk1j7XxVroIVIan/pD/SQ=="
|
1569 |
+
},
|
1570 |
+
"node_modules/mkdirp-classic": {
|
1571 |
+
"version": "0.5.3",
|
1572 |
+
"resolved": "https://registry.npmjs.org/mkdirp-classic/-/mkdirp-classic-0.5.3.tgz",
|
1573 |
+
"integrity": "sha512-gKLcREMhtuZRwRAfqP3RFW+TK4JqApVBtOIftVgjuABpAtpxhPGaDcfvbhNvD0B8iD1oUr/txX35NjcaY6Ns/A=="
|
1574 |
+
},
|
1575 |
+
"node_modules/ms": {
|
1576 |
+
"version": "2.1.2",
|
1577 |
+
"resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
|
1578 |
+
"integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w=="
|
1579 |
+
},
|
1580 |
+
"node_modules/node-fetch": {
|
1581 |
+
"version": "2.6.7",
|
1582 |
+
"resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.7.tgz",
|
1583 |
+
"integrity": "sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==",
|
1584 |
+
"dependencies": {
|
1585 |
+
"whatwg-url": "^5.0.0"
|
1586 |
+
},
|
1587 |
+
"engines": {
|
1588 |
+
"node": "4.x || >=6.0.0"
|
1589 |
+
},
|
1590 |
+
"peerDependencies": {
|
1591 |
+
"encoding": "^0.1.0"
|
1592 |
+
},
|
1593 |
+
"peerDependenciesMeta": {
|
1594 |
+
"encoding": {
|
1595 |
+
"optional": true
|
1596 |
+
}
|
1597 |
+
}
|
1598 |
+
},
|
1599 |
+
"node_modules/object-inspect": {
|
1600 |
+
"version": "1.13.1",
|
1601 |
+
"resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.1.tgz",
|
1602 |
+
"integrity": "sha512-5qoj1RUiKOMsCCNLV1CBiPYE10sziTsnmNxkAI/rZhiD63CF7IqdFGC/XzjWjpSgLf0LxXX3bDFIh0E18f6UhQ==",
|
1603 |
+
"funding": {
|
1604 |
+
"url": "https://github.com/sponsors/ljharb"
|
1605 |
+
}
|
1606 |
+
},
|
1607 |
+
"node_modules/object-is": {
|
1608 |
+
"version": "1.1.6",
|
1609 |
+
"resolved": "https://registry.npmjs.org/object-is/-/object-is-1.1.6.tgz",
|
1610 |
+
"integrity": "sha512-F8cZ+KfGlSGi09lJT7/Nd6KJZ9ygtvYC0/UYYLI9nmQKLMnydpB9yvbv9K1uSkEu7FU9vYPmVwLg328tX+ot3Q==",
|
1611 |
+
"dependencies": {
|
1612 |
+
"call-bind": "^1.0.7",
|
1613 |
+
"define-properties": "^1.2.1"
|
1614 |
+
},
|
1615 |
+
"engines": {
|
1616 |
+
"node": ">= 0.4"
|
1617 |
+
},
|
1618 |
+
"funding": {
|
1619 |
+
"url": "https://github.com/sponsors/ljharb"
|
1620 |
+
}
|
1621 |
+
},
|
1622 |
+
"node_modules/object-keys": {
|
1623 |
+
"version": "1.1.1",
|
1624 |
+
"resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz",
|
1625 |
+
"integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==",
|
1626 |
+
"engines": {
|
1627 |
+
"node": ">= 0.4"
|
1628 |
+
}
|
1629 |
+
},
|
1630 |
+
"node_modules/object.assign": {
|
1631 |
+
"version": "4.1.5",
|
1632 |
+
"resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.5.tgz",
|
1633 |
+
"integrity": "sha512-byy+U7gp+FVwmyzKPYhW2h5l3crpmGsxl7X2s8y43IgxvG4g3QZ6CffDtsNQy1WsmZpQbO+ybo0AlW7TY6DcBQ==",
|
1634 |
+
"dependencies": {
|
1635 |
+
"call-bind": "^1.0.5",
|
1636 |
+
"define-properties": "^1.2.1",
|
1637 |
+
"has-symbols": "^1.0.3",
|
1638 |
+
"object-keys": "^1.1.1"
|
1639 |
+
},
|
1640 |
+
"engines": {
|
1641 |
+
"node": ">= 0.4"
|
1642 |
+
},
|
1643 |
+
"funding": {
|
1644 |
+
"url": "https://github.com/sponsors/ljharb"
|
1645 |
+
}
|
1646 |
+
},
|
1647 |
+
"node_modules/once": {
|
1648 |
+
"version": "1.4.0",
|
1649 |
+
"resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
|
1650 |
+
"integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==",
|
1651 |
+
"dependencies": {
|
1652 |
+
"wrappy": "1"
|
1653 |
+
}
|
1654 |
+
},
|
1655 |
+
"node_modules/pako": {
|
1656 |
+
"version": "0.2.9",
|
1657 |
+
"resolved": "https://registry.npmjs.org/pako/-/pako-0.2.9.tgz",
|
1658 |
+
"integrity": "sha512-NUcwaKxUxWrZLpDG+z/xZaCgQITkA/Dv4V/T6bw7VON6l1Xz/VnrBqrYjZQ12TamKHzITTfOEIYUj48y2KXImA=="
|
1659 |
+
},
|
1660 |
+
"node_modules/parent-module": {
|
1661 |
+
"version": "1.0.1",
|
1662 |
+
"resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz",
|
1663 |
+
"integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==",
|
1664 |
+
"dependencies": {
|
1665 |
+
"callsites": "^3.0.0"
|
1666 |
+
},
|
1667 |
+
"engines": {
|
1668 |
+
"node": ">=6"
|
1669 |
+
}
|
1670 |
+
},
|
1671 |
+
"node_modules/parse-json": {
|
1672 |
+
"version": "5.2.0",
|
1673 |
+
"resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz",
|
1674 |
+
"integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==",
|
1675 |
+
"dependencies": {
|
1676 |
+
"@babel/code-frame": "^7.0.0",
|
1677 |
+
"error-ex": "^1.3.1",
|
1678 |
+
"json-parse-even-better-errors": "^2.3.0",
|
1679 |
+
"lines-and-columns": "^1.1.6"
|
1680 |
+
},
|
1681 |
+
"engines": {
|
1682 |
+
"node": ">=8"
|
1683 |
+
},
|
1684 |
+
"funding": {
|
1685 |
+
"url": "https://github.com/sponsors/sindresorhus"
|
1686 |
+
}
|
1687 |
+
},
|
1688 |
+
"node_modules/path-type": {
|
1689 |
+
"version": "4.0.0",
|
1690 |
+
"resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz",
|
1691 |
+
"integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==",
|
1692 |
+
"engines": {
|
1693 |
+
"node": ">=8"
|
1694 |
+
}
|
1695 |
+
},
|
1696 |
+
"node_modules/pdfkit": {
|
1697 |
+
"version": "0.15.0",
|
1698 |
+
"resolved": "https://registry.npmjs.org/pdfkit/-/pdfkit-0.15.0.tgz",
|
1699 |
+
"integrity": "sha512-Z0dx0sEPKLW2kbThS1SWZ0iSHlRPoFMpP+oSjNrtwRjsfGivwE+r6emyEFwQG/fx1Ri0AGUHmDcGOSMMlLLnSg==",
|
1700 |
+
"dependencies": {
|
1701 |
+
"crypto-js": "^4.2.0",
|
1702 |
+
"fontkit": "^1.8.1",
|
1703 |
+
"jpeg-exif": "^1.1.4",
|
1704 |
+
"linebreak": "^1.0.2",
|
1705 |
+
"png-js": "^1.0.0"
|
1706 |
+
}
|
1707 |
+
},
|
1708 |
+
"node_modules/pend": {
|
1709 |
+
"version": "1.2.0",
|
1710 |
+
"resolved": "https://registry.npmjs.org/pend/-/pend-1.2.0.tgz",
|
1711 |
+
"integrity": "sha512-F3asv42UuXchdzt+xXqfW1OGlVBe+mxa2mqI0pg5yAHZPvFmY3Y6drSf/GQ1A86WgWEN9Kzh/WrgKa6iGcHXLg=="
|
1712 |
+
},
|
1713 |
+
"node_modules/picocolors": {
|
1714 |
+
"version": "1.0.0",
|
1715 |
+
"resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz",
|
1716 |
+
"integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ=="
|
1717 |
+
},
|
1718 |
+
"node_modules/png-js": {
|
1719 |
+
"version": "1.0.0",
|
1720 |
+
"resolved": "https://registry.npmjs.org/png-js/-/png-js-1.0.0.tgz",
|
1721 |
+
"integrity": "sha512-k+YsbhpA9e+EFfKjTCH3VW6aoKlyNYI6NYdTfDL4CIvFnvsuO84ttonmZE7rc+v23SLTH8XX+5w/Ak9v0xGY4g=="
|
1722 |
+
},
|
1723 |
+
"node_modules/possible-typed-array-names": {
|
1724 |
+
"version": "1.0.0",
|
1725 |
+
"resolved": "https://registry.npmjs.org/possible-typed-array-names/-/possible-typed-array-names-1.0.0.tgz",
|
1726 |
+
"integrity": "sha512-d7Uw+eZoloe0EHDIYoe+bQ5WXnGMOpmiZFTuMWCwpjzzkL2nTjcKiAk4hh8TjnGye2TwWOk3UXucZ+3rbmBa8Q==",
|
1727 |
+
"engines": {
|
1728 |
+
"node": ">= 0.4"
|
1729 |
+
}
|
1730 |
+
},
|
1731 |
+
"node_modules/progress": {
|
1732 |
+
"version": "2.0.3",
|
1733 |
+
"resolved": "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz",
|
1734 |
+
"integrity": "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==",
|
1735 |
+
"engines": {
|
1736 |
+
"node": ">=0.4.0"
|
1737 |
+
}
|
1738 |
+
},
|
1739 |
+
"node_modules/proxy-from-env": {
|
1740 |
+
"version": "1.1.0",
|
1741 |
+
"resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz",
|
1742 |
+
"integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg=="
|
1743 |
+
},
|
1744 |
+
"node_modules/pump": {
|
1745 |
+
"version": "3.0.0",
|
1746 |
+
"resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz",
|
1747 |
+
"integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==",
|
1748 |
+
"dependencies": {
|
1749 |
+
"end-of-stream": "^1.1.0",
|
1750 |
+
"once": "^1.3.1"
|
1751 |
+
}
|
1752 |
+
},
|
1753 |
+
"node_modules/puppeteer": {
|
1754 |
+
"version": "19.11.1",
|
1755 |
+
"resolved": "https://registry.npmjs.org/puppeteer/-/puppeteer-19.11.1.tgz",
|
1756 |
+
"integrity": "sha512-39olGaX2djYUdhaQQHDZ0T0GwEp+5f9UB9HmEP0qHfdQHIq0xGQZuAZ5TLnJIc/88SrPLpEflPC+xUqOTv3c5g==",
|
1757 |
+
"deprecated": "< 21.9.0 is no longer supported",
|
1758 |
+
"hasInstallScript": true,
|
1759 |
+
"dependencies": {
|
1760 |
+
"@puppeteer/browsers": "0.5.0",
|
1761 |
+
"cosmiconfig": "8.1.3",
|
1762 |
+
"https-proxy-agent": "5.0.1",
|
1763 |
+
"progress": "2.0.3",
|
1764 |
+
"proxy-from-env": "1.1.0",
|
1765 |
+
"puppeteer-core": "19.11.1"
|
1766 |
+
}
|
1767 |
+
},
|
1768 |
+
"node_modules/puppeteer-core": {
|
1769 |
+
"version": "19.11.1",
|
1770 |
+
"resolved": "https://registry.npmjs.org/puppeteer-core/-/puppeteer-core-19.11.1.tgz",
|
1771 |
+
"integrity": "sha512-qcuC2Uf0Fwdj9wNtaTZ2OvYRraXpAK+puwwVW8ofOhOgLPZyz1c68tsorfIZyCUOpyBisjr+xByu7BMbEYMepA==",
|
1772 |
+
"dependencies": {
|
1773 |
+
"@puppeteer/browsers": "0.5.0",
|
1774 |
+
"chromium-bidi": "0.4.7",
|
1775 |
+
"cross-fetch": "3.1.5",
|
1776 |
+
"debug": "4.3.4",
|
1777 |
+
"devtools-protocol": "0.0.1107588",
|
1778 |
+
"extract-zip": "2.0.1",
|
1779 |
+
"https-proxy-agent": "5.0.1",
|
1780 |
+
"proxy-from-env": "1.1.0",
|
1781 |
+
"tar-fs": "2.1.1",
|
1782 |
+
"unbzip2-stream": "1.4.3",
|
1783 |
+
"ws": "8.13.0"
|
1784 |
+
},
|
1785 |
+
"engines": {
|
1786 |
+
"node": ">=14.14.0"
|
1787 |
+
},
|
1788 |
+
"peerDependencies": {
|
1789 |
+
"typescript": ">= 4.7.4"
|
1790 |
+
},
|
1791 |
+
"peerDependenciesMeta": {
|
1792 |
+
"typescript": {
|
1793 |
+
"optional": true
|
1794 |
+
}
|
1795 |
+
}
|
1796 |
+
},
|
1797 |
+
"node_modules/readable-stream": {
|
1798 |
+
"version": "3.6.2",
|
1799 |
+
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz",
|
1800 |
+
"integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==",
|
1801 |
+
"dependencies": {
|
1802 |
+
"inherits": "^2.0.3",
|
1803 |
+
"string_decoder": "^1.1.1",
|
1804 |
+
"util-deprecate": "^1.0.1"
|
1805 |
+
},
|
1806 |
+
"engines": {
|
1807 |
+
"node": ">= 6"
|
1808 |
+
}
|
1809 |
+
},
|
1810 |
+
"node_modules/regexp.prototype.flags": {
|
1811 |
+
"version": "1.5.2",
|
1812 |
+
"resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.5.2.tgz",
|
1813 |
+
"integrity": "sha512-NcDiDkTLuPR+++OCKB0nWafEmhg/Da8aUPLPMQbK+bxKKCm1/S5he+AqYa4PlMCVBalb4/yxIRub6qkEx5yJbw==",
|
1814 |
+
"dependencies": {
|
1815 |
+
"call-bind": "^1.0.6",
|
1816 |
+
"define-properties": "^1.2.1",
|
1817 |
+
"es-errors": "^1.3.0",
|
1818 |
+
"set-function-name": "^2.0.1"
|
1819 |
+
},
|
1820 |
+
"engines": {
|
1821 |
+
"node": ">= 0.4"
|
1822 |
+
},
|
1823 |
+
"funding": {
|
1824 |
+
"url": "https://github.com/sponsors/ljharb"
|
1825 |
+
}
|
1826 |
+
},
|
1827 |
+
"node_modules/require-directory": {
|
1828 |
+
"version": "2.1.1",
|
1829 |
+
"resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz",
|
1830 |
+
"integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==",
|
1831 |
+
"engines": {
|
1832 |
+
"node": ">=0.10.0"
|
1833 |
+
}
|
1834 |
+
},
|
1835 |
+
"node_modules/resolve-from": {
|
1836 |
+
"version": "4.0.0",
|
1837 |
+
"resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz",
|
1838 |
+
"integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==",
|
1839 |
+
"engines": {
|
1840 |
+
"node": ">=4"
|
1841 |
+
}
|
1842 |
+
},
|
1843 |
+
"node_modules/restructure": {
|
1844 |
+
"version": "2.0.1",
|
1845 |
+
"resolved": "https://registry.npmjs.org/restructure/-/restructure-2.0.1.tgz",
|
1846 |
+
"integrity": "sha512-e0dOpjm5DseomnXx2M5lpdZ5zoHqF1+bqdMJUohoYVVQa7cBdnk7fdmeI6byNWP/kiME72EeTiSypTCVnpLiDg=="
|
1847 |
+
},
|
1848 |
+
"node_modules/safe-buffer": {
|
1849 |
+
"version": "5.2.1",
|
1850 |
+
"resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz",
|
1851 |
+
"integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==",
|
1852 |
+
"funding": [
|
1853 |
+
{
|
1854 |
+
"type": "github",
|
1855 |
+
"url": "https://github.com/sponsors/feross"
|
1856 |
+
},
|
1857 |
+
{
|
1858 |
+
"type": "patreon",
|
1859 |
+
"url": "https://www.patreon.com/feross"
|
1860 |
+
},
|
1861 |
+
{
|
1862 |
+
"type": "consulting",
|
1863 |
+
"url": "https://feross.org/support"
|
1864 |
+
}
|
1865 |
+
]
|
1866 |
+
},
|
1867 |
+
"node_modules/semver": {
|
1868 |
+
"version": "7.6.0",
|
1869 |
+
"resolved": "https://registry.npmjs.org/semver/-/semver-7.6.0.tgz",
|
1870 |
+
"integrity": "sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==",
|
1871 |
+
"dependencies": {
|
1872 |
+
"lru-cache": "^6.0.0"
|
1873 |
+
},
|
1874 |
+
"bin": {
|
1875 |
+
"semver": "bin/semver.js"
|
1876 |
+
},
|
1877 |
+
"engines": {
|
1878 |
+
"node": ">=10"
|
1879 |
+
}
|
1880 |
+
},
|
1881 |
+
"node_modules/set-function-length": {
|
1882 |
+
"version": "1.2.2",
|
1883 |
+
"resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.2.2.tgz",
|
1884 |
+
"integrity": "sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==",
|
1885 |
+
"dependencies": {
|
1886 |
+
"define-data-property": "^1.1.4",
|
1887 |
+
"es-errors": "^1.3.0",
|
1888 |
+
"function-bind": "^1.1.2",
|
1889 |
+
"get-intrinsic": "^1.2.4",
|
1890 |
+
"gopd": "^1.0.1",
|
1891 |
+
"has-property-descriptors": "^1.0.2"
|
1892 |
+
},
|
1893 |
+
"engines": {
|
1894 |
+
"node": ">= 0.4"
|
1895 |
+
}
|
1896 |
+
},
|
1897 |
+
"node_modules/set-function-name": {
|
1898 |
+
"version": "2.0.2",
|
1899 |
+
"resolved": "https://registry.npmjs.org/set-function-name/-/set-function-name-2.0.2.tgz",
|
1900 |
+
"integrity": "sha512-7PGFlmtwsEADb0WYyvCMa1t+yke6daIG4Wirafur5kcf+MhUnPms1UeR0CKQdTZD81yESwMHbtn+TR+dMviakQ==",
|
1901 |
+
"dependencies": {
|
1902 |
+
"define-data-property": "^1.1.4",
|
1903 |
+
"es-errors": "^1.3.0",
|
1904 |
+
"functions-have-names": "^1.2.3",
|
1905 |
+
"has-property-descriptors": "^1.0.2"
|
1906 |
+
},
|
1907 |
+
"engines": {
|
1908 |
+
"node": ">= 0.4"
|
1909 |
+
}
|
1910 |
+
},
|
1911 |
+
"node_modules/sharp": {
|
1912 |
+
"version": "0.33.3",
|
1913 |
+
"resolved": "https://registry.npmjs.org/sharp/-/sharp-0.33.3.tgz",
|
1914 |
+
"integrity": "sha512-vHUeXJU1UvlO/BNwTpT0x/r53WkLUVxrmb5JTgW92fdFCFk0ispLMAeu/jPO2vjkXM1fYUi3K7/qcLF47pwM1A==",
|
1915 |
+
"hasInstallScript": true,
|
1916 |
+
"dependencies": {
|
1917 |
+
"color": "^4.2.3",
|
1918 |
+
"detect-libc": "^2.0.3",
|
1919 |
+
"semver": "^7.6.0"
|
1920 |
+
},
|
1921 |
+
"engines": {
|
1922 |
+
"libvips": ">=8.15.2",
|
1923 |
+
"node": "^18.17.0 || ^20.3.0 || >=21.0.0"
|
1924 |
+
},
|
1925 |
+
"funding": {
|
1926 |
+
"url": "https://opencollective.com/libvips"
|
1927 |
+
},
|
1928 |
+
"optionalDependencies": {
|
1929 |
+
"@img/sharp-darwin-arm64": "0.33.3",
|
1930 |
+
"@img/sharp-darwin-x64": "0.33.3",
|
1931 |
+
"@img/sharp-libvips-darwin-arm64": "1.0.2",
|
1932 |
+
"@img/sharp-libvips-darwin-x64": "1.0.2",
|
1933 |
+
"@img/sharp-libvips-linux-arm": "1.0.2",
|
1934 |
+
"@img/sharp-libvips-linux-arm64": "1.0.2",
|
1935 |
+
"@img/sharp-libvips-linux-s390x": "1.0.2",
|
1936 |
+
"@img/sharp-libvips-linux-x64": "1.0.2",
|
1937 |
+
"@img/sharp-libvips-linuxmusl-arm64": "1.0.2",
|
1938 |
+
"@img/sharp-libvips-linuxmusl-x64": "1.0.2",
|
1939 |
+
"@img/sharp-linux-arm": "0.33.3",
|
1940 |
+
"@img/sharp-linux-arm64": "0.33.3",
|
1941 |
+
"@img/sharp-linux-s390x": "0.33.3",
|
1942 |
+
"@img/sharp-linux-x64": "0.33.3",
|
1943 |
+
"@img/sharp-linuxmusl-arm64": "0.33.3",
|
1944 |
+
"@img/sharp-linuxmusl-x64": "0.33.3",
|
1945 |
+
"@img/sharp-wasm32": "0.33.3",
|
1946 |
+
"@img/sharp-win32-ia32": "0.33.3",
|
1947 |
+
"@img/sharp-win32-x64": "0.33.3"
|
1948 |
+
}
|
1949 |
+
},
|
1950 |
+
"node_modules/side-channel": {
|
1951 |
+
"version": "1.0.6",
|
1952 |
+
"resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.6.tgz",
|
1953 |
+
"integrity": "sha512-fDW/EZ6Q9RiO8eFG8Hj+7u/oW+XrPTIChwCOM2+th2A6OblDtYYIpve9m+KvI9Z4C9qSEXlaGR6bTEYHReuglA==",
|
1954 |
+
"dependencies": {
|
1955 |
+
"call-bind": "^1.0.7",
|
1956 |
+
"es-errors": "^1.3.0",
|
1957 |
+
"get-intrinsic": "^1.2.4",
|
1958 |
+
"object-inspect": "^1.13.1"
|
1959 |
+
},
|
1960 |
+
"engines": {
|
1961 |
+
"node": ">= 0.4"
|
1962 |
+
},
|
1963 |
+
"funding": {
|
1964 |
+
"url": "https://github.com/sponsors/ljharb"
|
1965 |
+
}
|
1966 |
+
},
|
1967 |
+
"node_modules/simple-swizzle": {
|
1968 |
+
"version": "0.2.2",
|
1969 |
+
"resolved": "https://registry.npmjs.org/simple-swizzle/-/simple-swizzle-0.2.2.tgz",
|
1970 |
+
"integrity": "sha512-JA//kQgZtbuY83m+xT+tXJkmJncGMTFT+C+g2h2R9uxkYIrE2yy9sgmcLhCnw57/WSD+Eh3J97FPEDFnbXnDUg==",
|
1971 |
+
"dependencies": {
|
1972 |
+
"is-arrayish": "^0.3.1"
|
1973 |
+
}
|
1974 |
+
},
|
1975 |
+
"node_modules/simple-swizzle/node_modules/is-arrayish": {
|
1976 |
+
"version": "0.3.2",
|
1977 |
+
"resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.3.2.tgz",
|
1978 |
+
"integrity": "sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ=="
|
1979 |
+
},
|
1980 |
+
"node_modules/stop-iteration-iterator": {
|
1981 |
+
"version": "1.0.0",
|
1982 |
+
"resolved": "https://registry.npmjs.org/stop-iteration-iterator/-/stop-iteration-iterator-1.0.0.tgz",
|
1983 |
+
"integrity": "sha512-iCGQj+0l0HOdZ2AEeBADlsRC+vsnDsZsbdSiH1yNSjcfKM7fdpCMfqAL/dwF5BLiw/XhRft/Wax6zQbhq2BcjQ==",
|
1984 |
+
"dependencies": {
|
1985 |
+
"internal-slot": "^1.0.4"
|
1986 |
+
},
|
1987 |
+
"engines": {
|
1988 |
+
"node": ">= 0.4"
|
1989 |
+
}
|
1990 |
+
},
|
1991 |
+
"node_modules/string_decoder": {
|
1992 |
+
"version": "1.3.0",
|
1993 |
+
"resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz",
|
1994 |
+
"integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==",
|
1995 |
+
"dependencies": {
|
1996 |
+
"safe-buffer": "~5.2.0"
|
1997 |
+
}
|
1998 |
+
},
|
1999 |
+
"node_modules/string-width": {
|
2000 |
+
"version": "4.2.3",
|
2001 |
+
"resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz",
|
2002 |
+
"integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==",
|
2003 |
+
"dependencies": {
|
2004 |
+
"emoji-regex": "^8.0.0",
|
2005 |
+
"is-fullwidth-code-point": "^3.0.0",
|
2006 |
+
"strip-ansi": "^6.0.1"
|
2007 |
+
},
|
2008 |
+
"engines": {
|
2009 |
+
"node": ">=8"
|
2010 |
+
}
|
2011 |
+
},
|
2012 |
+
"node_modules/strip-ansi": {
|
2013 |
+
"version": "6.0.1",
|
2014 |
+
"resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz",
|
2015 |
+
"integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",
|
2016 |
+
"dependencies": {
|
2017 |
+
"ansi-regex": "^5.0.1"
|
2018 |
+
},
|
2019 |
+
"engines": {
|
2020 |
+
"node": ">=8"
|
2021 |
+
}
|
2022 |
+
},
|
2023 |
+
"node_modules/supports-color": {
|
2024 |
+
"version": "5.5.0",
|
2025 |
+
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",
|
2026 |
+
"integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",
|
2027 |
+
"dependencies": {
|
2028 |
+
"has-flag": "^3.0.0"
|
2029 |
+
},
|
2030 |
+
"engines": {
|
2031 |
+
"node": ">=4"
|
2032 |
+
}
|
2033 |
+
},
|
2034 |
+
"node_modules/tar-fs": {
|
2035 |
+
"version": "2.1.1",
|
2036 |
+
"resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-2.1.1.tgz",
|
2037 |
+
"integrity": "sha512-V0r2Y9scmbDRLCNex/+hYzvp/zyYjvFbHPNgVTKfQvVrb6guiE/fxP+XblDNR011utopbkex2nM4dHNV6GDsng==",
|
2038 |
+
"dependencies": {
|
2039 |
+
"chownr": "^1.1.1",
|
2040 |
+
"mkdirp-classic": "^0.5.2",
|
2041 |
+
"pump": "^3.0.0",
|
2042 |
+
"tar-stream": "^2.1.4"
|
2043 |
+
}
|
2044 |
+
},
|
2045 |
+
"node_modules/tar-stream": {
|
2046 |
+
"version": "2.2.0",
|
2047 |
+
"resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-2.2.0.tgz",
|
2048 |
+
"integrity": "sha512-ujeqbceABgwMZxEJnk2HDY2DlnUZ+9oEcb1KzTVfYHio0UE6dG71n60d8D2I4qNvleWrrXpmjpt7vZeF1LnMZQ==",
|
2049 |
+
"dependencies": {
|
2050 |
+
"bl": "^4.0.3",
|
2051 |
+
"end-of-stream": "^1.4.1",
|
2052 |
+
"fs-constants": "^1.0.0",
|
2053 |
+
"inherits": "^2.0.3",
|
2054 |
+
"readable-stream": "^3.1.1"
|
2055 |
+
},
|
2056 |
+
"engines": {
|
2057 |
+
"node": ">=6"
|
2058 |
+
}
|
2059 |
+
},
|
2060 |
+
"node_modules/through": {
|
2061 |
+
"version": "2.3.8",
|
2062 |
+
"resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz",
|
2063 |
+
"integrity": "sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg=="
|
2064 |
+
},
|
2065 |
+
"node_modules/tiny-inflate": {
|
2066 |
+
"version": "1.0.3",
|
2067 |
+
"resolved": "https://registry.npmjs.org/tiny-inflate/-/tiny-inflate-1.0.3.tgz",
|
2068 |
+
"integrity": "sha512-pkY1fj1cKHb2seWDy0B16HeWyczlJA9/WW3u3c4z/NiWDsO3DOU5D7nhTLE9CF0yXv/QZFY7sEJmj24dK+Rrqw=="
|
2069 |
+
},
|
2070 |
+
"node_modules/tr46": {
|
2071 |
+
"version": "0.0.3",
|
2072 |
+
"resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz",
|
2073 |
+
"integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw=="
|
2074 |
+
},
|
2075 |
+
"node_modules/tslib": {
|
2076 |
+
"version": "2.6.2",
|
2077 |
+
"resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz",
|
2078 |
+
"integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q=="
|
2079 |
+
},
|
2080 |
+
"node_modules/unbzip2-stream": {
|
2081 |
+
"version": "1.4.3",
|
2082 |
+
"resolved": "https://registry.npmjs.org/unbzip2-stream/-/unbzip2-stream-1.4.3.tgz",
|
2083 |
+
"integrity": "sha512-mlExGW4w71ebDJviH16lQLtZS32VKqsSfk80GCfUlwT/4/hNRFsoscrF/c++9xinkMzECL1uL9DDwXqFWkruPg==",
|
2084 |
+
"dependencies": {
|
2085 |
+
"buffer": "^5.2.1",
|
2086 |
+
"through": "^2.3.8"
|
2087 |
+
}
|
2088 |
+
},
|
2089 |
+
"node_modules/undici-types": {
|
2090 |
+
"version": "5.26.5",
|
2091 |
+
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz",
|
2092 |
+
"integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==",
|
2093 |
+
"optional": true
|
2094 |
+
},
|
2095 |
+
"node_modules/unicode-properties": {
|
2096 |
+
"version": "1.4.1",
|
2097 |
+
"resolved": "https://registry.npmjs.org/unicode-properties/-/unicode-properties-1.4.1.tgz",
|
2098 |
+
"integrity": "sha512-CLjCCLQ6UuMxWnbIylkisbRj31qxHPAurvena/0iwSVbQ2G1VY5/HjV0IRabOEbDHlzZlRdCrD4NhB0JtU40Pg==",
|
2099 |
+
"dependencies": {
|
2100 |
+
"base64-js": "^1.3.0",
|
2101 |
+
"unicode-trie": "^2.0.0"
|
2102 |
+
}
|
2103 |
+
},
|
2104 |
+
"node_modules/unicode-trie": {
|
2105 |
+
"version": "2.0.0",
|
2106 |
+
"resolved": "https://registry.npmjs.org/unicode-trie/-/unicode-trie-2.0.0.tgz",
|
2107 |
+
"integrity": "sha512-x7bc76x0bm4prf1VLg79uhAzKw8DVboClSN5VxJuQ+LKDOVEW9CdH+VY7SP+vX7xCYQqzzgQpFqz15zeLvAtZQ==",
|
2108 |
+
"dependencies": {
|
2109 |
+
"pako": "^0.2.5",
|
2110 |
+
"tiny-inflate": "^1.0.0"
|
2111 |
+
}
|
2112 |
+
},
|
2113 |
+
"node_modules/util-deprecate": {
|
2114 |
+
"version": "1.0.2",
|
2115 |
+
"resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",
|
2116 |
+
"integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw=="
|
2117 |
+
},
|
2118 |
+
"node_modules/webidl-conversions": {
|
2119 |
+
"version": "3.0.1",
|
2120 |
+
"resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz",
|
2121 |
+
"integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ=="
|
2122 |
+
},
|
2123 |
+
"node_modules/whatwg-url": {
|
2124 |
+
"version": "5.0.0",
|
2125 |
+
"resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz",
|
2126 |
+
"integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==",
|
2127 |
+
"dependencies": {
|
2128 |
+
"tr46": "~0.0.3",
|
2129 |
+
"webidl-conversions": "^3.0.0"
|
2130 |
+
}
|
2131 |
+
},
|
2132 |
+
"node_modules/which-boxed-primitive": {
|
2133 |
+
"version": "1.0.2",
|
2134 |
+
"resolved": "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz",
|
2135 |
+
"integrity": "sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==",
|
2136 |
+
"dependencies": {
|
2137 |
+
"is-bigint": "^1.0.1",
|
2138 |
+
"is-boolean-object": "^1.1.0",
|
2139 |
+
"is-number-object": "^1.0.4",
|
2140 |
+
"is-string": "^1.0.5",
|
2141 |
+
"is-symbol": "^1.0.3"
|
2142 |
+
},
|
2143 |
+
"funding": {
|
2144 |
+
"url": "https://github.com/sponsors/ljharb"
|
2145 |
+
}
|
2146 |
+
},
|
2147 |
+
"node_modules/which-collection": {
|
2148 |
+
"version": "1.0.2",
|
2149 |
+
"resolved": "https://registry.npmjs.org/which-collection/-/which-collection-1.0.2.tgz",
|
2150 |
+
"integrity": "sha512-K4jVyjnBdgvc86Y6BkaLZEN933SwYOuBFkdmBu9ZfkcAbdVbpITnDmjvZ/aQjRXQrv5EPkTnD1s39GiiqbngCw==",
|
2151 |
+
"dependencies": {
|
2152 |
+
"is-map": "^2.0.3",
|
2153 |
+
"is-set": "^2.0.3",
|
2154 |
+
"is-weakmap": "^2.0.2",
|
2155 |
+
"is-weakset": "^2.0.3"
|
2156 |
+
},
|
2157 |
+
"engines": {
|
2158 |
+
"node": ">= 0.4"
|
2159 |
+
},
|
2160 |
+
"funding": {
|
2161 |
+
"url": "https://github.com/sponsors/ljharb"
|
2162 |
+
}
|
2163 |
+
},
|
2164 |
+
"node_modules/which-typed-array": {
|
2165 |
+
"version": "1.1.15",
|
2166 |
+
"resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.15.tgz",
|
2167 |
+
"integrity": "sha512-oV0jmFtUky6CXfkqehVvBP/LSWJ2sy4vWMioiENyJLePrBO/yKyV9OyJySfAKosh+RYkIl5zJCNZ8/4JncrpdA==",
|
2168 |
+
"dependencies": {
|
2169 |
+
"available-typed-arrays": "^1.0.7",
|
2170 |
+
"call-bind": "^1.0.7",
|
2171 |
+
"for-each": "^0.3.3",
|
2172 |
+
"gopd": "^1.0.1",
|
2173 |
+
"has-tostringtag": "^1.0.2"
|
2174 |
+
},
|
2175 |
+
"engines": {
|
2176 |
+
"node": ">= 0.4"
|
2177 |
+
},
|
2178 |
+
"funding": {
|
2179 |
+
"url": "https://github.com/sponsors/ljharb"
|
2180 |
+
}
|
2181 |
+
},
|
2182 |
+
"node_modules/wrap-ansi": {
|
2183 |
+
"version": "7.0.0",
|
2184 |
+
"resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz",
|
2185 |
+
"integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==",
|
2186 |
+
"dependencies": {
|
2187 |
+
"ansi-styles": "^4.0.0",
|
2188 |
+
"string-width": "^4.1.0",
|
2189 |
+
"strip-ansi": "^6.0.0"
|
2190 |
+
},
|
2191 |
+
"engines": {
|
2192 |
+
"node": ">=10"
|
2193 |
+
},
|
2194 |
+
"funding": {
|
2195 |
+
"url": "https://github.com/chalk/wrap-ansi?sponsor=1"
|
2196 |
+
}
|
2197 |
+
},
|
2198 |
+
"node_modules/wrap-ansi/node_modules/ansi-styles": {
|
2199 |
+
"version": "4.3.0",
|
2200 |
+
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
|
2201 |
+
"integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
|
2202 |
+
"dependencies": {
|
2203 |
+
"color-convert": "^2.0.1"
|
2204 |
+
},
|
2205 |
+
"engines": {
|
2206 |
+
"node": ">=8"
|
2207 |
+
},
|
2208 |
+
"funding": {
|
2209 |
+
"url": "https://github.com/chalk/ansi-styles?sponsor=1"
|
2210 |
+
}
|
2211 |
+
},
|
2212 |
+
"node_modules/wrap-ansi/node_modules/color-convert": {
|
2213 |
+
"version": "2.0.1",
|
2214 |
+
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
|
2215 |
+
"integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
|
2216 |
+
"dependencies": {
|
2217 |
+
"color-name": "~1.1.4"
|
2218 |
+
},
|
2219 |
+
"engines": {
|
2220 |
+
"node": ">=7.0.0"
|
2221 |
+
}
|
2222 |
+
},
|
2223 |
+
"node_modules/wrap-ansi/node_modules/color-name": {
|
2224 |
+
"version": "1.1.4",
|
2225 |
+
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
|
2226 |
+
"integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA=="
|
2227 |
+
},
|
2228 |
+
"node_modules/wrappy": {
|
2229 |
+
"version": "1.0.2",
|
2230 |
+
"resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
|
2231 |
+
"integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ=="
|
2232 |
+
},
|
2233 |
+
"node_modules/ws": {
|
2234 |
+
"version": "8.13.0",
|
2235 |
+
"resolved": "https://registry.npmjs.org/ws/-/ws-8.13.0.tgz",
|
2236 |
+
"integrity": "sha512-x9vcZYTrFPC7aSIbj7sRCYo7L/Xb8Iy+pW0ng0wt2vCJv7M9HOMy0UoN3rr+IFC7hb7vXoqS+P9ktyLLLhO+LA==",
|
2237 |
+
"engines": {
|
2238 |
+
"node": ">=10.0.0"
|
2239 |
+
},
|
2240 |
+
"peerDependencies": {
|
2241 |
+
"bufferutil": "^4.0.1",
|
2242 |
+
"utf-8-validate": ">=5.0.2"
|
2243 |
+
},
|
2244 |
+
"peerDependenciesMeta": {
|
2245 |
+
"bufferutil": {
|
2246 |
+
"optional": true
|
2247 |
+
},
|
2248 |
+
"utf-8-validate": {
|
2249 |
+
"optional": true
|
2250 |
+
}
|
2251 |
+
}
|
2252 |
+
},
|
2253 |
+
"node_modules/y18n": {
|
2254 |
+
"version": "5.0.8",
|
2255 |
+
"resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz",
|
2256 |
+
"integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==",
|
2257 |
+
"engines": {
|
2258 |
+
"node": ">=10"
|
2259 |
+
}
|
2260 |
+
},
|
2261 |
+
"node_modules/yallist": {
|
2262 |
+
"version": "4.0.0",
|
2263 |
+
"resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz",
|
2264 |
+
"integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A=="
|
2265 |
+
},
|
2266 |
+
"node_modules/yargs": {
|
2267 |
+
"version": "17.7.1",
|
2268 |
+
"resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.1.tgz",
|
2269 |
+
"integrity": "sha512-cwiTb08Xuv5fqF4AovYacTFNxk62th7LKJ6BL9IGUpTJrWoU7/7WdQGTP2SjKf1dUNBGzDd28p/Yfs/GI6JrLw==",
|
2270 |
+
"dependencies": {
|
2271 |
+
"cliui": "^8.0.1",
|
2272 |
+
"escalade": "^3.1.1",
|
2273 |
+
"get-caller-file": "^2.0.5",
|
2274 |
+
"require-directory": "^2.1.1",
|
2275 |
+
"string-width": "^4.2.3",
|
2276 |
+
"y18n": "^5.0.5",
|
2277 |
+
"yargs-parser": "^21.1.1"
|
2278 |
+
},
|
2279 |
+
"engines": {
|
2280 |
+
"node": ">=12"
|
2281 |
+
}
|
2282 |
+
},
|
2283 |
+
"node_modules/yargs-parser": {
|
2284 |
+
"version": "21.1.1",
|
2285 |
+
"resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz",
|
2286 |
+
"integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==",
|
2287 |
+
"engines": {
|
2288 |
+
"node": ">=12"
|
2289 |
+
}
|
2290 |
+
},
|
2291 |
+
"node_modules/yauzl": {
|
2292 |
+
"version": "2.10.0",
|
2293 |
+
"resolved": "https://registry.npmjs.org/yauzl/-/yauzl-2.10.0.tgz",
|
2294 |
+
"integrity": "sha512-p4a9I6X6nu6IhoGmBqAcbJy1mlC4j27vEPZX9F4L4/vZT3Lyq1VkFHw/V/PUcB9Buo+DG3iHkT0x3Qya58zc3g==",
|
2295 |
+
"dependencies": {
|
2296 |
+
"buffer-crc32": "~0.2.3",
|
2297 |
+
"fd-slicer": "~1.1.0"
|
2298 |
+
}
|
2299 |
+
}
|
2300 |
+
}
|
2301 |
+
}
|
package.json
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "scribd-dl",
|
3 |
+
"version": "1.0.0",
|
4 |
+
"description": "Scribd Document Downloader",
|
5 |
+
"main": "index.js",
|
6 |
+
"scripts": {
|
7 |
+
"test": "echo \"Error: no test specified\" && exit 1"
|
8 |
+
},
|
9 |
+
"keywords": [],
|
10 |
+
"author": {
|
11 |
+
"name": "ray.yukawai",
|
12 |
+
"email": "[email protected]"
|
13 |
+
},
|
14 |
+
"license": "GPL-3.0-or-later",
|
15 |
+
"dependencies": {
|
16 |
+
"cli-progress": "^3.12.0",
|
17 |
+
"ini": "^4.1.2",
|
18 |
+
"pdfkit": "^0.15.0",
|
19 |
+
"puppeteer": "^19.11.1",
|
20 |
+
"sharp": "^0.33.3"
|
21 |
+
},
|
22 |
+
"type": "module",
|
23 |
+
"types": "module"
|
24 |
+
}
|
run.js
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import { app } from './src/App.js'
|
2 |
+
|
3 |
+
if (process.argv.length == 3) {
|
4 |
+
await app.execute(process.argv[2])
|
5 |
+
} else {
|
6 |
+
console.error(`Usage: node run.js [URL]`)
|
7 |
+
}
|
src/App.js
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import { scribdDownloader } from "./service/ScribdDownloader.js"
|
2 |
+
import * as scribdRegex from "./regex/ScribdRegex.js"
|
3 |
+
|
4 |
+
class App {
|
5 |
+
constructor() {
|
6 |
+
if (!App.instance) {
|
7 |
+
App.instance = this
|
8 |
+
}
|
9 |
+
return App.instance
|
10 |
+
}
|
11 |
+
|
12 |
+
async execute(url) {
|
13 |
+
if (url.match(scribdRegex.DOMAIN)) {
|
14 |
+
await scribdDownloader.execute(url)
|
15 |
+
} else {
|
16 |
+
throw new Error(`Unsupported URL: ${url}`)
|
17 |
+
}
|
18 |
+
}
|
19 |
+
}
|
20 |
+
|
21 |
+
export const app = new App()
|
src/object/Image.js
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
class Image {
|
2 |
+
constructor(path, width, height) {
|
3 |
+
this.path = path
|
4 |
+
this.width = width
|
5 |
+
this.height = height
|
6 |
+
}
|
7 |
+
}
|
8 |
+
|
9 |
+
export { Image }
|
src/regex/ScribdRegex.js
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
const DOMAIN = /^https:\/\/www\.scribd\.com/
|
2 |
+
const DOCUMENT = /^https:\/\/www\.scribd\.com\/(document|doc)\/([0-9]+)/
|
3 |
+
const EMBED = /^https:\/\/www\.scribd\.com\/embeds\/([0-9]+)/
|
4 |
+
|
5 |
+
export { DOMAIN, DOCUMENT, EMBED }
|
src/service/ScribdDownloader.js
ADDED
@@ -0,0 +1,102 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import cliProgress from "cli-progress"
|
2 |
+
import path from 'path'
|
3 |
+
import { puppeteerSg } from "../utils/request/PuppeteerSg.js";
|
4 |
+
import { pdfGenerator } from "../utils/io/PdfGenerator.js";
|
5 |
+
import { configLoader } from "../utils/io/ConfigLoader.js";
|
6 |
+
import { directoryIo } from "../utils/io/DirectoryIo.js"
|
7 |
+
import * as scribdRegex from "../regex/ScribdRegex.js"
|
8 |
+
import { Image } from "../object/Image.js"
|
9 |
+
import sharp from "sharp";
|
10 |
+
|
11 |
+
|
12 |
+
const outputDir = configLoader.load("DIRECTORY", "output")
|
13 |
+
|
14 |
+
class ScribdDownloader {
|
15 |
+
constructor() {
|
16 |
+
if (!ScribdDownloader.instance) {
|
17 |
+
ScribdDownloader.instance = this
|
18 |
+
}
|
19 |
+
return ScribdDownloader.instance
|
20 |
+
}
|
21 |
+
|
22 |
+
async execute(url) {
|
23 |
+
if (url.match(scribdRegex.DOCUMENT)) {
|
24 |
+
await this.embeds(`https://www.scribd.com/embeds/${scribdRegex.DOCUMENT.exec(url)[2]}/content`)
|
25 |
+
} else if (url.match(scribdRegex.EMBED)) {
|
26 |
+
await this.embeds(url)
|
27 |
+
} else {
|
28 |
+
throw new Error(`Unsupported URL: ${url}`)
|
29 |
+
}
|
30 |
+
}
|
31 |
+
|
32 |
+
async embeds(url) {
|
33 |
+
let deviceScaleFactor = 2
|
34 |
+
const m = scribdRegex.EMBED.exec(url)
|
35 |
+
if (m) {
|
36 |
+
let id = m[1]
|
37 |
+
|
38 |
+
// prepare temp dir
|
39 |
+
let dir = `${outputDir}/${id}`
|
40 |
+
await directoryIo.create(dir)
|
41 |
+
|
42 |
+
// access scribd
|
43 |
+
let page = await puppeteerSg.getPage(url)
|
44 |
+
|
45 |
+
// wait rendering
|
46 |
+
await new Promise(resolve => setTimeout(resolve, 1000))
|
47 |
+
|
48 |
+
// hide blockers
|
49 |
+
let doc_container = await page.$("div.document_scroller")
|
50 |
+
await doc_container.evaluate((el) => {
|
51 |
+
el["style"]["bottom"] = "0px"
|
52 |
+
el["style"]["margin-top"] = "0px"
|
53 |
+
});
|
54 |
+
let doc_toolbar = await page.$("div.toolbar_drop")
|
55 |
+
await doc_toolbar.evaluate((el) => el["style"]["display"] = "none");
|
56 |
+
|
57 |
+
// download images
|
58 |
+
let doc_pages = await page.$$("div.outer_page_container div[id^='outer_page_']")
|
59 |
+
let images = []
|
60 |
+
const bar = new cliProgress.SingleBar({}, cliProgress.Presets.shades_classic);
|
61 |
+
bar.start(doc_pages.length, 0);
|
62 |
+
for (let i = 0; i < doc_pages.length; i++) {
|
63 |
+
await page.evaluate((i) => {
|
64 |
+
document.getElementById(`outer_page_${(i + 1)}`).scrollIntoView()
|
65 |
+
}, i)
|
66 |
+
|
67 |
+
let width = 1191
|
68 |
+
let height = 1684
|
69 |
+
let style = await doc_pages[i].evaluate((el) => el.getAttribute("style"));
|
70 |
+
if (style.includes("width:") && style.includes("height:")) {
|
71 |
+
height = Math.ceil(width * parseInt(style.split("height:")[1].split("px")[0].trim()) / parseInt(style.split("width:")[1].split("px")[0].trim()))
|
72 |
+
}
|
73 |
+
await page.setViewport({ width: width, height: height, deviceScaleFactor: deviceScaleFactor });
|
74 |
+
|
75 |
+
let path = `${dir}/${(i + 1).toString().padStart(4, 0)}.png`
|
76 |
+
await doc_pages[i].screenshot({ path: path });
|
77 |
+
|
78 |
+
let metadata = await sharp(path).metadata()
|
79 |
+
images.push(new Image(
|
80 |
+
path,
|
81 |
+
metadata.width,
|
82 |
+
metadata.height
|
83 |
+
))
|
84 |
+
bar.update(i + 1);
|
85 |
+
}
|
86 |
+
bar.stop();
|
87 |
+
|
88 |
+
// generate pdf
|
89 |
+
await pdfGenerator.generate(images, `${outputDir}/${id}.pdf`)
|
90 |
+
|
91 |
+
// remove temp dir
|
92 |
+
directoryIo.remove(`${outputDir}/${id}`)
|
93 |
+
|
94 |
+
await page.close()
|
95 |
+
await puppeteerSg.close()
|
96 |
+
} else {
|
97 |
+
throw new Error(`Unsupported URL: ${url}`)
|
98 |
+
}
|
99 |
+
}
|
100 |
+
}
|
101 |
+
|
102 |
+
export const scribdDownloader = new ScribdDownloader()
|
src/utils/io/ConfigLoader.js
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import fs from 'fs'
|
2 |
+
import ini from 'ini'
|
3 |
+
|
4 |
+
const source = "config.ini"
|
5 |
+
const content = fs.readFileSync(source, { encoding: "utf-8" })
|
6 |
+
const config = ini.parse(content)
|
7 |
+
|
8 |
+
class ConfigLoader {
|
9 |
+
constructor() {
|
10 |
+
if (!ConfigLoader.instance) {
|
11 |
+
ConfigLoader.instance = this
|
12 |
+
}
|
13 |
+
return ConfigLoader.instance
|
14 |
+
}
|
15 |
+
|
16 |
+
/**
|
17 |
+
* Get the value in config.ini
|
18 |
+
* @param {string} section
|
19 |
+
* @param {string} key
|
20 |
+
* @returns {Promise<string>}
|
21 |
+
*/
|
22 |
+
load(section, key) {
|
23 |
+
return config[section][key]
|
24 |
+
}
|
25 |
+
}
|
26 |
+
|
27 |
+
export const configLoader = new ConfigLoader()
|
src/utils/io/DirectoryIo.js
ADDED
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import fs, { Dir } from 'fs'
|
2 |
+
import path from 'path'
|
3 |
+
|
4 |
+
class DirectoryIo {
|
5 |
+
constructor() {
|
6 |
+
if (!DirectoryIo.instance) {
|
7 |
+
DirectoryIo.instance = this
|
8 |
+
}
|
9 |
+
return DirectoryIo.instance
|
10 |
+
}
|
11 |
+
|
12 |
+
/**
|
13 |
+
* Create directories (recursive)
|
14 |
+
* @param {string} dest
|
15 |
+
* path of a directory
|
16 |
+
*/
|
17 |
+
async create(dest) {
|
18 |
+
fs.mkdirSync(dest, { recursive: true }, (err) => {
|
19 |
+
if (err) throw err;
|
20 |
+
})
|
21 |
+
}
|
22 |
+
|
23 |
+
/**
|
24 |
+
* Remove directories (recursive)
|
25 |
+
* @param {string} dest
|
26 |
+
*/
|
27 |
+
async remove(dest) {
|
28 |
+
fs.rmSync(dest, { recursive: true }, (err) => {
|
29 |
+
if (err) throw err;
|
30 |
+
})
|
31 |
+
}
|
32 |
+
}
|
33 |
+
|
34 |
+
export const directoryIo = new DirectoryIo()
|
src/utils/io/PdfGenerator.js
ADDED
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import PDFDocument from 'pdfkit'
|
2 |
+
import fs from 'fs'
|
3 |
+
import sharp from "sharp"
|
4 |
+
import { Image } from '../../object/Image.js'
|
5 |
+
|
6 |
+
class PdfGenerator {
|
7 |
+
constructor() {
|
8 |
+
if (!PdfGenerator.instance) {
|
9 |
+
PdfGenerator.instance = this
|
10 |
+
}
|
11 |
+
return PdfGenerator.instance
|
12 |
+
}
|
13 |
+
|
14 |
+
/**
|
15 |
+
* Generate a pdf file from `Image`s
|
16 |
+
* @param {Image[]} images
|
17 |
+
* @param {string} dest
|
18 |
+
* @returns
|
19 |
+
*/
|
20 |
+
generate(images, dest) {
|
21 |
+
return new Promise((resolve, reject) => {
|
22 |
+
if (images.length > 0) {
|
23 |
+
const doc = new PDFDocument({ size: [images[0].width, images[0].height] });
|
24 |
+
const writeStream = fs.createWriteStream(dest);
|
25 |
+
doc.pipe(writeStream);
|
26 |
+
for (let page = 1; page <= images.length; page++) {
|
27 |
+
let image = images[page - 1]
|
28 |
+
doc.image(image.path, 0, 0, {
|
29 |
+
fit: [image.width, image.height],
|
30 |
+
align: 'center',
|
31 |
+
valign: 'center'
|
32 |
+
});
|
33 |
+
if (page < images.length) {
|
34 |
+
doc.addPage({ size: [images[page].width, images[page].height] })
|
35 |
+
}
|
36 |
+
}
|
37 |
+
doc.end();
|
38 |
+
writeStream.on('finish', () => {
|
39 |
+
console.log(`Generated: ${dest}`)
|
40 |
+
resolve()
|
41 |
+
});
|
42 |
+
} else {
|
43 |
+
reject("no images")
|
44 |
+
}
|
45 |
+
});
|
46 |
+
}
|
47 |
+
}
|
48 |
+
|
49 |
+
export const pdfGenerator = new PdfGenerator()
|
src/utils/request/PuppeteerSg.js
ADDED
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import puppeteer from 'puppeteer'
|
2 |
+
|
3 |
+
class PuppeteerSg {
|
4 |
+
constructor() {
|
5 |
+
if (!PuppeteerSg.instance) {
|
6 |
+
PuppeteerSg.instance = this;
|
7 |
+
process.on('exit', () => {
|
8 |
+
this.close();
|
9 |
+
});
|
10 |
+
}
|
11 |
+
return PuppeteerSg.instance;
|
12 |
+
}
|
13 |
+
|
14 |
+
/**
|
15 |
+
* Launch a browser
|
16 |
+
*/
|
17 |
+
async launch() {
|
18 |
+
this.browser = await puppeteer.launch({
|
19 |
+
headless: "new",
|
20 |
+
defaultViewport: null,
|
21 |
+
});
|
22 |
+
}
|
23 |
+
|
24 |
+
/**
|
25 |
+
* New a page
|
26 |
+
* @param {string} url
|
27 |
+
* @returns
|
28 |
+
*/
|
29 |
+
async getPage(url) {
|
30 |
+
if (!this.browser) {
|
31 |
+
await this.launch()
|
32 |
+
}
|
33 |
+
let page = await this.browser.newPage()
|
34 |
+
await page.goto(url, {
|
35 |
+
waitUntil: "load",
|
36 |
+
})
|
37 |
+
return page
|
38 |
+
}
|
39 |
+
|
40 |
+
/**
|
41 |
+
* Close the browser
|
42 |
+
*/
|
43 |
+
async close() {
|
44 |
+
if (!!this.browser) {
|
45 |
+
await this.browser.close();
|
46 |
+
this.browser = null;
|
47 |
+
}
|
48 |
+
}
|
49 |
+
}
|
50 |
+
|
51 |
+
export const puppeteerSg = new PuppeteerSg()
|