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.10.1 to 0.10.2

dist/index.d.cts

5

dist/index.cjs.LEGAL.txt

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

/*! https://mths.be/cssesc v3.0.0 by @mathias */
Bundled license information:
cssesc/cssesc.js:
/*! https://mths.be/cssesc v3.0.0 by @mathias */

8

dist/index.d.ts

@@ -20,3 +20,3 @@ import { ReactNode } from 'react';

};
declare type Locale = keyof typeof code;
type Locale = keyof typeof code;

@@ -27,4 +27,4 @@ /**

declare type Weight = 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900;
declare type Style$1 = 'normal' | 'italic';
type Weight = 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900;
type Style$1 = 'normal' | 'italic';
interface FontOptions {

@@ -156,3 +156,3 @@ data: Buffer | ArrayBuffer;

declare type SatoriOptions = ({
type SatoriOptions = ({
width: number;

@@ -159,0 +159,0 @@ height: number;

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

/*! https://mths.be/cssesc v3.0.0 by @mathias */
Bundled license information:
cssesc/cssesc.js:
/*! https://mths.be/cssesc v3.0.0 by @mathias */

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

/*! https://mths.be/cssesc v3.0.0 by @mathias */
Bundled license information:
cssesc/cssesc.js:
/*! https://mths.be/cssesc v3.0.0 by @mathias */

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

/*! https://mths.be/cssesc v3.0.0 by @mathias */
Bundled license information:
cssesc/cssesc.js:
/*! https://mths.be/cssesc v3.0.0 by @mathias */
{
"name": "satori",
"version": "0.10.1",
"version": "0.10.2",
"description": "Enlightened library to convert HTML and CSS to SVG.",

@@ -24,3 +24,2 @@ "module": "./dist/index.js",

".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",

@@ -30,5 +29,10 @@ "require": "./dist/index.cjs"

"./wasm": {
"types": "./dist/index.d.ts",
"import": "./dist/index.wasm.js",
"require": "./dist/index.wasm.cjs"
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.wasm.js"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.wasm.cjs"
}
}

@@ -45,5 +49,7 @@ },

"build:wasm": "WASM=1 tsup",
"test": "NODE_ENV=test vitest run --outputTruncateLength=999999999999",
"attw": "attw --pack",
"test": "NODE_ENV=test vitest run",
"test:ui": "NODE_ENV=test vitest --ui --coverage.enabled",
"test-type": "tsc -p tsconfig.json --noEmit && tsc -p playground/tsconfig.json --noEmit",
"dev:test": "NODE_ENV=test vitest --update --outputTruncateLength=999999999999",
"dev:test": "NODE_ENV=test vitest --update",
"lint": "eslint . --ext .js,.jsx,.ts,.tsx --quiet --cache",

@@ -78,2 +84,3 @@ "lint:fix": "pnpm lint --fix",

"devDependencies": {
"@arethetypeswrong/cli": "^0.4.2",
"@resvg/resvg-js": "^2.1.0",

@@ -85,3 +92,4 @@ "@types/node": "^16",

"@typescript-eslint/parser": "^5.40.0",
"@vitest/ui": "^0.7.6",
"@vitest/coverage-v8": "^0.32.0",
"@vitest/ui": "^0.32.0",
"concurrently": "^7.3.0",

@@ -93,11 +101,11 @@ "esbuild-plugin-replace": "^1.2.0",

"husky": "8.0.3",
"jest-image-snapshot": "^5.2.0",
"jest-image-snapshot": "^6.1.0",
"lint-staged": "13.1.0",
"prettier": "^2.7.1",
"react": "^17.0.2",
"tsup": "^5.12.9",
"tsup": "^7.1.0",
"turbo": "^1.6.3",
"twrnc": "^3.4.0",
"typescript": "^4.8.3",
"vitest": "0.28.4"
"typescript": "^5",
"vitest": "^0.32.0"
},

@@ -104,0 +112,0 @@ "dependencies": {

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