From 6040e66cc544121ec45de233673547d93192f19f Mon Sep 17 00:00:00 2001 From: Amin Yahyaabadi Date: Wed, 19 Jun 2024 22:59:18 -0700 Subject: [PATCH] chore: update license names + remove license headers --- LICENSE | 3 +++ package.json | 2 +- src/compat.ts | 27 +++------------------------ src/context.cc | 2 +- src/context.h | 1 - src/incoming_msg.cc | 2 +- src/incoming_msg.h | 1 - src/module.cc | 2 +- src/module.h | 1 - src/observer.cc | 2 +- src/observer.h | 1 - src/outgoing_msg.cc | 2 +- src/outgoing_msg.h | 1 - src/poller.h | 1 - src/proxy.cc | 2 +- src/proxy.h | 1 - src/socket.cc | 2 +- src/socket.h | 1 - src/util/arguments.h | 1 - src/util/async_scope.h | 1 - src/util/error.h | 1 - src/util/object.h | 1 - src/util/reaper.h | 1 - src/util/take.h | 1 - src/util/to_string.h | 1 - src/util/trash.h | 1 - src/util/uvdelayed.h | 1 - src/util/uvhandle.h | 1 - src/util/uvloop.h | 1 - src/util/uvwork.h | 1 - src/zmq_inc.h | 1 - 31 files changed, 14 insertions(+), 53 deletions(-) diff --git a/LICENSE b/LICENSE index 9da36d45..7f4ecb8c 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,7 @@ +Copyright 2019-2024 Amin Yahyaabadi Copyright 2017-2019 Rolf Timmermans +Copyright 2011 TJ Holowaychuk +Copyright 2010, 2011 Justin Tulloss 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 diff --git a/package.json b/package.json index b8e914d0..6ff30bd1 100644 --- a/package.json +++ b/package.json @@ -127,5 +127,5 @@ "napi" ], "license": "MIT", - "author": "Rolf Timmermans " + "author": "Amin Yahyaabadi , Rolf Timmermans " } diff --git a/src/compat.ts b/src/compat.ts index 815ed175..9adcadbf 100644 --- a/src/compat.ts +++ b/src/compat.ts @@ -1,27 +1,6 @@ -/* The API of the compatibility layer and parts of the implementation has been - adapted from the original ZeroMQ.js version (up to 5.x) for which the license - and copyright notice is reproduced below. - -Copyright (c) 2017-2019 Rolf Timmermans -Copyright (c) 2011 TJ Holowaychuk -Copyright (c) 2010, 2011 Justin Tulloss - -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. +/* + The API of the compatibility layer and parts of the implementation has been + adapted from the original ZeroMQ.js version (up to 5.x) */ import {EventEmitter} from "events" diff --git a/src/context.cc b/src/context.cc index e61db5ee..ba6295ee 100644 --- a/src/context.cc +++ b/src/context.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2017-2019 Rolf Timmermans */ + #include "./context.h" #include "./module.h" diff --git a/src/context.h b/src/context.h index 3a5913b1..f75c138d 100644 --- a/src/context.h +++ b/src/context.h @@ -1,4 +1,3 @@ -/* Copyright (c) 2017-2019 Rolf Timmermans */ #pragma once #include diff --git a/src/incoming_msg.cc b/src/incoming_msg.cc index 282bf28f..c2fa967c 100644 --- a/src/incoming_msg.cc +++ b/src/incoming_msg.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2017-2019 Rolf Timmermans */ + #include "./incoming_msg.h" #include diff --git a/src/incoming_msg.h b/src/incoming_msg.h index 5febfbc4..ba5c46c8 100644 --- a/src/incoming_msg.h +++ b/src/incoming_msg.h @@ -1,4 +1,3 @@ -/* Copyright (c) 2017-2019 Rolf Timmermans */ #pragma once #include diff --git a/src/module.cc b/src/module.cc index 3743502d..1904eb19 100644 --- a/src/module.cc +++ b/src/module.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2017-2019 Rolf Timmermans */ + #include "./module.h" #include "./context.h" diff --git a/src/module.h b/src/module.h index 7028070e..f60080e2 100644 --- a/src/module.h +++ b/src/module.h @@ -1,4 +1,3 @@ -/* Copyright (c) 2017-2019 Rolf Timmermans */ #pragma once #include diff --git a/src/observer.cc b/src/observer.cc index d470f960..5fb728c9 100644 --- a/src/observer.cc +++ b/src/observer.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2017-2019 Rolf Timmermans */ + #include "./observer.h" #include "./context.h" diff --git a/src/observer.h b/src/observer.h index 1b34dedb..e902b5e3 100644 --- a/src/observer.h +++ b/src/observer.h @@ -1,4 +1,3 @@ -/* Copyright (c) 2017-2019 Rolf Timmermans */ #pragma once #include diff --git a/src/outgoing_msg.cc b/src/outgoing_msg.cc index 269e850e..f32a4619 100644 --- a/src/outgoing_msg.cc +++ b/src/outgoing_msg.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2017-2019 Rolf Timmermans */ + #include "./outgoing_msg.h" #include "./module.h" diff --git a/src/outgoing_msg.h b/src/outgoing_msg.h index 6ec12609..a86d4373 100644 --- a/src/outgoing_msg.h +++ b/src/outgoing_msg.h @@ -1,4 +1,3 @@ -/* Copyright (c) 2017-2019 Rolf Timmermans */ #pragma once #include diff --git a/src/poller.h b/src/poller.h index b8fdc652..7f885f9c 100644 --- a/src/poller.h +++ b/src/poller.h @@ -1,4 +1,3 @@ -/* Copyright (c) 2017-2019 Rolf Timmermans */ #pragma once #include "util/uvhandle.h" diff --git a/src/proxy.cc b/src/proxy.cc index 2b4b21bf..3f969cc3 100644 --- a/src/proxy.cc +++ b/src/proxy.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2017-2019 Rolf Timmermans */ + #include "./proxy.h" #include "./context.h" diff --git a/src/proxy.h b/src/proxy.h index 7527ba79..77e9faf2 100644 --- a/src/proxy.h +++ b/src/proxy.h @@ -1,4 +1,3 @@ -/* Copyright (c) 2017-2019 Rolf Timmermans */ #pragma once #include diff --git a/src/socket.cc b/src/socket.cc index 9f1dbc7c..998b07f6 100644 --- a/src/socket.cc +++ b/src/socket.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2017-2019 Rolf Timmermans */ + #define NOMINMAX // prevent minwindef.h from defining max macro in the debug build diff --git a/src/socket.h b/src/socket.h index d639ecb3..52d2ee89 100644 --- a/src/socket.h +++ b/src/socket.h @@ -1,4 +1,3 @@ -/* Copyright (c) 2017-2019 Rolf Timmermans */ #pragma once #include diff --git a/src/util/arguments.h b/src/util/arguments.h index 60845feb..faa168a4 100644 --- a/src/util/arguments.h +++ b/src/util/arguments.h @@ -1,4 +1,3 @@ -/* Copyright (c) 2017-2019 Rolf Timmermans */ #pragma once #include diff --git a/src/util/async_scope.h b/src/util/async_scope.h index 16b31795..746edf31 100644 --- a/src/util/async_scope.h +++ b/src/util/async_scope.h @@ -1,4 +1,3 @@ -/* Copyright (c) 2017-2019 Rolf Timmermans */ #pragma once #include diff --git a/src/util/error.h b/src/util/error.h index abde56c1..02197476 100644 --- a/src/util/error.h +++ b/src/util/error.h @@ -1,4 +1,3 @@ -/* Copyright (c) 2017-2019 Rolf Timmermans */ #pragma once #include diff --git a/src/util/object.h b/src/util/object.h index 111c3104..5093bb5c 100644 --- a/src/util/object.h +++ b/src/util/object.h @@ -1,4 +1,3 @@ -/* Copyright (c) 2017-2019 Rolf Timmermans */ #pragma once #include diff --git a/src/util/reaper.h b/src/util/reaper.h index 5b028ea9..2f145c19 100644 --- a/src/util/reaper.h +++ b/src/util/reaper.h @@ -1,4 +1,3 @@ -/* Copyright (c) 2017-2019 Rolf Timmermans */ #pragma once #include diff --git a/src/util/take.h b/src/util/take.h index 146162c4..91a804ba 100644 --- a/src/util/take.h +++ b/src/util/take.h @@ -1,4 +1,3 @@ -/* Copyright (c) 2017-2019 Rolf Timmermans */ #pragma once #include diff --git a/src/util/to_string.h b/src/util/to_string.h index 8724eedc..e1cba4ff 100644 --- a/src/util/to_string.h +++ b/src/util/to_string.h @@ -1,4 +1,3 @@ -/* Copyright (c) 2017-2019 Rolf Timmermans */ #pragma once #include diff --git a/src/util/trash.h b/src/util/trash.h index 76299325..618bf334 100644 --- a/src/util/trash.h +++ b/src/util/trash.h @@ -1,4 +1,3 @@ -/* Copyright (c) 2017-2019 Rolf Timmermans */ #pragma once #include diff --git a/src/util/uvdelayed.h b/src/util/uvdelayed.h index 9cdbd2c9..e5a74241 100644 --- a/src/util/uvdelayed.h +++ b/src/util/uvdelayed.h @@ -1,4 +1,3 @@ -/* Copyright (c) 2017-2019 Rolf Timmermans */ #pragma once #include "uvhandle.h" diff --git a/src/util/uvhandle.h b/src/util/uvhandle.h index 87411813..d5e21ba8 100644 --- a/src/util/uvhandle.h +++ b/src/util/uvhandle.h @@ -1,4 +1,3 @@ -/* Copyright (c) 2017-2019 Rolf Timmermans */ #pragma once #include diff --git a/src/util/uvloop.h b/src/util/uvloop.h index cf743d14..3df949f1 100644 --- a/src/util/uvloop.h +++ b/src/util/uvloop.h @@ -1,4 +1,3 @@ -/* Copyright (c) 2017-2019 Rolf Timmermans */ #pragma once #include diff --git a/src/util/uvwork.h b/src/util/uvwork.h index 20e7b7e9..a3eadda4 100644 --- a/src/util/uvwork.h +++ b/src/util/uvwork.h @@ -1,4 +1,3 @@ -/* Copyright (c) 2017-2019 Rolf Timmermans */ #pragma once #include "uvloop.h" diff --git a/src/zmq_inc.h b/src/zmq_inc.h index 259d3d6b..c840cbbb 100644 --- a/src/zmq_inc.h +++ b/src/zmq_inc.h @@ -1,4 +1,3 @@ -/* Copyright (c) 2017-2019 Rolf Timmermans */ #pragma once #include // IWYU pragma: export