Socket
Socket
Sign inDemoInstall

audio-recorder-polyfill

Package Overview
Dependencies
0
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.3.2 to 0.3.3

3

CHANGELOG.md
# Change Log
This project adheres to [Semantic Versioning](http://semver.org/).
## 0.3.3
* Fix `createWorker` error.
## 0.3.2

@@ -5,0 +8,0 @@ * Fix WAV encoder regression.

2

index.js

@@ -8,3 +8,3 @@ import waveEncoder from './wave-encoder/index.js'

.toString()
.replace(/^function\s*\(\)\s*{/, '')
.replace(/^(\(\)\s+=>|function\s*\(\))\s*{/, '')
.replace(/}$/, '')

@@ -11,0 +11,0 @@ let blob = new Blob([js])

{
"name": "audio-recorder-polyfill",
"version": "0.3.2",
"version": "0.3.3",
"description": "MediaRecorder polyfill to record audio in Edge and Safari",

@@ -26,3 +26,17 @@ "keywords": [

"main": "index.cjs",
"module": "index.js"
"module": "index.js",
"exports": {
".": {
"require": "./index.cjs",
"import": "./index.js"
},
"./mpeg-encoder": {
"require": "./mpeg-encoder/index.cjs",
"import": "./mpeg-encoder/index.js"
},
"./wave-encoder": {
"require": "./wave-encoder/index.cjs",
"import": "./wave-encoder/index.js"
}
}
}

@@ -165,3 +165,3 @@ # Audio Recorder Polyfill

As default ,this polyfill saves records to `.wav` files. Compression
As default, this polyfill saves records to `.wav` files. Compression
is not very good, but encoding is fast and simple.

@@ -176,3 +176,3 @@

import AudioRecorder from 'audio-recorder-polyfill'
import mpegEncoder from './ogg-opus-encoder'
import mpegEncoder from 'audio-recorder-polyfill/mpeg-encoder'

@@ -179,0 +179,0 @@ AudioRecorder.encoder = mpegEncoder

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc