extendable-media-recorder
Advanced tools
Comparing version 1.0.25 to 1.0.26
@@ -21,4 +21,5 @@ { | ||
"chai": "^4.1.2", | ||
"eslint-config-holy-grail": "^20.0.0", | ||
"greenkeeper-lockfile": "^1.8.1", | ||
"eslint": "^4.6.1", | ||
"eslint-config-holy-grail": "^22.0.0", | ||
"greenkeeper-lockfile": "^1.9.0", | ||
"grunt": "^1.0.1", | ||
@@ -44,13 +45,13 @@ "grunt-cli": "^1.2.0", | ||
"load-grunt-config": "^0.19.2", | ||
"mocha": "^3.5.0", | ||
"rollup": "^0.49.2", | ||
"mocha": "^3.5.3", | ||
"rollup": "^0.49.3", | ||
"rollup-plugin-babel": "^3.0.2", | ||
"sinon": "^3.2.1", | ||
"sinon-chai": "^2.13.0", | ||
"ts-loader": "^2.3.4", | ||
"tsconfig-holy-grail": "^2.4.0", | ||
"ts-loader": "^2.3.7", | ||
"tsconfig-holy-grail": "^2.4.2", | ||
"tslint": "^5.7.0", | ||
"tslint-config-holy-grail": "^11.0.1", | ||
"tslint-config-holy-grail": "^13.0.0", | ||
"typescript": "~2.3.4", | ||
"webpack": "^3.5.5" | ||
"webpack": "^3.5.6" | ||
}, | ||
@@ -83,3 +84,3 @@ "files": [ | ||
"types": "build/es2015/module.d.ts", | ||
"version": "1.0.25" | ||
"version": "1.0.26" | ||
} |
@@ -1,3 +0,3 @@ | ||
import { IMediaRecorder } from './media-recorder'; | ||
import { IMediaRecorderOptions } from './media-recorder-options'; | ||
import { IMediaRecorder } from './media-recorder'; | ||
import { IMediaRecorderOptions } from './media-recorder-options'; | ||
@@ -4,0 +4,0 @@ export interface IMediaRecorderConstructor { |
@@ -1,3 +0,3 @@ | ||
import { IMediaRecorderOptions } from './media-recorder-options'; | ||
import { INativeMediaRecorder } from './native-media-recorder'; | ||
import { IMediaRecorderOptions } from './media-recorder-options'; | ||
import { INativeMediaRecorder } from './native-media-recorder'; | ||
@@ -4,0 +4,0 @@ export interface INativeMediaRecorderConstructor { |
import 'core-js/es7/reflect'; // tslint:disable-line:ordered-imports | ||
import { ReflectiveInjector } from '@angular/core'; | ||
import { IMediaEncoder, IMediaRecorderConstructor } from './interfaces'; | ||
import { ENCODERS_PROVIDER, encoders } from './providers/encoders'; | ||
import { ENCODERS_PROVIDER, encoders } from './providers/encoders'; | ||
import { IS_SUPPORTED_PROMISE_PROVIDER, isSupportedPromise } from './providers/is-supported-promise'; | ||
import { MEDIA_RECORDER_CONSTRUCTOR_PROVIDER, mediaRecorderConstructor } from './providers/media-recorder-constructor'; | ||
import { NATIVE_MEDIA_RECORDER_CONSTRUCTOR_PROVIDER } from './providers/native-media-recorder-constructor'; | ||
import { NATIVE_MEDIA_RECORDER_CONSTRUCTOR_PROVIDER } from './providers/native-media-recorder-constructor'; | ||
import { WINDOW_PROVIDER } from './providers/window'; | ||
@@ -9,0 +9,0 @@ |
@@ -11,3 +11,3 @@ import { InjectionToken } from '@angular/core'; | ||
} from '../interfaces'; | ||
import { encoders } from './encoders'; | ||
import { encoders } from './encoders'; | ||
import { nativeMediaRecorderConstructor } from './native-media-recorder-constructor'; | ||
@@ -33,5 +33,5 @@ | ||
private _listeners: null | Map<string, Set<Function>>; | ||
private _listeners: null | Map<string, Set<Function>>; | ||
private _nativeMediaRecorder: null | INativeMediaRecorder; | ||
private _nativeMediaRecorder: null | INativeMediaRecorder; | ||
@@ -38,0 +38,0 @@ private _stream: null | MediaStream; |
@@ -5,3 +5,3 @@ import { InjectionToken } from '@angular/core'; | ||
export const nativeMediaRecorderConstructor = new InjectionToken<Promise<null | INativeMediaRecorder>>('NATIVE_MEDIA_RECORDER_CONSTRUCTOR'); | ||
export const nativeMediaRecorderConstructor = new InjectionToken<Promise<null | INativeMediaRecorder>>('NATIVE_MEDIA_RECORDER_CONSTRUCTOR'); | ||
@@ -11,5 +11,5 @@ export const NATIVE_MEDIA_RECORDER_CONSTRUCTOR_PROVIDER = { | ||
provide: nativeMediaRecorderConstructor, | ||
useFactory: (window: Window): Promise<null | INativeMediaRecorder> => (window.hasOwnProperty('MediaRecorder')) ? | ||
useFactory: (window: Window): Promise<null | INativeMediaRecorder> => (window.hasOwnProperty('MediaRecorder')) ? | ||
(<any> window).MediaRecorder : | ||
null | ||
}; |
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
55015
39