Skip to content

Commit b85a2b1

Browse files
committed
deps: add simdjson to node.js
1 parent f3b713d commit b85a2b1

File tree

10 files changed

+49159
-0
lines changed

10 files changed

+49159
-0
lines changed

.github/workflows/tools.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ on:
3535
- ngtcp2
3636
- postject
3737
- root-certificates
38+
- simdjson
3839
- simdutf
3940
- undici
4041
- uvwasi
@@ -243,6 +244,14 @@ jobs:
243244
label: crypto, notable-change
244245
run: |
245246
node ./tools/dep_updaters/update-root-certs.mjs -v -f "$GITHUB_ENV"
247+
- id: simdjson
248+
subsystem: deps
249+
label: dependencies
250+
run: |
251+
./tools/dep_updaters/update-simdjson.sh > temp-output
252+
cat temp-output
253+
tail -n1 temp-output | grep "NEW_VERSION=" >> "$GITHUB_ENV" || true
254+
rm temp-output
246255
- id: simdutf
247256
subsystem: deps
248257
label: dependencies

LICENSE

Lines changed: 205 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1332,6 +1332,211 @@ The externally maintained libraries used by Node.js are:
13321332
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
13331333
"""
13341334

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

0 commit comments

Comments
 (0)