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

@figma/create-widget

Package Overview
Dependencies
Maintainers
26
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@figma/create-widget - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

17

create-widget.js

@@ -13,2 +13,10 @@ import fs from "fs-extra";

const INITIAL_PROMPT = `This tool will create a FigJam widget project using a template that serves as a starting point for building your widget.
See the generated README.md for more information on how to use this template and get started building your widget.
You can find the API reference for widgets here: https://www.figma.com/widget-docs/api/api-reference/
Press ^C at any time to quit.\n`
function makeid(length) {

@@ -91,10 +99,3 @@ var result = "";

try {
console.log(`This tool will create a FigJam widget using a template.
It aims to provide an extensible starting point with sensible defaults for building your widget.
See the generated README.md for more information for how to use this template and get started building your widget.
You can find API reference for widgets here: https://www.figma.com/widget-docs/api/api-reference/
Press ^C at any time to quit.\n`);
console.log(INITIAL_PROMPT);
let widgetName = input.options.name;

@@ -101,0 +102,0 @@ if (widgetName === undefined) {

{
"name": "@figma/create-widget",
"repository": "git@github.com:figma/create-widget.git",
"version": "1.0.4",
"version": "1.0.5",
"description": "Create a widget from figma widget templates",

@@ -6,0 +6,0 @@ "type": "module",

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