Socket
Socket
Sign inDemoInstall

@platform/util.value

Package Overview
Dependencies
10
Maintainers
1
Versions
145
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.8.22 to 0.8.23

lib/rx/rx.disposable.d.ts

5

lib/dispose/dispose.js

@@ -5,3 +5,2 @@ "use strict";

var rxjs_1 = require("rxjs");
var operators_1 = require("rxjs/operators");
exports.dispose = {

@@ -11,3 +10,3 @@ create: function (until$) {

var disposable = {
dispose$: dispose$.pipe(operators_1.share()),
dispose$: dispose$.asObservable(),
dispose: function () {

@@ -19,3 +18,3 @@ dispose$.next();

if (until$) {
until$.subscribe(function () { return dispose$.next(); });
until$.subscribe(function () { return disposable.dispose(); });
}

@@ -22,0 +21,0 @@ return disposable;

2

lib/rx/rx.bus.d.ts

@@ -6,3 +6,3 @@ import * as t from '@platform/types';

export declare function isBus(input: any): boolean;
export declare function asType<T extends E>(bus: t.EventBus<any>): t.EventBus<T>;
export declare function busAsType<T extends E>(bus: t.EventBus<any>): t.EventBus<T>;
export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.asType = exports.isBus = exports.bus = void 0;
exports.busAsType = exports.isBus = exports.bus = void 0;
var util_is_1 = require("@platform/util.is");

@@ -25,5 +25,5 @@ var rxjs_1 = require("rxjs");

exports.isBus = isBus;
function asType(bus) {
function busAsType(bus) {
return bus;
}
exports.asType = asType;
exports.busAsType = busAsType;
export * from './rx.event';
export * from './rx.debounce';
export * from './rx.bus';
export * from './rx.disposable';

@@ -7,1 +7,2 @@ "use strict";

tslib_1.__exportStar(require("./rx.bus"), exports);
tslib_1.__exportStar(require("./rx.disposable"), exports);
{
"name": "@platform/util.value",
"version": "0.8.22",
"version": "0.8.23",
"description": "Helpers for working with, transforming, and formatting values.",

@@ -5,0 +5,0 @@ "main": "lib/index",

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