Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@react-pdf/fontkit

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

@react-pdf/fontkit - npm Package Compare versions

Comparing version 1.8.1 to 1.9.0

dist/fontkit.browser.cjs.js

43

package.json
{
"name": "@react-pdf/fontkit",
"version": "1.8.1",
"version": "1.9.0",
"description": "An advanced font engine for Node and the browser",

@@ -19,13 +19,10 @@ "keywords": [

},
"main": "index.js",
"jsnext:main": "src/index.js",
"main": "dist/fontkit.cjs.js",
"module": "dist/fontkit.es.js",
"browser": {
"./dist/fontkit.es.js": "./dist/fontkit.browser.es.js",
"./dist/fontkit.cjs.js": "./dist/fontkit.browser.cjs.js"
},
"files": [
"src",
"base.js",
"base.js.map",
"index.js",
"index.js.map",
"dataTrie.json",
"useTrie.json",
"indicTrie.json"
"dist"
],

@@ -35,5 +32,5 @@ "author": "Devon Govett <devongovett@gmail.com>",

"dependencies": {
"@react-pdf/unicode-properties": "^2.0.0",
"babel-runtime": "^6.11.6",
"@react-pdf/unicode-properties": "^2.1.0",
"brfs": "^1.4.0",
"brotli": "^1.2.0",
"browserify-optional": "^1.0.0",

@@ -49,2 +46,3 @@ "clone": "^1.0.1",

"babel-cli": "^6.14.0",
"babel-plugin-external-helpers": "^6.22.0",
"babel-plugin-istanbul": "^4.1.3",

@@ -55,3 +53,5 @@ "babel-plugin-transform-class-properties": "^6.16.0",

"babel-preset-es2015": "^6.14.0",
"babel-preset-stage-0": "^6.24.1",
"babel-register": "^6.14.0",
"babel-runtime": "^6.11.6",
"codepoints": "^1.2.0",

@@ -64,13 +64,10 @@ "concat-stream": "^1.4.6",

"nyc": "^10.3.2",
"rollup": "^0.34.10",
"rollup-plugin-babel": "^2.6.1",
"rollup-plugin-json": "^2.0.2",
"rollup-plugin-local-resolve": "^1.0.7"
},
"browserify": {
"transform": [
"brfs",
"browserify-optional"
]
"rollup": "^0.52.2",
"rollup-plugin-babel": "^2.7.1",
"rollup-plugin-ignore": "^1.0.3",
"rollup-plugin-json": "^2.1.0",
"rollup-plugin-local-resolve": "^1.0.7",
"rollup-plugin-node-resolve": "^2.0.0",
"rollup-plugin-replace": "^1.1.1"
}
}

@@ -5,2 +5,9 @@ # fontkit

## Fork changes
- Ship parsed tries for browser compatibility
- Ship node and browser separate builds (ignoring node dependencies)
- Add stringIndices to GlyphRun
- `openSync` and `open` not available for browser (throws error)
- Remove WOFF2 from browser build (due to `broli` dependency)
## Features

@@ -7,0 +14,0 @@

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