MicroPad / MicroPad-Core

µPad (MicroPad) is an open digital note taking app
https://getmicropad.com
Mozilla Public License 2.0
234 stars 22 forks source link

Bump opus-recorder from 4.1.4 to 8.0.3 in /app #289

Closed dependabot[bot] closed 3 years ago

dependabot[bot] commented 3 years ago

Bumps opus-recorder from 4.1.4 to 8.0.3.

Release notes

Sourced from opus-recorder's releases.

Add Babel

Use babel webpack plugin to transpile code to ES2015 compatibility.

Update emscripten

  • Build with emscripten 1.39.14 (save 50kb on encoderWorker.min.js)
  • Fix issue where start() could be called multiple times

Do not import package.json

package.json was being inlined into the uglified file.

Reuse Workers

  • Initialize workers on Recorder instantiation.
  • Add recorder.close() to tear down all the audio setup and workers, so it can be cleaned up by the browser
  • Accept optional config parameter sourceNode which is an instance of MediaStreamAudioSourceNode
  • Remove sourceNode parameter from recorder.start()
  • Reuse the workers to avoid expensive setup when doing multiple recordings
  • Resolve issue where audioContext needs to be resumed when suspended

Add Audio Worklet Support

Thank you @​avantassessment, @​m2calabr, @​mikebiglan, @​wilblack for your support for this release!

  • Add AudioWorklet Support
  • Add example to support webpack
  • Fallback to scriptProcessor if audioWorklet support not found
  • Remove reuseWorker flag. Worklets cannot be reused the same way Workers can
  • Remove support for loadWorker and destroyWorker
  • The architecture of AudioWorklets requires that the worker be loaded before it can be receiving buffers
  • Add Recorder.version attribute
  • Fix FileEncoder
  • Bump major version: 7.0.0

Maintenance Update

  • Update npm packages
  • Bump libopus to v1.3.1
  • Bump speexdsp to 1.2.0

Update Dependencies

No release notes provided.

Optimized Streaming

  • Added flushing onPause
  • Support reuse of the encoder and worker through config option reuseWorker
  • Return promises from instance methods
  • Add loadWorker instance method to support pre-loading of the worker and wasm

Fix onstart timing

When using streamPages, onstart is now called before any ondataavailable pages are fired.

Deprecate Bower

  • Deprecate Bower support

... (truncated)

Commits


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)