New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@figma-export/output-components-as-es6

Package Overview
Dependencies
Maintainers
1
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@figma-export/output-components-as-es6 - npm Package Compare versions

Comparing version 4.0.0-alpha.0 to 4.0.0-alpha.1

6

dist/index.js

@@ -11,6 +11,2 @@ "use strict";

};
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
const make_dir_1 = __importDefault(require("make-dir"));
const utils_1 = require("@figma-export/utils");

@@ -22,3 +18,3 @@ const fs = require("fs");

module.exports = ({ output, getVariableName = (options) => (0, utils_1.camelCase)(options.componentName.trim()), useBase64 = false, useDataUrl = false, }) => {
make_dir_1.default.sync(output);
fs.mkdirSync(output, { recursive: true });
return (pages) => __awaiter(void 0, void 0, void 0, function* () {

@@ -25,0 +21,0 @@ pages.forEach((page) => {

7

package.json
{
"name": "@figma-export/output-components-as-es6",
"version": "4.0.0-alpha.0",
"version": "4.0.0-alpha.1",
"description": "Outputter for @figma-export that exports components in javascript file",

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

"dependencies": {
"@figma-export/types": "^4.0.0-alpha.0",
"@figma-export/types": "^4.0.0-alpha.1",
"@figma-export/utils": "^4.0.0-alpha.0",
"make-dir": "~3.1.0",
"mini-svg-data-uri": "~1.4.3"

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

},
"gitHead": "69e5443cdb4a4f8ad9bf482d0a7dcca1bb261d96"
"gitHead": "086711cbbf9ef49e4d49dc143b01902cb0909afc"
}

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