Socket
Socket
Sign inDemoInstall

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

Package Overview
Dependencies
86
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.0.0-alpha.4 to 3.0.0-alpha.5

4

dist/index.js

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

};
const output_components_utils_1 = require("@figma-export/output-components-utils");
const utils_1 = require("@figma-export/utils");
const core_1 = __importDefault(require("@svgr/core"));

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

const makeDir = require("make-dir");
module.exports = ({ output, getDirname = (options) => `${options.pageName}${path.sep}${options.dirname}`, getComponentName = (options) => `${output_components_utils_1.pascalCase(options.basename)}`, getFileExtension = () => '.jsx', getSvgrConfig = () => ({}), }) => {
module.exports = ({ output, getDirname = (options) => `${options.pageName}${path.sep}${options.dirname}`, getComponentName = (options) => `${utils_1.pascalCase(options.basename)}`, getFileExtension = () => '.jsx', getSvgrConfig = () => ({}), }) => {
makeDir.sync(output);

@@ -23,0 +23,0 @@ const indexJs = {};

{
"name": "@figma-export/output-components-as-svgr",
"version": "3.0.0-alpha.4",
"version": "3.0.0-alpha.5",
"description": "Outputter for @figma-export that exports components as React components using svgr",

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

"dependencies": {
"@figma-export/output-components-utils": "^3.0.0-alpha.0",
"@figma-export/types": "^3.0.0-alpha.4",
"@figma-export/types": "^3.0.0-alpha.5",
"@figma-export/utils": "^3.0.0-alpha.5",
"@svgr/core": "~5.4.0",

@@ -27,3 +27,3 @@ "make-dir": "~3.1.0"

},
"gitHead": "d97bcf811aed178bcdddd7939570ca224117ae58"
"gitHead": "92dd89c25f736a102f24cede1d8ceedfb8a02855"
}

@@ -64,3 +64,3 @@ # @figma-export/output-components-as-svgr

const path = require('path');
const { pascalCase } = require('@figma-export/output-components-utils');
const { pascalCase } = require('@figma-export/utils');

@@ -67,0 +67,0 @@ ...

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc