From 2a9eb70f18fbcabc885c3375b2f1943e46a0c575 Mon Sep 17 00:00:00 2001 From: ThinhVu Date: Sat, 28 Aug 2021 11:18:31 +0700 Subject: [PATCH] Update license --- LICENSE | 26 ++++++++------------------ package.json | 2 +- src/CodePage.js | 6 ++++++ src/TscBuffer.js | 6 ++++++ src/TscPrinter.js | 6 ++++++ 5 files changed, 27 insertions(+), 19 deletions(-) diff --git a/LICENSE b/LICENSE index 9363a84..749c0ea 100644 --- a/LICENSE +++ b/LICENSE @@ -1,21 +1,11 @@ -MIT License + DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE + Version 3.1, July 2019 -Copyright (c) 2020 Thinh Vu + by Sam Hocevar + theiostream + dtf -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: + DO WHAT THE FUCK YOU WANT TO PUBLIC LICENCE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION -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. + 0. You just DO WHAT THE FUCK YOU WANT TO. diff --git a/package.json b/package.json index f070edb..d70fb99 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ "type": "git", "url": "https://github.com/ThinhVu/tsc-printer-js.git" }, - "license": "WTFPL", + "license": "WTFPL v3", "dependencies": { }, "devDependencies": { diff --git a/src/CodePage.js b/src/CodePage.js index 0be6e7e..105bd39 100644 --- a/src/CodePage.js +++ b/src/CodePage.js @@ -1,3 +1,9 @@ +/**This project is licensed under the terms of the + * DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE, version 3, + * as published by theiostream on March 2012, as it follows: + * + * 0. You just DO WHAT THE FUCK YOU WANT TO.*/ + module.exports = { // 7 bit code pages _7Bit: { diff --git a/src/TscBuffer.js b/src/TscBuffer.js index 8608377..ca4eb82 100644 --- a/src/TscBuffer.js +++ b/src/TscBuffer.js @@ -1,3 +1,9 @@ +/**This project is licensed under the terms of the + * DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE, version 3, + * as published by theiostream on March 2012, as it follows: + * + * 0. You just DO WHAT THE FUCK YOU WANT TO.*/ + let charsetName = "utf8"; const setCharsetName = charset => charsetName = charset; diff --git a/src/TscPrinter.js b/src/TscPrinter.js index e7301e2..c8b09b5 100644 --- a/src/TscPrinter.js +++ b/src/TscPrinter.js @@ -1,3 +1,9 @@ +/**This project is licensed under the terms of the + * DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE, version 3, + * as published by theiostream on March 2012, as it follows: + * + * 0. You just DO WHAT THE FUCK YOU WANT TO.*/ + class TscPrinter { constructor(device) { this.device = device