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.0 to 1.8.1

src/opentype/.DS_Store

5

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

@@ -34,5 +34,5 @@ "keywords": [

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

@@ -44,3 +44,2 @@ "clone": "^1.0.1",

"tiny-inflate": "^1.0.2",
"unicode-properties": "^1.0.0",
"unicode-trie": "^0.3.0"

@@ -47,0 +46,0 @@ },

2

src/glyph/Glyph.js
import { cache } from '../decorators';
import Path from './Path';
import unicode from 'unicode-properties';
import unicode from '@react-pdf/unicode-properties';
import StandardNames from './StandardNames';

@@ -5,0 +5,0 @@

import fontkit from './base';
import TTFFont from './TTFFont';
import WOFFFont from './WOFFFont';
import WOFF2Font from './WOFF2Font';
import TrueTypeCollection from './TrueTypeCollection';

@@ -11,3 +10,2 @@ import DFont from './DFont';

fontkit.registerFormat(WOFFFont);
fontkit.registerFormat(WOFF2Font);
fontkit.registerFormat(TrueTypeCollection);

@@ -14,0 +12,0 @@ fontkit.registerFormat(DFont);

@@ -6,3 +6,3 @@ import KernProcessor from './KernProcessor';

import * as Script from './Script';
import unicode from 'unicode-properties';
import unicode from '@react-pdf/unicode-properties';
import AATLayoutEngine from '../aat/AATLayoutEngine';

@@ -9,0 +9,0 @@ import OTLayoutEngine from '../opentype/OTLayoutEngine';

@@ -1,2 +0,2 @@

import unicode from 'unicode-properties';
import unicode from '@react-pdf/unicode-properties';

@@ -3,0 +3,0 @@ // This maps the Unicode Script property to an OpenType script tag

@@ -1,2 +0,2 @@

import unicode from 'unicode-properties';
import unicode from '@react-pdf/unicode-properties';

@@ -3,0 +3,0 @@ /**

@@ -1,2 +0,2 @@

import unicode from 'unicode-properties';
import unicode from '@react-pdf/unicode-properties';
import OTProcessor from './OTProcessor';

@@ -3,0 +3,0 @@

import DefaultShaper from './DefaultShaper';
import unicode from 'unicode-properties';
import unicode from '@react-pdf/unicode-properties';
import UnicodeTrie from 'unicode-trie';

@@ -4,0 +4,0 @@ import trieData from './dataTrie.json';

@@ -1,2 +0,2 @@

import unicode from 'unicode-properties';
import unicode from '@react-pdf/unicode-properties';

@@ -3,0 +3,0 @@ const VARIATION_FEATURES = ['rvrn'];

import DefaultShaper from './DefaultShaper';
import StateMachine from 'dfa';
import UnicodeTrie from 'unicode-trie';
import unicode from 'unicode-properties';
import unicode from '@react-pdf/unicode-properties';
import * as Script from '../../layout/Script';

@@ -6,0 +6,0 @@ import GlyphInfo from '../GlyphInfo';

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

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