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

@types/svg2ttf

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/svg2ttf - npm Package Compare versions

Comparing version 5.0.0 to 5.0.1

10

svg2ttf/index.d.ts

@@ -11,12 +11,12 @@ // Type definitions for svg2ttf 5.0

interface FontOptions {
copyright?: string;
description?: string;
copyright?: string | undefined;
description?: string | undefined;
/**
* Unix timestamp (in seconds) to override creation time
*/
ts?: number;
ts?: number | undefined;
/**
* manufacturer url
*/
url?: string;
url?: string | undefined;
/**

@@ -26,3 +26,3 @@ * font version string, can be Version x.y or x.y

*/
version?: string;
version?: string | undefined;
}

@@ -29,0 +29,0 @@

{
"name": "@types/svg2ttf",
"version": "5.0.0",
"version": "5.0.1",
"description": "TypeScript definitions for svg2ttf",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/svg2ttf",
"license": "MIT",

@@ -22,4 +23,4 @@ "contributors": [

"dependencies": {},
"typesPublisherContentHash": "9e8108fe225baadb71bd926363bfb1fdffdd1a8e854d8169510d2042457f8315",
"typeScriptVersion": "3.0"
"typesPublisherContentHash": "4732db1e164d5fecf7c3ebc5272913bcb9b1b73e2fb45c40cca3aa9c4d52afdf",
"typeScriptVersion": "3.6"
}

@@ -9,5 +9,42 @@ # Installation

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/svg2ttf.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/svg2ttf/index.d.ts)
````ts
// Type definitions for svg2ttf 5.0
// Project: https://github.com/fontello/svg2ttf
// Definitions by: Ewan Morrison <https://github.com/ewan-m>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/** Converts SVG fonts to TTF format */
declare function svg2ttf(svgFontString: string, options?: svg2ttf.FontOptions): svg2ttf.MicroBuffer;
declare namespace svg2ttf {
interface FontOptions {
copyright?: string | undefined;
description?: string | undefined;
/**
* Unix timestamp (in seconds) to override creation time
*/
ts?: number | undefined;
/**
* manufacturer url
*/
url?: string | undefined;
/**
* font version string, can be Version x.y or x.y
* @default 'Version 1.0'
*/
version?: string | undefined;
}
interface MicroBuffer {
buffer: Uint8Array;
}
}
export = svg2ttf;
````
### Additional Details
* Last updated: Thu, 04 Jun 2020 21:10:56 GMT
* Last updated: Fri, 02 Jul 2021 22:33:13 GMT
* Dependencies: none

@@ -14,0 +51,0 @@ * Global values: none

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