@uppy/audio
Advanced tools
Comparing version 0.3.1 to 0.3.2
# @uppy/audio | ||
## 0.3.2 | ||
Released: 2022-05-30 | ||
Included in: Uppy v2.11.0 | ||
- @uppy/angular,@uppy/audio,@uppy/aws-s3-multipart,@uppy/aws-s3,@uppy/box,@uppy/core,@uppy/dashboard,@uppy/drag-drop,@uppy/dropbox,@uppy/facebook,@uppy/file-input,@uppy/form,@uppy/golden-retriever,@uppy/google-drive,@uppy/image-editor,@uppy/informer,@uppy/instagram,@uppy/onedrive,@uppy/progress-bar,@uppy/react,@uppy/redux-dev-tools,@uppy/robodog,@uppy/screen-capture,@uppy/status-bar,@uppy/store-default,@uppy/store-redux,@uppy/thumbnail-generator,@uppy/transloadit,@uppy/tus,@uppy/unsplash,@uppy/url,@uppy/vue,@uppy/webcam,@uppy/xhr-upload,@uppy/zoom: doc: update bundler recommendation (Antoine du Hamel / #3763) | ||
## 0.3.1 | ||
@@ -4,0 +11,0 @@ |
@@ -26,3 +26,3 @@ "use strict"; | ||
const packageJson = { | ||
"version": "0.3.1" | ||
"version": "0.3.2" | ||
}; | ||
@@ -29,0 +29,0 @@ /** |
{ | ||
"name": "@uppy/audio", | ||
"description": "Uppy plugin that records audio using the device’s microphone.", | ||
"version": "0.3.1", | ||
"version": "0.3.2", | ||
"license": "MIT", | ||
@@ -29,7 +29,10 @@ "main": "lib/index.js", | ||
"dependencies": { | ||
"@uppy/utils": "^4.0.7", | ||
"@uppy/utils": "^4.1.0", | ||
"preact": "^10.5.13" | ||
}, | ||
"devDependencies": { | ||
"@jest/globals": "^27.4.2" | ||
}, | ||
"peerDependencies": { | ||
"@uppy/core": "^2.2.0" | ||
"@uppy/core": "^2.3.0" | ||
}, | ||
@@ -36,0 +39,0 @@ "publishConfig": { |
@@ -27,4 +27,2 @@ # @uppy/audio | ||
We recommend installing from npm and then using a module bundler such as [Webpack](https://webpack.js.org/), [Browserify](http://browserify.org/) or [Rollup.js](http://rollupjs.org/). | ||
Alternatively, you can also use this plugin in a pre-built bundle from Transloadit’s CDN: Edgly. In that case `Uppy` will attach itself to the global `window.Uppy` object. See the [main Uppy documentation](https://uppy.io/docs/#Installation) for instructions. | ||
@@ -31,0 +29,0 @@ |
@@ -0,1 +1,2 @@ | ||
import { describe, expect, it } from '@jest/globals' | ||
import formatSeconds from './formatSeconds.js' | ||
@@ -2,0 +3,0 @@ |
/* eslint-disable max-classes-per-file */ | ||
import { describe, expect, it } from '@jest/globals' | ||
import supportsMediaRecorder from './supportsMediaRecorder.js' | ||
@@ -6,3 +7,3 @@ | ||
it('should return true if MediaRecorder is supported', () => { | ||
global.MediaRecorder = class MediaRecorder { | ||
globalThis.MediaRecorder = class MediaRecorder { | ||
start () {} // eslint-disable-line | ||
@@ -14,9 +15,9 @@ } | ||
it('should return false if MediaRecorder is not supported', () => { | ||
global.MediaRecorder = undefined | ||
globalThis.MediaRecorder = undefined | ||
expect(supportsMediaRecorder()).toEqual(false) | ||
global.MediaRecorder = class MediaRecorder {} | ||
globalThis.MediaRecorder = class MediaRecorder {} | ||
expect(supportsMediaRecorder()).toEqual(false) | ||
global.MediaRecorder = class MediaRecorder { | ||
globalThis.MediaRecorder = class MediaRecorder { | ||
foo () {} // eslint-disable-line | ||
@@ -23,0 +24,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
119968
1698
1
36
Updated@uppy/utils@^4.1.0