@rimbu/graph-arrow-valued
Advanced tools
Comparing version 0.7.6 to 0.8.0
@@ -1,2 +0,1 @@ | ||
import type { RMap } from '@rimbu/collection-types'; | ||
import type { OmitStrong } from '@rimbu/common'; | ||
@@ -53,7 +52,7 @@ import { ValuedGraphElement } from '@rimbu/graph'; | ||
readonly builder: ArrowValuedGraphHashed.Builder<this['_N'], this['_V']>; | ||
readonly linkMap: HashMap<this['_N'], HashMap<this['_N'], this['_V']>> & HashMap<this['_N'], RMap<this['_N'], this['_V']>>; | ||
readonly linkMapNonEmpty: HashMap.NonEmpty<this['_N'], HashMap<this['_N'], this['_V']>> & HashMap.NonEmpty<this['_N'], RMap<this['_N'], this['_V']>>; | ||
readonly linkMap: HashMap<this['_N'], HashMap<this['_N'], this['_V']>>; | ||
readonly linkMapNonEmpty: HashMap.NonEmpty<this['_N'], HashMap<this['_N'], this['_V']>>; | ||
readonly linkMapContext: HashMap.Context<this['_N']>; | ||
readonly linkConnectionsContext: HashMap.Context<this['_N']>; | ||
readonly linkMapBuilder: HashMap.Builder<this['_N'], HashMap.Builder<this['_N'], this['_V']>> & HashMap.Builder<this['_N'], RMap.Builder<this['_N'], this['_V']>>; | ||
readonly linkMapBuilder: HashMap.Builder<this['_N'], HashMap.Builder<this['_N'], this['_V']>>; | ||
readonly linkConnectionsBuilder: HashMap.Builder<this['_N'], this['_V']>; | ||
@@ -60,0 +59,0 @@ readonly linkConnections: HashMap<this['_N'], this['_V']>; |
@@ -1,2 +0,1 @@ | ||
import type { RMap } from '@rimbu/collection-types'; | ||
import type { OmitStrong } from '@rimbu/common'; | ||
@@ -53,7 +52,7 @@ import { ValuedGraphElement } from '@rimbu/graph'; | ||
readonly builder: ArrowValuedGraphSorted.Builder<this['_N'], this['_V']>; | ||
readonly linkMap: SortedMap<this['_N'], SortedMap<this['_N'], this['_V']>> & SortedMap<this['_N'], RMap<this['_N'], this['_V']>>; | ||
readonly linkMapNonEmpty: SortedMap.NonEmpty<this['_N'], SortedMap<this['_N'], this['_V']>> & SortedMap.NonEmpty<this['_N'], RMap<this['_N'], this['_V']>>; | ||
readonly linkMap: SortedMap<this['_N'], SortedMap<this['_N'], this['_V']>>; | ||
readonly linkMapNonEmpty: SortedMap.NonEmpty<this['_N'], SortedMap<this['_N'], this['_V']>>; | ||
readonly linkMapContext: SortedMap.Context<this['_N']>; | ||
readonly linkConnectionsContext: SortedMap.Context<this['_N']>; | ||
readonly linkMapBuilder: SortedMap.Builder<this['_N'], SortedMap.Builder<this['_N'], this['_V']>> & SortedMap.Builder<this['_N'], RMap.Builder<this['_N'], this['_V']>>; | ||
readonly linkMapBuilder: SortedMap.Builder<this['_N'], SortedMap.Builder<this['_N'], this['_V']>>; | ||
readonly linkConnectionsBuilder: SortedMap.Builder<this['_N'], this['_V']>; | ||
@@ -60,0 +59,0 @@ readonly linkConnections: SortedMap<this['_N'], this['_V']>; |
{ | ||
"name": "@rimbu/graph-arrow-valued", | ||
"version": "0.7.6", | ||
"version": "0.8.0", | ||
"description": "Immutable Graph data structures for TypeScript", | ||
@@ -63,8 +63,8 @@ "keywords": [ | ||
"dependencies": { | ||
"@rimbu/collection-types": "^0.7.5", | ||
"@rimbu/common": "^0.7.5", | ||
"@rimbu/graph": "^0.7.6", | ||
"@rimbu/hashed": "^0.6.8", | ||
"@rimbu/sorted": "^0.7.2", | ||
"@rimbu/stream": "^0.7.5", | ||
"@rimbu/collection-types": "^0.8.0", | ||
"@rimbu/common": "^0.8.0", | ||
"@rimbu/graph": "^0.8.0", | ||
"@rimbu/hashed": "^0.7.0", | ||
"@rimbu/sorted": "^0.8.0", | ||
"@rimbu/stream": "^0.8.0", | ||
"tslib": "^2.3.1" | ||
@@ -78,3 +78,3 @@ }, | ||
}, | ||
"gitHead": "20739fd0c0d5c565eeecd3e266dd51f893e8d67c" | ||
"gitHead": "c321aa32b1c5fd8ca8b7fb1c26bd4f7bbf3ef70d" | ||
} |
@@ -61,15 +61,2 @@ <p align="center"> | ||
## Recommended `tsconfig.json` settings | ||
Rimbu uses advanced and recursive typing, potentially making the TypeScript compiler quite slow in some cases, or causing infinite recursion. It is recommended to set the following values in the `tsconfig.json` file of your project: | ||
```json | ||
{ | ||
"compilerOptions": { | ||
"skipLibCheck": true, | ||
"noStrictGenericChecks": true | ||
} | ||
} | ||
``` | ||
## Author | ||
@@ -76,0 +63,0 @@ |
@@ -1,2 +0,1 @@ | ||
import type { RMap } from '@rimbu/collection-types'; | ||
import type { OmitStrong } from '@rimbu/common'; | ||
@@ -65,9 +64,7 @@ import { ValuedGraphCustom, ValuedGraphElement } from '@rimbu/graph'; | ||
readonly builder: ArrowValuedGraphHashed.Builder<this['_N'], this['_V']>; | ||
readonly linkMap: HashMap<this['_N'], HashMap<this['_N'], this['_V']>> & | ||
HashMap<this['_N'], RMap<this['_N'], this['_V']>>; | ||
readonly linkMap: HashMap<this['_N'], HashMap<this['_N'], this['_V']>>; | ||
readonly linkMapNonEmpty: HashMap.NonEmpty< | ||
this['_N'], | ||
HashMap<this['_N'], this['_V']> | ||
> & | ||
HashMap.NonEmpty<this['_N'], RMap<this['_N'], this['_V']>>; | ||
>; | ||
readonly linkMapContext: HashMap.Context<this['_N']>; | ||
@@ -78,4 +75,3 @@ readonly linkConnectionsContext: HashMap.Context<this['_N']>; | ||
HashMap.Builder<this['_N'], this['_V']> | ||
> & | ||
HashMap.Builder<this['_N'], RMap.Builder<this['_N'], this['_V']>>; | ||
>; | ||
readonly linkConnectionsBuilder: HashMap.Builder<this['_N'], this['_V']>; | ||
@@ -86,10 +82,2 @@ readonly linkConnections: HashMap<this['_N'], this['_V']>; | ||
interface TypesImpl extends ArrowValuedGraphHashed.Types { | ||
readonly context: ValuedGraphCustom.ValuedGraphContext< | ||
this['_N'], | ||
'ArrowValuedGraphHashed', | ||
any | ||
>; | ||
} | ||
function createContext<UN>(options?: { | ||
@@ -102,3 +90,3 @@ linkMapContext?: HashMap.Context<UN>; | ||
'ArrowValuedGraphHashed', | ||
TypesImpl | ||
any | ||
>( | ||
@@ -105,0 +93,0 @@ true, |
@@ -1,2 +0,1 @@ | ||
import type { RMap } from '@rimbu/collection-types'; | ||
import type { OmitStrong } from '@rimbu/common'; | ||
@@ -65,9 +64,7 @@ import { ValuedGraphCustom, ValuedGraphElement } from '@rimbu/graph'; | ||
readonly builder: ArrowValuedGraphSorted.Builder<this['_N'], this['_V']>; | ||
readonly linkMap: SortedMap<this['_N'], SortedMap<this['_N'], this['_V']>> & | ||
SortedMap<this['_N'], RMap<this['_N'], this['_V']>>; | ||
readonly linkMap: SortedMap<this['_N'], SortedMap<this['_N'], this['_V']>>; | ||
readonly linkMapNonEmpty: SortedMap.NonEmpty< | ||
this['_N'], | ||
SortedMap<this['_N'], this['_V']> | ||
> & | ||
SortedMap.NonEmpty<this['_N'], RMap<this['_N'], this['_V']>>; | ||
>; | ||
readonly linkMapContext: SortedMap.Context<this['_N']>; | ||
@@ -78,4 +75,3 @@ readonly linkConnectionsContext: SortedMap.Context<this['_N']>; | ||
SortedMap.Builder<this['_N'], this['_V']> | ||
> & | ||
SortedMap.Builder<this['_N'], RMap.Builder<this['_N'], this['_V']>>; | ||
>; | ||
readonly linkConnectionsBuilder: SortedMap.Builder<this['_N'], this['_V']>; | ||
@@ -86,10 +82,2 @@ readonly linkConnections: SortedMap<this['_N'], this['_V']>; | ||
interface TypesImpl extends ArrowValuedGraphSorted.Types { | ||
readonly context: ValuedGraphCustom.ValuedGraphContext< | ||
this['_N'], | ||
'ArrowValuedGraphSorted', | ||
any | ||
>; | ||
} | ||
function createContext<UN>(options?: { | ||
@@ -102,3 +90,3 @@ linkMapContext?: SortedMap.Context<UN>; | ||
'ArrowValuedGraphSorted', | ||
TypesImpl | ||
any | ||
>( | ||
@@ -105,0 +93,0 @@ true, |
@@ -59,10 +59,2 @@ import type { RMap } from '@rimbu/collection-types'; | ||
interface TypesImpl extends ArrowValuedGraph.Types { | ||
readonly context: ValuedGraphCustom.ValuedGraphContext< | ||
this['_N'], | ||
string, | ||
any | ||
>; | ||
} | ||
export const ArrowValuedGraph = { | ||
@@ -83,3 +75,3 @@ /** | ||
'ArrowValuedGraph', | ||
TypesImpl | ||
any | ||
>( | ||
@@ -86,0 +78,0 @@ true, |
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
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
49955
826
80
+ Added@rimbu/base@0.7.2(transitive)
+ Added@rimbu/collection-types@0.8.3(transitive)
+ Added@rimbu/common@0.8.2(transitive)
+ Added@rimbu/graph@0.8.4(transitive)
+ Added@rimbu/hashed@0.7.4(transitive)
+ Added@rimbu/list@0.9.0(transitive)
+ Added@rimbu/sorted@0.8.3(transitive)
+ Added@rimbu/stream@0.8.20.9.0(transitive)
- Removed@rimbu/base@0.6.7(transitive)
- Removed@rimbu/collection-types@0.7.5(transitive)
- Removed@rimbu/common@0.7.5(transitive)
- Removed@rimbu/graph@0.7.6(transitive)
- Removed@rimbu/hashed@0.6.8(transitive)
- Removed@rimbu/list@0.7.5(transitive)
- Removed@rimbu/sorted@0.7.2(transitive)
- Removed@rimbu/stream@0.7.5(transitive)
Updated@rimbu/common@^0.8.0
Updated@rimbu/graph@^0.8.0
Updated@rimbu/hashed@^0.7.0
Updated@rimbu/sorted@^0.8.0
Updated@rimbu/stream@^0.8.0