@figma-export/core
Advanced tools
Comparing version 6.0.0 to 6.0.2
@@ -1,2 +0,1 @@ | ||
/// <reference types="react" resolution-mode="require"/> | ||
import * as FigmaExport from '@figma-export/types'; | ||
@@ -3,0 +2,0 @@ import * as Figma from 'figma-js'; |
@@ -1,2 +0,1 @@ | ||
/// <reference types="react" resolution-mode="require"/> | ||
import * as Figma from 'figma-js'; | ||
@@ -9,5 +8,5 @@ import * as FigmaExport from '@figma-export/types'; | ||
export declare const getClient: (token: string) => Figma.ClientInterface; | ||
export declare const getComponents: (children: readonly Figma.Node[], { filterComponent, includeTypes }: Required<PickOption<FigmaExport.ComponentsCommand, 'filterComponent' | 'includeTypes'>>, pathToComponent?: FigmaExport.ComponentExtras['pathToComponent']) => FigmaExport.ComponentNode[]; | ||
export declare const getDocument: (client: Figma.ClientInterface, options: PickOption<FigmaExport.ComponentsCommand, 'fileId' | 'version' | 'ids' | 'onlyFromPages'>) => Promise<Figma.Document>; | ||
export declare const getStyles: (client: Figma.ClientInterface, options: PickOption<FigmaExport.StylesCommand, 'fileId' | 'version' | 'ids' | 'onlyFromPages'>) => Promise<{ | ||
export declare const getComponents: (children: readonly Figma.Node[], { filterComponent, includeTypes }: Required<PickOption<FigmaExport.ComponentsCommand, "filterComponent" | "includeTypes">>, pathToComponent?: FigmaExport.ComponentExtras["pathToComponent"]) => FigmaExport.ComponentNode[]; | ||
export declare const getDocument: (client: Figma.ClientInterface, options: PickOption<FigmaExport.ComponentsCommand, "fileId" | "version" | "ids" | "onlyFromPages">) => Promise<Figma.Document>; | ||
export declare const getStyles: (client: Figma.ClientInterface, options: PickOption<FigmaExport.StylesCommand, "fileId" | "version" | "ids" | "onlyFromPages">) => Promise<{ | ||
readonly [key: string]: Figma.Style; | ||
@@ -34,5 +33,5 @@ }>; | ||
export declare const fileSvgs: (client: Figma.ClientInterface, fileId: string, ids: string[], version?: string, { concurrency, retries, transformers, onFetchCompleted, }?: FileSvgOptions) => Promise<FigmaExportFileSvg>; | ||
export declare const getPagesWithComponents: (document: Figma.Document, options: Required<PickOption<FigmaExport.ComponentsCommand, 'filterComponent' | 'includeTypes'>>) => FigmaExport.PageNode[]; | ||
export declare const getPagesWithComponents: (document: Figma.Document, options: Required<PickOption<FigmaExport.ComponentsCommand, "filterComponent" | "includeTypes">>) => FigmaExport.PageNode[]; | ||
export declare const enrichPagesWithSvg: (client: Figma.ClientInterface, fileId: string, pages: FigmaExport.PageNode[], version?: string, svgOptions?: FileSvgOptions) => Promise<FigmaExport.PageNode[]>; | ||
export {}; | ||
//# sourceMappingURL=figma.d.ts.map |
{ | ||
"name": "@figma-export/core", | ||
"version": "6.0.0", | ||
"version": "6.0.2", | ||
"description": "@figma-export core functionalities", | ||
@@ -28,9 +28,9 @@ "main": "dist/index.js", | ||
"@figma-export/types": "^6.0.0", | ||
"axios": "^1.6.8", | ||
"axios": "^1.7.7", | ||
"figma-js": "~1.16.0", | ||
"p-limit": "^5.0.0", | ||
"p-limit": "^6.1.0", | ||
"p-retry": "^6.2.0" | ||
}, | ||
"overrides": { | ||
"axios": "^1.6.8" | ||
"axios": "^1.7.7" | ||
}, | ||
@@ -43,3 +43,3 @@ "resolutions": { | ||
}, | ||
"gitHead": "504328785193bdd5143d25ce4abb4ab1242f4ea2" | ||
"gitHead": "c1cae3a28e46cb99d92a49046e97c6b0f2e957ee" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
70861
808
+ Addedp-limit@6.1.0(transitive)
- Removedp-limit@5.0.0(transitive)
Updatedaxios@^1.7.7
Updatedp-limit@^6.1.0