audio-recorder-polyfill
Advanced tools
Comparing version 0.3.7 to 0.3.8
# Change Log | ||
This project adheres to [Semantic Versioning](http://semver.org/). | ||
## 0.3.8 | ||
* Fixed ES modules support. | ||
## 0.3.7 | ||
@@ -5,0 +8,0 @@ * Fixed TypeScript support (by Michal Dabski). |
@@ -1,2 +0,2 @@ | ||
let waveEncoder = require('./wave-encoder') | ||
import waveEncoder from './wave-encoder/index.js' | ||
@@ -284,2 +284,2 @@ let AudioContext = window.AudioContext || window.webkitAudioContext | ||
module.exports = MediaRecorder | ||
export default MediaRecorder |
@@ -1,2 +0,2 @@ | ||
module.exports = () => { | ||
export default () => { | ||
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.7", | ||
"version": "0.3.8", | ||
"description": "MediaRecorder polyfill to record audio in Edge and Safari", | ||
@@ -20,3 +20,24 @@ "keywords": [ | ||
"license": "MIT", | ||
"repository": "ai/audio-recorder-polyfill" | ||
} | ||
"repository": "ai/audio-recorder-polyfill", | ||
"type": "module", | ||
"main": "index.cjs", | ||
"module": "index.js", | ||
"react-native": "index.js", | ||
"exports": { | ||
".": { | ||
"require": "./index.cjs", | ||
"import": "./index.js" | ||
}, | ||
"./package.json": "./package.json", | ||
"./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" | ||
} | ||
} | ||
} |
// Copied from https://github.com/chris-rudmin/Recorderjs | ||
module.exports = () => { | ||
export default () => { | ||
let BYTES_PER_SAMPLE = 2 | ||
@@ -5,0 +5,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
29942
13
731
Yes