Socket
Socket
Sign inDemoInstall

canvas

Package Overview
Dependencies
Maintainers
6
Versions
148
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

canvas - npm Package Compare versions

Comparing version 2.0.0-alpha.17 to 2.0.0-alpha.18

2

lib/image.js

@@ -41,3 +41,3 @@ 'use strict';

// 'base64' must come before the comma
const isBase64 = val.lastIndexOf('base64', commaI)
const isBase64 = val.lastIndexOf('base64', commaI) !== -1
const content = val.slice(commaI + 1)

@@ -44,0 +44,0 @@ setSource(this, Buffer.from(content, isBase64 ? 'base64' : 'utf8'), val);

{
"name": "canvas",
"description": "Canvas graphics API backed by Cairo",
"version": "2.0.0-alpha.17",
"version": "2.0.0-alpha.18",
"author": "TJ Holowaychuk <tj@learnboost.com>",

@@ -6,0 +6,0 @@ "main": "index.js",

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