extendable-media-recorder
Advanced tools
Comparing version 1.0.21 to 1.0.22
@@ -1,1 +0,1 @@ | ||
//# sourceMappingURL=/private/var/folders/d9/rfrzl3y142q4pz1rvmx3ytt80000gn/t/extendable-media-recorder-repository-ck41kb/node_modules/tsconfig-holy-grail/src/interfaces/index.js.map | ||
//# sourceMappingURL=/build/es2015/interfaces/index.js.map |
@@ -1,1 +0,1 @@ | ||
//# sourceMappingURL=/private/var/folders/d9/rfrzl3y142q4pz1rvmx3ytt80000gn/t/extendable-media-recorder-repository-ck41kb/node_modules/tsconfig-holy-grail/src/interfaces/media-encoder.js.map | ||
//# sourceMappingURL=/build/es2015/interfaces/media-encoder.js.map |
@@ -1,1 +0,1 @@ | ||
//# sourceMappingURL=/private/var/folders/d9/rfrzl3y142q4pz1rvmx3ytt80000gn/t/extendable-media-recorder-repository-ck41kb/node_modules/tsconfig-holy-grail/src/interfaces/media-format-recoder.js.map | ||
//# sourceMappingURL=/build/es2015/interfaces/media-format-recoder.js.map |
@@ -1,1 +0,1 @@ | ||
//# sourceMappingURL=/private/var/folders/d9/rfrzl3y142q4pz1rvmx3ytt80000gn/t/extendable-media-recorder-repository-ck41kb/node_modules/tsconfig-holy-grail/src/interfaces/media-recorder-constructor.js.map | ||
//# sourceMappingURL=/build/es2015/interfaces/media-recorder-constructor.js.map |
@@ -1,1 +0,1 @@ | ||
//# sourceMappingURL=/private/var/folders/d9/rfrzl3y142q4pz1rvmx3ytt80000gn/t/extendable-media-recorder-repository-ck41kb/node_modules/tsconfig-holy-grail/src/interfaces/media-recorder-options.js.map | ||
//# sourceMappingURL=/build/es2015/interfaces/media-recorder-options.js.map |
@@ -1,1 +0,1 @@ | ||
//# sourceMappingURL=/private/var/folders/d9/rfrzl3y142q4pz1rvmx3ytt80000gn/t/extendable-media-recorder-repository-ck41kb/node_modules/tsconfig-holy-grail/src/interfaces/media-recorder.js.map | ||
//# sourceMappingURL=/build/es2015/interfaces/media-recorder.js.map |
@@ -1,1 +0,1 @@ | ||
//# sourceMappingURL=/private/var/folders/d9/rfrzl3y142q4pz1rvmx3ytt80000gn/t/extendable-media-recorder-repository-ck41kb/node_modules/tsconfig-holy-grail/src/interfaces/native-media-recorder-constructor.js.map | ||
//# sourceMappingURL=/build/es2015/interfaces/native-media-recorder-constructor.js.map |
@@ -1,1 +0,1 @@ | ||
//# sourceMappingURL=/private/var/folders/d9/rfrzl3y142q4pz1rvmx3ytt80000gn/t/extendable-media-recorder-repository-ck41kb/node_modules/tsconfig-holy-grail/src/interfaces/native-media-recorder.js.map | ||
//# sourceMappingURL=/build/es2015/interfaces/native-media-recorder.js.map |
@@ -22,2 +22,2 @@ import 'core-js/es7/reflect'; // tslint:disable-line:ordered-imports | ||
export const isSupported = injector.get(isSupportedPromise); | ||
//# sourceMappingURL=/private/var/folders/d9/rfrzl3y142q4pz1rvmx3ytt80000gn/t/extendable-media-recorder-repository-ck41kb/node_modules/tsconfig-holy-grail/src/module.js.map | ||
//# sourceMappingURL=/build/es2015/module.js.map |
@@ -5,2 +5,2 @@ import { InjectionToken } from '@angular/core'; | ||
export const ENCODERS_PROVIDER = { provide: encoders, useValue: ncdrs }; | ||
//# sourceMappingURL=/private/var/folders/d9/rfrzl3y142q4pz1rvmx3ytt80000gn/t/extendable-media-recorder-repository-ck41kb/node_modules/tsconfig-holy-grail/src/providers/encoders.js.map | ||
//# sourceMappingURL=/build/es2015/providers/encoders.js.map |
@@ -9,2 +9,2 @@ import { InjectionToken } from '@angular/core'; | ||
}; | ||
//# sourceMappingURL=/private/var/folders/d9/rfrzl3y142q4pz1rvmx3ytt80000gn/t/extendable-media-recorder-repository-ck41kb/node_modules/tsconfig-holy-grail/src/providers/is-supported-promise.js.map | ||
//# sourceMappingURL=/build/es2015/providers/is-supported-promise.js.map |
@@ -103,2 +103,2 @@ import { InjectionToken } from '@angular/core'; | ||
}; | ||
//# sourceMappingURL=/private/var/folders/d9/rfrzl3y142q4pz1rvmx3ytt80000gn/t/extendable-media-recorder-repository-ck41kb/node_modules/tsconfig-holy-grail/src/providers/media-recorder-constructor.js.map | ||
//# sourceMappingURL=/build/es2015/providers/media-recorder-constructor.js.map |
@@ -11,2 +11,2 @@ import { InjectionToken } from '@angular/core'; | ||
}; | ||
//# sourceMappingURL=/private/var/folders/d9/rfrzl3y142q4pz1rvmx3ytt80000gn/t/extendable-media-recorder-repository-ck41kb/node_modules/tsconfig-holy-grail/src/providers/native-media-recorder-constructor.js.map | ||
//# sourceMappingURL=/build/es2015/providers/native-media-recorder-constructor.js.map |
@@ -5,2 +5,2 @@ import { InjectionToken } from '@angular/core'; | ||
export const WINDOW_PROVIDER = { provide: windowToken, useValue: (typeof window === 'undefined') ? {} : window }; | ||
//# sourceMappingURL=/private/var/folders/d9/rfrzl3y142q4pz1rvmx3ytt80000gn/t/extendable-media-recorder-repository-ck41kb/node_modules/tsconfig-holy-grail/src/providers/window.js.map | ||
//# sourceMappingURL=/build/es2015/providers/window.js.map |
@@ -32,6 +32,192 @@ (function (global, factory) { | ||
var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); | ||
var babelHelpers = {}; | ||
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } | ||
var asyncGenerator = function () { | ||
function AwaitValue(value) { | ||
this.value = value; | ||
} | ||
function AsyncGenerator(gen) { | ||
var front, back; | ||
function send(key, arg) { | ||
return new Promise(function (resolve, reject) { | ||
var request = { | ||
key: key, | ||
arg: arg, | ||
resolve: resolve, | ||
reject: reject, | ||
next: null | ||
}; | ||
if (back) { | ||
back = back.next = request; | ||
} else { | ||
front = back = request; | ||
resume(key, arg); | ||
} | ||
}); | ||
} | ||
function resume(key, arg) { | ||
try { | ||
var result = gen[key](arg); | ||
var value = result.value; | ||
if (value instanceof AwaitValue) { | ||
Promise.resolve(value.value).then(function (arg) { | ||
resume("next", arg); | ||
}, function (arg) { | ||
resume("throw", arg); | ||
}); | ||
} else { | ||
settle(result.done ? "return" : "normal", result.value); | ||
} | ||
} catch (err) { | ||
settle("throw", err); | ||
} | ||
} | ||
function settle(type, value) { | ||
switch (type) { | ||
case "return": | ||
front.resolve({ | ||
value: value, | ||
done: true | ||
}); | ||
break; | ||
case "throw": | ||
front.reject(value); | ||
break; | ||
default: | ||
front.resolve({ | ||
value: value, | ||
done: false | ||
}); | ||
break; | ||
} | ||
front = front.next; | ||
if (front) { | ||
resume(front.key, front.arg); | ||
} else { | ||
back = null; | ||
} | ||
} | ||
this._invoke = send; | ||
if (typeof gen.return !== "function") { | ||
this.return = undefined; | ||
} | ||
} | ||
if (typeof Symbol === "function" && Symbol.asyncIterator) { | ||
AsyncGenerator.prototype[Symbol.asyncIterator] = function () { | ||
return this; | ||
}; | ||
} | ||
AsyncGenerator.prototype.next = function (arg) { | ||
return this._invoke("next", arg); | ||
}; | ||
AsyncGenerator.prototype.throw = function (arg) { | ||
return this._invoke("throw", arg); | ||
}; | ||
AsyncGenerator.prototype.return = function (arg) { | ||
return this._invoke("return", arg); | ||
}; | ||
return { | ||
wrap: function (fn) { | ||
return function () { | ||
return new AsyncGenerator(fn.apply(this, arguments)); | ||
}; | ||
}, | ||
await: function (value) { | ||
return new AwaitValue(value); | ||
} | ||
}; | ||
}(); | ||
var classCallCheck = function (instance, Constructor) { | ||
if (!(instance instanceof Constructor)) { | ||
throw new TypeError("Cannot call a class as a function"); | ||
} | ||
}; | ||
var createClass = function () { | ||
function defineProperties(target, props) { | ||
for (var i = 0; i < props.length; i++) { | ||
var descriptor = props[i]; | ||
descriptor.enumerable = descriptor.enumerable || false; | ||
descriptor.configurable = true; | ||
if ("value" in descriptor) descriptor.writable = true; | ||
Object.defineProperty(target, descriptor.key, descriptor); | ||
} | ||
} | ||
return function (Constructor, protoProps, staticProps) { | ||
if (protoProps) defineProperties(Constructor.prototype, protoProps); | ||
if (staticProps) defineProperties(Constructor, staticProps); | ||
return Constructor; | ||
}; | ||
}(); | ||
babelHelpers; | ||
var mediaRecorderConstructor = new core.InjectionToken('MEDIA_RECORDER_CONSTRUCTOR'); | ||
@@ -45,4 +231,3 @@ var MEDIA_RECORDER_CONSTRUCTOR_PROVIDER = { | ||
function MediaRecorder(stream, options) { | ||
_classCallCheck(this, MediaRecorder); | ||
classCallCheck(this, MediaRecorder); | ||
var mimeType = options.mimeType; | ||
@@ -70,3 +255,3 @@ | ||
_createClass(MediaRecorder, [{ | ||
createClass(MediaRecorder, [{ | ||
key: 'addEventListener', | ||
@@ -151,3 +336,2 @@ value: function addEventListener(type, listener) { | ||
}]); | ||
return MediaRecorder; | ||
@@ -154,0 +338,0 @@ }(); |
@@ -1,1 +0,1 @@ | ||
//# sourceMappingURL=/private/var/folders/d9/rfrzl3y142q4pz1rvmx3ytt80000gn/t/extendable-media-recorder-repository-ck41kb/node_modules/tsconfig-holy-grail/src/interfaces/index.js.map | ||
//# sourceMappingURL=/build/es2015/interfaces/index.js.map |
@@ -1,1 +0,1 @@ | ||
//# sourceMappingURL=/private/var/folders/d9/rfrzl3y142q4pz1rvmx3ytt80000gn/t/extendable-media-recorder-repository-ck41kb/node_modules/tsconfig-holy-grail/src/interfaces/media-encoder.js.map | ||
//# sourceMappingURL=/build/es2015/interfaces/media-encoder.js.map |
@@ -1,1 +0,1 @@ | ||
//# sourceMappingURL=/private/var/folders/d9/rfrzl3y142q4pz1rvmx3ytt80000gn/t/extendable-media-recorder-repository-ck41kb/node_modules/tsconfig-holy-grail/src/interfaces/media-format-recoder.js.map | ||
//# sourceMappingURL=/build/es2015/interfaces/media-format-recoder.js.map |
@@ -1,1 +0,1 @@ | ||
//# sourceMappingURL=/private/var/folders/d9/rfrzl3y142q4pz1rvmx3ytt80000gn/t/extendable-media-recorder-repository-ck41kb/node_modules/tsconfig-holy-grail/src/interfaces/media-recorder-constructor.js.map | ||
//# sourceMappingURL=/build/es2015/interfaces/media-recorder-constructor.js.map |
@@ -1,1 +0,1 @@ | ||
//# sourceMappingURL=/private/var/folders/d9/rfrzl3y142q4pz1rvmx3ytt80000gn/t/extendable-media-recorder-repository-ck41kb/node_modules/tsconfig-holy-grail/src/interfaces/media-recorder-options.js.map | ||
//# sourceMappingURL=/build/es2015/interfaces/media-recorder-options.js.map |
@@ -1,1 +0,1 @@ | ||
//# sourceMappingURL=/private/var/folders/d9/rfrzl3y142q4pz1rvmx3ytt80000gn/t/extendable-media-recorder-repository-ck41kb/node_modules/tsconfig-holy-grail/src/interfaces/media-recorder.js.map | ||
//# sourceMappingURL=/build/es2015/interfaces/media-recorder.js.map |
@@ -1,1 +0,1 @@ | ||
//# sourceMappingURL=/private/var/folders/d9/rfrzl3y142q4pz1rvmx3ytt80000gn/t/extendable-media-recorder-repository-ck41kb/node_modules/tsconfig-holy-grail/src/interfaces/native-media-recorder-constructor.js.map | ||
//# sourceMappingURL=/build/es2015/interfaces/native-media-recorder-constructor.js.map |
@@ -1,1 +0,1 @@ | ||
//# sourceMappingURL=/private/var/folders/d9/rfrzl3y142q4pz1rvmx3ytt80000gn/t/extendable-media-recorder-repository-ck41kb/node_modules/tsconfig-holy-grail/src/interfaces/native-media-recorder.js.map | ||
//# sourceMappingURL=/build/es2015/interfaces/native-media-recorder.js.map |
@@ -22,2 +22,2 @@ import 'core-js/es7/reflect'; // tslint:disable-line:ordered-imports | ||
export var isSupported = injector.get(isSupportedPromise); | ||
//# sourceMappingURL=/private/var/folders/d9/rfrzl3y142q4pz1rvmx3ytt80000gn/t/extendable-media-recorder-repository-ck41kb/node_modules/tsconfig-holy-grail/src/module.js.map | ||
//# sourceMappingURL=/build/es2015/module.js.map |
@@ -5,2 +5,2 @@ import { InjectionToken } from '@angular/core'; | ||
export var ENCODERS_PROVIDER = { provide: encoders, useValue: ncdrs }; | ||
//# sourceMappingURL=/private/var/folders/d9/rfrzl3y142q4pz1rvmx3ytt80000gn/t/extendable-media-recorder-repository-ck41kb/node_modules/tsconfig-holy-grail/src/providers/encoders.js.map | ||
//# sourceMappingURL=/build/es2015/providers/encoders.js.map |
@@ -9,2 +9,2 @@ import { InjectionToken } from '@angular/core'; | ||
}; | ||
//# sourceMappingURL=/private/var/folders/d9/rfrzl3y142q4pz1rvmx3ytt80000gn/t/extendable-media-recorder-repository-ck41kb/node_modules/tsconfig-holy-grail/src/providers/is-supported-promise.js.map | ||
//# sourceMappingURL=/build/es2015/providers/is-supported-promise.js.map |
@@ -105,2 +105,2 @@ import { InjectionToken } from '@angular/core'; | ||
}; | ||
//# sourceMappingURL=/private/var/folders/d9/rfrzl3y142q4pz1rvmx3ytt80000gn/t/extendable-media-recorder-repository-ck41kb/node_modules/tsconfig-holy-grail/src/providers/media-recorder-constructor.js.map | ||
//# sourceMappingURL=/build/es2015/providers/media-recorder-constructor.js.map |
@@ -11,2 +11,2 @@ import { InjectionToken } from '@angular/core'; | ||
}; | ||
//# sourceMappingURL=/private/var/folders/d9/rfrzl3y142q4pz1rvmx3ytt80000gn/t/extendable-media-recorder-repository-ck41kb/node_modules/tsconfig-holy-grail/src/providers/native-media-recorder-constructor.js.map | ||
//# sourceMappingURL=/build/es2015/providers/native-media-recorder-constructor.js.map |
@@ -5,2 +5,2 @@ import { InjectionToken } from '@angular/core'; | ||
export var WINDOW_PROVIDER = { provide: windowToken, useValue: (typeof window === 'undefined') ? {} : window }; | ||
//# sourceMappingURL=/private/var/folders/d9/rfrzl3y142q4pz1rvmx3ytt80000gn/t/extendable-media-recorder-repository-ck41kb/node_modules/tsconfig-holy-grail/src/providers/window.js.map | ||
//# sourceMappingURL=/build/es2015/providers/window.js.map |
@@ -15,5 +15,6 @@ { | ||
"babel-core": "^6.26.0", | ||
"babel-plugin-external-helpers": "^6.22.0", | ||
"babel-preset-es2015": "^6.18.0", | ||
"chai": "^4.1.1", | ||
"eslint-config-holy-grail": "^19.0.1", | ||
"eslint-config-holy-grail": "^20.0.0", | ||
"greenkeeper-lockfile": "^1.8.1", | ||
@@ -23,3 +24,2 @@ "grunt": "^1.0.1", | ||
"grunt-contrib-clean": "^1.0.0", | ||
"grunt-contrib-uglify": "^3.0.0", | ||
"grunt-contrib-watch": "^1.0.0", | ||
@@ -31,3 +31,3 @@ "grunt-karma": "^2.0.0", | ||
"husky": "^0.14.3", | ||
"karma": "^1.2.0", | ||
"karma": "^1.7.1", | ||
"karma-browserstack-launcher": "^1.3.0", | ||
@@ -40,15 +40,14 @@ "karma-chrome-launcher": "^2.2.0", | ||
"karma-sauce-launcher": "^1.2.0", | ||
"karma-sinon-chai": "^1.2.3", | ||
"karma-sinon-chai": "^1.3.2", | ||
"karma-webpack": "^2.0.4", | ||
"load-grunt-config": "^0.19.2", | ||
"mocha": "^3.5.0", | ||
"rollup": "^0.48.2", | ||
"rollup": "^0.49.2", | ||
"rollup-plugin-babel": "^3.0.2", | ||
"rollup-plugin-commonjs": "^8.2.0", | ||
"rollup-plugin-node-resolve": "^3.0.0", | ||
"sinon": "^3.2.1", | ||
"sinon-chai": "^2.13.0", | ||
"ts-loader": "^2.3.3", | ||
"tsconfig-holy-grail": "^2.2.23", | ||
"tslint-config-holy-grail": "^10.0.2", | ||
"ts-loader": "^2.3.4", | ||
"tsconfig-holy-grail": "^2.2.27", | ||
"tslint": "^5.7.0", | ||
"tslint-config-holy-grail": "^11.0.0", | ||
"typescript": "~2.3.4", | ||
@@ -83,3 +82,3 @@ "webpack": "^3.5.5" | ||
"types": "build/es2015/module.d.ts", | ||
"version": "1.0.21" | ||
"version": "1.0.22" | ||
} |
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
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
37
57647
88
862
1