@react-pdf/fontkit
Advanced tools
Comparing version 1.8.1 to 1.9.0
{ | ||
"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 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 1 instance in 1 package
2221386
51066
264
3
24
6
5
+ Addedbrotli@^1.2.0
+ Addedbase64-js@1.5.1(transitive)
+ Addedbrotli@1.3.3(transitive)
- Removedbabel-runtime@^6.11.6
- Removedbabel-runtime@6.26.0(transitive)
- Removedcore-js@2.6.12(transitive)
- Removedregenerator-runtime@0.11.1(transitive)