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

node-id3

Package Overview
Dependencies
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-id3 - npm Package Compare versions

Comparing version 0.1.20 to 0.1.21

14

index.js

@@ -934,10 +934,10 @@ const fs = require('fs')

} else {
let descOffset = APICFrame.indexOf(0x00, 1) + 2
let desc = APICFrame.slice(descOffset)
let descFound = desc.indexOf("0000", 0, 'hex')
descEnd = descOffset + descFound + 2
if(descFound != -1) {
picture.description = iconv.decode(desc.slice(0, descFound + 2), 'utf16') || undefined
descEnd = 0
while(APICFrame[descEnd] !== undefined && APICFrame[descEnd] !== 0x00 || APICFrame[descEnd + 1] !== 0x00 || APICFrame[descEnd + 2] === 0x00) {
descEnd++
}
if(APICFrame[descEnd] !== undefined) {
picture.description = iconv.decode(APICFrame.slice(APICFrame.indexOf(0x00, 1) + 2, descEnd), 'utf16').replace(/\0/g, "") || undefined
descEnd += 1
}
}

@@ -944,0 +944,0 @@ }

{
"name": "node-id3",
"version": "0.1.20",
"version": "0.1.21",
"description": "Pure JavaScript ID3 Tag writer/reader",

@@ -5,0 +5,0 @@ "author": "Jan Metzger <jan.metzger@gmx.net>",

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