Skip to content

Commit 6f070dc

Browse files
committed
deps: replace url parser with Ada
1 parent 19623e3 commit 6f070dc

File tree

18 files changed

+4691
-3121
lines changed

18 files changed

+4691
-3121
lines changed

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 2022 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/ada.cpp

Lines changed: 2485 additions & 0 deletions
Large diffs are not rendered by default.

deps/ada/ada.gyp

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
'variables': {
3+
'v8_enable_i18n_support%': 1,
4+
},
5+
'targets': [
6+
{
7+
'target_name': 'ada',
8+
'type': 'static_library',
9+
'include_dirs': ['.'],
10+
'direct_dependent_settings': {
11+
'include_dirs': ['.'],
12+
},
13+
'sources': ['ada.cpp'],
14+
'conditions': [
15+
['v8_enable_i18n_support==1', {
16+
'dependencies': [
17+
'<(icu_gyp_path):icui18n',
18+
'<(icu_gyp_path):icuuc',
19+
],
20+
}],
21+
['OS=="win" and v8_enable_i18n_support==1', {
22+
'dependencies': [
23+
'<(icu_gyp_path):icudata',
24+
],
25+
}],
26+
]
27+
},
28+
]
29+
}

0 commit comments

Comments
 (0)