From 9b002d592b4d6165348756114967ab18e47891f9 Mon Sep 17 00:00:00 2001 From: Ryan Tan Date: Mon, 8 Jan 2024 11:59:57 -0800 Subject: [PATCH] Add licensing --- LICENSE | 4 ++-- .../javascript/gremlin-javascript/LICENSE | 10 ++++++++- .../gremlin-javascript/licenses/chai | 21 +++++++++++++++++++ .../test/cucumber/element-comparison.js | 1 + 4 files changed, 33 insertions(+), 3 deletions(-) create mode 100644 gremlin-javascript/src/main/javascript/gremlin-javascript/licenses/chai diff --git a/LICENSE b/LICENSE index 47708b1f563..6317047c226 100644 --- a/LICENSE +++ b/LICENSE @@ -210,5 +210,5 @@ The Apache TinkerPop project bundles the following components under the MIT Lice bootstrap 5.0.0 (http://getbootstrap.com/) - for details, see licenses/bootstrap jquery 1.11.0 (https://jquery.com/) - for details, see licenses/jquery normalize.css 2.1.2 (https://necolas.github.io/normalize.css/) - for details, see licenses/normalize - prism.css/js 1.27.0 (https://prismjs.com) - for details, see licenses/prism - wow.js 1.1.2 (https://wowjs.uk/) - for details, see licenses/wow \ No newline at end of file + prism.css/js 1.27.0 (https://prismjs.com/) - for details, see licenses/prism + wow.js 1.1.2 (https://wowjs.uk/) - for details, see licenses/wow diff --git a/gremlin-javascript/src/main/javascript/gremlin-javascript/LICENSE b/gremlin-javascript/src/main/javascript/gremlin-javascript/LICENSE index 7a4a3ea2424..1a1a07d01d5 100644 --- a/gremlin-javascript/src/main/javascript/gremlin-javascript/LICENSE +++ b/gremlin-javascript/src/main/javascript/gremlin-javascript/LICENSE @@ -199,4 +199,12 @@ distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and - limitations under the License. \ No newline at end of file + limitations under the License. + + ======================================================================== + MIT Licenses + ======================================================================== + + The Apache TinkerPop project bundles the following components under the MIT License: + + chai 5.0.0 (https://www.chaijs.com/) - for details, see licenses/chai diff --git a/gremlin-javascript/src/main/javascript/gremlin-javascript/licenses/chai b/gremlin-javascript/src/main/javascript/gremlin-javascript/licenses/chai new file mode 100644 index 00000000000..eedbe238aca --- /dev/null +++ b/gremlin-javascript/src/main/javascript/gremlin-javascript/licenses/chai @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2017 Chai.js Assertion Library + +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. diff --git a/gremlin-javascript/src/main/javascript/gremlin-javascript/test/cucumber/element-comparison.js b/gremlin-javascript/src/main/javascript/gremlin-javascript/test/cucumber/element-comparison.js index d243a32f0c3..5cddd49978b 100644 --- a/gremlin-javascript/src/main/javascript/gremlin-javascript/test/cucumber/element-comparison.js +++ b/gremlin-javascript/src/main/javascript/gremlin-javascript/test/cucumber/element-comparison.js @@ -22,6 +22,7 @@ * at https://www.chaijs.com/, which is licensed under the MIT License. * The functions deepMembersById, flag, and isSubsetOf are adapted from * Chai's source code. + * See licenses/chai for full license. */ const chai = require('chai');