Skip to content

Commit 8309e95

Browse files
committed
src: add node_modules.h for module loader
1 parent cd6b86b commit 8309e95

27 files changed

+131968
-174
lines changed

.github/workflows/tools.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ on:
3636
- ngtcp2
3737
- postject
3838
- root-certificates
39+
- simdjson
3940
- simdutf
4041
- undici
4142
- uvwasi
@@ -252,6 +253,14 @@ jobs:
252253
label: crypto, notable-change
253254
run: |
254255
node ./tools/dep_updaters/update-root-certs.mjs -v -f "$GITHUB_ENV"
256+
- id: simdjson
257+
subsystem: deps
258+
label: dependencies
259+
run: |
260+
./tools/dep_updaters/update-simdjson.sh > temp-output
261+
cat temp-output
262+
tail -n1 temp-output | grep "NEW_VERSION=" >> "$GITHUB_ENV" || true
263+
rm temp-output
255264
- id: simdutf
256265
subsystem: deps
257266
label: dependencies

LICENSE

Lines changed: 205 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1305,6 +1305,211 @@ The externally maintained libraries used by Node.js are:
13051305
jloup@gzip.org madler@alumni.caltech.edu
13061306
"""
13071307

1308+
- simdjson, located at deps/simdjson, is licensed as follows:
1309+
"""
1310+
Apache License
1311+
Version 2.0, January 2004
1312+
http://www.apache.org/licenses/
1313+
1314+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1315+
1316+
1. Definitions.
1317+
1318+
"License" shall mean the terms and conditions for use, reproduction,
1319+
and distribution as defined by Sections 1 through 9 of this document.
1320+
1321+
"Licensor" shall mean the copyright owner or entity authorized by
1322+
the copyright owner that is granting the License.
1323+
1324+
"Legal Entity" shall mean the union of the acting entity and all
1325+
other entities that control, are controlled by, or are under common
1326+
control with that entity. For the purposes of this definition,
1327+
"control" means (i) the power, direct or indirect, to cause the
1328+
direction or management of such entity, whether by contract or
1329+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
1330+
outstanding shares, or (iii) beneficial ownership of such entity.
1331+
1332+
"You" (or "Your") shall mean an individual or Legal Entity
1333+
exercising permissions granted by this License.
1334+
1335+
"Source" form shall mean the preferred form for making modifications,
1336+
including but not limited to software source code, documentation
1337+
source, and configuration files.
1338+
1339+
"Object" form shall mean any form resulting from mechanical
1340+
transformation or translation of a Source form, including but
1341+
not limited to compiled object code, generated documentation,
1342+
and conversions to other media types.
1343+
1344+
"Work" shall mean the work of authorship, whether in Source or
1345+
Object form, made available under the License, as indicated by a
1346+
copyright notice that is included in or attached to the work
1347+
(an example is provided in the Appendix below).
1348+
1349+
"Derivative Works" shall mean any work, whether in Source or Object
1350+
form, that is based on (or derived from) the Work and for which the
1351+
editorial revisions, annotations, elaborations, or other modifications
1352+
represent, as a whole, an original work of authorship. For the purposes
1353+
of this License, Derivative Works shall not include works that remain
1354+
separable from, or merely link (or bind by name) to the interfaces of,
1355+
the Work and Derivative Works thereof.
1356+
1357+
"Contribution" shall mean any work of authorship, including
1358+
the original version of the Work and any modifications or additions
1359+
to that Work or Derivative Works thereof, that is intentionally
1360+
submitted to Licensor for inclusion in the Work by the copyright owner
1361+
or by an individual or Legal Entity authorized to submit on behalf of
1362+
the copyright owner. For the purposes of this definition, "submitted"
1363+
means any form of electronic, verbal, or written communication sent
1364+
to the Licensor or its representatives, including but not limited to
1365+
communication on electronic mailing lists, source code control systems,
1366+
and issue tracking systems that are managed by, or on behalf of, the
1367+
Licensor for the purpose of discussing and improving the Work, but
1368+
excluding communication that is conspicuously marked or otherwise
1369+
designated in writing by the copyright owner as "Not a Contribution."
1370+
1371+
"Contributor" shall mean Licensor and any individual or Legal Entity
1372+
on behalf of whom a Contribution has been received by Licensor and
1373+
subsequently incorporated within the Work.
1374+
1375+
2. Grant of Copyright License. Subject to the terms and conditions of
1376+
this License, each Contributor hereby grants to You a perpetual,
1377+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
1378+
copyright license to reproduce, prepare Derivative Works of,
1379+
publicly display, publicly perform, sublicense, and distribute the
1380+
Work and such Derivative Works in Source or Object form.
1381+
1382+
3. Grant of Patent License. Subject to the terms and conditions of
1383+
this License, each Contributor hereby grants to You a perpetual,
1384+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
1385+
(except as stated in this section) patent license to make, have made,
1386+
use, offer to sell, sell, import, and otherwise transfer the Work,
1387+
where such license applies only to those patent claims licensable
1388+
by such Contributor that are necessarily infringed by their
1389+
Contribution(s) alone or by combination of their Contribution(s)
1390+
with the Work to which such Contribution(s) was submitted. If You
1391+
institute patent litigation against any entity (including a
1392+
cross-claim or counterclaim in a lawsuit) alleging that the Work
1393+
or a Contribution incorporated within the Work constitutes direct
1394+
or contributory patent infringement, then any patent licenses
1395+
granted to You under this License for that Work shall terminate
1396+
as of the date such litigation is filed.
1397+
1398+
4. Redistribution. You may reproduce and distribute copies of the
1399+
Work or Derivative Works thereof in any medium, with or without
1400+
modifications, and in Source or Object form, provided that You
1401+
meet the following conditions:
1402+
1403+
(a) You must give any other recipients of the Work or
1404+
Derivative Works a copy of this License; and
1405+
1406+
(b) You must cause any modified files to carry prominent notices
1407+
stating that You changed the files; and
1408+
1409+
(c) You must retain, in the Source form of any Derivative Works
1410+
that You distribute, all copyright, patent, trademark, and
1411+
attribution notices from the Source form of the Work,
1412+
excluding those notices that do not pertain to any part of
1413+
the Derivative Works; and
1414+
1415+
(d) If the Work includes a "NOTICE" text file as part of its
1416+
distribution, then any Derivative Works that You distribute must
1417+
include a readable copy of the attribution notices contained
1418+
within such NOTICE file, excluding those notices that do not
1419+
pertain to any part of the Derivative Works, in at least one
1420+
of the following places: within a NOTICE text file distributed
1421+
as part of the Derivative Works; within the Source form or
1422+
documentation, if provided along with the Derivative Works; or,
1423+
within a display generated by the Derivative Works, if and
1424+
wherever such third-party notices normally appear. The contents
1425+
of the NOTICE file are for informational purposes only and
1426+
do not modify the License. You may add Your own attribution
1427+
notices within Derivative Works that You distribute, alongside
1428+
or as an addendum to the NOTICE text from the Work, provided
1429+
that such additional attribution notices cannot be construed
1430+
as modifying the License.
1431+
1432+
You may add Your own copyright statement to Your modifications and
1433+
may provide additional or different license terms and conditions
1434+
for use, reproduction, or distribution of Your modifications, or
1435+
for any such Derivative Works as a whole, provided Your use,
1436+
reproduction, and distribution of the Work otherwise complies with
1437+
the conditions stated in this License.
1438+
1439+
5. Submission of Contributions. Unless You explicitly state otherwise,
1440+
any Contribution intentionally submitted for inclusion in the Work
1441+
by You to the Licensor shall be under the terms and conditions of
1442+
this License, without any additional terms or conditions.
1443+
Notwithstanding the above, nothing herein shall supersede or modify
1444+
the terms of any separate license agreement you may have executed
1445+
with Licensor regarding such Contributions.
1446+
1447+
6. Trademarks. This License does not grant permission to use the trade
1448+
names, trademarks, service marks, or product names of the Licensor,
1449+
except as required for reasonable and customary use in describing the
1450+
origin of the Work and reproducing the content of the NOTICE file.
1451+
1452+
7. Disclaimer of Warranty. Unless required by applicable law or
1453+
agreed to in writing, Licensor provides the Work (and each
1454+
Contributor provides its Contributions) on an "AS IS" BASIS,
1455+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
1456+
implied, including, without limitation, any warranties or conditions
1457+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
1458+
PARTICULAR PURPOSE. You are solely responsible for determining the
1459+
appropriateness of using or redistributing the Work and assume any
1460+
risks associated with Your exercise of permissions under this License.
1461+
1462+
8. Limitation of Liability. In no event and under no legal theory,
1463+
whether in tort (including negligence), contract, or otherwise,
1464+
unless required by applicable law (such as deliberate and grossly
1465+
negligent acts) or agreed to in writing, shall any Contributor be
1466+
liable to You for damages, including any direct, indirect, special,
1467+
incidental, or consequential damages of any character arising as a
1468+
result of this License or out of the use or inability to use the
1469+
Work (including but not limited to damages for loss of goodwill,
1470+
work stoppage, computer failure or malfunction, or any and all
1471+
other commercial damages or losses), even if such Contributor
1472+
has been advised of the possibility of such damages.
1473+
1474+
9. Accepting Warranty or Additional Liability. While redistributing
1475+
the Work or Derivative Works thereof, You may choose to offer,
1476+
and charge a fee for, acceptance of support, warranty, indemnity,
1477+
or other liability obligations and/or rights consistent with this
1478+
License. However, in accepting such obligations, You may act only
1479+
on Your own behalf and on Your sole responsibility, not on behalf
1480+
of any other Contributor, and only if You agree to indemnify,
1481+
defend, and hold each Contributor harmless for any liability
1482+
incurred by, or claims asserted against, such Contributor by reason
1483+
of your accepting any such warranty or additional liability.
1484+
1485+
END OF TERMS AND CONDITIONS
1486+
1487+
APPENDIX: How to apply the Apache License to your work.
1488+
1489+
To apply the Apache License to your work, attach the following
1490+
boilerplate notice, with the fields enclosed by brackets "{}"
1491+
replaced with your own identifying information. (Don't include
1492+
the brackets!) The text should be enclosed in the appropriate
1493+
comment syntax for the file format. We also recommend that a
1494+
file or class name and description of purpose be included on the
1495+
same "printed page" as the copyright notice for easier
1496+
identification within third-party archives.
1497+
1498+
Copyright 2018-2023 The simdjson authors
1499+
1500+
Licensed under the Apache License, Version 2.0 (the "License");
1501+
you may not use this file except in compliance with the License.
1502+
You may obtain a copy of the License at
1503+
1504+
http://www.apache.org/licenses/LICENSE-2.0
1505+
1506+
Unless required by applicable law or agreed to in writing, software
1507+
distributed under the License is distributed on an "AS IS" BASIS,
1508+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1509+
See the License for the specific language governing permissions and
1510+
limitations under the License.
1511+
"""
1512+
13081513
- simdutf, located at deps/simdutf, is licensed as follows:
13091514
"""
13101515
Copyright 2021 The simdutf authors

0 commit comments

Comments
 (0)