diff --git a/lib/packagesLicenses.txt b/lib/packagesLicenses.txt index 698e91b..dc069e6 100644 --- a/lib/packagesLicenses.txt +++ b/lib/packagesLicenses.txt @@ -607,21 +607,61 @@ SOFTWARE. //package mini-svg-data-uri -The ISC License +# Blue Oak Model License -Copyright (c) 2011-2023 Isaac Z. Schlueter and Contributors +Version 1.0.0 -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted, provided that the above -copyright notice and this permission notice appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR -IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +## Purpose + +This license gives everyone as much permission to work with +this software as possible, while protecting contributors +from liability. + +## Acceptance + +In order to receive this license, you must agree to its +rules. The rules of this license are both obligations +under that agreement and conditions to your license. +You must not do anything with this software that triggers +a rule that you cannot or will not follow. + +## Copyright + +Each contributor licenses you to do everything with this +software that would otherwise infringe that contributor's +copyright in it. + +## Notices + +You must ensure that everyone who gets a copy of +any part of this software from you, with or without +changes, also gets the text of this license or a link to +. + +## Excuse + +If anyone notifies you in writing that you have not +complied with [Notices](#notices), you can keep your +license by taking all practical steps to comply within 30 +days after the notice. If you do not do so, your license +ends immediately. + +## Patent + +Each contributor licenses you to do everything with this +software that would otherwise infringe any patent claims +they can license or become able to license. + +## Reliability + +No contributor can revoke this license. + +## No Liability + +***As far as the law allows, this software comes as is, +without any warranty or condition, and no contributor +will be liable to anyone for any damages related to this +software or this license, under any kind of legal claim.*** //package rimraf diff --git a/scripts/generatePackagesLib.js b/scripts/generatePackagesLib.js index 152f263..86433b2 100644 --- a/scripts/generatePackagesLib.js +++ b/scripts/generatePackagesLib.js @@ -25,12 +25,15 @@ const loadPackages = async (packageDependencies = dependencies) => { let license; try { const licenseFile = path.resolve(__dirname, '..', 'node_modules', keys[index], 'LICENSE'); - const altLicense = path.resolve(__dirname, '..', 'node_modules', keys[index], 'LICENSE.txt'); + const altLicenseTxt = path.resolve(__dirname, '..', 'node_modules', keys[index], 'LICENSE.txt'); + const altLicenseMd = path.resolve(__dirname, '..', 'node_modules', keys[index], 'LICENSE.md'); if (existsSync(licenseFile)) { license = readFileSync(licenseFile, 'utf-8'); - } else if (existsSync(altLicense)) { - license = readFileSync(altLicense, 'utf-8'); + } else if (existsSync(altLicenseTxt)) { + license = readFileSync(altLicenseTxt, 'utf-8'); + } else if (existsSync(altLicenseMd)) { + license = readFileSync(altLicenseMd, 'utf-8'); } if (!license) {