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

pic-assembler

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pic-assembler - npm Package Compare versions

Comparing version 0.9.1 to 0.9.2

3

package.json
{
"name": "pic-assembler",
"version": "0.9.1",
"version": "0.9.2",
"description": "Picture assembler fore breedable nfts",

@@ -22,2 +22,3 @@ "main": "index.js",

"devDependencies": {
"@types/sharp": "^0.30.1",
"ts-node": "^10.7.0",

@@ -24,0 +25,0 @@ "typescript": "^4.6.3"

@@ -9,3 +9,3 @@ import sharp from "sharp";

function toBuffer(arrBuff: ArrayBuffer): Buffer {
function arrayBufferToBuffer(arrBuff: ArrayBuffer): Buffer {
const buf = Buffer.alloc(arrBuff.byteLength);

@@ -26,3 +26,3 @@ const uintArr = new Uint8Array(arrBuff);

const arrBuff: ArrayBuffer = response.data;
return toBuffer(arrBuff);
return arrayBufferToBuffer(arrBuff);
}

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

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