Socket
Socket
Sign inDemoInstall

tinygradient

Package Overview
Dependencies
2
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.4 to 1.1.5

8

browser.js
/*!
* tinygradient (v1.1.4)
* tinygradient (v1.1.5)
* @copyright 2014-2021 Damien "Mistic" Sorel <contact@git.strangeplanet.fr>

@@ -249,5 +249,3 @@ * @licence MIT

var TinyGradient =
/*#__PURE__*/
function () {
var TinyGradient = /*#__PURE__*/function () {
/**

@@ -469,3 +467,3 @@ * @param {StopInput[]|ColorInput[]} stops

if (arguments.length === 1) {
if (!(arguments[0] instanceof Array)) {
if (!Array.isArray(arguments[0])) {
throw new Error('"stops" is not an array');

@@ -472,0 +470,0 @@ }

@@ -428,3 +428,3 @@ const tinycolor = require('tinycolor2');

if (arguments.length === 1) {
if (!(arguments[0] instanceof Array)) {
if (!Array.isArray(arguments[0])) {
throw new Error('"stops" is not an array');

@@ -431,0 +431,0 @@ }

{
"name": "tinygradient",
"version": "1.1.4",
"version": "1.1.5",
"author": {

@@ -5,0 +5,0 @@ "name": "Damien \"Mistic\" Sorel",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc