Comparing version 3.0.2 to 3.2.0
@@ -32,3 +32,3 @@ /* | ||
path = require("path"), | ||
_images = require("./scripts/util/binding.js")(), | ||
_images = require("./scripts/binding.js")(), | ||
_Image = _images.Image, | ||
@@ -55,2 +55,4 @@ slice = Array.prototype.slice, | ||
loadFromBuffer: function(buffer, start, end) { | ||
start = start || 0; | ||
end = end || buffer.length; | ||
this._handle.loadFromBuffer(buffer, start, end); | ||
@@ -57,0 +59,0 @@ }, |
{ | ||
"name": "images", | ||
"version": "3.0.2", | ||
"version": "3.2.0", | ||
"description": "Cross-platform image decoder(webp/png/jpeg/gif) and encoder(webp/png/jpeg) for Node.js", | ||
"main": "index.js", | ||
"types": "index.d.ts", | ||
"scripts": { | ||
@@ -7,0 +8,0 @@ "test": "node test.js", |
@@ -21,11 +21,22 @@ ![images logo](https://raw.github.com/zhangyuanwei/node-images/master/demo/logo.png) | ||
========== | ||
## Support 支持情况 | ||
if node >= 10.x, please install images@latest | ||
| Platform | Architecture | Node Version | | ||
|:------|:-------------|:------------| | ||
| Windows | x86 & x64 | 0.9.11, 0.10, 0.12, 1, 2, 3, 4, 5, 6, 8 | | ||
| Windows | x64 |8, 9, 10, 11, 12| | ||
| OSX | X64 | 8, 9, 10, 11, 12| | ||
| Linux* | x64 |8, 9, 10, 11, 12| | ||
- The 32-bit system is not supported for the time being. | ||
if node <= 9.x, please install images@3.1.1 | ||
| Platform | Architecture | Node Version | | ||
|:------|:-------------|:------------| | ||
| Windows | x86 & x64 | 0.9.11, 0.10, 0.12, 1, 2, 3, 4, 5, 6, 8, 10| | ||
| OSX | X64| 0.9.11, 0.10, 0.12, 1, 2, 3, 4, 5, 6, 8, 9, 10| | ||
| Linux* | x86 & x64 | 0.9.11, 0.10, 0.12, 1, 2, 3, 4, 5, 6, 8 | | ||
| Linux* | x86 & x64 | 0.9.11, 0.10, 0.12, 1, 2, 3, 4, 5, 6, 8, 10| | ||
@@ -32,0 +43,0 @@ ## Features 功能特性 |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 16 instances in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Copyleft License
License(Experimental) Copyleft license information was found.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 10 instances in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
Non-permissive License
License(Experimental) A license not known to be considered permissive was found.
Found 1 instance in 1 package
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 7 instances in 1 package
0
100
149
5
2
134162
23
341