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

@uppy/audio

Package Overview
Dependencies
Maintainers
8
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@uppy/audio - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

7

CHANGELOG.md
# @uppy/audio
## 0.2.1
Released: 2021-12-09
Included in: Uppy v2.3.1
- @uppy/audio: showRecordingLength option was removed, always clearInterval (Artur Paikin / #3351)
## 0.2.0

@@ -4,0 +11,0 @@

17

lib/index.js

@@ -188,9 +188,6 @@ "use strict";

if (this.opts.showRecordingLength) {
// Stop the recordingLengthTimer if we are showing the recording length.
clearInterval(this.recordingLengthTimer);
this.setPluginState({
recordingLengthSeconds: 0
});
}
clearInterval(this.recordingLengthTimer);
this.setPluginState({
recordingLengthSeconds: 0
});
});

@@ -266,5 +263,3 @@ return stopped.then(() => {

if (this.opts.showRecordingLength) {
clearInterval(this.recordingLengthTimer);
}
clearInterval(this.recordingLengthTimer);
});

@@ -425,3 +420,3 @@ }

}), _class.VERSION = "0.2.0", _temp);
}), _class.VERSION = "0.2.1", _temp);

@@ -428,0 +423,0 @@ function _hasAudioCheck2() {

{
"name": "@uppy/audio",
"description": "Uppy plugin that records audio using the device’s microphone.",
"version": "0.2.0",
"version": "0.2.1",
"license": "MIT",

@@ -32,3 +32,3 @@ "main": "lib/index.js",

"peerDependencies": {
"@uppy/core": "^2.1.3"
"@uppy/core": "^2.1.4"
},

@@ -35,0 +35,0 @@ "publishConfig": {

@@ -169,7 +169,4 @@ const { h } = require('preact')

if (this.opts.showRecordingLength) {
// Stop the recordingLengthTimer if we are showing the recording length.
clearInterval(this.recordingLengthTimer)
this.setPluginState({ recordingLengthSeconds: 0 })
}
clearInterval(this.recordingLengthTimer)
this.setPluginState({ recordingLengthSeconds: 0 })
})

@@ -234,5 +231,3 @@

if (this.opts.showRecordingLength) {
clearInterval(this.recordingLengthTimer)
}
clearInterval(this.recordingLengthTimer)
})

@@ -239,0 +234,0 @@ }

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