Skip to content

Commit 76a229c

Browse files
targosruyadorno
authored andcommitted
lib: add fetch
Fixes: #19393 PR-URL: #41749 Refs: nodejs/undici#1183 Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Geoffrey Booth <[email protected]> Reviewed-By: Robert Nagy <[email protected]> Reviewed-By: Darshan Sen <[email protected]> Reviewed-By: Mestery <[email protected]> Reviewed-By: Mohammed Keyvanzadeh <[email protected]> Reviewed-By: Gus Caplan <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: Myles Borins <[email protected]>
1 parent 9c59abe commit 76a229c

File tree

16 files changed

+8094
-3
lines changed

16 files changed

+8094
-3
lines changed

.eslintrc.js

+4
Original file line numberDiff line numberDiff line change
@@ -336,5 +336,9 @@ module.exports = {
336336
atob: 'readable',
337337
performance: 'readable',
338338
structuredClone: 'readable',
339+
fetch: 'readable',
340+
Headers: 'readable',
341+
Request: 'readable',
342+
Response: 'readable',
339343
},
340344
};

LICENSE

+25
Original file line numberDiff line numberDiff line change
@@ -634,6 +634,31 @@ The externally maintained libraries used by Node.js are:
634634
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
635635
"""
636636

637+
- undici, located at deps/undici, is licensed as follows:
638+
"""
639+
MIT License
640+
641+
Copyright (c) Matteo Collina and Undici contributors
642+
643+
Permission is hereby granted, free of charge, to any person obtaining a copy
644+
of this software and associated documentation files (the "Software"), to deal
645+
in the Software without restriction, including without limitation the rights
646+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
647+
copies of the Software, and to permit persons to whom the Software is
648+
furnished to do so, subject to the following conditions:
649+
650+
The above copyright notice and this permission notice shall be included in all
651+
copies or substantial portions of the Software.
652+
653+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
654+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
655+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
656+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
657+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
658+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
659+
SOFTWARE.
660+
"""
661+
637662
- OpenSSL, located at deps/openssl, is licensed as follows:
638663
"""
639664
Apache License

deps/undici/LICENSE

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) Matteo Collina and Undici contributors
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

0 commit comments

Comments
 (0)