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

@figma-export/core

Package Overview
Dependencies
Maintainers
0
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@figma-export/core - npm Package Compare versions

Comparing version 6.0.0 to 6.0.2

1

dist/lib/_config.helper-test.d.ts

@@ -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';

9

dist/lib/figma.d.ts

@@ -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

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