Socket
Socket
Sign inDemoInstall

@dxos/util

Package Overview
Dependencies
Maintainers
9
Versions
2998
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dxos/util - npm Package Compare versions

Comparing version 2.6.21 to 2.6.22

6

dist/src/async.js

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

// TODO(marik-d): Use version from @dxos/async
exports.sink = (emitter, event, count = 1) => {
const sink = (emitter, event, count = 1) => {
let resolver;

@@ -34,4 +34,5 @@ let counter = 0;

};
exports.sink = sink;
// TODO(marik-d): Use version from @dxos/async
exports.latch = (n = 1) => {
const latch = (n = 1) => {
assert_1.default(n > 0);

@@ -52,2 +53,3 @@ let callback;

};
exports.latch = latch;
// TODO(marik-d): Use version from @dxos/async

@@ -54,0 +56,0 @@ class Trigger {

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

*/
exports.makeSet = (projection) => class BoundComplexSet extends ComplexSet {
const makeSet = (projection) => class BoundComplexSet extends ComplexSet {
constructor(values) {

@@ -76,2 +76,3 @@ super(projection, values);

};
exports.makeSet = makeSet;
/**

@@ -153,3 +154,3 @@ * A map implementation that can hold complex values (like Buffer) as keys.

*/
exports.makeMap = (keyProjection) => class BoundComplexMap extends ComplexMap {
const makeMap = (keyProjection) => class BoundComplexMap extends ComplexMap {
constructor(entries) {

@@ -159,2 +160,3 @@ super(keyProjection, entries);

};
exports.makeMap = makeMap;
//# sourceMappingURL=complex.js.map

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

exports.zeroKey = void 0;
exports.zeroKey = () => new Uint8Array(32);
const zeroKey = () => new Uint8Array(32);
exports.zeroKey = zeroKey;
//# sourceMappingURL=key.js.map

@@ -17,5 +17,6 @@ "use strict";

*/
exports.raise = (error) => {
const raise = (error) => {
throw error;
};
exports.raise = raise;
//# sourceMappingURL=raise.js.map
{
"name": "@dxos/util",
"version": "2.6.21",
"version": "2.6.22",
"description": "Utilities to be moved to other repos.",

@@ -66,3 +66,3 @@ "homepage": "https://github.com/dxos/echo/tree/master/packages/echo#readme",

},
"gitHead": "ffac8399d6f090aee041fc950077fec64e5039d4"
"gitHead": "eab7fabc737f608b9d9bce66325a08fa38cc70ce"
}

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