Socket
Socket
Sign inDemoInstall

zen-observable-ts

Package Overview
Dependencies
0
Maintainers
3
Versions
40
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.4.2 to 0.4.4

dist/tests/filter.d.ts

2

dist/src/types.js

@@ -0,1 +1,3 @@

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=types.js.map

8

dist/src/zenObservable.js

@@ -0,1 +1,3 @@

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
function cleanupSubscription(subscription) {

@@ -73,3 +75,3 @@ var cleanup = subscription._cleanup;

}());
export { Subscription };
exports.Subscription = Subscription;
var SubscriptionObserver = (function () {

@@ -145,3 +147,3 @@ function SubscriptionObserver(subscription) {

}());
export { SubscriptionObserver };
exports.SubscriptionObserver = SubscriptionObserver;
var Observable = (function () {

@@ -398,3 +400,3 @@ function Observable(subscriber) {

}());
export default Observable;
exports.default = Observable;
//# sourceMappingURL=zenObservable.js.map

@@ -15,6 +15,5 @@ "use strict";

function closeSubscription(subscription) {
if (!subscription)
if (subscriptionClosed(subscription)) {
return;
if (subscriptionClosed(subscription))
return;
}
subscription._observer = undefined;

@@ -21,0 +20,0 @@ cleanupSubscription(subscription);

{
"name": "zen-observable-ts",
"version": "0.4.2",
"version": "0.4.4",
"description": "An Implementation of ES Observables in Typescript",

@@ -8,6 +8,4 @@ "author": "Evans Hauser <evanshauser@gmail.com>",

"license": "MIT",
"main": "./dist/src/bundle.umd.js",
"module": "./dist/src/zenObservable.js",
"jsnext:main": "./dist/src/zenObservable.js",
"typings": "./dist/src/zenObservable.d.ts",
"main": "./lib/zenObservable.js",
"typings": "./lib/zenObservable.d.ts",
"repository": {

@@ -22,3 +20,3 @@ "type": "git",

"scripts": {
"pretest": "npm run build-test",
"pretest": "npm run build",
"test": "npm run test-only --",

@@ -30,16 +28,13 @@ "posttest": "npm run lint",

"coverage":
"istanbul cover ./node_modules/mocha/bin/_mocha -- --reporter dot --full-trace dist/tests/tests.js",
"istanbul cover ./node_modules/.bin/_mocha -- --reporter dot --full-trace dist/tests/tests.js",
"postcoverage":
"remap-istanbul --input coverage/coverage.json --type lcovonly --output coverage/lcov.info",
"lint":
"tslint --type-check -p tsconfig.test.json src/*.ts && tslint --type-check -p tsconfig.test.json tests/*.ts",
"tslint --type-check -p tsconfig.json src/*.ts && tslint --type-check -p tsconfig.json tests/*.ts",
"prebuild": "npm run clean:dist",
"build": "tsc -p .",
"build-test": "tsc -p tsconfig.test.json",
"postbuild": "npm run bundle",
"postbuild-test": "npm run bundle",
"bundle": "rollup -c",
"postbuild": "cp -R ./dist/src/. ./lib",
"watch": "tsc -w -p .",
"clean": "npm run clean:dist && npm run clean:coverage",
"clean:dist": "rimraf dist/*",
"clean:dist": "rimraf dist/* && rimraf lib/*",
"clean:coverage": "rimraf coverage/*",

@@ -58,3 +53,2 @@ "prepublishOnly": "npm run clean && npm run build"

"rimraf": "2.6.1",
"rollup": "^0.45.2",
"sinon": "3.2.0",

@@ -61,0 +55,0 @@ "source-map-support": "0.4.16",

{
"extends": "../../tsconfig",
"compilerOptions": {
"target": "es5",
"lib": ["es6", "dom"],
"module": "commonjs",
"moduleResolution": "node",
"removeComments": true,
"sourceMap": true,
"declaration": true,
"rootDir": ".",
"outDir": "dist",
"rootDir": "."
"noImplicitAny": true,
"noUnusedParameters": false,
"noUnusedLocals": true,
"skipLibCheck": true
},
"include": ["src/**/*.ts"]
"include": ["src/**/*.ts", "tests/**/*.ts"]
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc