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.5.5 to 0.5.6

2

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

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

/**
* angular-bluebird-promises - Replaces $q with bluebirds promise API
* @version v0.5.5
* @version v0.5.6
* @link https://github.com/mattlewis92/angular-bluebird-promises
* @license MIT
*/
(function webpackUniversalModuleDefinition(root, factory) {

@@ -13,6 +12,6 @@ if(typeof exports === 'object' && typeof module === 'object')

define(["angular", "bluebird"], factory);
else {
var a = typeof exports === 'object' ? factory(require("angular"), require("bluebird")) : factory(root["angular"], root["Promise"]);
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
}
else if(typeof exports === 'object')
exports["angularBluebirdPromisesModuleName"] = factory(require("angular"), require("bluebird"));
else
root["angularBluebirdPromisesModuleName"] = factory(root["angular"], root["Promise"]);
})(this, function(__WEBPACK_EXTERNAL_MODULE_1__, __WEBPACK_EXTERNAL_MODULE_2__) {

@@ -19,0 +18,0 @@ return /******/ (function(modules) { // webpackBootstrap

/**
* angular-bluebird-promises - Replaces $q with bluebirds promise API
* @version v0.5.5
* @version v0.5.6
* @link https://github.com/mattlewis92/angular-bluebird-promises
* @license MIT
*/
!function(e,r){if("object"==typeof exports&&"object"==typeof module)module.exports=r(require("angular"),require("bluebird"));else if("function"==typeof define&&define.amd)define(["angular","bluebird"],r);else{var t="object"==typeof exports?r(require("angular"),require("bluebird")):r(e.angular,e.Promise);for(var o in t)("object"==typeof exports?exports:e)[o]=t[o]}}(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,r){return new i(e,r)}var n=t(1),i=t(2),u="mwl.bluebird";o.prototype=i.prototype,n.extend(o,i),o.defer=function(){var e=o.pending();return e.resolve=n.bind(e,e.fulfill),e.reject=n.bind(e,e.reject),e.notify=n.bind(e,e.progress),e},o.reject=o.rejected,o.when=o.cast;var l=o.all;o.all=function(e){return n.isObject(e)&&!n.isArray(e)?o.props(e):l.call(o,e)};var c=o.prototype["finally"];o.prototype["finally"]=function(e,r){return this.progressed(r),c.call(this,e)},o.onPossiblyUnhandledRejection(n.noop),n.module(u,[]).constant("Bluebird",o).config(["$provide","Bluebird",function(e,r){e.decorator("$q",function(){return r})}]).run(["$rootScope","Bluebird",function(e,r){r.setScheduler(function(r){e.$evalAsync(r)})}]),e.exports=u},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(n[o])return n[o].exports;var t=n[o]={exports:{},id:o,loaded:!1};return e[o].call(t.exports,t,t.exports,r),t.loaded=!0,t.exports}var n={};return r.m=e,r.c=n,r.p="",r(0)}([function(e,r,n){"use strict";function o(e,r){return new i(e,r)}var t=n(1),i=n(2),u="mwl.bluebird";o.prototype=i.prototype,t.extend(o,i),o.defer=function(){var e=o.pending();return e.resolve=t.bind(e,e.fulfill),e.reject=t.bind(e,e.reject),e.notify=t.bind(e,e.progress),e},o.reject=o.rejected,o.when=o.cast;var l=o.all;o.all=function(e){return t.isObject(e)&&!t.isArray(e)?o.props(e):l.call(o,e)};var c=o.prototype["finally"];o.prototype["finally"]=function(e,r){return this.progressed(r),c.call(this,e)},o.onPossiblyUnhandledRejection(t.noop),t.module(u,[]).constant("Bluebird",o).config(["$provide","Bluebird",function(e,r){e.decorator("$q",function(){return r})}]).run(["$rootScope","Bluebird",function(e,r){r.setScheduler(function(r){e.$evalAsync(r)})}]),e.exports=u},function(r,n){r.exports=e},function(e,n){e.exports=r}])});
//# sourceMappingURL=angular-bluebird-promises.min.js.map
{
"name": "angular-bluebird-promises",
"version": "0.5.5",
"version": "0.5.6",
"description": "Replaces $q with bluebirds promise API",

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

"angular-mocks": ">=1.2.0",
"ejs": "~2.3.2",
"eslint": "~1.6.0",
"eslint": "~1.7.3",
"eslint-config-mwl": "~0.3.0",

@@ -27,0 +26,0 @@ "eslint-loader": "~1.1.0",

@@ -1,15 +0,16 @@

var webpack = require('webpack');
var ejs = require('ejs');
var MIN = process.argv.indexOf('-p') > -1;
'use strict';
const webpack = require('webpack');
const MIN = process.argv.indexOf('-p') > -1;
function getBanner() {
var pkg = require('./bower.json');
var banner = ['/**',
' * <%= pkg.name %> - <%= pkg.description %>',
' * @version v<%= pkg.version %>',
' * @link <%= pkg.homepage %>',
' * @license <%= pkg.license %>',
' */',
''].join('\n');
return ejs.render(banner, {pkg: pkg});
const pkg = require('./bower.json');
return `
/**
* ${pkg.name} - ${pkg.description}
* @version v${pkg.version}
* @link ${pkg.homepage}
* @license ${pkg.license}
*/
`.trim();
}

@@ -22,3 +23,4 @@

filename: MIN ? 'angular-bluebird-promises.min.js' : 'angular-bluebird-promises.js',
libraryTarget: 'umd'
libraryTarget: 'umd',
library: 'angularBluebirdPromisesModuleName'
},

@@ -25,0 +27,0 @@ externals: {

@@ -1,8 +0,10 @@

var open = require('open');
var karma = require('karma');
'use strict';
var PORT = 8000;
const open = require('open');
const karma = require('karma');
const PORT = 8000;
open('http://localhost:' + PORT);
var server = new karma.Server({
const server = new karma.Server({
configFile: __dirname + '/karma.conf.js',

@@ -9,0 +11,0 @@ autoWatch: true,

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