musicmetadata
Advanced tools
Comparing version 0.6.2 to 0.6.3
@@ -7,2 +7,3 @@ 'use strict'; | ||
var equal = require('deep-equal'); | ||
var sum = require('sum-component'); | ||
@@ -219,3 +220,3 @@ module.exports = function (stream, callback, done, readDuration, fileSize) { | ||
if (frameHeader.id === '' || frameHeader.id === '\u0000\u0000\u0000\u0000' || | ||
'ABCDEFGHIJKLMNOPQRSTUVWXYZ'.search(frameHeader.id[0]) === -1) { | ||
'ABCDEFGHIJKLMNOPQRSTUVWXYZ'.indexOf(frameHeader.id[0]) === -1) { | ||
break; | ||
@@ -299,10 +300,2 @@ } | ||
function sum (array) { | ||
var result = 0; | ||
for (var i = 0; i < array.length; i++) { | ||
result += array[i] | ||
} | ||
return result; | ||
} | ||
function readMpegVersion (bits) { | ||
@@ -309,0 +302,0 @@ if (equal(bits, [0, 0])) { |
{ | ||
"name": "musicmetadata", | ||
"description": "Streaming music metadata parser for node and the browser.", | ||
"version": "0.6.2", | ||
"version": "0.6.3", | ||
"author": "Lee Treveil", | ||
@@ -6,0 +6,0 @@ "dependencies": { |
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
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
599005
12286