Socket
Socket
Sign inDemoInstall

audio-recorder-polyfill

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

audio-recorder-polyfill - npm Package Compare versions

Comparing version 0.3.6 to 0.3.7

index.d.ts

5

CHANGELOG.md
# Change Log
This project adheres to [Semantic Versioning](http://semver.org/).
### 0.3.6
## 0.3.7
* Fixed TypeScript support (by Michal Dabski).
## 0.3.6
* Fix echo bug in Safari (by @sseppola).

@@ -6,0 +9,0 @@

7

index.js

@@ -1,2 +0,2 @@

import waveEncoder from './wave-encoder/index.js'
let waveEncoder = require('./wave-encoder')

@@ -99,3 +99,4 @@ let AudioContext = window.AudioContext || window.webkitAudioContext

recorder.encoder.postMessage([
'encode', e.inputBuffer.getChannelData(0)
'encode',
e.inputBuffer.getChannelData(0)
])

@@ -284,2 +285,2 @@ }

export default MediaRecorder
module.exports = MediaRecorder

@@ -1,2 +0,2 @@

export default () => {
module.exports = () => {
importScripts(

@@ -3,0 +3,0 @@ 'https://cdnjs.cloudflare.com/ajax/libs/lamejs/1.2.0/lame.min.js'

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

@@ -20,24 +20,3 @@ "keywords": [

"license": "MIT",
"repository": "ai/audio-recorder-polyfill",
"type": "module",
"main": "index.cjs",
"module": "index.js",
"react-native": "index.js",
"exports": {
"./package.json": "./package.json",
".": {
"require": "./index.cjs",
"import": "./index.js"
},
"./mpeg-encoder/package.json": "./mpeg-encoder/package.json",
"./mpeg-encoder": {
"require": "./mpeg-encoder/index.cjs",
"import": "./mpeg-encoder/index.js"
},
"./wave-encoder/package.json": "./wave-encoder/package.json",
"./wave-encoder": {
"require": "./wave-encoder/index.cjs",
"import": "./wave-encoder/index.js"
}
}
}
"repository": "ai/audio-recorder-polyfill"
}

@@ -51,2 +51,8 @@ # Audio Recorder Polyfill

Files recorded without the polyfill will not be playable on Safari,
it is highly recommended to convert it to MP3 on the back-end
of your application. If that’s not an option you can use the polyfill
in all browsers to force the audio to be converted to the right format
with the price of client’s performance.
```diff

@@ -80,3 +86,2 @@ entry: {

## ES Modules

@@ -83,0 +88,0 @@

// Copied from https://github.com/chris-rudmin/Recorderjs
export default () => {
module.exports = () => {
let BYTES_PER_SAMPLE = 2

@@ -5,0 +5,0 @@

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