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

react-figma

Package Overview
Dependencies
Maintainers
1
Versions
113
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-figma - npm Package Compare versions

Comparing version 0.0.47 to 0.0.48

hooks/useFetch.d.ts

1

index.d.ts

@@ -21,1 +21,2 @@ export { render } from './renderer';

export { Platform } from './helpers/Platform';
export { useFetch } from './hooks/useFetch';

@@ -44,2 +44,4 @@ "use strict";

exports.Platform = Platform_1.Platform;
var useFetch_1 = require("./hooks/useFetch");
exports.useFetch = useFetch_1.useFetch;
//# sourceMappingURL=index.js.map

3

package.json
{
"name": "react-figma",
"version": "0.0.47",
"version": "0.0.48",
"description": "Render React components to Figma",

@@ -71,2 +71,3 @@ "scripts": {

"nanoid": "^2.0.3",
"react-fetch-hook": "1.7.2",
"react-reconciler": "^0.23.0",

@@ -73,0 +74,0 @@ "rxjs": "^6.5.2",

@@ -124,6 +124,7 @@ # React Figma

* [basic](examples/basic)
* [design-system](examples/design-system)
* [interactive](examples/interactive)
* [groups](examples/groups)
* [Basic](examples/basic)
* [Design system](examples/design-system)
* [Interactive](examples/interactive)
* [Groups](examples/groups)
* [Data fetching](examples/fetching)
* [Primer Demo](https://github.com/react-figma/primer-demo) - Example of multifplatform UI-kit

@@ -130,0 +131,0 @@

@@ -1,3 +0,4 @@

export declare const uiWorker: ({ yoga }: {
export declare const uiWorker: ({ yoga, fetch }: {
yoga: any;
fetch: any;
}) => (event: any) => void;

@@ -5,4 +5,5 @@ "use strict";

var base64ToBlobWorker_1 = require("./workers/base64ToBlobWorker");
var fetchWorker_1 = require("./workers/fetchWorker");
exports.uiWorker = function (_a) {
var yoga = _a.yoga;
var yoga = _a.yoga, fetch = _a.fetch;
return function (event) {

@@ -12,4 +13,5 @@ var message = event.data.pluginMessage;

base64ToBlobWorker_1.base64ToBlobWorker()(message);
fetchWorker_1.fetchWorker(fetch)(message);
};
};
//# sourceMappingURL=uiWorker.js.map

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