Socket
Socket
Sign inDemoInstall

extendable-media-recorder

Package Overview
Dependencies
Maintainers
1
Versions
380
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

extendable-media-recorder - npm Package Compare versions

Comparing version 7.0.5 to 7.0.6

2

build/es2019/types/blob-event-factory-factory.d.ts
import { TBlobEventFactory } from './blob-event-factory';
import { TNativeBlobEventConstructor } from './native-blob-event-constructor';
export declare type TBlobEventFactoryFactory = (nativeBlobEventConstructor: null | TNativeBlobEventConstructor) => TBlobEventFactory;
export type TBlobEventFactoryFactory = (nativeBlobEventConstructor: null | TNativeBlobEventConstructor) => TBlobEventFactory;
//# sourceMappingURL=blob-event-factory-factory.d.ts.map
import { IBlobEvent, IBlobEventInit } from '../interfaces';
export declare type TBlobEventFactory = (type: string, blobEventInit: IBlobEventInit) => IBlobEvent;
export type TBlobEventFactory = (type: string, blobEventInit: IBlobEventInit) => IBlobEvent;
//# sourceMappingURL=blob-event-factory.d.ts.map
import { IBlobEvent } from '../interfaces';
import { TEventHandler } from './event-handler';
export declare type TBlobEventHandler<T> = TEventHandler<T, IBlobEvent>;
export type TBlobEventHandler<T> = TEventHandler<T, IBlobEvent>;
//# sourceMappingURL=blob-event-handler.d.ts.map
import { TDecodeWebMChunkFunction } from './decode-web-m-chunk-function';
import { TReadElementContentFunction } from './read-element-content-function';
import { TReadElementTypeFunction } from './read-element-type-function';
export declare type TDecodeWebMChunkFactory = (readElementContent: TReadElementContentFunction, readElementType: TReadElementTypeFunction) => TDecodeWebMChunkFunction;
export type TDecodeWebMChunkFactory = (readElementContent: TReadElementContentFunction, readElementType: TReadElementTypeFunction) => TDecodeWebMChunkFunction;
//# sourceMappingURL=decode-web-m-chunk-factory.d.ts.map
import { TElementType } from './element-type';
export declare type TDecodeWebMChunkFunction = (dataView: Pick<DataView, 'byteLength' | 'byteOffset' | 'getFloat32' | 'getUint8'>, elementType: null | TElementType, channelCount?: number) => {
export type TDecodeWebMChunkFunction = (dataView: Pick<DataView, 'byteLength' | 'byteOffset' | 'getFloat32' | 'getUint8'>, elementType: null | TElementType, channelCount?: number) => {
contents: (readonly Float32Array[])[];

@@ -4,0 +4,0 @@ currentElementType: null | TElementType;

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

export declare type TElementType = 'binary' | 'master' | 'unknown';
export type TElementType = 'binary' | 'master' | 'unknown';
//# sourceMappingURL=element-type.d.ts.map
import { TEventHandler } from './event-handler';
export declare type TErrorEventHandler<T> = TEventHandler<T, ErrorEvent>;
export type TErrorEventHandler<T> = TEventHandler<T, ErrorEvent>;
//# sourceMappingURL=error-event-handler.d.ts.map

@@ -1,4 +0,4 @@

export declare type TEventHandler<T, U extends Event = Event> = (ThisType<T> & {
export type TEventHandler<T, U extends Event = Event> = (ThisType<T> & {
handler(event: U): void;
})['handler'];
//# sourceMappingURL=event-handler.d.ts.map
import { TEventTargetConstructor } from './event-target-constructor';
import { TEventTargetFactory } from './event-target-factory';
import { TWrapEventListenerFunction } from './wrap-event-listener-function';
export declare type TEventTargetConstructorFactory = (createEventTarget: TEventTargetFactory, wrapEventListener: TWrapEventListenerFunction) => TEventTargetConstructor;
export type TEventTargetConstructorFactory = (createEventTarget: TEventTargetFactory, wrapEventListener: TWrapEventListenerFunction) => TEventTargetConstructor;
//# sourceMappingURL=event-target-constructor-factory.d.ts.map
import { IEventTarget } from '../interfaces';
import { TNativeEventTarget } from './native-event-target';
export declare type TEventTargetConstructor = new <EventMap extends Record<string, Event>>(nativeEventTarget?: TNativeEventTarget) => IEventTarget<EventMap>;
export type TEventTargetConstructor = new <EventMap extends Record<string, Event>>(nativeEventTarget?: TNativeEventTarget) => IEventTarget<EventMap>;
//# sourceMappingURL=event-target-constructor.d.ts.map
import { TEventTargetFactory } from './event-target-factory';
import { TWindow } from './window';
export declare type TEventTargetFactoryFactory = (window: null | TWindow) => TEventTargetFactory;
export type TEventTargetFactoryFactory = (window: null | TWindow) => TEventTargetFactory;
//# sourceMappingURL=event-target-factory-factory.d.ts.map
import { TNativeEventTarget } from './native-event-target';
export declare type TEventTargetFactory = () => TNativeEventTarget;
export type TEventTargetFactory = () => TNativeEventTarget;
//# sourceMappingURL=event-target-factory.d.ts.map

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

export declare type TInvalidModificationErrorFactory = (message?: string) => DOMException | Error;
export type TInvalidModificationErrorFactory = (message?: string) => DOMException | Error;
//# sourceMappingURL=invalid-modification-error-factory.d.ts.map

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

export declare type TInvalidStateErrorFactory = () => DOMException | Error;
export type TInvalidStateErrorFactory = () => DOMException | Error;
//# sourceMappingURL=invalid-state-error-factory.d.ts.map
import { TWindow } from './window';
export declare type TIsSupportedPromiseFactory = (window: null | TWindow) => Promise<boolean>;
export type TIsSupportedPromiseFactory = (window: null | TWindow) => Promise<boolean>;
//# sourceMappingURL=is-supported-promise-factory.d.ts.map

@@ -8,3 +8,3 @@ import { IMediaRecorderConstructor } from '../interfaces';

import { TWebmPcmMediaRecorderFactory } from './webm-pcm-media-recorder-factory';
export declare type TMediaRecorderConstructorFactory = (createNativeMediaRecorder: TNativeMediaRecorderFactory, createNotSupportedError: TNotSupportedErrorFactory, createWebAudioMediaRecorder: TWebAudioMediaRecorderFactory, createWebmPcmMediaRecorder: TWebmPcmMediaRecorderFactory, encoderRegexes: RegExp[], eventTargetConstructor: TEventTargetConstructor, nativeMediaRecorderConstructor: null | TNativeMediaRecorderConstructor) => IMediaRecorderConstructor;
export type TMediaRecorderConstructorFactory = (createNativeMediaRecorder: TNativeMediaRecorderFactory, createNotSupportedError: TNotSupportedErrorFactory, createWebAudioMediaRecorder: TWebAudioMediaRecorderFactory, createWebmPcmMediaRecorder: TWebmPcmMediaRecorderFactory, encoderRegexes: RegExp[], eventTargetConstructor: TEventTargetConstructor, nativeMediaRecorderConstructor: null | TNativeMediaRecorderConstructor) => IMediaRecorderConstructor;
//# sourceMappingURL=media-recorder-constructor-factory.d.ts.map
import { TNativeBlobEventConstructor } from './native-blob-event-constructor';
import { TWindow } from './window';
export declare type TNativeBlobEventConstructorFactory = (window: null | TWindow) => null | TNativeBlobEventConstructor;
export type TNativeBlobEventConstructorFactory = (window: null | TWindow) => null | TNativeBlobEventConstructor;
//# sourceMappingURL=native-blob-event-constructor-factory.d.ts.map

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

export declare type TNativeBlobEventConstructor = typeof BlobEvent;
export type TNativeBlobEventConstructor = typeof BlobEvent;
//# sourceMappingURL=native-blob-event-constructor.d.ts.map

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

export declare type TNativeEventTarget = EventTarget;
export type TNativeEventTarget = EventTarget;
//# sourceMappingURL=native-event-target.d.ts.map
import { TNativeMediaRecorderConstructor } from './native-media-recorder-constructor';
import { TWindow } from './window';
export declare type TNativeMediaRecorderConstructorFactory = (window: null | TWindow) => null | TNativeMediaRecorderConstructor;
export type TNativeMediaRecorderConstructorFactory = (window: null | TWindow) => null | TNativeMediaRecorderConstructor;
//# sourceMappingURL=native-media-recorder-constructor-factory.d.ts.map

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

export declare type TNativeMediaRecorderConstructor = typeof MediaRecorder;
export type TNativeMediaRecorderConstructor = typeof MediaRecorder;
//# sourceMappingURL=native-media-recorder-constructor.d.ts.map
import { TInvalidModificationErrorFactory } from './invalid-modification-error-factory';
import { TNativeMediaRecorderFactory } from './native-media-recorder-factory';
import { TNotSupportedErrorFactory } from './not-supported-error-factory';
export declare type TNativeMediaRecorderFactoryFactory = (createInvalidModificationError: TInvalidModificationErrorFactory, createNotSupportedError: TNotSupportedErrorFactory) => TNativeMediaRecorderFactory;
export type TNativeMediaRecorderFactoryFactory = (createInvalidModificationError: TInvalidModificationErrorFactory, createNotSupportedError: TNotSupportedErrorFactory) => TNativeMediaRecorderFactory;
//# sourceMappingURL=native-media-recorder-factory-factory.d.ts.map
import { IMediaRecorderOptions } from '../interfaces';
import { TNativeMediaRecorder } from './native-media-recorder';
import { TNativeMediaRecorderConstructor } from './native-media-recorder-constructor';
export declare type TNativeMediaRecorderFactory = (nativeMediaRecorderConstructor: TNativeMediaRecorderConstructor, mediaStream: MediaStream, options: IMediaRecorderOptions) => TNativeMediaRecorder;
export type TNativeMediaRecorderFactory = (nativeMediaRecorderConstructor: TNativeMediaRecorderConstructor, mediaStream: MediaStream, options: IMediaRecorderOptions) => TNativeMediaRecorder;
//# sourceMappingURL=native-media-recorder-factory.d.ts.map

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

export declare type TNativeMediaRecorder = MediaRecorder;
export type TNativeMediaRecorder = MediaRecorder;
//# sourceMappingURL=native-media-recorder.d.ts.map

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

export declare type TNotSupportedErrorFactory = () => DOMException | Error;
export type TNotSupportedErrorFactory = () => DOMException | Error;
//# sourceMappingURL=not-supported-error-factory.d.ts.map
import { MultiBufferDataView } from 'multi-buffer-data-view';
import { TElementType } from './element-type';
export declare type TPromisedDataViewElementTypeEncoderIdAndPort = Promise<{
export type TPromisedDataViewElementTypeEncoderIdAndPort = Promise<{
dataView?: null | MultiBufferDataView;

@@ -5,0 +5,0 @@ elementType?: null | TElementType;

import { TReadElementContentFunction } from './read-element-content-function';
import { TReadVariableSizeIntegerFunction } from './read-variable-size-integer-function';
export declare type TReadElementContentFactory = (readVariableSizeInteger: TReadVariableSizeIntegerFunction) => TReadElementContentFunction;
export type TReadElementContentFactory = (readVariableSizeInteger: TReadVariableSizeIntegerFunction) => TReadElementContentFunction;
//# sourceMappingURL=read-element-content-factory.d.ts.map
import { TElementType } from './element-type';
export declare type TReadElementContentFunction = (dataView: Pick<DataView, 'byteLength' | 'byteOffset' | 'getFloat32' | 'getUint8'>, offset: number, type: TElementType, channelCount?: number) => null | {
export type TReadElementContentFunction = (dataView: Pick<DataView, 'byteLength' | 'byteOffset' | 'getFloat32' | 'getUint8'>, offset: number, type: TElementType, channelCount?: number) => null | {
content: null | readonly Float32Array[];

@@ -4,0 +4,0 @@ length: number;

import { TReadElementTypeFunction } from './read-element-type-function';
import { TReadVariableSizeIntegerFunction } from './read-variable-size-integer-function';
export declare type TReadElementTypeFactory = (readVariableSizeInteger: TReadVariableSizeIntegerFunction) => TReadElementTypeFunction;
export type TReadElementTypeFactory = (readVariableSizeInteger: TReadVariableSizeIntegerFunction) => TReadElementTypeFunction;
//# sourceMappingURL=read-element-type-factory.d.ts.map
import { TElementType } from './element-type';
export declare type TReadElementTypeFunction = (dataView: Pick<DataView, 'byteLength' | 'byteOffset' | 'getFloat32' | 'getUint8'>, offset: number) => null | {
export type TReadElementTypeFunction = (dataView: Pick<DataView, 'byteLength' | 'byteOffset' | 'getFloat32' | 'getUint8'>, offset: number) => null | {
length: number;

@@ -4,0 +4,0 @@ type: TElementType;

import { TReadVariableSizeIntegerFunction } from './read-variable-size-integer-function';
import { TReadVariableSizeIntegerLengthFunction } from './read-variable-size-integer-length-function';
export declare type TReadVariableSizeIntegerFactory = (readVariableSizeIntegerLength: TReadVariableSizeIntegerLengthFunction) => TReadVariableSizeIntegerFunction;
export type TReadVariableSizeIntegerFactory = (readVariableSizeIntegerLength: TReadVariableSizeIntegerLengthFunction) => TReadVariableSizeIntegerFunction;
//# sourceMappingURL=read-variable-size-integer-factory.d.ts.map

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

export declare type TReadVariableSizeIntegerFunction = (dataView: Pick<DataView, 'byteLength' | 'byteOffset' | 'getUint8'>, offset: number) => null | {
export type TReadVariableSizeIntegerFunction = (dataView: Pick<DataView, 'byteLength' | 'byteOffset' | 'getUint8'>, offset: number) => null | {
length: number;

@@ -3,0 +3,0 @@ value: number;

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

export declare type TReadVariableSizeIntegerLengthFunction = (dataView: Pick<DataView, 'byteLength' | 'byteOffset' | 'getUint8'>, offset: number) => null | number;
export type TReadVariableSizeIntegerLengthFunction = (dataView: Pick<DataView, 'byteLength' | 'byteOffset' | 'getUint8'>, offset: number) => null | number;
//# sourceMappingURL=read-variable-size-integer-length-function.d.ts.map

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

export declare type TRecordingState = 'inactive' | 'paused' | 'recording';
export type TRecordingState = 'inactive' | 'paused' | 'recording';
//# sourceMappingURL=recording-state.d.ts.map

@@ -6,3 +6,3 @@ import { TBlobEventFactory } from './blob-event-factory';

import { TWebAudioMediaRecorderFactory } from './web-audio-media-recorder-factory';
export declare type TWebAudioMediaRecorderFactoryFactory = (createBlobEvent: TBlobEventFactory, createInvalidModificationError: TInvalidModificationErrorFactory, createInvalidStateError: TInvalidStateErrorFactory, createNotSupportedError: TNotSupportedErrorFactory) => TWebAudioMediaRecorderFactory;
export type TWebAudioMediaRecorderFactoryFactory = (createBlobEvent: TBlobEventFactory, createInvalidModificationError: TInvalidModificationErrorFactory, createInvalidStateError: TInvalidStateErrorFactory, createNotSupportedError: TNotSupportedErrorFactory) => TWebAudioMediaRecorderFactory;
//# sourceMappingURL=web-audio-media-recorder-factory-factory.d.ts.map
import { IMediaRecorder } from '../interfaces';
import { TNativeEventTarget } from './native-event-target';
export declare type TWebAudioMediaRecorderFactory = (eventTarget: TNativeEventTarget, mediaStream: MediaStream, mimeType: string) => Omit<IMediaRecorder, 'ondataavailable' | 'onerror' | 'onpause' | 'onresume' | 'onstart' | 'onstop' | keyof TNativeEventTarget>;
export type TWebAudioMediaRecorderFactory = (eventTarget: TNativeEventTarget, mediaStream: MediaStream, mimeType: string) => Omit<IMediaRecorder, 'ondataavailable' | 'onerror' | 'onpause' | 'onresume' | 'onstart' | 'onstop' | keyof TNativeEventTarget>;
//# sourceMappingURL=web-audio-media-recorder-factory.d.ts.map

@@ -7,3 +7,3 @@ import { TBlobEventFactory } from './blob-event-factory';

import { TWebmPcmMediaRecorderFactory } from './webm-pcm-media-recorder-factory';
export declare type TWebmPcmMediaRecorderFactoryFactory = (createBlobEvent: TBlobEventFactory, createInvalidModificationError: TInvalidModificationErrorFactory, createNotSupportedError: TNotSupportedErrorFactory, decodeWebMChunk: TDecodeWebMChunkFunction, readVariableSizeInteger: TReadVariableSizeIntegerFunction) => TWebmPcmMediaRecorderFactory;
export type TWebmPcmMediaRecorderFactoryFactory = (createBlobEvent: TBlobEventFactory, createInvalidModificationError: TInvalidModificationErrorFactory, createNotSupportedError: TNotSupportedErrorFactory, decodeWebMChunk: TDecodeWebMChunkFunction, readVariableSizeInteger: TReadVariableSizeIntegerFunction) => TWebmPcmMediaRecorderFactory;
//# sourceMappingURL=webm-pcm-media-recorder-factory-factory.d.ts.map
import { IMediaRecorder } from '../interfaces';
import { TNativeEventTarget } from './native-event-target';
import { TNativeMediaRecorderConstructor } from './native-media-recorder-constructor';
export declare type TWebmPcmMediaRecorderFactory = (eventTarget: TNativeEventTarget, nativeMediaRecorderConstructor: TNativeMediaRecorderConstructor, mediaStream: MediaStream, mimeType: string) => Omit<IMediaRecorder, 'ondataavailable' | 'onerror' | 'onpause' | 'onresume' | 'onstart' | 'onstop' | keyof TNativeEventTarget>;
export type TWebmPcmMediaRecorderFactory = (eventTarget: TNativeEventTarget, nativeMediaRecorderConstructor: TNativeMediaRecorderConstructor, mediaStream: MediaStream, mimeType: string) => Omit<IMediaRecorder, 'ondataavailable' | 'onerror' | 'onpause' | 'onresume' | 'onstart' | 'onstop' | keyof TNativeEventTarget>;
//# sourceMappingURL=webm-pcm-media-recorder-factory.d.ts.map
import { TWindow } from './window';
export declare type TWindowFactory = () => null | TWindow;
export type TWindowFactory = () => null | TWindow;
//# sourceMappingURL=window-factory.d.ts.map
import { TNativeBlobEventConstructor } from './native-blob-event-constructor';
import { TNativeMediaRecorderConstructor } from './native-media-recorder-constructor';
export declare type TWindow = Window & typeof globalThis & {
export type TWindow = Window & typeof globalThis & {
BlobEvent?: TNativeBlobEventConstructor;

@@ -5,0 +5,0 @@ MediaRecorder?: TNativeMediaRecorderConstructor;

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

export declare type TWrapEventListenerFunction = <T>(target: T, eventListener: EventListenerOrEventListenerObject) => EventListener;
export type TWrapEventListenerFunction = <T>(target: T, eventListener: EventListenerOrEventListenerObject) => EventListener;
//# sourceMappingURL=wrap-event-listener-function.d.ts.map

@@ -19,7 +19,7 @@ {

"@babel/runtime": "^7.20.1",
"media-encoder-host": "^8.0.80",
"media-encoder-host": "^8.0.81",
"multi-buffer-data-view": "^3.0.23",
"recorder-audio-worklet": "^5.1.32",
"standardized-audio-context": "^25.3.34",
"subscribable-things": "^2.1.9",
"recorder-audio-worklet": "^5.1.33",
"standardized-audio-context": "^25.3.35",
"subscribable-things": "^2.1.10",
"tslib": "^2.4.1"

@@ -33,11 +33,11 @@ },

"@babel/preset-env": "^7.20.2",
"@commitlint/cli": "^17.2.0",
"@commitlint/config-angular": "^17.2.0",
"@commitlint/cli": "^17.3.0",
"@commitlint/config-angular": "^17.3.0",
"@rollup/plugin-babel": "^5.3.1",
"chai": "^4.3.6",
"chai": "^4.3.7",
"commitizen": "^4.2.5",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^8.26.0",
"eslint": "^8.28.0",
"eslint-config-holy-grail": "^52.0.33",
"extendable-media-recorder-wav-encoder": "^7.0.78",
"extendable-media-recorder-wav-encoder": "^7.0.79",
"grunt": "^1.5.3",

@@ -47,3 +47,3 @@ "grunt-cli": "^1.4.3",

"grunt-sh": "^0.2.0",
"husky": "^8.0.1",
"husky": "^8.0.2",
"karma": "^6.4.1",

@@ -59,7 +59,7 @@ "karma-browserstack-launcher": "^1.6.0",

"mocha": "^10.1.0",
"prettier": "^2.7.1",
"prettier": "^2.8.0",
"pretty-quick": "^3.1.3",
"rimraf": "^3.0.2",
"rollup": "^2.79.1",
"sinon": "^14.0.1",
"sinon": "^14.0.2",
"sinon-chai": "^3.7.0",

@@ -70,4 +70,4 @@ "ts-loader": "^9.4.1",

"tslint-config-holy-grail": "^53.2.34",
"typescript": "^4.8.4",
"webpack": "^5.74.0"
"typescript": "^4.9.3",
"webpack": "^5.75.0"
},

@@ -99,3 +99,3 @@ "files": [

"types": "build/es2019/module.d.ts",
"version": "7.0.5"
"version": "7.0.6"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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