@figma-export/output-components-as-svgstore
Advanced tools
Comparing version 2.2.0 to 3.0.0-alpha.0
import { FigmaExport } from '@figma-export/types'; | ||
import { Options as SvgStoreOptions } from './svgstore'; | ||
declare type Options = { | ||
output: string; | ||
svgstoreConfig?: {}; | ||
/** https://www.npmjs.com/package/svgstore#options */ | ||
svgstoreConfig?: SvgStoreOptions; | ||
getIconId?: (options: FigmaExport.OutputterParamOption) => string; | ||
@@ -6,0 +8,0 @@ }; |
"use strict"; | ||
/* eslint-disable import/order */ | ||
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
@@ -3,0 +4,0 @@ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } |
@@ -1,9 +0,6 @@ | ||
declare module 'svgstore' { | ||
interface SvgStore { | ||
add: (id: string, svg: string, options?: {}) => SvgStore; | ||
toString: (options: {}) => string; | ||
} | ||
// eslint-disable-next-line @typescript-eslint/no-unused-vars | ||
import { Options, SvgStore } from './src/svgstore'; | ||
function svgstore(options: {}): SvgStore; | ||
export = svgstore; | ||
declare global { | ||
export function svgstore(options: Options): SvgStore; | ||
} |
{ | ||
"name": "@figma-export/output-components-as-svgstore", | ||
"version": "2.2.0", | ||
"version": "3.0.0-alpha.0", | ||
"description": "Outputter for @figma-export that exports components in svg file ( SVG Sprites )", | ||
@@ -18,10 +18,10 @@ "main": "dist/index.js", | ||
"dependencies": { | ||
"@figma-export/types": "^2.2.0", | ||
"make-dir": "~3.0.2", | ||
"@figma-export/types": "^3.0.0-alpha.0", | ||
"make-dir": "~3.1.0", | ||
"svgstore": "~3.0.0-2" | ||
}, | ||
"engines": { | ||
"node": ">= 8.3 <= 14.x" | ||
"node": ">= 10.13 <= 14.x" | ||
}, | ||
"gitHead": "050997343d28dc32ac309cc1cb063846f86e57fa" | ||
"gitHead": "05a70e69f8758f8566896d5bb492007aaf423e58" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
9405
13
73
2
+ Added@figma-export/types@3.5.0(transitive)
+ Addedaxios@0.21.4(transitive)
+ Addedfigma-js@1.14.0(transitive)
+ Addedfollow-redirects@1.15.9(transitive)
+ Addedmake-dir@3.1.0(transitive)
- Removed@figma-export/types@2.2.0(transitive)
- Removed@types/figma@1.0.8(transitive)
- Removedmake-dir@3.0.2(transitive)
Updatedmake-dir@~3.1.0