@vercel/og
Advanced tools
Comparing version 0.4.0 to 0.4.1
@@ -22,3 +22,3 @@ import { | ||
constructor(element, options = {}) { | ||
if (!new Error().stack.includes("async_hooks") || typeof Response === "undefined" || typeof ReadableStream === "undefined") { | ||
if (typeof Response === "undefined" || typeof ReadableStream === "undefined") { | ||
throw new Error("The `ImageResponse` API is not supported in this runtime, use the `unstable_createNodejsStream` API instead or switch to the Vercel Edge Runtime."); | ||
@@ -25,0 +25,0 @@ } |
{ | ||
"name": "@vercel/og", | ||
"version": "0.4.0", | ||
"version": "0.4.1", | ||
"description": "Generate Open Graph Images dynamically from HTML/CSS without a browser", | ||
@@ -5,0 +5,0 @@ "type": "module", |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
5
1519688