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

music-metadata

Package Overview
Dependencies
Maintainers
1
Versions
256
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

music-metadata - npm Package Compare versions

Comparing version 0.7.4 to 0.7.5

lib/aiff/AiffParser.js

7

lib/ParserFactory.js

@@ -14,2 +14,3 @@ "use strict";

var path = require("path");
var AiffParser_1 = require("./aiff/AiffParser");
var ParserFactory = (function () {

@@ -74,2 +75,3 @@ function ParserFactory() {

return es6_promise_1.Promise.resolve(new APEv2Parser_1.APEv2Parser());
case '.aac':
case '.mp4':

@@ -86,2 +88,4 @@ case '.m4a':

return es6_promise_1.Promise.resolve(new OggParser_1.OggParser());
case '.aiff':
return es6_promise_1.Promise.resolve(new AiffParser_1.AIFFParser());
default:

@@ -105,2 +109,5 @@ throw new Error("Extension " + extension + " not supported.");

return es6_promise_1.Promise.resolve(new OggParser_1.OggParser());
case 'audio/aac':
case 'audio/aacp':
return es6_promise_1.Promise.resolve(new MP4Parser_1.MP4Parser());
default:

@@ -107,0 +114,0 @@ throw new Error("MIME-Type: " + mimeType + " not supported.");

2

package.json
{
"name": "music-metadata",
"description": "Streaming music metadata parser for node and the browser.",
"version": "0.7.4",
"version": "0.7.5",
"author": {

@@ -6,0 +6,0 @@ "name": "Borewit",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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