Socket
Socket
Sign inDemoInstall

@rimbu/sorted

Package Overview
Dependencies
Maintainers
1
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rimbu/sorted - npm Package Compare versions

Comparing version 0.7.1 to 0.7.2

10

dist/types/map/interface.d.ts

@@ -242,3 +242,2 @@ import type { CustomBase } from '@rimbu/collection-types';

export declare namespace SortedMap {
type NonEmptyBase<K, V> = CustomBase.RMapBase.NonEmpty<K, V, SortedMap.Types> & SortedMap<K, V>;
/**

@@ -253,3 +252,3 @@ * A non-empty type-invariant immutable Map of key type K, and value type V.

*/
export interface NonEmpty<K, V> extends NonEmptyBase<K, V>, Streamable.NonEmpty<readonly [K, V]> {
interface NonEmpty<K, V> extends CustomBase.RMapBase.NonEmpty<K, V, SortedMap.Types>, Omit<SortedMap<K, V>, keyof CustomBase.RMapBase.NonEmpty<any, any, any>>, Streamable.NonEmpty<readonly [K, V]> {
stream(reversed?: boolean): Stream.NonEmpty<readonly [K, V]>;

@@ -313,3 +312,3 @@ streamKeys(reversed?: boolean): Stream.NonEmpty<K>;

*/
export interface Context<UK> extends CustomBase.RMapBase.Context<UK, SortedMap.Types> {
interface Context<UK> extends CustomBase.RMapBase.Context<UK, SortedMap.Types> {
readonly typeTag: 'SortedMap';

@@ -326,3 +325,3 @@ /**

*/
export interface Builder<K, V> extends CustomBase.RMapBase.Builder<K, V, SortedMap.Types> {
interface Builder<K, V> extends CustomBase.RMapBase.Builder<K, V, SortedMap.Types> {
/**

@@ -382,3 +381,3 @@ * Returns the entry with the minimum key of the SortedMap Builder, or a fallback value (default: undefined)

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

@@ -389,3 +388,2 @@ nonEmpty: SortedMap.NonEmpty<this['_K'], this['_V']>;

}
export {};
}

@@ -392,0 +390,0 @@ declare function createContext<UK>(options?: {

@@ -132,3 +132,2 @@ import type { CustomBase, RSet } from '@rimbu/collection-types';

export declare namespace SortedSet {
type NonEmptyBase<T> = CustomBase.RSetBase.NonEmpty<T, SortedSet.Types> & SortedSet<T>;
/**

@@ -141,3 +140,3 @@ * A non-empty type-invariant immutable Set of value type T.

*/
export interface NonEmpty<T> extends NonEmptyBase<T>, Streamable.NonEmpty<T> {
interface NonEmpty<T> extends CustomBase.RSetBase.NonEmpty<T, SortedSet.Types>, Omit<SortedSet<T>, keyof CustomBase.RSetBase.NonEmpty<any, any>>, Streamable.NonEmpty<T> {
stream(reversed?: boolean): Stream.NonEmpty<T>;

@@ -167,3 +166,3 @@ /**

*/
export interface Context<UT> extends CustomBase.RSetBase.Context<UT, SortedSet.Types> {
interface Context<UT> extends CustomBase.RSetBase.Context<UT, SortedSet.Types> {
readonly typeTag: 'SortedSet';

@@ -175,3 +174,3 @@ }

*/
export interface Builder<T> extends CustomBase.RSetBase.Builder<T, SortedSet.Types> {
interface Builder<T> extends CustomBase.RSetBase.Builder<T, SortedSet.Types> {
/**

@@ -231,3 +230,3 @@ * Returns the minimum value of the SortedSet builder, or a fallback value (default: undefined)

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

@@ -238,3 +237,2 @@ nonEmpty: SortedSet.NonEmpty<this['_T']>;

}
export {};
}

@@ -241,0 +239,0 @@ declare function createContext<UT>(options?: {

14

package.json
{
"name": "@rimbu/sorted",
"version": "0.7.1",
"version": "0.7.2",
"description": "Immutable SortedMap and SortedSet implementations for TypeScript",

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

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

@@ -63,6 +63,6 @@ "name": "Arvid Nicolaas",

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

@@ -76,3 +76,3 @@ },

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

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

For complete documentation please visit the _[Rimbu Docs](http://rimbu.org)_.
For complete documentation please visit the [Map](https://rimbu.org/docs/collections/map) or [Se](https://rimbu.org/docs/collections/set) page in the _[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.

@@ -21,0 +21,0 @@ ## Installation

@@ -249,9 +249,2 @@ import type { CustomBase } from '@rimbu/collection-types';

export namespace SortedMap {
type NonEmptyBase<K, V> = CustomBase.RMapBase.NonEmpty<
K,
V,
SortedMap.Types
> &
SortedMap<K, V>;
/**

@@ -267,3 +260,4 @@ * A non-empty type-invariant immutable Map of key type K, and value type V.

export interface NonEmpty<K, V>
extends NonEmptyBase<K, V>,
extends CustomBase.RMapBase.NonEmpty<K, V, SortedMap.Types>,
Omit<SortedMap<K, V>, keyof CustomBase.RMapBase.NonEmpty<any, any, any>>,
Streamable.NonEmpty<readonly [K, V]> {

@@ -270,0 +264,0 @@ stream(reversed?: boolean): Stream.NonEmpty<readonly [K, V]>;

@@ -135,5 +135,2 @@ import type { CustomBase, RSet } from '@rimbu/collection-types';

export namespace SortedSet {
type NonEmptyBase<T> = CustomBase.RSetBase.NonEmpty<T, SortedSet.Types> &
SortedSet<T>;
/**

@@ -146,3 +143,6 @@ * A non-empty type-invariant immutable Set of value type T.

*/
export interface NonEmpty<T> extends NonEmptyBase<T>, Streamable.NonEmpty<T> {
export interface NonEmpty<T>
extends CustomBase.RSetBase.NonEmpty<T, SortedSet.Types>,
Omit<SortedSet<T>, keyof CustomBase.RSetBase.NonEmpty<any, any>>,
Streamable.NonEmpty<T> {
stream(reversed?: boolean): Stream.NonEmpty<T>;

@@ -149,0 +149,0 @@ /**

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