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.3.3 to 0.3.4

2

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

@@ -5,0 +5,0 @@ "authors": [

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

(function(angular, P) {
(function(angular, window) {

@@ -7,3 +7,3 @@ 'use strict';

.module('mwl.bluebird', [])
.constant('Bluebird', P.noConflict())
.constant('Bluebird', window.P.noConflict())
.config(function($provide, Bluebird) {

@@ -68,2 +68,2 @@

}(angular, P));
}(angular, window));
/**
* angular-bluebird-promises - Replaces $q with bluebirds promise API
* @version v0.3.3
* @version v0.3.4
* @link https://github.com/mattlewis92/angular-bluebird-promises
* @license MIT
*/
!function(n,e){"use strict";n.module("mwl.bluebird",[]).constant("Bluebird",e.noConflict()).config(["$provide","Bluebird",function(e,r){r.defer=function(){var e=r.pending();return e.resolve=n.bind(e,e.fulfill),e.reject=n.bind(e,e.reject),e.notify=n.bind(e,e.progress),e},r.reject=r.rejected,r.when=r.cast;var t=r.all;r.all=function(e){if(n.isObject(e)&&!n.isArray(e)){var r=[],o=[];return n.forEach(e,function(n,e){o.push(e),r.push(n)}),t(r).then(function(e){var r={};return n.forEach(e,function(n,e){r[o[e]]=n}),r})}return t(e)},r.onPossiblyUnhandledRejection(n.noop),e.decorator("$q",function(){return r})}]).run(["$rootScope","Bluebird",function(n,e){e.setScheduler(function(e){n.$evalAsync(e)})}])}(angular,P);
!function(n,e){"use strict";n.module("mwl.bluebird",[]).constant("Bluebird",e.P.noConflict()).config(["$provide","Bluebird",function(e,r){r.defer=function(){var e=r.pending();return e.resolve=n.bind(e,e.fulfill),e.reject=n.bind(e,e.reject),e.notify=n.bind(e,e.progress),e},r.reject=r.rejected,r.when=r.cast;var o=r.all;r.all=function(e){if(n.isObject(e)&&!n.isArray(e)){var r=[],t=[];return n.forEach(e,function(n,e){t.push(e),r.push(n)}),o(r).then(function(e){var r={};return n.forEach(e,function(n,e){r[t[e]]=n}),r})}return o(e)},r.onPossiblyUnhandledRejection(n.noop),e.decorator("$q",function(){return r})}]).run(["$rootScope","Bluebird",function(n,e){e.setScheduler(function(e){n.$evalAsync(e)})}])}(angular,window);
//# sourceMappingURL=angular-bluebird-promises.min.js.map
{
"name": "angular-bluebird-promises",
"version": "0.3.3",
"version": "0.3.4",
"description": "Replaces $q with bluebirds promise API",

@@ -5,0 +5,0 @@ "browser": "dist/angular-bluebird-promises.js",

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

(function(angular, P) {
(function(angular, window) {

@@ -7,3 +7,3 @@ 'use strict';

.module('mwl.bluebird', [])
.constant('Bluebird', P.noConflict())
.constant('Bluebird', window.P.noConflict())
.config(function($provide, Bluebird) {

@@ -68,2 +68,2 @@

}(angular, P));
}(angular, window));

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