From 7eff3e5747a8de48afe5dcb02756b675933ad73d Mon Sep 17 00:00:00 2001 From: Romain Menke Date: Sun, 25 Feb 2024 13:14:34 +0100 Subject: [PATCH] vendor bootstrap-fonts-complete.json --- bootstrap-fonts-complete.json | 161 ++++++++++++++++++++++++++++++++++ index.js | 2 +- package-lock.json | 98 ++++----------------- package.json | 1 - 4 files changed, 178 insertions(+), 84 deletions(-) create mode 100644 bootstrap-fonts-complete.json diff --git a/bootstrap-fonts-complete.json b/bootstrap-fonts-complete.json new file mode 100644 index 0000000..4f32faa --- /dev/null +++ b/bootstrap-fonts-complete.json @@ -0,0 +1,161 @@ +{ + "monospace": { + "category": "monospace", + "lastModified": "2015-07-24", + "version": "v1", + "variants": { + "italic": { + "400": { + "local": [ + "'Menlo Italic'", + "'Menlo-Italic'", + "'Consolas Italic'", + "'Consolas-Italic'", + "'Courier New Italic'" + ] + }, + "700": { + "local": [ + "'Menlo Bold Italic'", + "'Menlo-BoldItalic'", + "'Monaco'", + "'Consolas Bold Italic'", + "'Consolas-BoldItalic'", + "'Courier New Bold Italic'" + ] + } + }, + "normal": { + "400": { + "local": [ + "'Menlo Regular'", + "'Menlo-Regular'", + "'Monaco'", + "'Consolas'", + "'Courier New'" + ] + }, + "700": { + "local": [ + "'Menlo Bold'", + "'Menlo-Bold'", + "'Monaco'", + "'Consolas Bold'", + "'Consolas-Bold'", + "'Courier New Bold'" + ] + } + } + } + }, + "sans-serif": { + "category": "sans-serif", + "lastModified": "2015-07-24", + "version": "v1", + "variants": { + "italic": { + "300": { + "local": [ + "'Helvetica Neue Light Italic'", + "'HelveticaNeue-LightItalic'", + "'Helvetica Light Oblique'", + "'Helvetica-LightOblique'" + ] + }, + "400": { + "local": [ + "'Helvetica Neue Italic'", + "'HelveticaNeue-Italic'", + "'Helvetica Oblique'", + "'Helvetica-Oblique'" + ] + }, + "700": { + "local": [ + "'Helvetica Neue Bold Italic'", + "'HelveticaNeue-BoldItalic'", + "'Helvetica Bold Oblique'", + "'Helvetica-BoldOblique'" + ] + } + }, + "normal": { + "300": { + "local": [ + "'Helvetica Neue Light'", + "'HelveticaNeue-Light'", + "'Helvetica Light'", + "'Helvetica-Light'" + ] + }, + "400": { + "local": [ + "'HelveticaNeue'", + "'Helvetica'" + ] + }, + "700": { + "local": [ + "'Helvetica Neue Bold'", + "'HelveticaNeue-Bold'", + "'Helvetica Bold'", + "'Helvetica-Bold'" + ] + } + } + } + }, + "serif": { + "category": "serif", + "lastModified": "2015-07-24", + "version": "v1", + "variants": { + "italic": { + "300": { + "local": [ + "'Georgia'", + "'Times New Roman'", + "'Times'" + ] + }, + "400": { + "local": [ + "'Georgia'", + "'Times New Roman'", + "'Times'" + ] + }, + "700": { + "local": [ + "'Georgia'", + "'Times New Roman'", + "'Times'" + ] + } + }, + "normal": { + "300": { + "local": [ + "'Georgia'", + "'Times New Roman'", + "'Times'" + ] + }, + "400": { + "local": [ + "'Georgia'", + "'Times New Roman'", + "'Times'" + ] + }, + "700": { + "local": [ + "'Georgia'", + "'Times New Roman'", + "'Times'" + ] + } + } + } + } +} diff --git a/index.js b/index.js index 98b3c42..80d3eb7 100644 --- a/index.js +++ b/index.js @@ -25,7 +25,7 @@ const defaultOptions = { const initialFoundries = { custom: {}, hosted: {}, - bootstrap: require('bootstrap-fonts-complete'), + bootstrap: require('./bootstrap-fonts-complete.json'), google: require('google-fonts-complete') }; diff --git a/package-lock.json b/package-lock.json index 67ab41d..2dd040e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,6 @@ "version": "4.0.0", "license": "CC0-1.0", "dependencies": { - "bootstrap-fonts-complete": "^1.0.0", "directory-fonts-complete": "^1.2.0", "google-fonts-complete": "^2.1.1" }, @@ -46,14 +45,6 @@ "node": "^14 || ^16 || >=18" } }, - "node_modules/amdefine": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/amdefine/-/amdefine-1.0.1.tgz", - "integrity": "sha512-S2Hw0TtNkMJhIabBwIojKL9YHO5T0n5eNqWJ7Lrlel/zDbftQpxpapi8tZs3X1HWa+u+QeydGmzzNU0m09+Rcg==", - "engines": { - "node": ">=0.4.2" - } - }, "node_modules/b3b": { "version": "0.0.1", "resolved": "https://registry.npmjs.org/b3b/-/b3b-0.0.1.tgz", @@ -78,24 +69,6 @@ } ] }, - "node_modules/bootstrap-fonts-complete": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/bootstrap-fonts-complete/-/bootstrap-fonts-complete-1.0.0.tgz", - "integrity": "sha512-5K+ELLuM3NepCFr1OlkNNkAwrUg4MNM0BeCBhj2qDbCbl2FwqOL0Uu49UVU0hKO8b6sgtXtgoh1o3qoWMTbpDw==", - "dependencies": { - "postcss": "^4.1.16" - } - }, - "node_modules/bootstrap-fonts-complete/node_modules/postcss": { - "version": "4.1.16", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-4.1.16.tgz", - "integrity": "sha512-aAutxE8MvL1bHylFMYb2c2nniFax8XDztHzZ+x5DVsNJnoW6VHvGSNSqdW3+ip255HCWfPjayVVFzMmyiL7opA==", - "dependencies": { - "es6-promise": "~2.3.0", - "js-base64": "~2.1.8", - "source-map": "~0.4.2" - } - }, "node_modules/brotli": { "version": "1.3.3", "resolved": "https://registry.npmjs.org/brotli/-/brotli-1.3.3.tgz", @@ -117,11 +90,6 @@ "is-woff2": "^1.0.0" } }, - "node_modules/es6-promise": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/es6-promise/-/es6-promise-2.3.0.tgz", - "integrity": "sha512-oyOjMhyKMLEjOOtvkwg0G4pAzLQ9WdbbeX7WdqKzvYXu+UFgD0Zo/Brq5Q49zNmnGPPzV5rmYvrr0jz1zWx8Iw==" - }, "node_modules/google-fonts-complete": { "version": "2.2.3", "resolved": "https://registry.npmjs.org/google-fonts-complete/-/google-fonts-complete-2.2.3.tgz", @@ -176,10 +144,22 @@ "node": ">=0.10.0" } }, - "node_modules/js-base64": { - "version": "2.1.9", - "resolved": "https://registry.npmjs.org/js-base64/-/js-base64-2.1.9.tgz", - "integrity": "sha512-f+5mYh8iF7FlF7zgmj/yqvvYQUHI0kAxGiLjIfNxZzqJ7RQNc4sjgp8crVJw0Kzv2O6aFGZWgMTnO71I9utHSg==" + "node_modules/nanoid": { + "version": "3.3.7", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.7.tgz", + "integrity": "sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "bin": { + "nanoid": "bin/nanoid.cjs" + }, + "engines": { + "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" + } }, "node_modules/picocolors": { "version": "1.0.0", @@ -242,52 +222,6 @@ "node": "^10 || ^12 || >=14" } }, - "node_modules/postcss-8.4/node_modules/nanoid": { - "version": "3.3.7", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.7.tgz", - "integrity": "sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/ai" - } - ], - "bin": { - "nanoid": "bin/nanoid.cjs" - }, - "engines": { - "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" - } - }, - "node_modules/postcss/node_modules/nanoid": { - "version": "3.3.7", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.7.tgz", - "integrity": "sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/ai" - } - ], - "bin": { - "nanoid": "bin/nanoid.cjs" - }, - "engines": { - "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" - } - }, - "node_modules/source-map": { - "version": "0.4.4", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.4.4.tgz", - "integrity": "sha512-Y8nIfcb1s/7DcobUz1yOO1GSp7gyL+D9zLHDehT7iRESqGSxjJ448Sg7rvfgsRJCnKLdSl11uGf0s9X80cH0/A==", - "dependencies": { - "amdefine": ">=0.0.4" - }, - "engines": { - "node": ">=0.8.0" - } - }, "node_modules/source-map-js": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.2.tgz", diff --git a/package.json b/package.json index c602061..8ad81a2 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,6 @@ "node": ">=18" }, "dependencies": { - "bootstrap-fonts-complete": "^1.0.0", "directory-fonts-complete": "^1.2.0", "google-fonts-complete": "^2.1.1" },