Skip to content

Commit f9ee2a3

Browse files
authored
Merge pull request #636 from zeromq/license-headers
2 parents 73e6ad0 + 6040e66 commit f9ee2a3

31 files changed

+14
-53
lines changed

LICENSE

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1+
Copyright 2019-2024 Amin Yahyaabadi
12
Copyright 2017-2019 Rolf Timmermans
3+
Copyright 2011 TJ Holowaychuk
4+
Copyright 2010, 2011 Justin Tulloss
25

36
Permission is hereby granted, free of charge, to any person obtaining a copy of
47
this software and associated documentation files (the "Software"), to deal in

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,5 +127,5 @@
127127
"napi"
128128
],
129129
"license": "MIT",
130-
"author": "Rolf Timmermans <[email protected]>"
130+
"author": "Amin Yahyaabadi <[email protected]>, Rolf Timmermans <[email protected]>"
131131
}

src/compat.ts

Lines changed: 3 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,6 @@
1-
/* The API of the compatibility layer and parts of the implementation has been
2-
adapted from the original ZeroMQ.js version (up to 5.x) for which the license
3-
and copyright notice is reproduced below.
4-
5-
Copyright (c) 2017-2019 Rolf Timmermans
6-
Copyright (c) 2011 TJ Holowaychuk
7-
Copyright (c) 2010, 2011 Justin Tulloss
8-
9-
Permission is hereby granted, free of charge, to any person obtaining a copy of
10-
this software and associated documentation files (the "Software"), to deal in
11-
the Software without restriction, including without limitation the rights to
12-
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
13-
the Software, and to permit persons to whom the Software is furnished to do so,
14-
subject to the following conditions:
15-
16-
The above copyright notice and this permission notice shall be included in all
17-
copies or substantial portions of the Software.
18-
19-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
20-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
21-
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
22-
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
23-
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
24-
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1+
/*
2+
The API of the compatibility layer and parts of the implementation has been
3+
adapted from the original ZeroMQ.js version (up to 5.x)
254
*/
265

276
import {EventEmitter} from "events"

src/context.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* Copyright (c) 2017-2019 Rolf Timmermans */
1+
22
#include "./context.h"
33

44
#include "./module.h"

src/context.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* Copyright (c) 2017-2019 Rolf Timmermans */
21
#pragma once
32

43
#include <napi.h>

src/incoming_msg.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* Copyright (c) 2017-2019 Rolf Timmermans */
1+
22
#include "./incoming_msg.h"
33

44
#include <cassert>

src/incoming_msg.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* Copyright (c) 2017-2019 Rolf Timmermans */
21
#pragma once
32

43
#include <napi.h>

src/module.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* Copyright (c) 2017-2019 Rolf Timmermans */
1+
22
#include "./module.h"
33

44
#include "./context.h"

src/module.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* Copyright (c) 2017-2019 Rolf Timmermans */
21
#pragma once
32

43
#include <cstdio>

src/observer.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* Copyright (c) 2017-2019 Rolf Timmermans */
1+
22
#include "./observer.h"
33

44
#include "./context.h"

0 commit comments

Comments
 (0)