From d160d826832d2a531e58098b2669f823c94ff2b6 Mon Sep 17 00:00:00 2001 From: Lukas Hollaender Date: Tue, 11 Aug 2020 09:56:39 +0200 Subject: [PATCH] add license to archive and add license header to typings --- package.json | 2 +- src/license.js | 6 +++--- types/index.d.ts | 56 ++++++++++++++++++++++++++++++++++++++++++------ 3 files changed, 54 insertions(+), 10 deletions(-) diff --git a/package.json b/package.json index 99de7d565..0d4e3e739 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "dist", "types/index.d.ts", "README.md", - "makeFonts.js" + "MIT-LICENSE.txt" ], "typings": "types/index.d.ts", "types": "types/index.d.ts", diff --git a/src/license.js b/src/license.js index 54a03f585..e750da98b 100644 --- a/src/license.js +++ b/src/license.js @@ -4,9 +4,9 @@ * Version ${data.versionID} Built on ${data.builtOn} * CommitID ${data.commitID} * - * Copyright (c) 2010-2018 James Hall , https://github.com/MrRio/jsPDF - * 2015-2018 yWorks GmbH, http://www.yworks.com - * 2015-2018 Lukas Holländer , https://github.com/HackbrettXXX + * Copyright (c) 2010-2020 James Hall , https://github.com/MrRio/jsPDF + * 2015-2020 yWorks GmbH, http://www.yworks.com + * 2015-2020 Lukas Holländer , https://github.com/HackbrettXXX * 2016-2018 Aras Abbasi * 2010 Aaron Spike, https://github.com/acspike * 2012 Willow Systems Corporation, willow-systems.com diff --git a/types/index.d.ts b/types/index.d.ts index 6a3e60de7..bb0e08eaa 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -1,9 +1,53 @@ -// Type definitions for jsPDF 1.5.4 -// Project: https://github.com/MrRio/jsPDF -// Definitions by: Amber Schühmacher -// Kevin Gonnord -// Jackie Weng -// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +/** @license + * + * jsPDF - PDF Document creation from JavaScript + * + * Copyright (c) 2010-2020 James Hall , https://github.com/MrRio/jsPDF + * 2015-2020 yWorks GmbH, http://www.yworks.com + * 2015-2020 Lukas Holländer , https://github.com/HackbrettXXX + * 2016-2018 Aras Abbasi + * 2018 Amber Schühmacher + * 2018 Kevin Gonnord + * 2018 Jackie Weng + * 2010 Aaron Spike, https://github.com/acspike + * 2012 Willow Systems Corporation, willow-systems.com + * 2012 Pablo Hess, https://github.com/pablohess + * 2012 Florian Jenett, https://github.com/fjenett + * 2013 Warren Weckesser, https://github.com/warrenweckesser + * 2013 Youssef Beddad, https://github.com/lifof + * 2013 Lee Driscoll, https://github.com/lsdriscoll + * 2013 Stefan Slonevskiy, https://github.com/stefslon + * 2013 Jeremy Morel, https://github.com/jmorel + * 2013 Christoph Hartmann, https://github.com/chris-rock + * 2014 Juan Pablo Gaviria, https://github.com/juanpgaviria + * 2014 James Makes, https://github.com/dollaruw + * 2014 Diego Casorran, https://github.com/diegocr + * 2014 Steven Spungin, https://github.com/Flamenco + * 2014 Kenneth Glassey, https://github.com/Gavvers + * + * 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. + * + * Contributor(s): + * siefkenj, ahwolf, rickygu, Midnith, saintclair, eaparango, + * kim3er, mfo, alnorth, Flamenco + */ declare module "jspdf" { import construct = Reflect.construct;