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

musicmetadata

Package Overview
Dependencies
Maintainers
1
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

musicmetadata - npm Package Compare versions

Comparing version 0.6.3 to 0.6.4

11

lib/id4.js

@@ -6,7 +6,4 @@ 'use strict';

module.exports = function (stream, callback, done, readDuration) {
strtok.parse(stream, function (v, cb) {
// we can stop processing atoms once we get to the end of the ilst atom
if (cb.metaAtomsTotalLength >= cb.atomContainerLength - 8) {
return done();
}

@@ -66,2 +63,8 @@ // the very first thing we expect to see is the first atom's length

}
// we can stop processing atoms once we get to the end of the ilst atom
if (cb.metaAtomsTotalLength >= cb.atomContainerLength - 8) {
return done();
}
cb.state = 0;

@@ -68,0 +71,0 @@ return strtok.UINT32_BE;

@@ -204,5 +204,6 @@ 'use strict';

var split = origVal.toString().split('/');
var number = parseInt(split[0], 10) || 0;
var total = parseInt(split[1], 10) || 0;
return { no: number, of: total }
return {
no: parseInt(split[0], 10) || 0,
of: parseInt(split[1], 10) || 0
}
}

@@ -209,0 +210,0 @@

{
"name": "musicmetadata",
"description": "Streaming music metadata parser for node and the browser.",
"version": "0.6.3",
"version": "0.6.4",
"author": "Lee Treveil",

@@ -6,0 +6,0 @@ "dependencies": {

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