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

zen-observable

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

zen-observable - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

util/build.js

2

package.json
{
"name": "zen-observable",
"version": "0.1.2",
"version": "0.1.3",
"description": "An Implementation of ES Observables",
"homepage": "https://github.com/zenparsing/zen-observable"
}
## zen-observable
An implementation of [ES Observables](https://github.com/zenparsing/es-observable).
```
npm install zen-observable
```
Requires an ES6 Promise polyfill.

@@ -291,3 +291,3 @@ // === Non-Promise Job Queueing ===

try { return fn(value) }
catch (x) { reject(x) }
catch (e) { reject(e) }
},

@@ -412,7 +412,7 @@

} catch (x) {
} catch (e) {
// If observer.next throws an error, then the subscription will
// be closed and the error method will simply rethrow
observer.error(x);
observer.error(e);
return;

@@ -419,0 +419,0 @@ }

@@ -1,4 +0,4 @@

var runTests = require("./observable-tests.js").runTests;
var runTests = require("es-observable-tests.js").runTests;
var Observable = require("../zen-observable.js").Observable;
runTests(Observable);

@@ -291,3 +291,3 @@ /*=esdown=*/(function(fn, deps, name) { function obj() { return {} } if (typeof exports !== 'undefined') fn(require, exports, module); else if (typeof define === 'function' && define.amd) define(['require', 'exports', 'module'].concat(deps), fn); else if (typeof self !== 'undefined' && name) fn(obj, name === '*' ? self : (self[name] = {}), {}); else fn(obj, {}, {}); })(function(require, exports, module) { 'use strict'; function __load(p, l) { module.__es6 = !l; var e = require(p); if (e && e.constructor !== Object) e.default = e; return e; } // === Non-Promise Job Queueing ===

try { return fn(value) }
catch (x) { reject(x) }
catch (e) { reject(e) }
},

@@ -412,7 +412,7 @@

} catch (x) {
} catch (e) {
// If observer.next throws an error, then the subscription will
// be closed and the error method will simply rethrow
observer.error(x);
observer.error(e);
return;

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