Big News: Socket Selected for OpenAI's Cybersecurity Grant Program.Details
Socket
Book a DemoSign in
Socket

@rimbu/collection-types

Package Overview
Dependencies
Maintainers
1
Versions
63
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.5.11
to
0.6.0
+1
-1
dist/main/set/base.js.map

@@ -1,1 +0,1 @@

{"version":3,"file":"base.js","sourceRoot":"","sources":["../../../src/set/base.ts"],"names":[],"mappings":";;;AACA,wCAA+E;AAoP/E,IAAiB,QAAQ,CA6PxB;AA7PD,WAAiB,QAAQ;IAoMvB;QAAA;YAAA,iBAwDC;YAtCC,UAAK,GAAG;gBACN,OAAO,KAAI,CAAC,MAAM,CAAC;YACrB,CAAC,CAAC;YAEF,SAAI,GAAQ;gBACV,iBAA0C;qBAA1C,UAA0C,EAA1C,qBAA0C,EAA1C,IAA0C;oBAA1C,4BAA0C;;gBAE1C,IAAI,OAAO,GAAG,KAAI,CAAC,OAAO,EAAK,CAAC;gBAEhC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC;gBACX,IAAM,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;gBAE9B,OAAO,EAAE,CAAC,GAAG,MAAM,EAAE;oBACnB,IAAM,MAAM,GAAG,OAAO,CAAC,CAAC,CAAC,CAAC;oBAE1B,IAAI,qBAAY,CAAC,eAAe,CAAC,MAAM,CAAC;wBAAE,SAAS;oBAEnD,IACE,OAAO,CAAC,OAAO;wBACf,KAAI,CAAC,kBAAkB,CAAI,MAAM,CAAC;wBAClC,MAAM,CAAC,OAAO,KAAK,KAAI,EACvB;wBACA,IAAI,CAAC,KAAK,MAAM,GAAG,CAAC;4BAAE,OAAO,MAAM,CAAC;wBACpC,OAAO,GAAG,MAAM,CAAC,SAAS,EAAE,CAAC;wBAC7B,SAAS;qBACV;oBAED,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;iBACxB;gBAED,OAAO,OAAO,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BACnB,MAAM,MAAM,GAAG,OAAO,CAAC,CAAC,CAAC,CAAC;oBAE1B,IAAI,YAAY,CAAC,eAAe,CAAC,MAAM,CAAC;wBAAE,SAAS;oBAEnD,IACE,OAAO,CAAC,OAAO;wBACf,IAAI,CAAC,kBAAkB,CAAI,MAAM,CAAC;wBAClC,MAAM,CAAC,OAAO,KAAK,IAAI,EACvB;wBACA,IAAI,CAAC,KAAK,MAAM,GAAG,CAAC;4BAAE,OAAO,MAAM,CAAC;wBACpC,OAAO,GAAG,MAAM,CAAC,SAAS,EAAE,CAAC;wBAC7B,SAAS;qBACV;oBAED,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;iBACxB;gBAED,OAAO,OAAO,CAAC,KAAK,EAAE,CAAC;YACzB,CAAC,CAAC;YAEF,OAAE,GAAG,CACH,GAAG,MAAwB,EACyB,EAAE;gBACtD,OAAO,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;YAC3B,CAAC,CAAC;QACJ,CAAC;QA1CC,IAAI,MAAM;YACR,OAAO,SAAgB,CAAC;QAC1B,CAAC;KAwCF;IAxDqB,oBAAW,cAwDhC,CAAA;AACH,CAAC,EA7PgB,QAAQ,KAAR,QAAQ,QA6PxB"}

@@ -1,5 +0,5 @@

import { Token } from '@rimbu/base';
import { ArrayNonEmpty, OptLazy, OptLazyOr, RelatedTo, SuperOf, ToJSON, TraverseState, Update } from '@rimbu/common';
import type { Token } from '@rimbu/base';
import type { ArrayNonEmpty, OptLazy, OptLazyOr, RelatedTo, SuperOf, ToJSON, TraverseState, Update } from '@rimbu/common';
import { FastIterable, Stream, Streamable, StreamSource } from '@rimbu/stream';
import { KeyValue, WithKeyValue } from '../custom-base';
import type { KeyValue, WithKeyValue } from '../custom-base';
export interface VariantMapBase<K, V, Tp extends VariantMapBase.Types = VariantMapBase.Types> extends FastIterable<readonly [K, V]> {

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

@@ -1,3 +0,3 @@

import { Streamable } from '@rimbu/stream';
import { RMapBase } from '../custom-base';
import type { Streamable } from '@rimbu/stream';
import type { RMapBase } from '../custom-base';
/**

@@ -4,0 +4,0 @@ * A type-invariant immutable Map of key type K, and value type V.

@@ -1,3 +0,3 @@

import { Streamable } from '@rimbu/stream';
import { VariantMapBase } from '../custom-base';
import type { Streamable } from '@rimbu/stream';
import type { VariantMapBase } from '../custom-base';
/**

@@ -4,0 +4,0 @@ * A type-variant immutable Map of key type K, and value type V.

@@ -1,4 +0,4 @@

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

@@ -5,0 +5,0 @@ /**

@@ -1,3 +0,3 @@

import { Streamable } from '@rimbu/stream';
import { RSetBase } from '../custom-base';
import type { Streamable } from '@rimbu/stream';
import type { RSetBase } from '../custom-base';
/**

@@ -4,0 +4,0 @@ * A type-invariant immutable Set of value type T.

@@ -1,3 +0,3 @@

import { Streamable } from '@rimbu/stream';
import { VariantSetBase } from '../custom-base';
import type { Streamable } from '@rimbu/stream';
import type { VariantSetBase } from '../custom-base';
/**

@@ -4,0 +4,0 @@ * A type-variant immutable Set of value type T.

@@ -1,4 +0,4 @@

import { CollectFun } from '@rimbu/common';
import { Stream, StreamSource } from '@rimbu/stream';
import { WithElem, WithKeyValue, WithRow } from '../custom-base';
import type { CollectFun } from '@rimbu/common';
import type { Stream, StreamSource } from '@rimbu/stream';
import type { WithElem, WithKeyValue, WithRow } from '../custom-base';
/**

@@ -5,0 +5,0 @@ * Returns the result of converting given `source` immutable collection to a builder, applying given `f` function

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

@@ -40,2 +40,3 @@ "keywords": [

"build": "yarn clean && yarn bundle",
"build:deno": "rimraf deno_dist ../../deno_dist/collection-types && denoify && cp ../../config/mod_ts_template deno_dist/mod.ts && mv deno_dist ../../deno_dist/collection-types",
"bundle": "yarn bundle:main && yarn bundle:module && yarn bundle:types",

@@ -55,5 +56,5 @@ "bundle:main": "tsc --p tsconfig.main.json",

"dependencies": {
"@rimbu/base": "^0.5.9",
"@rimbu/common": "^0.5.9",
"@rimbu/stream": "^0.5.11"
"@rimbu/base": "^0.6.0",
"@rimbu/common": "^0.6.0",
"@rimbu/stream": "^0.6.0"
},

@@ -63,3 +64,6 @@ "publishConfig": {

},
"gitHead": "0158eaad0dec4503e92cb308af952869d68faad5"
"denoify": {
"replacer": "../../config/denoify-rimbu-replacer.js"
},
"gitHead": "dbcaad0cb6b1e31ffa64ca2739b9ddb0fc178ebc"
}
<p align="center">
<img src="../../assets/rimbu_logo.svg" />
<img src="https://github.com/rimbu-org/rimbu/raw/main/assets/rimbu_logo.svg" />
</p>

@@ -11,2 +11,4 @@

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.
## Installation

@@ -30,5 +32,3 @@

{
// ...
"compilerOptions": {
// ...
"skipLibCheck": true,

@@ -35,0 +35,0 @@ "noStrictGenericChecks": true

@@ -1,3 +0,3 @@

import { Token } from '@rimbu/base';
import {
import type { Token } from '@rimbu/base';
import type {
ArrayNonEmpty,

@@ -13,3 +13,3 @@ OptLazy,

import { FastIterable, Stream, Streamable, StreamSource } from '@rimbu/stream';
import { KeyValue, WithKeyValue } from '../custom-base';
import type { KeyValue, WithKeyValue } from '../custom-base';

@@ -16,0 +16,0 @@ export interface VariantMapBase<

@@ -1,3 +0,3 @@

import { Streamable } from '@rimbu/stream';
import { RMapBase } from '../custom-base';
import type { Streamable } from '@rimbu/stream';
import type { RMapBase } from '../custom-base';

@@ -4,0 +4,0 @@ /**

@@ -1,3 +0,3 @@

import { Streamable } from '@rimbu/stream';
import { VariantMapBase } from '../custom-base';
import type { Streamable } from '@rimbu/stream';
import type { VariantMapBase } from '../custom-base';

@@ -4,0 +4,0 @@ /**

@@ -1,4 +0,9 @@

import { ArrayNonEmpty, RelatedTo, ToJSON, TraverseState } from '@rimbu/common';
import type {
ArrayNonEmpty,
RelatedTo,
ToJSON,
TraverseState,
} from '@rimbu/common';
import { FastIterable, Stream, Streamable, StreamSource } from '@rimbu/stream';
import { Elem, WithElem } from '../custom-base';
import type { Elem, WithElem } from '../custom-base';

@@ -5,0 +10,0 @@ export interface VariantSetBase<

@@ -1,3 +0,3 @@

import { Streamable } from '@rimbu/stream';
import { RSetBase } from '../custom-base';
import type { Streamable } from '@rimbu/stream';
import type { RSetBase } from '../custom-base';

@@ -4,0 +4,0 @@ /**

@@ -1,3 +0,3 @@

import { Streamable } from '@rimbu/stream';
import { VariantSetBase } from '../custom-base';
import type { Streamable } from '@rimbu/stream';
import type { VariantSetBase } from '../custom-base';

@@ -4,0 +4,0 @@ /**

@@ -1,4 +0,4 @@

import { CollectFun } from '@rimbu/common';
import { Stream, StreamSource } from '@rimbu/stream';
import { WithElem, WithKeyValue, WithRow } from '../custom-base';
import type { CollectFun } from '@rimbu/common';
import type { Stream, StreamSource } from '@rimbu/stream';
import type { WithElem, WithKeyValue, WithRow } from '../custom-base';

@@ -5,0 +5,0 @@ /**