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

puppeteer-render-text

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

puppeteer-render-text - npm Package Compare versions

Comparing version 2.0.0 to 2.1.0

4

index.js

@@ -169,5 +169,7 @@ import fs from 'node:fs'

const textHandle = await frame.$('.text')
const isPng = output.toLowerCase().endsWith('png')
await textHandle.screenshot({
path: output,
omitBackground: true
type: isPng ? 'png' : 'jpeg',
omitBackground: opts.omitBackground ?? (isPng ? true : false)
})

@@ -174,0 +176,0 @@ await textHandle.dispose()

{
"name": "puppeteer-render-text",
"version": "2.0.0",
"version": "2.1.0",
"description": "Robust text renderer using headless chrome.",

@@ -5,0 +5,0 @@ "repository": "transitive-bullshit/puppeteer-render-text",

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