From 5bfa0ea9c4d6d849d8d9a8c38d1e43b45e3db02e Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Fri, 3 Dec 2021 06:56:52 -0800 Subject: [PATCH] tools: remove Babel from license-builder.sh MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Babel is now installed as a dependency in our ESLint installation. The current license-builder.sh will fail to find the license for Babel. The license is sill present in the repository/code base/file system. So as with all other dependencies that are installed in tools/node_modules/eslint/node_modules and have an MIT license, we are still complying with the license. The inclusion in our own LICENSE was to clearly signal that things under tools/node_modules/@babel were not covered by the Node.js license. Because it is now under tools/node_modules/eslint, that "we aren't the license-holders of this code" aspect of things is already covered by the inclusion of the ESLint license. PR-URL: https://github.com/nodejs/node/pull/41049 Reviewed-By: Michaël Zasso Reviewed-By: Antoine du Hamel Reviewed-By: Luigi Pinca Reviewed-By: Tobias Nießen Reviewed-By: James M Snell --- LICENSE | 26 -------------------------- tools/license-builder.sh | 1 - 2 files changed, 27 deletions(-) diff --git a/LICENSE b/LICENSE index a82efe5c802722..55babf58f0bee2 100644 --- a/LICENSE +++ b/LICENSE @@ -1234,32 +1234,6 @@ The externally maintained libraries used by Node.js are: THE SOFTWARE. """ -- Babel, located at tools/node_modules/@babel, is licensed as follows: - """ - MIT License - - Copyright (c) 2014-present Sebastian McKenzie and other contributors - - Permission is hereby granted, free of charge, to any person obtaining - a copy of this software and associated documentation files (the - "Software"), to deal in the Software without restriction, including - without limitation the rights to use, copy, modify, merge, publish, - distribute, sublicense, and/or sell copies of the Software, and to - permit persons to whom the Software is furnished to do so, subject to - the following conditions: - - The above copyright notice and this permission notice shall be - included in all copies or substantial portions of the Software. - - 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. - """ - - gtest, located at deps/googletest, is licensed as follows: """ Copyright 2008, Google Inc. diff --git a/tools/license-builder.sh b/tools/license-builder.sh index 30806de51f8ccf..e2d99805eed79b 100755 --- a/tools/license-builder.sh +++ b/tools/license-builder.sh @@ -83,7 +83,6 @@ addlicense "markupsafe" "tools/inspector_protocol/markupsafe" "$(cat "${rootdir} addlicense "cpplint.py" "tools/cpplint.py" \ "$(sed -e '/^$/,$d' -e 's/^#$//' -e 's/^# //' "${rootdir}"/tools/cpplint.py | tail -n +3)" addlicense "ESLint" "tools/node_modules/eslint" "$(cat "${rootdir}"/tools/node_modules/eslint/LICENSE)" -addlicense "Babel" "tools/node_modules/@babel" "$(cat "${rootdir}"/tools/node_modules/@babel/core/LICENSE)" addlicense "gtest" "deps/googletest" "$(cat "${rootdir}"/deps/googletest/LICENSE)" # nghttp2