@rimbu/graph
Advanced tools
Comparing version 0.9.1 to 0.9.2
@@ -6,3 +6,3 @@ "use strict"; | ||
var custom_1 = require("@rimbu/graph/custom"); | ||
var stream_1 = require("@rimbu/stream"); | ||
var custom_2 = require("@rimbu/stream/custom"); | ||
var GraphContext = /** @class */ (function () { | ||
@@ -28,3 +28,3 @@ function GraphContext(isDirected, typeTag, linkMapContext, linkConnectionsContext) { | ||
var source = sources[i]; | ||
if (stream_1.StreamSource.isEmptyInstance(source)) | ||
if ((0, custom_2.isEmptyStreamSourceInstance)(source)) | ||
continue; | ||
@@ -31,0 +31,0 @@ if (builder.isEmpty && |
@@ -6,3 +6,3 @@ "use strict"; | ||
var custom_1 = require("@rimbu/graph/custom"); | ||
var stream_1 = require("@rimbu/stream"); | ||
var custom_2 = require("@rimbu/stream/custom"); | ||
var ValuedGraphContext = /** @class */ (function () { | ||
@@ -28,3 +28,3 @@ function ValuedGraphContext(isDirected, typeTag, linkMapContext, linkConnectionsContext) { | ||
var source = sources[i]; | ||
if (stream_1.StreamSource.isEmptyInstance(source)) | ||
if ((0, custom_2.isEmptyStreamSourceInstance)(source)) | ||
continue; | ||
@@ -31,0 +31,0 @@ if (builder.isEmpty && |
import { Reducer } from '@rimbu/common'; | ||
import { GraphBuilder, GraphEmpty, GraphNonEmpty, } from '@rimbu/graph/custom'; | ||
import { StreamSource } from '@rimbu/stream'; | ||
import { isEmptyStreamSourceInstance } from '@rimbu/stream/custom'; | ||
export class GraphContext { | ||
@@ -19,3 +19,3 @@ constructor(isDirected, typeTag, linkMapContext, linkConnectionsContext) { | ||
const source = sources[i]; | ||
if (StreamSource.isEmptyInstance(source)) | ||
if (isEmptyStreamSourceInstance(source)) | ||
continue; | ||
@@ -22,0 +22,0 @@ if (builder.isEmpty && |
import { Reducer } from '@rimbu/common'; | ||
import { ValuedGraphBuilder, ValuedGraphEmpty, ValuedGraphNonEmpty, } from '@rimbu/graph/custom'; | ||
import { StreamSource } from '@rimbu/stream'; | ||
import { isEmptyStreamSourceInstance } from '@rimbu/stream/custom'; | ||
export class ValuedGraphContext { | ||
@@ -19,3 +19,3 @@ constructor(isDirected, typeTag, linkMapContext, linkConnectionsContext) { | ||
const source = sources[i]; | ||
if (StreamSource.isEmptyInstance(source)) | ||
if (isEmptyStreamSourceInstance(source)) | ||
continue; | ||
@@ -22,0 +22,0 @@ if (builder.isEmpty && |
import { GraphBase, GraphElement, WithGraphValues } from '@rimbu/graph/custom'; | ||
import { StreamSource } from '@rimbu/stream'; | ||
import type { StreamSource } from '@rimbu/stream'; | ||
export interface GraphTypesContextImpl extends GraphBase.Types { | ||
@@ -4,0 +4,0 @@ readonly context: GraphContext<this['_N'], string, boolean>; |
import { ValuedGraphBase, ValuedGraphElement, WithGraphValues } from '@rimbu/graph/custom'; | ||
import { StreamSource } from '@rimbu/stream'; | ||
import type { StreamSource } from '@rimbu/stream'; | ||
export interface ValuedGraphTypesContextImpl extends ValuedGraphBase.Types { | ||
@@ -4,0 +4,0 @@ readonly context: ValuedGraphContext<this['_N'], string>; |
{ | ||
"name": "@rimbu/graph", | ||
"version": "0.9.1", | ||
"version": "0.9.2", | ||
"description": "Immutable Graph data structures for TypeScript", | ||
@@ -68,7 +68,7 @@ "keywords": [ | ||
"dependencies": { | ||
"@rimbu/collection-types": "^0.9.1", | ||
"@rimbu/collection-types": "^0.9.2", | ||
"@rimbu/common": "^0.9.0", | ||
"@rimbu/hashed": "^0.8.1", | ||
"@rimbu/sorted": "^0.9.1", | ||
"@rimbu/stream": "^0.10.1", | ||
"@rimbu/hashed": "^0.8.2", | ||
"@rimbu/sorted": "^0.9.2", | ||
"@rimbu/stream": "^0.10.2", | ||
"tslib": "^2.3.1" | ||
@@ -83,3 +83,3 @@ }, | ||
}, | ||
"gitHead": "0474974142d1aa81cc6d9e746010bcd6dba60265" | ||
"gitHead": "7271174e99229284224cef3489d3e80bddb305d0" | ||
} |
@@ -11,3 +11,4 @@ import type { ArrayNonEmpty } from '@rimbu/common'; | ||
} from '@rimbu/graph/custom'; | ||
import { StreamSource } from '@rimbu/stream'; | ||
import type { StreamSource } from '@rimbu/stream'; | ||
import { isEmptyStreamSourceInstance } from '@rimbu/stream/custom'; | ||
@@ -63,3 +64,3 @@ export interface GraphTypesContextImpl extends GraphBase.Types { | ||
if (StreamSource.isEmptyInstance(source)) continue; | ||
if (isEmptyStreamSourceInstance(source)) continue; | ||
if ( | ||
@@ -66,0 +67,0 @@ builder.isEmpty && |
@@ -11,3 +11,4 @@ import type { ArrayNonEmpty } from '@rimbu/common'; | ||
} from '@rimbu/graph/custom'; | ||
import { StreamSource } from '@rimbu/stream'; | ||
import type { StreamSource } from '@rimbu/stream'; | ||
import { isEmptyStreamSourceInstance } from '@rimbu/stream/custom'; | ||
@@ -62,3 +63,3 @@ export interface ValuedGraphTypesContextImpl extends ValuedGraphBase.Types { | ||
if (StreamSource.isEmptyInstance(source)) continue; | ||
if (isEmptyStreamSourceInstance(source)) continue; | ||
if ( | ||
@@ -65,0 +66,0 @@ builder.isEmpty && |
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
652312
12490
Updated@rimbu/hashed@^0.8.2
Updated@rimbu/sorted@^0.9.2
Updated@rimbu/stream@^0.10.2