Skip to content

Commit 0bc4c17

Browse files
anonrigdanielleadams
authored andcommitted
deps: add ada as a dependency
PR-URL: #46410 Backport-PR-URL: #47435 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com> Reviewed-By: Robert Nagy <ronagy@icloud.com>
1 parent 62cbddd commit 0bc4c17

File tree

10 files changed

+7027
-1
lines changed

10 files changed

+7027
-1
lines changed

.github/workflows/tools.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,16 @@ jobs:
161161
cat temp-output
162162
tail -n1 temp-output | grep "NEW_VERSION=" >> "$GITHUB_ENV" || true
163163
rm temp-output
164+
- id: ada
165+
subsystem: deps
166+
label: dependencies
167+
run: |
168+
NEW_VERSION=$(gh api repos/ada-url/ada/releases/latest -q '.tag_name|ltrimstr("v")')
169+
CURRENT_VERSION=$(grep "#define ADA_VERSION" ./deps/ada/ada.h | sed -n "s/^.*VERSION \(.*\)/\1/p")
170+
if [ "$NEW_VERSION" != "$CURRENT_VERSION" ]; then
171+
echo "NEW_VERSION=$NEW_VERSION" >> $GITHUB_ENV
172+
./tools/dep_updaters/update-ada.sh "$NEW_VERSION"
173+
fi
164174
steps:
165175
- uses: actions/checkout@v3
166176
with:

LICENSE

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1338,6 +1338,28 @@ The externally maintained libraries used by Node.js are:
13381338
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
13391339
"""
13401340

1341+
- ada, located at deps/ada, is licensed as follows:
1342+
"""
1343+
Copyright 2023 Ada authors
1344+
1345+
Permission is hereby granted, free of charge, to any person obtaining a copy of
1346+
this software and associated documentation files (the "Software"), to deal in
1347+
the Software without restriction, including without limitation the rights to
1348+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
1349+
the Software, and to permit persons to whom the Software is furnished to do so,
1350+
subject to the following conditions:
1351+
1352+
The above copyright notice and this permission notice shall be included in all
1353+
copies or substantial portions of the Software.
1354+
1355+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1356+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
1357+
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
1358+
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
1359+
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
1360+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1361+
"""
1362+
13411363
- npm, located at deps/npm, is licensed as follows:
13421364
"""
13431365
The npm application

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ with-code-cache test-code-cache:
170170

171171
out/Makefile: config.gypi common.gypi node.gyp \
172172
deps/uv/uv.gyp deps/llhttp/llhttp.gyp deps/zlib/zlib.gyp \
173-
deps/simdutf/simdutf.gyp \
173+
deps/simdutf/simdutf.gyp deps/ada/ada.gyp \
174174
tools/v8_gypfiles/toolchain.gypi tools/v8_gypfiles/features.gypi \
175175
tools/v8_gypfiles/inspector.gypi tools/v8_gypfiles/v8.gyp
176176
$(PYTHON) tools/gyp_node.py -f make

deps/ada/README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# ada
2+
3+
This project implements WHATWG URL specification in a performant way.
4+
5+
The source is pulled from: https://github.com/ada-url/ada
6+
7+
Active development occurs in the default branch (currently named `main`).
8+
9+
## Updating
10+
11+
See [tools/dep_updaters/README.md#ada](../../tools/dep_updaters/README.md#ada)
12+
for instructions.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy