Skip to content

Commit 28cf9dc

Browse files
committed
Update LICENSEs
1 parent 6c9fa47 commit 28cf9dc

File tree

3 files changed

+28
-91
lines changed

3 files changed

+28
-91
lines changed

packages/cli-utils/LICENSE.md

+23-63
Original file line numberDiff line numberDiff line change
@@ -20,29 +20,13 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
2020
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
2121
SOFTWARE.
2222

23-
## sade
23+
## clipanion
2424

25-
The MIT License (MIT)
26-
27-
Copyright (c) Luke Edwards <luke.edwards05@gmail.com> (https://lukeed.com)
28-
29-
Permission is hereby granted, free of charge, to any person obtaining a copy
30-
of this software and associated documentation files (the "Software"), to deal
31-
in the Software without restriction, including without limitation the rights
32-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
33-
copies of the Software, and to permit persons to whom the Software is
34-
furnished to do so, subject to the following conditions:
25+
MIT, See license at: https://github.com/arcanis/clipanion
3526

36-
The above copyright notice and this permission notice shall be included in
37-
all copies or substantial portions of the Software.
27+
## typanion
3828

39-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
40-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
41-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
42-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
43-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
44-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
45-
THE SOFTWARE.
29+
MIT, See license at: https://github.com/arcanis/typanion
4630

4731
## json5
4832

@@ -132,30 +116,6 @@ The above copyright notice and this permission notice shall be included in all c
132116

133117
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.
134118

135-
## mri
136-
137-
The MIT License (MIT)
138-
139-
Copyright (c) Luke Edwards <luke.edwards05@gmail.com> (lukeed.com)
140-
141-
Permission is hereby granted, free of charge, to any person obtaining a copy
142-
of this software and associated documentation files (the "Software"), to deal
143-
in the Software without restriction, including without limitation the rights
144-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
145-
copies of the Software, and to permit persons to whom the Software is
146-
furnished to do so, subject to the following conditions:
147-
148-
The above copyright notice and this permission notice shall be included in
149-
all copies or substantial portions of the Software.
150-
151-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
152-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
153-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
154-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
155-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
156-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
157-
THE SOFTWARE.
158-
159119
## wonka
160120

161121
MIT License
@@ -206,7 +166,7 @@ THE SOFTWARE.
206166

207167
## @clack/core
208168

209-
MIT, Copyright (c) 0no.co <hi@0no.co>
169+
MIT, Copyright (c) Nate Moore
210170

211171
## picocolors
212172

@@ -298,24 +258,6 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
298258
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
299259
THE SOFTWARE.
300260

301-
## which
302-
303-
The ISC License
304-
305-
Copyright (c) Isaac Z. Schlueter and Contributors
306-
307-
Permission to use, copy, modify, and/or distribute this software for any
308-
purpose with or without fee is hereby granted, provided that the above
309-
copyright notice and this permission notice appear in all copies.
310-
311-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
312-
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
313-
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
314-
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
315-
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
316-
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
317-
IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
318-
319261
## shebang-command
320262

321263
The MIT License (MIT)
@@ -340,6 +282,24 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
340282
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
341283
THE SOFTWARE.
342284

285+
## which
286+
287+
The ISC License
288+
289+
Copyright (c) Isaac Z. Schlueter and Contributors
290+
291+
Permission to use, copy, modify, and/or distribute this software for any
292+
purpose with or without fee is hereby granted, provided that the above
293+
copyright notice and this permission notice appear in all copies.
294+
295+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
296+
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
297+
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
298+
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
299+
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
300+
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
301+
IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
302+
343303
## isexe
344304

345305
The ISC License

packages/internal/LICENSE.md

-25
Original file line numberDiff line numberDiff line change
@@ -46,31 +46,6 @@ SOFTWARE.
4646

4747
[others]: https://github.com/json5/json5/contributors
4848

49-
## @urql/introspection
50-
51-
MIT License
52-
53-
Copyright (c) 2018–2020 Formidable,
54-
Copyright (c) urql GraphQL Team and other contributors
55-
56-
Permission is hereby granted, free of charge, to any person obtaining a copy
57-
of this software and associated documentation files (the "Software"), to deal
58-
in the Software without restriction, including without limitation the rights
59-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
60-
copies of the Software, and to permit persons to whom the Software is
61-
furnished to do so, subject to the following conditions:
62-
63-
The above copyright notice and this permission notice shall be included in all
64-
copies or substantial portions of the Software.
65-
66-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
67-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
68-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
69-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
70-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
71-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
72-
SOFTWARE.
73-
7449
## @urql/core
7550

7651
MIT License

scripts/rollup.config.mjs

+5-3
Original file line numberDiff line numberDiff line change
@@ -148,21 +148,23 @@ const outputPlugins = [
148148
if (rootLicense === outputLicense) return;
149149
const licenses = new Map();
150150
for (const packageName of externals) {
151-
try {
151+
try {
152152
let license;
153153
const metaPath = require.resolve(packageName + '/package.json');
154+
const meta = require(metaPath);
154155
const packagePath = path.dirname(metaPath);
155156
let licenseName = (await fs.readdir(packagePath))
156157
.find((name) => /^licen[sc]e/i.test(name));
157158
if (!licenseName) {
158-
const meta = require(metaPath);
159159
const match = /^SEE LICENSE IN (.*)/i.exec(meta.license || '');
160160
licenseName = match ? match[1] : meta.license;
161161
}
162162
try {
163163
license = await fs.readFile(path.join(packagePath, licenseName), 'utf8');
164164
} catch (_error) {
165-
license = `${licenseName}, Copyright (c) ${meta.author}`;
165+
license = meta.author
166+
? `${licenseName}, Copyright (c) ${meta.author.name || meta.author}`
167+
: `${licenseName}, See license at: ${meta.repository.url || meta.repository}`;
166168
}
167169
licenses.set(packageName, license);
168170
} catch (error) {

0 commit comments

Comments
 (0)