Skip to content

Commit 4ec085b

Browse files
anonrignodejs-github-bot
authored andcommitted
deps: add simdjson
PR-URL: nodejs#50322 Reviewed-By: Jacob Smith <jacob@frende.me> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
1 parent daf723a commit 4ec085b

13 files changed

Lines changed: 132460 additions & 0 deletions

File tree

.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
@@ -1316,6 +1316,211 @@ The externally maintained libraries used by Node.js are:
13161316
jloup@gzip.org madler@alumni.caltech.edu
13171317
"""
13181318

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

0 commit comments

Comments
 (0)