Skip to content

Commit 42cfb99

Browse files
committed
chore: add full mit text for multipart util
1 parent 0979cac commit 42cfb99

File tree

1 file changed

+33
-5
lines changed

1 file changed

+33
-5
lines changed

src/utils/multipart.ts

Lines changed: 33 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,36 @@
1-
/**
2-
Based on:
3-
https://github.com/freesoftwarefactory/parse-multipart - MIT License (The Free Software Factory)
4-
https://github.com/nachomazzara/parse-multipart-data - a44c95319d09fd7d7ba51e01512567c444b90e14 - Ignacio Mazzara
5-
*/
1+
/*
2+
Implementation based on:
3+
- https://github.com/nachomazzara/parse-multipart-data - Ref: a44c95319d09fd7d7ba51e01512567c444b90e14
4+
- https://github.com/freesoftwarefactory/parse-multipart
5+
6+
By:
7+
- Cristian Salazar ([email protected]) www.chileshift.cl - Twitter: @AmazonAwsChile
8+
- Ignacio Mazzara - https://imazzara.com - Twitter: @nachomazzara
9+
10+
---
11+
12+
MIT License
13+
14+
Copyright (c) 2021 The Free Software Factory
15+
16+
Permission is hereby granted, free of charge, to any person obtaining a copy
17+
of this software and associated documentation files (the "Software"), to deal
18+
in the Software without restriction, including without limitation the rights
19+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
20+
copies of the Software, and to permit persons to whom the Software is
21+
furnished to do so, subject to the following conditions:
22+
23+
The above copyright notice and this permission notice shall be included in all
24+
copies or substantial portions of the Software.
25+
26+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
27+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
28+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
29+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
30+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
31+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
32+
SOFTWARE.
33+
**/
634

735
export interface MultiPartData {
836
data: Buffer;

0 commit comments

Comments
 (0)