Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

angular-bluebird-promises

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular-bluebird-promises - npm Package Compare versions

Comparing version 0.6.1 to 0.6.2

4

bower.json
{
"name": "angular-bluebird-promises",
"version": "0.6.1",
"version": "0.6.2",
"homepage": "https://github.com/mattlewis92/angular-bluebird-promises",

@@ -27,4 +27,4 @@ "authors": [

"angular": ">=1.2.0",
"bluebird": "^2.3.11"
"bluebird": ">=2.0.0"
}
}
/**
* angular-bluebird-promises - Replaces $q with bluebirds promise API
* @version v0.6.1
* @version v0.6.2
* @link https://github.com/mattlewis92/angular-bluebird-promises

@@ -79,3 +79,3 @@ * @license MIT

function _typeof(obj) { return obj && obj.constructor === Symbol ? "symbol" : typeof obj; }
function _typeof(obj) { return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj; }

@@ -82,0 +82,0 @@ // In regards to: https://github.com/petkaantonov/bluebird#for-library-authors

/**
* angular-bluebird-promises - Replaces $q with bluebirds promise API
* @version v0.6.1
* @version v0.6.2
* @link https://github.com/mattlewis92/angular-bluebird-promises
* @license MIT
*/
!function(e,r){"object"==typeof exports&&"object"==typeof module?module.exports=r(require("angular"),require("bluebird")):"function"==typeof define&&define.amd?define(["angular","bluebird"],r):"object"==typeof exports?exports.angularBluebirdPromisesModuleName=r(require("angular"),require("bluebird")):e.angularBluebirdPromisesModuleName=r(e.angular,e.Promise)}(this,function(e,r){return function(e){function r(o){if(t[o])return t[o].exports;var n=t[o]={exports:{},id:o,loaded:!1};return e[o].call(n.exports,n,n.exports,r),n.loaded=!0,n.exports}var t={};return r.m=e,r.c=t,r.p="",r(0)}([function(e,r,t){"use strict";function o(e){return e&&e.__esModule?e:{"default":e}}function n(e){return e&&e.constructor===Symbol?"symbol":typeof e}function u(e,r){return new s["default"](e,r)}Object.defineProperty(r,"__esModule",{value:!0});var l=t(1),i=o(l),a=t(2),s=o(a);u.prototype=s["default"].prototype,i["default"].extend(u,s["default"]),u.defer=function(){var e={};return e.promise=u(function(r,t){e.resolve=r,e.reject=t}),e.promise.progressCallbacks=[],e.notify=function(r){e.promise.progressCallbacks.forEach(function(e){return e(r)})},e},u.reject=u.rejected,u.when=u.cast;var c=u.all;u.all=function(e){return"object"!==("undefined"==typeof e?"undefined":n(e))||Array.isArray(e)?c(e):u.props(e)};var f=u.prototype.then;u.prototype.then=function(e,r,t){return this.progressCallbacks&&this.progressCallbacks.push(t),f.call(this,e,r,t)};var p=u.prototype["finally"];u.prototype["finally"]=function(e,r){return this.progressCallbacks&&this.progressCallbacks.push(r),p.call(this,e)},u.onPossiblyUnhandledRejection(i["default"].noop);var d=i["default"].module("mwl.bluebird",[]).constant("Bluebird",u).config(["$provide","Bluebird",function(e,r){e.decorator("$q",function(){return r})}]).run(["$rootScope","Bluebird",function(e,r){r.setScheduler(function(r){return e.$evalAsync(r)})}]);r["default"]=d.name},function(r,t){r.exports=e},function(e,t){e.exports=r}])});
!function(e,r){"object"==typeof exports&&"object"==typeof module?module.exports=r(require("angular"),require("bluebird")):"function"==typeof define&&define.amd?define(["angular","bluebird"],r):"object"==typeof exports?exports.angularBluebirdPromisesModuleName=r(require("angular"),require("bluebird")):e.angularBluebirdPromisesModuleName=r(e.angular,e.Promise)}(this,function(e,r){return function(e){function r(o){if(t[o])return t[o].exports;var n=t[o]={exports:{},id:o,loaded:!1};return e[o].call(n.exports,n,n.exports,r),n.loaded=!0,n.exports}var t={};return r.m=e,r.c=t,r.p="",r(0)}([function(e,r,t){"use strict";function o(e){return e&&e.__esModule?e:{"default":e}}function n(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function u(e,r){return new s["default"](e,r)}Object.defineProperty(r,"__esModule",{value:!0});var l=t(1),i=o(l),a=t(2),s=o(a);u.prototype=s["default"].prototype,i["default"].extend(u,s["default"]),u.defer=function(){var e={};return e.promise=u(function(r,t){e.resolve=r,e.reject=t}),e.promise.progressCallbacks=[],e.notify=function(r){e.promise.progressCallbacks.forEach(function(e){return e(r)})},e},u.reject=u.rejected,u.when=u.cast;var c=u.all;u.all=function(e){return"object"!==("undefined"==typeof e?"undefined":n(e))||Array.isArray(e)?c(e):u.props(e)};var f=u.prototype.then;u.prototype.then=function(e,r,t){return this.progressCallbacks&&this.progressCallbacks.push(t),f.call(this,e,r,t)};var d=u.prototype["finally"];u.prototype["finally"]=function(e,r){return this.progressCallbacks&&this.progressCallbacks.push(r),d.call(this,e)},u.onPossiblyUnhandledRejection(i["default"].noop);var p=i["default"].module("mwl.bluebird",[]).constant("Bluebird",u).config(["$provide","Bluebird",function(e,r){e.decorator("$q",function(){return r})}]).run(["$rootScope","Bluebird",function(e,r){r.setScheduler(function(r){return e.$evalAsync(r)})}]);r["default"]=p.name},function(r,t){r.exports=e},function(e,t){e.exports=r}])});
//# sourceMappingURL=angular-bluebird-promises.min.js.map
{
"name": "angular-bluebird-promises",
"version": "0.6.1",
"version": "0.6.2",
"description": "Replaces $q with bluebirds promise API",

@@ -23,7 +23,7 @@ "browser": "dist/angular-bluebird-promises.js",

"angular-mocks": ">=1.2.0",
"babel-core": "~6.0.14",
"babel-loader": "~6.0.0",
"babel-polyfill": "~6.0.14",
"babel-preset-es2015": "~6.0.14",
"eslint": "~1.8.0",
"babel-core": "~6.2.0",
"babel-loader": "~6.2.0",
"babel-polyfill": "~6.2.0",
"babel-preset-es2015": "~6.1.18",
"eslint": "~1.9.0",
"eslint-config-mwl": "~0.3.0",

@@ -30,0 +30,0 @@ "eslint-loader": "~1.1.0",

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