audio-effects
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -7,3 +7,2 @@ "use strict"; | ||
}; | ||
var _ = require('lodash'); | ||
var SingleAudioNode_1 = require('../SingleAudioNode'); | ||
@@ -98,3 +97,5 @@ var HasGetUserMedia_1 = require('../../helpers/HasGetUserMedia'); | ||
navigator.mediaDevices.enumerateDevices().then(function (devices) { | ||
resolve(_.filter(devices, { kind: 'audioinput' })); | ||
resolve(devices.filter(function (device) { | ||
return device.kind && device.kind === 'audioinput'; | ||
})); | ||
}).catch(function (error) { | ||
@@ -107,3 +108,5 @@ reject(error); | ||
navigator.mediaDevices.enumerateDevices().then(function (devices) { | ||
resolve(_.filter(devices, { kind: 'audioinput' })); | ||
resolve(devices.filter(function (device) { | ||
return device.kind && device.kind === 'audioinput'; | ||
})); | ||
}).catch(function (error) { | ||
@@ -110,0 +113,0 @@ reject(error); |
@@ -53,3 +53,3 @@ "use strict"; | ||
Reverb.prototype.getInputResponseFile = function () { | ||
return fetch('../../../audio/hall-reverb.ogg', { | ||
return fetch('../../audio/hall-reverb.ogg', { | ||
method: 'get' | ||
@@ -56,0 +56,0 @@ }).then(function (response) { |
{ | ||
"name": "audio-effects", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "A javascript library to create audio effects using the web-audio-api", | ||
"main": "dist/index.js", | ||
"dependencies": { | ||
"@types/es6-promise": "0.0.28", | ||
"@types/lodash": "0.0.28", | ||
"@types/webaudioapi": "0.0.26", | ||
"@types/webrtc": "0.0.14", | ||
"@types/whatwg-fetch": "0.0.28", | ||
"lodash": "^4.14.1" | ||
}, | ||
"devDependencies": { | ||
"@types/es6-promise": "0.0.28", | ||
"@types/lodash": "0.0.28", | ||
"typescript": "^2.1.0-dev.20160802" | ||
"@types/es6-promise": "0.0.32", | ||
"@types/webaudioapi": "0.0.27", | ||
"@types/webrtc": "0.0.21", | ||
"@types/whatwg-fetch": "0.0.32", | ||
"typescript": "^2.0.10" | ||
}, | ||
@@ -19,0 +13,0 @@ "scripts": { |
@@ -15,2 +15,3 @@ { | ||
"files": [ | ||
"src/definitions/symbol.d.ts", | ||
"src/audio-nodes/effects/Delay.ts", | ||
@@ -17,0 +18,0 @@ "src/audio-nodes/effects/Distortion.ts", |
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
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
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
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
79044
0
26
1063
2
5
- Removed@types/es6-promise@0.0.28
- Removed@types/lodash@0.0.28
- Removed@types/webaudioapi@0.0.26
- Removed@types/webrtc@0.0.14
- Removed@types/whatwg-fetch@0.0.28
- Removedlodash@^4.14.1
- Removed@types/es6-promise@0.0.28(transitive)
- Removed@types/lodash@0.0.28(transitive)
- Removed@types/webaudioapi@0.0.26(transitive)
- Removed@types/webrtc@0.0.14(transitive)
- Removed@types/whatwg-fetch@0.0.28(transitive)
- Removedlodash@4.17.21(transitive)