New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

angular-audio-context

Package Overview
Dependencies
Maintainers
1
Versions
462
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular-audio-context - npm Package Compare versions

Comparing version 11.0.5 to 11.0.6

176

build/es5/bundle.js

@@ -7,4 +7,176 @@ (function (global, factory) {

function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
var babelHelpers = {};
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");
}
};
babelHelpers;
var isSupported$1 = new core.InjectionToken('IS_SUPPORTED_PROMISE');

@@ -15,3 +187,3 @@ function isSupportedFactory() {

var AudioContextModule = function AudioContextModule() {
_classCallCheck(this, AudioContextModule);
classCallCheck(this, AudioContextModule);
};

@@ -18,0 +190,0 @@ AudioContextModule.decorators = [{ type: core.NgModule, args: [{

15

package.json

@@ -23,9 +23,10 @@ {

"@types/jasmine": "^2.5.54",
"@types/jasminewd2": "^2.0.2",
"@types/jasminewd2": "^2.0.3",
"@types/node": "~6.0.60",
"babel-core": "^6.26.0",
"babel-plugin-external-helpers": "^6.22.0",
"babel-preset-es2015": "^6.22.0",
"chai": "^4.1.1",
"core-js": "^2.5.0",
"eslint-config-holy-grail": "^19.0.1",
"eslint-config-holy-grail": "^20.0.0",
"greenkeeper-lockfile": "^1.8.1",

@@ -41,3 +42,3 @@ "grunt": "^1.0.1",

"jasmine-spec-reporter": "^4.2.1",
"karma": "~1.7.0",
"karma": "^1.7.1",
"karma-chrome-launcher": "~2.1.1",

@@ -52,9 +53,9 @@ "karma-cli": "~1.0.1",

"mocha": "^3.5.0",
"rollup": "^0.48.2",
"rollup": "^0.49.2",
"rollup-plugin-babel": "^3.0.2",
"sinon": "^3.2.1",
"sinon-chai": "^2.13.0",
"ts-loader": "^2.3.3",
"ts-loader": "^2.3.4",
"tslint": "~5.3.2",
"tslint-config-holy-grail": "^10.0.2",
"tslint-config-holy-grail": "^11.0.0",
"typescript": "~2.3.3"

@@ -84,3 +85,3 @@ },

"types": "build/ts/module.d.ts",
"version": "11.0.5"
"version": "11.0.6"
}
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