Comparing version 0.0.38 to 0.0.39
{ | ||
"name": "satori", | ||
"version": "0.0.38", | ||
"version": "0.0.39", | ||
"description": "Enlightened library to convert HTML and CSS to SVG.", | ||
@@ -5,0 +5,0 @@ "module": "./dist/esm/index.js", |
@@ -6,3 +6,6 @@ ![Satori](.github/card.png) | ||
> **Note** | ||
> To use Satori in your project to generate PNG images like Open Graph images and social cards, check out [Vercel’s Open Graph Image Generation](https://github.com/vercel/og). | ||
> | ||
> To use Satori in your project to generate PNG images like Open Graph images and social cards, check out our [announcement](https://vercel.com/blog/introducing-vercel-og-image-generation-fast-dynamic-social-card-images) and [Vercel’s Open Graph Image Generation →](https://vercel.com/docs/concepts/functions/edge-functions/og-image-generation) | ||
> | ||
> To use it in Next.js, take a look at the [Next.js Open Graph Image Generation template →](https://vercel.com/templates/next.js/og-image-generation) | ||
@@ -209,3 +212,3 @@ ## Overview | ||
<td colspan="2"><code>objectFit</code></td> | ||
<td><code>contain</code>, <code>cover</code>, <code>none</code>, default to <code>node</code></td> | ||
<td><code>contain</code>, <code>cover</code>, <code>none</code>, default to <code>none</code></td> | ||
</tr> | ||
@@ -306,3 +309,3 @@ | ||
{ | ||
// `code` will be the detected language code, `emoji` if it's an Emoji, or `unknwon` if not able to tell. | ||
// `code` will be the detected language code, `emoji` if it's an Emoji, or `unknown` if not able to tell. | ||
// `segment` will be the content to render. | ||
@@ -372,3 +375,3 @@ loadAdditionalAsset: async (code: string, segment: string) => { | ||
You can use [Satori’s playground](https://satori-playground.vercel.app) to test and report bugs of Satori. Please follow our [contribution guidelines](/CONTRIBUTING.md) before opening a Pull Request. | ||
You can use the [Vercel OG Image Playground](https://og-playground.vercel.app/) to test and report bugs of Satori. Please follow our [contribution guidelines](/CONTRIBUTING.md) before opening a Pull Request. | ||
@@ -375,0 +378,0 @@ <br/> |
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 too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1800748
1416
385