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

@rimbu/hashed

Package Overview
Dependencies
Maintainers
1
Versions
72
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rimbu/hashed - npm Package Compare versions

Comparing version 0.5.10-alpha.9 to 0.5.10-alpha.10

dist/main/internal-bundles.js

5

dist/main/internal.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.HashSetCustom = exports.HashMapCustom = exports.HashedCustom = void 0;
var tslib_1 = require("tslib");
exports.HashedCustom = tslib_1.__importStar(require("./hashed-custom"));
exports.HashMapCustom = tslib_1.__importStar(require("./hashmap-custom"));
exports.HashSetCustom = tslib_1.__importStar(require("./hashset-custom"));
tslib_1.__exportStar(require("./hasher"), exports);
tslib_1.__exportStar(require("./internal-bundles"), exports);
tslib_1.__exportStar(require("./map/interface"), exports);
tslib_1.__exportStar(require("./set/interface"), exports);
//# sourceMappingURL=internal.js.map

3

dist/main/map/interface.js

@@ -7,6 +7,7 @@ "use strict";

var list_1 = require("@rimbu/list");
var hashmap_custom_1 = require("../hashmap-custom");
var internal_1 = require("../internal");
function createContext(options) {
var _a, _b, _c, _d;
return new internal_1.HashMapCustom.HashMapContext((_a = options === null || options === void 0 ? void 0 : options.hasher) !== null && _a !== void 0 ? _a : internal_1.Hasher.defaultHasher(), (_b = options === null || options === void 0 ? void 0 : options.eq) !== null && _b !== void 0 ? _b : common_1.Eq.defaultEq(), (_c = options === null || options === void 0 ? void 0 : options.blockSizeBits) !== null && _c !== void 0 ? _c : 5, (_d = options === null || options === void 0 ? void 0 : options.listContext) !== null && _d !== void 0 ? _d : list_1.List.defaultContext());
return new hashmap_custom_1.HashMapContext((_a = options === null || options === void 0 ? void 0 : options.hasher) !== null && _a !== void 0 ? _a : internal_1.Hasher.defaultHasher(), (_b = options === null || options === void 0 ? void 0 : options.eq) !== null && _b !== void 0 ? _b : common_1.Eq.defaultEq(), (_c = options === null || options === void 0 ? void 0 : options.blockSizeBits) !== null && _c !== void 0 ? _c : 5, (_d = options === null || options === void 0 ? void 0 : options.listContext) !== null && _d !== void 0 ? _d : list_1.List.defaultContext());
}

@@ -13,0 +14,0 @@ var _defaultContext = createContext();

@@ -7,6 +7,7 @@ "use strict";

var list_1 = require("@rimbu/list");
var hashset_custom_1 = require("../hashset-custom");
var internal_1 = require("../internal");
function createContext(options) {
var _a, _b, _c, _d;
return new internal_1.HashSetCustom.HashSetContext((_a = options === null || options === void 0 ? void 0 : options.hasher) !== null && _a !== void 0 ? _a : internal_1.Hasher.defaultHasher(), (_b = options === null || options === void 0 ? void 0 : options.eq) !== null && _b !== void 0 ? _b : common_1.Eq.defaultEq(), (_c = options === null || options === void 0 ? void 0 : options.blockSizeBits) !== null && _c !== void 0 ? _c : 5, (_d = options === null || options === void 0 ? void 0 : options.listContext) !== null && _d !== void 0 ? _d : list_1.List.defaultContext());
return new hashset_custom_1.HashSetContext((_a = options === null || options === void 0 ? void 0 : options.hasher) !== null && _a !== void 0 ? _a : internal_1.Hasher.defaultHasher(), (_b = options === null || options === void 0 ? void 0 : options.eq) !== null && _b !== void 0 ? _b : common_1.Eq.defaultEq(), (_c = options === null || options === void 0 ? void 0 : options.blockSizeBits) !== null && _c !== void 0 ? _c : 5, (_d = options === null || options === void 0 ? void 0 : options.listContext) !== null && _d !== void 0 ? _d : list_1.List.defaultContext());
}

@@ -13,0 +14,0 @@ var _defaultContext = createContext();

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

export * as HashedCustom from './hashed-custom';
export * as HashMapCustom from './hashmap-custom';
export * as HashSetCustom from './hashset-custom';
export * from './hasher';
export * from './internal-bundles';
export * from './map/interface';
export * from './set/interface';
//# sourceMappingURL=internal.js.map
import { Eq } from '@rimbu/common';
import { List } from '@rimbu/list';
import { Hasher, HashMapCustom } from '../internal';
import { HashMapContext } from '../hashmap-custom';
import { Hasher } from '../internal';
function createContext(options) {
var _a, _b, _c, _d;
return new HashMapCustom.HashMapContext((_a = options === null || options === void 0 ? void 0 : options.hasher) !== null && _a !== void 0 ? _a : Hasher.defaultHasher(), (_b = options === null || options === void 0 ? void 0 : options.eq) !== null && _b !== void 0 ? _b : Eq.defaultEq(), (_c = options === null || options === void 0 ? void 0 : options.blockSizeBits) !== null && _c !== void 0 ? _c : 5, (_d = options === null || options === void 0 ? void 0 : options.listContext) !== null && _d !== void 0 ? _d : List.defaultContext());
return new HashMapContext((_a = options === null || options === void 0 ? void 0 : options.hasher) !== null && _a !== void 0 ? _a : Hasher.defaultHasher(), (_b = options === null || options === void 0 ? void 0 : options.eq) !== null && _b !== void 0 ? _b : Eq.defaultEq(), (_c = options === null || options === void 0 ? void 0 : options.blockSizeBits) !== null && _c !== void 0 ? _c : 5, (_d = options === null || options === void 0 ? void 0 : options.listContext) !== null && _d !== void 0 ? _d : List.defaultContext());
}

@@ -8,0 +9,0 @@ const _defaultContext = createContext();

import { Eq } from '@rimbu/common';
import { List } from '@rimbu/list';
import { Hasher, HashSetCustom } from '../internal';
import { HashSetContext } from '../hashset-custom';
import { Hasher } from '../internal';
function createContext(options) {
var _a, _b, _c, _d;
return new HashSetCustom.HashSetContext((_a = options === null || options === void 0 ? void 0 : options.hasher) !== null && _a !== void 0 ? _a : Hasher.defaultHasher(), (_b = options === null || options === void 0 ? void 0 : options.eq) !== null && _b !== void 0 ? _b : Eq.defaultEq(), (_c = options === null || options === void 0 ? void 0 : options.blockSizeBits) !== null && _c !== void 0 ? _c : 5, (_d = options === null || options === void 0 ? void 0 : options.listContext) !== null && _d !== void 0 ? _d : List.defaultContext());
return new HashSetContext((_a = options === null || options === void 0 ? void 0 : options.hasher) !== null && _a !== void 0 ? _a : Hasher.defaultHasher(), (_b = options === null || options === void 0 ? void 0 : options.eq) !== null && _b !== void 0 ? _b : Eq.defaultEq(), (_c = options === null || options === void 0 ? void 0 : options.blockSizeBits) !== null && _c !== void 0 ? _c : 5, (_d = options === null || options === void 0 ? void 0 : options.listContext) !== null && _d !== void 0 ? _d : List.defaultContext());
}

@@ -8,0 +9,0 @@ const _defaultContext = createContext();

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

export * as HashedCustom from './hashed-custom';
export * as HashMapCustom from './hashmap-custom';
export * as HashSetCustom from './hashset-custom';
export * from './hasher';
export * from './internal-bundles';
export * from './map/interface';
export * from './set/interface';
{
"name": "@rimbu/hashed",
"version": "0.5.10-alpha.9",
"version": "0.5.10-alpha.10",
"description": "Immutable HashMap and HashSet implementations for TypeScript",

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

"@rimbu/common": "^0.5.7",
"@rimbu/list": "^0.5.10-alpha.6",
"@rimbu/list": "^0.5.10-alpha.7",
"@rimbu/stream": "^0.5.10-alpha.0"

@@ -75,3 +75,3 @@ },

},
"gitHead": "4fa5ac879ecca9f956b3c200b194b35794add4cf"
"gitHead": "8fdcf99a2d533ce47bbb24b0f22718dee0c516f3"
}

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