Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bm-load-image

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bm-load-image - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

10

index.js
/**
* @version 0.0.1
* @version 1.0.2
*/
const loadImage = function (path, i, callback) {
var loadImage = function (path, i, callback) {
var img = new Image();

@@ -28,3 +28,3 @@ if(callback) {

const loadAllImages = function(imgs, callback, endCb) {
var loadAllImages = function(imgs, callback, endCb) {
var len = imgs.length

@@ -57,4 +57,2 @@ , i

export default {
loadAllImages
}
module.exports = loadAllImages

2

package.json
{
"name": "bm-load-image",
"version": "1.0.1",
"version": "1.0.2",
"author": {

@@ -5,0 +5,0 @@ "name": "Johnxiao"

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