Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@rimbu/list

Package Overview
Dependencies
Maintainers
1
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rimbu/list - npm Package Compare versions

Comparing version 0.5.10-alpha.3 to 0.5.10-alpha.4

5

dist/main/context.js

@@ -7,2 +7,3 @@ "use strict";

var stream_1 = require("@rimbu/stream");
var nonempty_base_1 = require("./implementation/nonempty-base");
var list_custom_1 = require("./list-custom");

@@ -38,3 +39,3 @@ var ListContext = /** @class */ (function () {

var source = sources[0];
if (source instanceof list_custom_1.ListNonEmptyBase && source.context === _this)
if (source instanceof nonempty_base_1.ListNonEmptyBase && source.context === _this)
return source;

@@ -48,3 +49,3 @@ }

if (!stream_1.StreamSource.isEmptyInstance(source)) {
if (source instanceof list_custom_1.ListNonEmptyBase && source.context === _this) {
if (source instanceof nonempty_base_1.ListNonEmptyBase && source.context === _this) {
if (null === result)

@@ -51,0 +52,0 @@ result = source;

4

dist/main/implementation/leaf/leaf-block.js

@@ -8,3 +8,3 @@ "use strict";

var stream_1 = require("@rimbu/stream");
var list_custom_1 = require("../../list-custom");
var nonempty_base_1 = require("../nonempty-base");
var LeafBlock = /** @class */ (function (_super) {

@@ -243,4 +243,4 @@ tslib_1.__extends(LeafBlock, _super);

return LeafBlock;
}(list_custom_1.ListNonEmptyBase));
}(nonempty_base_1.ListNonEmptyBase));
exports.LeafBlock = LeafBlock;
//# sourceMappingURL=leaf-block.js.map

@@ -8,2 +8,3 @@ "use strict";

var list_custom_1 = require("../../list-custom");
var nonempty_base_1 = require("../nonempty-base");
var LeafTree = /** @class */ (function (_super) {

@@ -265,4 +266,4 @@ tslib_1.__extends(LeafTree, _super);

return LeafTree;
}(list_custom_1.ListNonEmptyBase));
}(nonempty_base_1.ListNonEmptyBase));
exports.LeafTree = LeafTree;
//# sourceMappingURL=leaf-tree.js.map
import { RimbuError } from '@rimbu/base';
import { StreamSource } from '@rimbu/stream';
import { Empty, GenBuilder, LeafBlock, LeafBlockBuilder, LeafTree, LeafTreeBuilder, ListNonEmptyBase, NonLeafBlock, NonLeafBlockBuilder, NonLeafTree, NonLeafTreeBuilder, ReversedLeafBlock, } from './list-custom';
import { ListNonEmptyBase } from './implementation/nonempty-base';
import { Empty, GenBuilder, LeafBlock, LeafBlockBuilder, LeafTree, LeafTreeBuilder, NonLeafBlock, NonLeafBlockBuilder, NonLeafTree, NonLeafTreeBuilder, ReversedLeafBlock, } from './list-custom';
export class ListContext {

@@ -5,0 +6,0 @@ constructor(blockSizeBits) {

import { Arr, RimbuError } from '@rimbu/base';
import { IndexRange, OptLazy, TraverseState, Update, } from '@rimbu/common';
import { Stream } from '@rimbu/stream';
import { ListNonEmptyBase } from '../../list-custom';
import { ListNonEmptyBase } from '../nonempty-base';
export class LeafBlock extends ListNonEmptyBase {

@@ -6,0 +6,0 @@ constructor(context, children) {

import { RimbuError } from '@rimbu/base';
import { OptLazy, TraverseState, } from '@rimbu/common';
import { ListNonEmptyBase, treeAppend, treeForEach, treeGet, treePrepend, treeStream, treeToArray, treeUpdate, } from '../../list-custom';
import { treeAppend, treeForEach, treeGet, treePrepend, treeStream, treeToArray, treeUpdate, } from '../../list-custom';
import { ListNonEmptyBase } from '../nonempty-base';
export class LeafTree extends ListNonEmptyBase {

@@ -5,0 +6,0 @@ constructor(context, left, right, middle, length = left.length +

@@ -5,3 +5,3 @@ import { ArrayNonEmpty, IndexRange, OptLazy, TraverseState, Update } from '@rimbu/common';

import type { Block, LeafTree, ListContext } from '../../list-custom';
import { ListNonEmptyBase } from '../../list-custom';
import { ListNonEmptyBase } from '../nonempty-base';
export declare class LeafBlock<T> extends ListNonEmptyBase<T> implements Block<T, LeafBlock<T>, T> {

@@ -8,0 +8,0 @@ readonly context: ListContext;

@@ -5,3 +5,3 @@ import { ArrayNonEmpty, IndexRange, OptLazy, TraverseState, Update } from '@rimbu/common';

import type { LeafBlock, ListContext, NonLeaf, Tree } from '../../list-custom';
import { ListNonEmptyBase } from '../../list-custom';
import { ListNonEmptyBase } from '../nonempty-base';
export declare class LeafTree<T> extends ListNonEmptyBase<T> implements Tree<T, LeafTree<T>, LeafBlock<T>, T> {

@@ -8,0 +8,0 @@ readonly context: ListContext;

{
"name": "@rimbu/list",
"version": "0.5.10-alpha.3",
"version": "0.5.10-alpha.4",
"description": "An efficient immutable ordered sequence of elements akin to a Vector",

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

},
"gitHead": "3114248b2b81877c4723deeb297986a9bb0b88b0"
"gitHead": "e575d2f146d29888699c56066901f894e3434f41"
}

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

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