Socket
Socket
Sign inDemoInstall

@dxos/async

Package Overview
Dependencies
Maintainers
25
Versions
2980
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dxos/async - npm Package Compare versions

Comparing version 2.19.10-dev.957cba98 to 2.19.10-dev.9987f7cd

7

dist/src/event.js

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

exports.Event = void 0;
const debug_1 = require("@dxos/debug");
/**

@@ -240,5 +241,5 @@ * An EventEmitter variant that does not do event multiplexing and respresents a single event.

}
catch (err) {
// Throw an unhandled rejection.
void Promise.reject(err);
catch (error) {
// Stop error propagation.
(0, debug_1.throwUnhandledRejection)(error);
}

@@ -245,0 +246,0 @@ }

{
"name": "@dxos/async",
"version": "2.19.10-dev.957cba98",
"version": "2.19.10-dev.9987f7cd",
"description": "Async utils.",

@@ -21,3 +21,3 @@ "bugs": {

"dependencies": {
"@dxos/debug": "2.19.10-dev.957cba98"
"@dxos/debug": "2.19.10-dev.9987f7cd"
},

@@ -24,0 +24,0 @@ "devDependencies": {

@@ -5,2 +5,4 @@ //

import { throwUnhandledRejection } from '@dxos/debug';
// TODO(burdon): Rename (don't have both "event" and "events" files). Deprecate "events"?

@@ -280,5 +282,5 @@

listener(data);
} catch (err) {
// Throw an unhandled rejection.
void Promise.reject(err);
} catch (error: any) {
// Stop error propagation.
throwUnhandledRejection(error);
}

@@ -285,0 +287,0 @@ }

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