Socket
Socket
Sign inDemoInstall

@rimbu/collection-types

Package Overview
Dependencies
Maintainers
1
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rimbu/collection-types - npm Package Compare versions

Comparing version 0.9.1 to 0.9.2

5

dist/main/map-custom/interface/index.js

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

var stream_1 = require("@rimbu/stream");
var custom_1 = require("@rimbu/stream/custom");
var RMapBase;

@@ -26,3 +27,3 @@ (function (RMapBase) {

var source = sources[i];
if (stream_1.StreamSource.isEmptyInstance(source))
if ((0, custom_1.isEmptyStreamSourceInstance)(source))
continue;

@@ -114,3 +115,3 @@ if (builder.isEmpty &&

return function (mergeFun) {
if (stream_1.Stream.from(sources).some(stream_1.StreamSource.isEmptyInstance)) {
if (stream_1.Stream.from(sources).some(custom_1.isEmptyStreamSourceInstance)) {
return _this.empty();

@@ -117,0 +118,0 @@ }

4

dist/main/set-custom/interface/base.js

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

var common_1 = require("@rimbu/common");
var stream_1 = require("@rimbu/stream");
var custom_1 = require("@rimbu/stream/custom");
var RSetBase;

@@ -25,3 +25,3 @@ (function (RSetBase) {

var source = sources[i];
if (stream_1.StreamSource.isEmptyInstance(source))
if ((0, custom_1.isEmptyStreamSourceInstance)(source))
continue;

@@ -28,0 +28,0 @@ if (builder.isEmpty &&

import { Reducer } from '@rimbu/common';
import { Stream, StreamSource } from '@rimbu/stream';
import { Stream } from '@rimbu/stream';
import { isEmptyStreamSourceInstance } from '@rimbu/stream/custom';
export var RMapBase;

@@ -16,3 +17,3 @@ (function (RMapBase) {

const source = sources[i];
if (StreamSource.isEmptyInstance(source))
if (isEmptyStreamSourceInstance(source))
continue;

@@ -75,3 +76,3 @@ if (builder.isEmpty &&

return (mergeFun) => {
if (Stream.from(sources).some(StreamSource.isEmptyInstance)) {
if (Stream.from(sources).some(isEmptyStreamSourceInstance)) {
return this.empty();

@@ -78,0 +79,0 @@ }

import { Reducer } from '@rimbu/common';
import { StreamSource } from '@rimbu/stream';
import { isEmptyStreamSourceInstance } from '@rimbu/stream/custom';
export var RSetBase;

@@ -16,3 +16,3 @@ (function (RSetBase) {

const source = sources[i];
if (StreamSource.isEmptyInstance(source))
if (isEmptyStreamSourceInstance(source))
continue;

@@ -19,0 +19,0 @@ if (builder.isEmpty &&

import type { Elem, WithElem } from '@rimbu/collection-types/set-custom';
import type { ArrayNonEmpty, RelatedTo, ToJSON, TraverseState } from '@rimbu/common';
import { Reducer } from '@rimbu/common';
import { FastIterable, Stream, Streamable, StreamSource } from '@rimbu/stream';
import type { FastIterable, Stream, Streamable, StreamSource } from '@rimbu/stream';
export interface VariantSetBase<T, Tp extends VariantSetBase.Types = VariantSetBase.Types> extends FastIterable<T> {

@@ -6,0 +6,0 @@ /**

{
"name": "@rimbu/collection-types",
"version": "0.9.1",
"version": "0.9.2",
"description": "Type definitions for the basic generic Rimbu collections",

@@ -67,3 +67,3 @@ "keywords": [

"@rimbu/common": "^0.9.0",
"@rimbu/stream": "^0.10.1",
"@rimbu/stream": "^0.10.2",
"tslib": "^2.3.1"

@@ -78,3 +78,3 @@ },

},
"gitHead": "0474974142d1aa81cc6d9e746010bcd6dba60265"
"gitHead": "7271174e99229284224cef3489d3e80bddb305d0"
}

@@ -16,2 +16,3 @@ import type { Token } from '@rimbu/base';

import { FastIterable, Stream, Streamable, StreamSource } from '@rimbu/stream';
import { isEmptyStreamSourceInstance } from '@rimbu/stream/custom';

@@ -992,3 +993,3 @@ export interface VariantMapBase<

if (StreamSource.isEmptyInstance(source)) continue;
if (isEmptyStreamSourceInstance(source)) continue;

@@ -1097,3 +1098,3 @@ if (

return <R>(mergeFun: (key: K, ...values: I) => R): any => {
if (Stream.from(sources).some(StreamSource.isEmptyInstance)) {
if (Stream.from(sources).some(isEmptyStreamSourceInstance)) {
return this.empty();

@@ -1100,0 +1101,0 @@ }

@@ -9,3 +9,9 @@ import type { Elem, WithElem } from '@rimbu/collection-types/set-custom';

import { Reducer } from '@rimbu/common';
import { FastIterable, Stream, Streamable, StreamSource } from '@rimbu/stream';
import type {
FastIterable,
Stream,
Streamable,
StreamSource,
} from '@rimbu/stream';
import { isEmptyStreamSourceInstance } from '@rimbu/stream/custom';

@@ -591,3 +597,3 @@ export interface VariantSetBase<

if (StreamSource.isEmptyInstance(source)) continue;
if (isEmptyStreamSourceInstance(source)) continue;

@@ -594,0 +600,0 @@ if (

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc