Skip to content

Commit 01ac55f

Browse files
committed
[release] LICENSE: update for v0.23.0
No dependency on yargs-parser. Updated tools/license.sh to accept more license combinations. BSD-2-Clause, MIT, Apache-2.0, CC-By-3.0, CC0-1.0 are acceptable with notices. They are also included in the js-green-licenses default configuration. https://github.com/google/js-green-licenses#configurations Change-Id: I02e39a5e9f091497ca24992cb8dfec458de98a10 Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/297892 Trust: Hyang-Ah Hana Kim <[email protected]> Run-TryBot: Hyang-Ah Hana Kim <[email protected]> TryBot-Result: kokoro <[email protected]> Reviewed-by: Rebecca Stambler <[email protected]>
1 parent 0fdaaeb commit 01ac55f

File tree

2 files changed

+8
-29
lines changed

2 files changed

+8
-29
lines changed

LICENSE

Lines changed: 3 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -28,32 +28,6 @@ THE FOLLOWING SETS FORTH ATTRIBUTION NOTICES FOR THIRD PARTY SOFTWARE THAT MAY B
2828

2929
-----
3030

31-
The following software may be included in this product: @types/yargs-parser. A copy of the source code may be downloaded from https://github.com/DefinitelyTyped/DefinitelyTyped.git. This software contains the following license and notice below:
32-
33-
MIT License
34-
35-
Copyright (c) Microsoft Corporation. All rights reserved.
36-
37-
Permission is hereby granted, free of charge, to any person obtaining a copy
38-
of this software and associated documentation files (the "Software"), to deal
39-
in the Software without restriction, including without limitation the rights
40-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
41-
copies of the Software, and to permit persons to whom the Software is
42-
furnished to do so, subject to the following conditions:
43-
44-
The above copyright notice and this permission notice shall be included in all
45-
copies or substantial portions of the Software.
46-
47-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
48-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
49-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
50-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
51-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
52-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
53-
SOFTWARE
54-
55-
-----
56-
5731
The following software may be included in this product: ajv. A copy of the source code may be downloaded from https://github.com/ajv-validator/ajv.git. This software contains the following license and notice below:
5832

5933
The MIT License (MIT)
@@ -658,7 +632,7 @@ SOFTWARE.
658632

659633
-----
660634

661-
The following software may be included in this product: es-get-iterator, side-channel, which-boxed-primitive. A copy of the source code may be downloaded from git+https://github.com/ljharb/es-get-iterator.git (es-get-iterator), git+https://github.com/ljharb/side-channel.git (side-channel), git+https://github.com/inspect-js/which-boxed-primitive.git (which-boxed-primitive). This software contains the following license and notice below:
635+
The following software may be included in this product: es-get-iterator, has-bigints, side-channel, unbox-primitive, which-boxed-primitive. A copy of the source code may be downloaded from git+https://github.com/ljharb/es-get-iterator.git (es-get-iterator), git+https://github.com/ljharb/has-bigints.git (has-bigints), git+https://github.com/ljharb/side-channel.git (side-channel), git+https://github.com/ljharb/unbox-primitive.git (unbox-primitive), git+https://github.com/inspect-js/which-boxed-primitive.git (which-boxed-primitive). This software contains the following license and notice below:
662636

663637
MIT License
664638

@@ -1063,7 +1037,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
10631037

10641038
-----
10651039

1066-
The following software may be included in this product: has-symbols. A copy of the source code may be downloaded from git://github.com/ljharb/has-symbols.git. This software contains the following license and notice below:
1040+
The following software may be included in this product: has-symbols. A copy of the source code may be downloaded from git://github.com/inspect-js/has-symbols.git. This software contains the following license and notice below:
10671041

10681042
MIT License
10691043

@@ -1243,7 +1217,7 @@ PERFORMANCE OF THIS SOFTWARE.
12431217

12441218
-----
12451219

1246-
The following software may be included in this product: is-arguments, is-negative-zero, is-regex, object-is. A copy of the source code may be downloaded from git://github.com/inspect-js/is-arguments.git (is-arguments), git://github.com/inspect-js/is-negative-zero.git (is-negative-zero), git://github.com/ljharb/is-regex.git (is-regex), git://github.com/es-shims/object-is.git (object-is). This software contains the following license and notice below:
1220+
The following software may be included in this product: is-arguments, is-negative-zero, is-regex, object-is. A copy of the source code may be downloaded from git://github.com/inspect-js/is-arguments.git (is-arguments), git://github.com/inspect-js/is-negative-zero.git (is-negative-zero), git://github.com/inspect-js/is-regex.git (is-regex), git://github.com/es-shims/object-is.git (object-is). This software contains the following license and notice below:
12471221

12481222
The MIT License (MIT)
12491223

tools/license.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,14 @@ NG=$(echo "${ALL_LICENSES}" | jq '
4343
"(MIT OR Apache-2.0)": 1,
4444
"(MIT AND Zlib)": 1,
4545
"(MIT AND BSD-3-Clause)": 1,
46+
"(BSD-2-Clause OR MIT OR Apache-2.0)": 1,
47+
"CC-BY-3.0": 1,
48+
"CC0-1.0": 1,
49+
"(MIT OR CC0-1.0)": 1,
4650
} as $allowed_licenses |
4751
{
4852
53+
"[email protected]": 1, # MIT
4954
} as $allow_list |
5055
.[] | select(.license | in($allowed_licenses) | not)
5156
| select((.name+"@"+.version) | in($allow_list) | not) ')

0 commit comments

Comments
 (0)