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

merge-images

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

merge-images - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

4

dist/index.es2015.js

@@ -18,3 +18,3 @@ // Defaults

// Setup browser/node specific variables
// Setup browser/Node.js specific variables
var canvas = options.Canvas ? new options.Canvas() : window.document.createElement('canvas');

@@ -28,3 +28,3 @@ var Image = options.Canvas ? options.Canvas.Image : window.Image;

var images = sources.map(function (source) { return new Promise(function (resolve, reject) {
// Convert strings to objects
// Convert sources to objects
if (source.constructor.name !== 'Object') {

@@ -31,0 +31,0 @@ source = { src: source };

@@ -24,3 +24,3 @@ (function (global, factory) {

// Setup browser/node specific variables
// Setup browser/Node.js specific variables
var canvas = options.Canvas ? new options.Canvas() : window.document.createElement('canvas');

@@ -34,3 +34,3 @@ var Image = options.Canvas ? options.Canvas.Image : window.Image;

var images = sources.map(function (source) { return new Promise(function (resolve, reject) {
// Convert strings to objects
// Convert sources to objects
if (source.constructor.name !== 'Object') {

@@ -37,0 +37,0 @@ source = { src: source };

{
"name": "merge-images",
"version": "1.0.3",
"version": "1.0.4",
"description": "Easily compose images together without messing around with canvas",

@@ -14,3 +14,4 @@ "main": "dist/index.umd.js",

"prelint": "npm run build",
"lint": "xo"
"lint": "xo",
"prepublish": "npm run build"
},

@@ -17,0 +18,0 @@ "xo": {

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