New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

canvas-to-buffer

Package Overview
Dependencies
Maintainers
0
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

canvas-to-buffer - npm Package Compare versions

Comparing version 4.0.1 to 4.1.0

dist/src/src/index.d.ts

14

package.json
{
"name": "canvas-to-buffer",
"version": "4.0.1",
"version": "4.1.0",
"description": "Converts a Canvas graphic into a Buffer, as fast as possible and without a copy.",

@@ -44,4 +44,4 @@ "type": "module",

"engines": {
"node": "^20.12.2",
"npm": "^10.5.0"
"node": ">=20.12.2",
"npm": ">=10.5.0"
},

@@ -65,10 +65,10 @@ "prettier": "./prettier.config.cjs",

"eslint-config-prettier": "9.1.0",
"eslint-import-resolver-typescript": "3.6.1",
"eslint-plugin-import": "2.29.1",
"eslint-import-resolver-typescript": "3.6.3",
"eslint-plugin-import": "2.30.0",
"microbundle": "0.15.1",
"prettier": "3.3.3",
"tape": "5.8.1",
"tsx": "4.16.5",
"typescript": "5.5.4"
"tsx": "4.19.0",
"typescript": "5.6.2"
}
}
# canvas-to-buffer
[![Build Status](https://travis-ci.org/binarykitchen/canvas-to-buffer.svg?branch=master)](https://travis-ci.org/binarykitchen/canvas-to-buffer)
A tiny converter to turn any graphic canvas into a buffer. With focus on speed: it doesn't create an expensive copy and makes clever use of `atob()` and `Uint8Array`.

@@ -6,0 +4,0 @@

{
"include": ["src", ".eslintrc.cjs", "prettier.config.cjs"],
"include": ["src", "test"],
"extends": ["@tsconfig/strictest/tsconfig.json", "@tsconfig/node20/tsconfig.json"],

@@ -7,9 +7,5 @@ "compilerOptions": {

"moduleResolution": "bundler",
"lib": ["dom", "dom.iterable", "es2022"],
"noUnusedLocals": true,
"noEmit": true
}
}

Sorry, the diff of this file is not supported yet

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