You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

svgo

Package Overview
Dependencies
Maintainers
4
Versions
109
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

svgo - npm Package Compare versions

Comparing version

to
4.0.0-rc.3

2

lib/svgo-node.js

@@ -40,3 +40,3 @@ import os from 'os';

*
* @type {<T extends string>(configFile: T | null, cwd?: string) => Promise<T extends string ? import('./svgo.js').Config : import('./svgo.js').Config | null>}
* @type {<T extends string | null>(configFile?: T, cwd?: string) => Promise<T extends string ? import('./svgo.js').Config : import('./svgo.js').Config | null>}
*/

@@ -43,0 +43,0 @@ export const loadConfig = async (configFile, cwd = process.cwd()) => {

@@ -7,2 +7,2 @@ /**

*/
export const VERSION = '4.0.0-rc.2';
export const VERSION = '4.0.0-rc.3';
{
"packageManager": "yarn@3.8.7",
"name": "svgo",
"version": "4.0.0-rc.2",
"version": "4.0.0-rc.3",
"description": "SVGO is a Node.js library and command-line application for optimizing vector images.",

@@ -6,0 +6,0 @@ "license": "MIT",

@@ -7,5 +7,5 @@ export * from "./svgo.js";

*
* @type {<T extends string>(configFile: T | null, cwd?: string) => Promise<T extends string ? import('./svgo.js').Config : import('./svgo.js').Config | null>}
* @type {<T extends string | null>(configFile?: T, cwd?: string) => Promise<T extends string ? import('./svgo.js').Config : import('./svgo.js').Config | null>}
*/
export const loadConfig: <T extends string>(configFile: T | null, cwd?: string) => Promise<T extends string ? import("./svgo.js").Config : import("./svgo.js").Config | null>;
export const loadConfig: <T extends string | null>(configFile?: T, cwd?: string) => Promise<T extends string ? import("./svgo.js").Config : import("./svgo.js").Config | null>;
export function optimize(input: string, config?: import("./svgo.js").Config | undefined): import("./svgo.js").Output;

Sorry, the diff of this file is not supported yet

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