New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

scratch-audio

Package Overview
Dependencies
Maintainers
1
Versions
452
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

scratch-audio - npm Package Compare versions

Comparing version 0.1.0-prerelease.1515596313 to 0.1.0-prerelease.1516198804

6

package.json
{
"name": "scratch-audio",
"version": "0.1.0-prerelease.1515596313",
"version": "0.1.0-prerelease.1516198804",
"description": "audio engine for scratch 3.0",

@@ -25,3 +25,3 @@ "main": "dist.js",

"audio-context": "1.0.1",
"babel-core": "^6.24.1",
"babel-core": "6.26.0",
"babel-eslint": "^7.2.2",

@@ -36,5 +36,5 @@ "babel-loader": "^6.4.1",

"startaudiocontext": "1.2.1",
"travis-after-all": "^1.4.4",
"travis-after-all": "1.4.5",
"webpack": "2.4.0"
}
}

@@ -274,2 +274,3 @@ const StartAudioContext = require('startaudiocontext');

navigator.mediaDevices.getUserMedia({audio: true}).then(stream => {
this.audioStream = stream;
this.mic = this.audioContext.createMediaStreamSource(stream);

@@ -286,3 +287,3 @@ this.analyser = this.audioContext.createAnalyser();

// If the microphone is set up and active, measure the loudness
if (this.mic && this.mic.mediaStream.active) {
if (this.mic && this.audioStream.active) {
this.analyser.getFloatTimeDomainData(this.micDataArray);

@@ -289,0 +290,0 @@ let sum = 0;

Sorry, the diff of this file is too big to display

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