Skip to content

Commit 5448ac6

Browse files
authored
chore: fix copyright headers (#376)
1 parent dd388b3 commit 5448ac6

38 files changed

+79
-566
lines changed

lib/CommandCall.js

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,5 @@
1-
// Copyright (c) International Business Machines Corp. 2019
2-
3-
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
4-
// associated documentation files (the "Software"), to deal in the Software without restriction,
5-
// including without limitation the rights to use, copy, modify, merge, publish, distribute,
6-
// sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is
7-
// furnished to do so, subject to the following conditions:
8-
9-
// The above copyright notice and this permission notice shall be included in all copies or
10-
// substantial portions of the Software.
11-
12-
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT
13-
// NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
14-
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
15-
// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
16-
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1+
// Copyright contributors to the nodejs-itoolkit project
2+
// SPDX-License-Identifier: MIT
173

184
const availableCommands = ['sh', 'cl', 'qsh'];
195

lib/Connection.js

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,5 @@
1-
// Copyright (c) International Business Machines Corp. 2019
2-
3-
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
4-
// associated documentation files (the "Software"), to deal in the Software without restriction,
5-
// including without limitation the rights to use, copy, modify, merge, publish, distribute,
6-
// sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is
7-
// furnished to do so, subject to the following conditions:
8-
9-
// The above copyright notice and this permission notice shall be included in all copies or
10-
// substantial portions of the Software.
11-
12-
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT
13-
// NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
14-
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
15-
// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
16-
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1+
// Copyright contributors to the nodejs-itoolkit project
2+
// SPDX-License-Identifier: MIT
173

184
const { httpCall } = require('./transports/httpTransport');
195
const { idbCall } = require('./transports/idbTransport');

lib/Deprecated.js

Lines changed: 2 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,5 @@
1-
// Copyright (c) International Business Machines Corp. 2019
2-
3-
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
4-
// associated documentation files (the "Software"), to deal in the Software without restriction,
5-
// including without limitation the rights to use, copy, modify, merge, publish, distribute,
6-
// sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is
7-
// furnished to do so, subject to the following conditions:
8-
9-
// The above copyright notice and this permission notice shall be included in all copies or
10-
// substantial portions of the Software.
11-
12-
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT
13-
// NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
14-
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
15-
// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
16-
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
17-
18-
// This file contains the classes that are deprecated in v1.0. The implementations for all of the
19-
// functions in these classes prior to v1.0 are moved into the other classes. The classes contained
20-
// in this file are now wrappers for those calls to enable backward compatability with
21-
// previous versions, but will throw a warning message. When we no longer want to support calling
22-
// these methods through these deprecated class names, we can simple disable this file.
1+
// Copyright contributors to the nodejs-itoolkit project
2+
// SPDX-License-Identifier: MIT
233

244
/* eslint-disable max-classes-per-file */
255
/* eslint-disable default-param-last */

lib/ProgramCall.js

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,5 @@
1-
// Copyright (c) International Business Machines Corp. 2019
2-
3-
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
4-
// associated documentation files (the "Software"), to deal in the Software without restriction,
5-
// including without limitation the rights to use, copy, modify, merge, publish, distribute,
6-
// sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is
7-
// furnished to do so, subject to the following conditions:
8-
9-
// The above copyright notice and this permission notice shall be included in all copies or
10-
// substantial portions of the Software.
11-
12-
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT
13-
// NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
14-
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
15-
// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
16-
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1+
// Copyright contributors to the nodejs-itoolkit project
2+
// SPDX-License-Identifier: MIT
173

184
/* eslint-disable no-underscore-dangle */
195

lib/itoolkit.js

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,5 @@
1-
// Copyright (c) International Business Machines Corp. 2019
2-
3-
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
4-
// associated documentation files (the "Software"), to deal in the Software without restriction,
5-
// including without limitation the rights to use, copy, modify, merge, publish, distribute,
6-
// sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is
7-
// furnished to do so, subject to the following conditions:
8-
9-
// The above copyright notice and this permission notice shall be included in all copies or
10-
// substantial portions of the Software.
11-
12-
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT
13-
// NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
14-
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
15-
// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
16-
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1+
// Copyright contributors to the nodejs-itoolkit project
2+
// SPDX-License-Identifier: MIT
173

184
/**
195
* main entry point for itoolkit package

lib/transports/httpTransport.js

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,5 @@
1-
// Copyright (c) International Business Machines Corp. 2019
2-
3-
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
4-
// associated documentation files (the "Software"), to deal in the Software without restriction,
5-
// including without limitation the rights to use, copy, modify, merge, publish, distribute,
6-
// sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is
7-
// furnished to do so, subject to the following conditions:
8-
9-
// The above copyright notice and this permission notice shall be included in all copies or
10-
// substantial portions of the Software.
11-
12-
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT
13-
// NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
14-
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
15-
// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
16-
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1+
// Copyright contributors to the nodejs-itoolkit project
2+
// SPDX-License-Identifier: MIT
173

184
const http = require('http');
195

lib/transports/idbTransport.js

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,5 @@
1-
// Copyright (c) International Business Machines Corp. 2017
2-
3-
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
4-
// associated documentation files (the "Software"), to deal in the Software without restriction,
5-
// including without limitation the rights to use, copy, modify, merge, publish, distribute,
6-
// sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is
7-
// furnished to do so, subject to the following conditions:
8-
9-
// The above copyright notice and this permission notice shall be included in all copies or
10-
// substantial portions of the Software.
11-
12-
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT
13-
// NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
14-
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
15-
// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
16-
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1+
// Copyright contributors to the nodejs-itoolkit project
2+
// SPDX-License-Identifier: MIT
173

184
let idb = null;
195

lib/transports/odbcTransport.js

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,5 @@
1-
// Copyright (c) International Business Machines Corp. 2019
2-
3-
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
4-
// associated documentation files (the "Software"), to deal in the Software without restriction,
5-
// including without limitation the rights to use, copy, modify, merge, publish, distribute,
6-
// sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is
7-
// furnished to do so, subject to the following conditions:
8-
9-
// The above copyright notice and this permission notice shall be included in all copies or
10-
// substantial portions of the Software.
11-
12-
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT
13-
// NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
14-
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
15-
// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
16-
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1+
// Copyright contributors to the nodejs-itoolkit project
2+
// SPDX-License-Identifier: MIT
173

184
let odbc = null;
195

lib/transports/sshTransport.js

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,5 @@
1-
// Copyright (c) International Business Machines Corp. 2019
2-
3-
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
4-
// associated documentation files (the "Software"), to deal in the Software without restriction,
5-
// including without limitation the rights to use, copy, modify, merge, publish, distribute,
6-
// sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is
7-
// furnished to do so, subject to the following conditions:
8-
9-
// The above copyright notice and this permission notice shall be included in all copies or
10-
// substantial portions of the Software.
11-
12-
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT
13-
// NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
14-
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
15-
// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
16-
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1+
// Copyright contributors to the nodejs-itoolkit project
2+
// SPDX-License-Identifier: MIT
173

184
const { Client } = require('ssh2');
195

test/functional/CommandCallFunctional.js

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,5 @@
1-
// Copyright (c) International Business Machines Corp. 2019
2-
3-
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
4-
// associated documentation files (the "Software"), to deal in the Software without restriction,
5-
// including without limitation the rights to use, copy, modify, merge, publish, distribute,
6-
// sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is
7-
// furnished to do so, subject to the following conditions:
8-
9-
// The above copyright notice and this permission notice shall be included in all copies or
10-
// substantial portions of the Software.
11-
12-
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT
13-
// NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
14-
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
15-
// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
16-
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1+
// Copyright contributors to the nodejs-itoolkit project
2+
// SPDX-License-Identifier: MIT
173

184
const { expect } = require('chai');
195
const { parseString } = require('xml2js');

0 commit comments

Comments
 (0)