You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
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

Comparing version 0.7.4 to 0.7.5

12

dist/types/map/base.d.ts

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

export declare namespace RMapBase {
type NonEmptyBase<K, V, Tp extends RMapBase.Types> = VariantMapBase.NonEmpty<K, V, Tp> & RMapBase<K, V, Tp>;
export interface NonEmpty<K, V, Tp extends RMapBase.Types = RMapBase.Types> extends NonEmptyBase<K, V, Tp>, Streamable.NonEmpty<readonly [K, V]> {
interface NonEmpty<K, V, Tp extends RMapBase.Types = RMapBase.Types> extends VariantMapBase.NonEmpty<K, V, Tp>, Omit<RMapBase<K, V, Tp>, keyof VariantMapBase.NonEmpty<any, any, any>>, Streamable.NonEmpty<readonly [K, V]> {
/**

@@ -573,3 +572,3 @@ * Returns a non-empty Stream containing all entries of this collection as tuples of key and value.

*/
export interface Context<UK, Tp extends RMapBase.Types = RMapBase.Types> {
interface Context<UK, Tp extends RMapBase.Types = RMapBase.Types> {
/**

@@ -631,3 +630,3 @@ * A string tag defining the specific collection type

}
export interface Builder<K, V, Tp extends RMapBase.Types = RMapBase.Types> {
interface Builder<K, V, Tp extends RMapBase.Types = RMapBase.Types> {
/**

@@ -803,3 +802,3 @@ * Returns the `context` associated to this collection instance.

}
export interface Types extends VariantMapBase.Types {
interface Types extends VariantMapBase.Types {
normal: RMapBase<this['_K'], this['_V']>;

@@ -812,3 +811,3 @@ nonEmpty: RMapBase.NonEmpty<this['_K'], this['_V']>;

}
export abstract class ContextBase<UK, Tp extends RMapBase.Types = RMapBase.Types> implements RMapBase.Context<UK, Tp> {
abstract class ContextBase<UK, Tp extends RMapBase.Types = RMapBase.Types> implements RMapBase.Context<UK, Tp> {
abstract get typeTag(): string;

@@ -839,3 +838,2 @@ abstract get _empty(): (Tp & KeyValue<any, any>)['normal'];

}
export {};
}

@@ -224,4 +224,3 @@ import type { ArrayNonEmpty, RelatedTo, ToJSON, TraverseState } from '@rimbu/common';

export declare namespace RSetBase {
type NonEmptyBase<T, Tp extends RSetBase.Types> = VariantSetBase.NonEmpty<T, Tp> & RSetBase<T, Tp>;
export interface NonEmpty<T, Tp extends RSetBase.Types = RSetBase.Types> extends NonEmptyBase<T, Tp>, Streamable.NonEmpty<T> {
interface NonEmpty<T, Tp extends RSetBase.Types = RSetBase.Types> extends VariantSetBase.NonEmpty<T, Tp>, Omit<RSetBase<T, Tp>, keyof VariantSetBase.NonEmpty<any, any>>, Streamable.NonEmpty<T> {
/**

@@ -257,3 +256,3 @@ * Returns a non-empty Stream containing all values of this collection.

}
export interface Context<UT, Tp extends RSetBase.Types = RSetBase.Types> {
interface Context<UT, Tp extends RSetBase.Types = RSetBase.Types> {
/**

@@ -315,3 +314,3 @@ * A string tag defining the specific collection type

}
export interface Builder<T, Tp extends RSetBase.Types = RSetBase.Types> {
interface Builder<T, Tp extends RSetBase.Types = RSetBase.Types> {
/**

@@ -403,3 +402,3 @@ * Returns the amount of values in the builder.

}
export interface Types extends VariantSetBase.Types {
interface Types extends VariantSetBase.Types {
normal: RSetBase<this['_T']>;

@@ -411,3 +410,3 @@ nonEmpty: RSetBase.NonEmpty<this['_T']>;

}
export abstract class ContextBase<UT, Tp extends RSetBase.Types = RSetBase.Types> implements RSetBase.Context<UT, Tp> {
abstract class ContextBase<UT, Tp extends RSetBase.Types = RSetBase.Types> implements RSetBase.Context<UT, Tp> {
abstract get typeTag(): string;

@@ -424,3 +423,2 @@ abstract get _empty(): (Tp & Elem<any>)['normal'];

}
export {};
}
{
"name": "@rimbu/collection-types",
"version": "0.7.4",
"version": "0.7.5",
"description": "Type definitions for the basic generic Rimbu collections",

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

],
"homepage": "http://rimbu.org",
"homepage": "https://rimbu.org",
"author": {

@@ -56,5 +56,5 @@ "name": "Arvid Nicolaas",

"dependencies": {
"@rimbu/base": "^0.6.6",
"@rimbu/common": "^0.7.4",
"@rimbu/stream": "^0.7.4",
"@rimbu/base": "^0.6.7",
"@rimbu/common": "^0.7.5",
"@rimbu/stream": "^0.7.5",
"tslib": "^2.3.1"

@@ -68,3 +68,3 @@ },

},
"gitHead": "e509f9938fad6253702f6b78eb9f8e3b3a8f92ac"
"gitHead": "20739fd0c0d5c565eeecd3e266dd51f893e8d67c"
}

@@ -9,5 +9,5 @@ <p align="center">

For complete documentation please visit the _[Rimbu Docs](http://rimbu.org)_.
For complete documentation please visit the [Immutable Collections page](https://rimbu.org/docs/collections) _[Rimbu Docs](https://rimbu.org)_.
Or [Try Me Out](https://codesandbox.io/s/rimbu-sandbox-d4tbk?previewwindow=console&view=split&editorsize=65&moduleview=1&module=/src/index.ts) in CodeSandBox.
Or [Try Out Rimbu](https://codesandbox.io/s/github/vitoke/rimbu-sandbox/tree/main?previewwindow=console&view=split&editorsize=65&moduleview=1&module=/src/index.ts) in CodeSandBox.

@@ -14,0 +14,0 @@ ## Installation

@@ -486,11 +486,5 @@ import type { Token } from '@rimbu/base';

export namespace RMapBase {
type NonEmptyBase<K, V, Tp extends RMapBase.Types> = VariantMapBase.NonEmpty<
K,
V,
Tp
> &
RMapBase<K, V, Tp>;
export interface NonEmpty<K, V, Tp extends RMapBase.Types = RMapBase.Types>
extends NonEmptyBase<K, V, Tp>,
extends VariantMapBase.NonEmpty<K, V, Tp>,
Omit<RMapBase<K, V, Tp>, keyof VariantMapBase.NonEmpty<any, any, any>>,
Streamable.NonEmpty<readonly [K, V]> {

@@ -497,0 +491,0 @@ /**

@@ -253,10 +253,5 @@ import type {

export namespace RSetBase {
type NonEmptyBase<T, Tp extends RSetBase.Types> = VariantSetBase.NonEmpty<
T,
Tp
> &
RSetBase<T, Tp>;
export interface NonEmpty<T, Tp extends RSetBase.Types = RSetBase.Types>
extends NonEmptyBase<T, Tp>,
extends VariantSetBase.NonEmpty<T, Tp>,
Omit<RSetBase<T, Tp>, keyof VariantSetBase.NonEmpty<any, any>>,
Streamable.NonEmpty<T> {

@@ -263,0 +258,0 @@ /**

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc