music-metadata-browser
Advanced tools
Comparing version 2.0.5 to 2.0.6
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.fetchFromUrl = exports.parseBlob = exports.parseReadableStream = exports.parseNodeStream = void 0; | ||
const initDebug = require("debug"); | ||
@@ -9,6 +10,6 @@ const mm = require("music-metadata/lib/core"); | ||
var core_1 = require("music-metadata/lib/core"); | ||
exports.parseBuffer = core_1.parseBuffer; | ||
exports.parseFromTokenizer = core_1.parseFromTokenizer; | ||
exports.orderTags = core_1.orderTags; | ||
exports.ratingToStars = core_1.ratingToStars; | ||
Object.defineProperty(exports, "parseBuffer", { enumerable: true, get: function () { return core_1.parseBuffer; } }); | ||
Object.defineProperty(exports, "parseFromTokenizer", { enumerable: true, get: function () { return core_1.parseFromTokenizer; } }); | ||
Object.defineProperty(exports, "orderTags", { enumerable: true, get: function () { return core_1.orderTags; } }); | ||
Object.defineProperty(exports, "ratingToStars", { enumerable: true, get: function () { return core_1.ratingToStars; } }); | ||
/** | ||
@@ -15,0 +16,0 @@ * Parse audio Stream |
@@ -6,3 +6,3 @@ "use strict"; | ||
const mm = require("./index"); | ||
const test_data_1 = require("../test/test-data"); | ||
const testData = require("../test/test-data"); | ||
jasmine.DEFAULT_TIMEOUT_INTERVAL = 20000; | ||
@@ -93,5 +93,5 @@ function httpGetByUrl(url) { | ||
describe(`Parser: ${parser.methodDescription}`, () => { | ||
test_data_1.tiuqottigeloot_vol24_Tracks.forEach(track => { | ||
testData.tracks.forEach(track => { | ||
it(`track ${track.metaData.artist} - ${track.metaData.title}`, async () => { | ||
const url = test_data_1.providers.netlify.getUrl(track.url); | ||
const url = testData.providers.netlify.getUrl(track); | ||
const metadata = await parser.parseUrl(url); | ||
@@ -98,0 +98,0 @@ expect(metadata.common.artist).toEqual(track.metaData.artist); |
{ | ||
"name": "music-metadata-browser", | ||
"version": "2.0.5", | ||
"version": "2.0.6", | ||
"description": "Browserifed version of music-metadata", | ||
@@ -84,24 +84,24 @@ "main": "lib/index.js", | ||
"devDependencies": { | ||
"@types/jasmine": "^3.5.4", | ||
"@types/node": "^13.9.3", | ||
"coveralls": "^3.0.11", | ||
"@types/jasmine": "^3.5.10", | ||
"@types/node": "^14.0.13", | ||
"coveralls": "^3.1.0", | ||
"del-cli": "^3.0.0", | ||
"eslint": "^6.8.0", | ||
"eslint": "^7.2.0", | ||
"filereader-stream": "^2.0.0", | ||
"istanbul-instrumenter-loader": "^3.0.1", | ||
"jasmine-core": "^3.5.0", | ||
"karma": "^4.4.1", | ||
"karma-browserstack-launcher": "^1.5.1", | ||
"karma": "^5.1.0", | ||
"karma-browserstack-launcher": "^1.6.0", | ||
"karma-chrome-launcher": "^3.0.0", | ||
"karma-coverage-istanbul-reporter": "^2.0.5", | ||
"karma-coverage-istanbul-reporter": "^3.0.3", | ||
"karma-firefox-launcher": "^1.3.0", | ||
"karma-jasmine": "^3.1.1", | ||
"karma-jasmine-html-reporter": "^1.5.2", | ||
"karma-jasmine": "^3.3.1", | ||
"karma-jasmine-html-reporter": "^1.5.4", | ||
"karma-spec-reporter": "^0.0.32", | ||
"karma-webpack": "^4.0.2", | ||
"stream-http": "^3.0.0", | ||
"ts-loader": "^6.2.1", | ||
"tslint": "^6.0.0", | ||
"typescript": "^3.8.3", | ||
"webpack": "^4.42.0" | ||
"stream-http": "^3.1.1", | ||
"ts-loader": "^6.2.2", | ||
"tslint": "^6.1.2", | ||
"typescript": "^3.9.5", | ||
"webpack": "^4.43.0" | ||
}, | ||
@@ -112,3 +112,3 @@ "dependencies": { | ||
"debug": "^4.0.1", | ||
"music-metadata": "^6.3.7", | ||
"music-metadata": "^6.4.0", | ||
"readable-stream": "^3.6.0", | ||
@@ -115,0 +115,0 @@ "readable-web-to-node-stream": "^2.0.0", |
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
33862
242
Updatedmusic-metadata@^6.4.0