@ioffice/svg2png
Advanced tools
Comparing version 0.0.1-beta.1807101627 to 0.0.1-beta.1807101627-beta.1808281740
{ | ||
"name": "@ioffice/svg2png", | ||
"description": "Converts SVGs to PNGs, using Chromium", | ||
"version": "0.0.1-beta.1807101627", | ||
"version": "0.0.1-beta.1807101627-beta.1808281740", | ||
"author": "Orignal Author: Domenic Denicola (https://domenic.me)", | ||
"contributors": "iOFFICE", | ||
"contributors": [ | ||
"iOFFICE" | ||
], | ||
"license": "WTFPL", | ||
@@ -27,4 +29,4 @@ "repository": { | ||
"devDependencies": { | ||
"@ioffice/tc-builder": "2.1.3", | ||
"@ioffice/tslint-config-ioffice": "0.4.1", | ||
"@ioffice/tc-builder": "3.0.0", | ||
"@ioffice/tslint-config-ioffice": "0.5.0", | ||
"@types/chai": "4.1.4", | ||
@@ -31,0 +33,0 @@ "@types/debug": "^0.0.30", |
@@ -10,3 +10,3 @@ import { Browser, LaunchOptions } from 'puppeteer'; | ||
*/ | ||
declare function createPuppeteerPool(config: IPuppeteerPoolConfig, puppeteerlaunchOptions: LaunchOptions, genericPoolConfig: Options): Pool<any>; | ||
declare function createPuppeteerPool(config: IPuppeteerPoolConfig, puppeteerlaunchOptions: LaunchOptions, genericPoolConfig: Options): Pool<Browser>; | ||
export { createPuppeteerPool, }; |
@@ -25,2 +25,3 @@ # SVG-to-PNG Converter Using Chromium | ||
<<<<<<< HEAD | ||
## Sync variant | ||
@@ -34,3 +35,4 @@ | ||
======= | ||
>>>>>>> 61541144915ed9c54bb680e53fa42faba9e22abc | ||
## How the conversion is done | ||
@@ -73,1 +75,4 @@ | ||
svg2png uses the latest in ES2017 features, and as such requires a recent version of Node.js. Only the 8.x series onward is supported. | ||
## TODO: | ||
Create the tests for the cli |
/// <reference types="node" /> | ||
import { Page } from 'puppeteer'; | ||
import { Page, Browser } from 'puppeteer'; | ||
import { Pool } from 'generic-pool'; | ||
interface IDimensions { | ||
@@ -19,3 +20,3 @@ width: number; | ||
static debug: (...args: any[]) => void; | ||
static pool: import("generic-pool").Pool<any>; | ||
static pool: Pool<Browser>; | ||
private static idCounter; | ||
@@ -22,0 +23,0 @@ private source; |
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
39234
14
764
76
1