New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@tanbo/stream

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tanbo/stream - npm Package Compare versions

Comparing version 0.0.8 to 0.0.9

4

operators/distinct-until-changed.js

@@ -7,5 +7,5 @@ import { Observable } from '../core/_api';

return function (source) {
let lastValue = {};
let isFirst = true;
return new Observable(subscriber => {
let lastValue = {};
let isFirst = true;
return source.subscribe({

@@ -12,0 +12,0 @@ next(value) {

import { Operator } from '../core/_api';
/**
* 让多个订阅共享同一个数据源,而不是创建新的
*/
export declare function share<T>(): Operator<T, T>;
import { Subject } from '../core/_api';
/**
* 让多个订阅共享同一个数据源,而不是创建新的
*/
export function share() {

@@ -3,0 +6,0 @@ return function (source) {

@@ -8,4 +8,4 @@ import { Observable } from '../core/_api';

return function (source) {
let i = 0;
return new Observable(subscriber => {
let i = 0;
const subscribe = {

@@ -12,0 +12,0 @@ next(value) {

@@ -8,4 +8,4 @@ import { Observable } from '../core/_api';

return function (source) {
let i = 0;
return new Observable(subscriber => {
let i = 0;
const obs = {

@@ -12,0 +12,0 @@ next(value) {

{
"name": "@tanbo/stream",
"version": "0.0.8",
"version": "0.0.9",
"description": "A data stream lib",

@@ -5,0 +5,0 @@ "main": "./public-api.js",

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