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

@figma-export/core

Package Overview
Dependencies
Maintainers
1
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 3.3.0 to 3.3.1

3

dist/lib/figma.d.ts
import * as Figma from 'figma-js';
import * as FigmaExport from '@figma-export/types';
declare type NodeWithChildren = FigmaExport.ComponentNode | Figma.Group | Figma.Frame | Figma.Instance | Figma.BooleanGroup;
declare const getComponents: (children?: readonly NodeWithChildren[]) => FigmaExport.ComponentNode[];
declare const getComponents: (children?: readonly Figma.Node[]) => FigmaExport.ComponentNode[];
declare type GetPagesOptions = {

@@ -6,0 +5,0 @@ only?: string | string[];

@@ -43,3 +43,3 @@ "use strict";

if (component.type === 'COMPONENT') {
components.push(Object.assign(Object.assign({}, component), { figmaExport: {
components.push(Object.assign(Object.assign({}, component), { svg: '', figmaExport: {
dirname: path_1.dirname(component.name),

@@ -50,6 +50,8 @@ basename: path_1.basename(component.name),

}
components = [
...components,
...getComponents(component.children),
];
if ('children' in component) {
components = [
...components,
...getComponents((component.children)),
];
}
});

@@ -56,0 +58,0 @@ return components;

{
"name": "@figma-export/core",
"version": "3.3.0",
"version": "3.3.1",
"description": "@figma-export core functionalities",

@@ -26,5 +26,5 @@ "main": "dist/index.js",

"dependencies": {
"@figma-export/types": "^3.3.0",
"@figma-export/types": "^3.3.1",
"axios": "~0.21.1",
"figma-js": "~1.13.0",
"figma-js": "~1.14.0",
"p-limit": "^3.1.0"

@@ -35,3 +35,3 @@ },

},
"gitHead": "5796178b445cd651d0d252117e6e2ce3f9dbbb18"
"gitHead": "5bb0277dea6b39f517734d3fe5538c4abde4e278"
}

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