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

images

Package Overview
Dependencies
Maintainers
4
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

images - npm Package Compare versions

Comparing version 2.2.0 to 3.0.0

bindings/darwin/x64/5.0.0/binding.node

4

binding.js

@@ -29,5 +29,5 @@

for (var i = 0; i < max; i++) {
if ((aArr[i] && !bArr[i]) || aArr[i] > bArr[i]) {
if ((aArr[i] && !bArr[i]) || +aArr[i] > +bArr[i]) {
return 1;
} else if ((!aArr[i] && bArr[i]) || aArr[i] < bArr[i]) {
} else if ((!aArr[i] && bArr[i]) || +aArr[i] < +bArr[i]) {
return -1;

@@ -34,0 +34,0 @@ }

@@ -0,1 +1,29 @@

/*
* Index.js
*
* The MIT License (MIT)
*
* Copyright (c) 2013 ZhangYuanwei <zhangyuanwei1988@gmail.com>
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including
* without limitation the rights to use, copy, modify, merge, publish,
* distribute, sub license, and/or sell copies of the Software, and to
* permit persons to whom the Software is furnished to do so, subject to
* the following conditions:
*
* The above copyright notice and this permission notice (including the
* next paragraph) shall be included in all copies or substantial portions
* of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
* IN NO EVENT SHALL INTEL AND/OR ITS SUPPLIERS BE LIABLE FOR
* ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
var USE_OLD_API = false,

@@ -2,0 +30,0 @@ fs = require("fs"),

@@ -0,1 +1,29 @@

/*
* install.js
*
* The MIT License (MIT)
*
* Copyright (c) 2013 ZhangYuanwei <zhangyuanwei1988@gmail.com>
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including
* without limitation the rights to use, copy, modify, merge, publish,
* distribute, sub license, and/or sell copies of the Software, and to
* permit persons to whom the Software is furnished to do so, subject to
* the following conditions:
*
* The above copyright notice and this permission notice (including the
* next paragraph) shall be included in all copies or substantial portions
* of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
* IN NO EVENT SHALL INTEL AND/OR ITS SUPPLIERS BE LIABLE FOR
* ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
/**

@@ -2,0 +30,0 @@ * This script will be excuted while npm installing this package.

{
"name": "images",
"version": "2.2.0",
"version": "3.0.0",
"description": "Cross-platform image decoder(png/jpeg/gif) and encoder(png/jpeg) for Node.js",

@@ -23,2 +23,10 @@ "main": "index.js",

"4.99.99"
],
"5.0.0": [
"5.0.0",
"5.99.99"
],
"6.0.0": [
"6.0.0",
"6.99.99"
]

@@ -52,3 +60,6 @@ },

"step": "0.0.5"
},
"dependencies": {
"nan": "^2.3.2"
}
}

@@ -32,8 +32,2 @@ ![images logo](https://raw.github.com/zhangyuanwei/node-images/master/demo/logo.png)

You will also need to install:
+ giflib 4.x.x
+ libpng 1.5.x
+ jpeg-turbo 1.x.x
## API 接口

@@ -40,0 +34,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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