Socket
Socket
Sign inDemoInstall

aurora-gradient

Package Overview
Dependencies
0
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.10-2 to 0.0.10

7

lib/Gradient.js

@@ -96,8 +96,5 @@ "use strict";

findCanvas(selector) {
var _a;
const canvas = typeof selector === 'string' ? document.querySelector(selector) : selector;
console.log("FIND CANVAS", { selector, canvas, typeofCanvas: typeof canvas, isCanvas: canvas instanceof HTMLCanvasElement });
if (canvas instanceof HTMLCanvasElement) {
return canvas;
}
return null;
return (_a = canvas) !== null && _a !== void 0 ? _a : null;
}

@@ -104,0 +101,0 @@ setCanvas(canvas) {

{
"name": "aurora-gradient",
"version": "0.0.10-2",
"version": "0.0.10",
"description": "A forked version of thelevicole/stripe-gradient adapted for TypeScript",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc