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

angular-meteor-promiser

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular-meteor-promiser - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

6

angular-meteor-promiser.js

@@ -18,4 +18,4 @@ "use strict";

},
onStop: function () {
reject();
onStop: function (error) {
reject(error);
}

@@ -60,3 +60,3 @@ }]));

try {
var result = fn(resolve);
var result = fn(resolve, reject);
if (typeof result !== 'undefined') {

@@ -63,0 +63,0 @@ resolve(result);

@@ -20,4 +20,4 @@ import * as angular from 'angular';

},
onStop() {
reject();
onStop(error) {
reject(error);
}

@@ -55,3 +55,3 @@ });

try {
const result = fn(resolve);
const result = fn(resolve, reject);

@@ -58,0 +58,0 @@ if (typeof result !== 'undefined') {

{
"name": "angular-meteor-promiser",
"version": "1.0.0",
"version": "1.1.0",
"description": "Turns Meteor subscribe, call, apply callbacks into AngularJS promises",

@@ -5,0 +5,0 @@ "main": "angular-meteor-promiser.js",

@@ -62,6 +62,6 @@ # angular-meteor-promiser

$promiser.any((done) => {
$promiser.any((resolve, reject) => {
setTimeout(() => {
done(foo('async'));
resolve(foo('async'));
}, 500);

@@ -68,0 +68,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