Socket
Socket
Sign inDemoInstall

satori

Package Overview
Dependencies
Maintainers
3
Versions
113
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

satori - npm Package Compare versions

Comparing version 0.5.0 to 0.6.0

18

dist/index.d.ts

@@ -137,2 +137,17 @@ import { ReactNode } from 'react';

/**
* This module is used to calculate the layout of the current sub-tree.
*/
interface SatoriNode {
left: number;
top: number;
width: number;
height: number;
type: string;
key?: string | number;
props: Record<string, any>;
textContent?: string;
}
declare function init(yoga: Yoga): void;

@@ -154,2 +169,3 @@

tailwindConfig?: TwConfig;
onNodeDetected?: (node: SatoriNode) => void;
};

@@ -159,2 +175,2 @@

export { FontOptions as Font, Style$1 as FontStyle, Weight as FontWeight, Locale, SatoriOptions, satori as default, init };
export { FontOptions as Font, Style$1 as FontStyle, Weight as FontWeight, Locale, SatoriNode, SatoriOptions, satori as default, init };

2

package.json
{
"name": "satori",
"version": "0.5.0",
"version": "0.6.0",
"description": "Enlightened library to convert HTML and CSS to SVG.",

@@ -5,0 +5,0 @@ "module": "./dist/index.js",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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