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

2d-context

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

2d-context - npm Package Compare versions

Comparing version 1.1.0 to 1.2.0

LICENSE.md

2

index.js
module.exports = function createCanvas2D(opt) {
if (typeof document === 'undefined')
return null
opt = opt||{}

@@ -3,0 +5,0 @@ var canvas = opt.canvas || document.createElement('canvas')

3

package.json
{
"name": "2d-context",
"version": "1.1.0",
"version": "1.2.0",
"description": "grabs a new 2d canvas context",

@@ -20,2 +20,3 @@ "main": "index.js",

"scripts": {
"test-node": "node test-node.js | faucet",
"test": "browserify test.js | testling | faucet"

@@ -22,0 +23,0 @@ },

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