Socket
Socket
Sign inDemoInstall

custom-fonts-in-emails

Package Overview
Dependencies
Maintainers
2
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

custom-fonts-in-emails - npm Package Compare versions

Comparing version 4.0.2 to 5.0.0

index.js

114

package.json
{
"name": "custom-fonts-in-emails",
"description": "An extremely easy way to use custom fonts in emails without having to use art software. Made for Lad.",
"version": "4.0.2",
"version": "5.0.0",
"author": "Nick Baugh <niftylettuce@gmail.com>",
"bugs": "https://github.com/ladjs/custom-fonts-in-emails/issues",
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"contributors": [

@@ -16,45 +11,42 @@ "Nick Baugh <niftylettuce@gmail.com>"

"dependencies": {
"cheerio": "^1.0.0-rc.3",
"debug": "^4.1.1",
"fast-levenshtein": "^2.0.6",
"fast-safe-stringify": "^2.0.7",
"cheerio": "^1.0.0-rc.12",
"debug": "^4.3.4",
"fast-levenshtein": "^3.0.0",
"fast-safe-stringify": "^2.1.1",
"is-string-and-not-blank": "^0.0.2",
"lipo": "^1.0.1",
"lodash": "^4.17.19",
"lodash": "^4.17.21",
"os-fonts": "^0.5.0",
"pkg-dir": "^4.2.0",
"rev-hash": "^3.0.0",
"pkg-dir": "5",
"rev-hash": "3",
"sharp": "^0.30.7",
"text-to-svg": "^3.1.5",
"universalify": "^0.1.2"
"universalify": "^2.0.0"
},
"devDependencies": {
"@babel/cli": "^7.10.4",
"@babel/core": "^7.10.4",
"@babel/preset-env": "^7.10.4",
"@commitlint/cli": "^9.0.1",
"@commitlint/config-conventional": "^9.0.1",
"ava": "^3.10.1",
"@babel/cli": "^7.18.6",
"@babel/core": "^7.18.6",
"@babel/preset-env": "^7.18.6",
"@commitlint/cli": "^17.0.3",
"@commitlint/config-conventional": "^17.0.3",
"ava": "^4.3.0",
"bitter-font": "^0.0.1",
"codecov": "^3.7.0",
"cross-env": "^7.0.2",
"eslint": "^7.4.0",
"eslint-config-xo-lass": "^1.0.3",
"fixpack": "^3.0.6",
"husky": "^4.2.5",
"lint-staged": "^10.2.11",
"cross-env": "^7.0.3",
"detect-libc": "^2.0.1",
"eslint": "^8.19.0",
"eslint-config-xo-lass": "^2.0.1",
"fixpack": "^4.0.0",
"husky": "^8.0.1",
"lint-staged": "^13.0.3",
"nyc": "^15.1.0",
"remark-cli": "^8.0.0",
"remark-preset-github": "^2.0.2",
"xo": "^0.32.1"
"remark-cli": "^11.0.0",
"remark-preset-github": "^4.0.4",
"xo": "^0.50.0"
},
"engines": {
"node": ">= 8.x"
"node": ">= 14"
},
"files": [
"index.js"
],
"homepage": "https://github.com/ladjs/custom-fonts-in-emails",
"husky": {
"hooks": {
"pre-commit": "lint-staged && npm test",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"keywords": [

@@ -88,46 +80,10 @@ "awesome",

"license": "MIT",
"lint-staged": {
"*.js": [
"xo --fix",
"git add"
],
"*.md": [
"remark . -qfo",
"git add"
],
"package.json": [
"fixpack",
"git add"
]
},
"main": "lib/index.js",
"prettier": {
"singleQuote": true,
"bracketSpacing": true,
"trailingComma": "none"
},
"remarkConfig": {
"plugins": [
"preset-github"
]
},
"main": "index.js",
"repository": "ladjs/custom-fonts-in-emails",
"scripts": {
"ava": "cross-env NODE_ENV=test ava",
"build": "node_modules/.bin/babel src --out-dir lib",
"coverage": "nyc report --reporter=text-lcov > coverage.lcov && codecov",
"lint": "xo && remark . -qfo",
"nyc": "cross-env NODE_ENV=test nyc ava",
"precommit": "lint-staged && npm test",
"test": "npm run build && npm run lint && npm run ava",
"test-coverage": "npm run build && npm run lint && npm run nyc",
"watch": "node_modules/.bin/babel src --watch --out-dir lib"
},
"xo": {
"prettier": true,
"space": true,
"extends": [
"xo-lass"
]
"lint": "xo --fix && remark . -qfo && fixpack",
"prepare": "husky install",
"pretest": "npm run lint",
"test": "cross-env NODE_ENV=test nyc ava"
}
}
# custom-fonts-in-emails
[![build status](https://img.shields.io/travis/ladjs/custom-fonts-in-emails.svg)](https://travis-ci.org/ladjs/custom-fonts-in-emails)
[![code coverage](https://img.shields.io/codecov/c/github/ladjs/custom-fonts-in-emails.svg)](https://codecov.io/gh/ladjs/custom-fonts-in-emails)
[![build status](https://github.com/ladjs/custom-fonts-in-emails/actions/workflows/ci.yml/badge.svg)](https://github.com/ladjs/custom-fonts-in-emails/actions/workflows/ci.yml)
[![code style](https://img.shields.io/badge/code_style-XO-5ed9c7.svg)](https://github.com/sindresorhus/xo)

@@ -14,7 +13,7 @@ [![styled with prettier](https://img.shields.io/badge/styled_with-prettier-ff69b4.svg)](https://github.com/prettier/prettier)

* :bulb: Automatic smart-detection of font names spelled incorrectly (or with the wrong extension) with 50% accuracy (uses [fast-levenshtein][fast-levenshtein] and checks for at least 50% distance match).
* :crystal_ball: Detects user, local, network, system fonts, and `node_modules` folder fonts using [os-fonts][os-fonts] and [pkg-up][pkg-up] (e.g. you don't need to write `Arial.ttf`, you can just write `Arial`).
* :crystal\_ball: Detects user, local, network, system fonts, and `node_modules` folder fonts using [os-fonts][os-fonts] and [pkg-up][pkg-up] (e.g. you don't need to write `Arial.ttf`, you can just write `Arial`).
* :tada: Supports all WOFF, OTF, and TTF fonts (both with TrueType `glyf` and PostScript `cff` outlines).
* :sparkles: Use with recommended packages [nodemailer][nodemailer] and [nodemailer-base64-to-s3][nodemailer-base64-to-s3], or simply use [Lad][lad-url] (has this built-in).
* :pear: Pairs great with [font-awesome-assets][font-awesome-assets] and [juice][juice] (see [Lad's][lad-url] usage as an example).
* :white_check_mark: Supports offline and missing image support by automatically adding `alt`, `title`, and `style` attributes of `color` and `font-size` based upon the options passed.
* :white\_check\_mark: Supports offline and missing image support by automatically adding `alt`, `title`, and `style` attributes of `color` and `font-size` based upon the options passed.

@@ -223,9 +222,9 @@

* [ ] [svg/svgo#620](https://github.com/svg/svgo/issues/620)
* [ ] [svg/svgo#619](https://github.com/svg/svgo/issues/619)
* [ ] [nodebox/opentype.js#238](https://github.com/nodebox/opentype.js/issues/238)
* [ ] [jergason/recursive-readdir#35](https://github.com/jergason/recursive-readdir/pull/35)
* [ ] [shrhdk/text-to-svg#20](https://github.com/shrhdk/text-to-svg/issues/20)
* [ ] [shrhdk/text-to-svg#19](https://github.com/shrhdk/text-to-svg/issues/19)
* [ ] [shrhdk/text-to-svg#18](https://github.com/shrhdk/text-to-svg/issues/18)
* \[ ] [svg/svgo#620](https://github.com/svg/svgo/issues/620)
* \[ ] [svg/svgo#619](https://github.com/svg/svgo/issues/619)
* \[ ] [nodebox/opentype.js#238](https://github.com/nodebox/opentype.js/issues/238)
* \[ ] [jergason/recursive-readdir#35](https://github.com/jergason/recursive-readdir/pull/35)
* \[ ] [shrhdk/text-to-svg#20](https://github.com/shrhdk/text-to-svg/issues/20)
* \[ ] [shrhdk/text-to-svg#19](https://github.com/shrhdk/text-to-svg/issues/19)
* \[ ] [shrhdk/text-to-svg#18](https://github.com/shrhdk/text-to-svg/issues/18)

@@ -243,3 +242,3 @@

##
##

@@ -246,0 +245,0 @@ [lad-url]: https://lad.js.org

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc