New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

dgram-as-promised

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dgram-as-promised - npm Package Compare versions

Comparing version 5.0.0 to 5.0.1

6

CHANGELOG.md
# Changelog
## v5.0.1 2020-10-16
- Library works without enabled `"esModuleInterop"` options. Fixes #38.
## v5.0.0 2020-10-16

@@ -16,3 +20,3 @@

## v3.0.2 2019-10-08
## v3.0.3 2019-10-08

@@ -19,0 +23,0 @@ - Use `mocha-steps` and `cross-env` for testing.

4

lib/dgram-as-promised.js

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

const tslib_1 = require("tslib");
const dgram_1 = tslib_1.__importDefault(require("dgram"));
const dgram = tslib_1.__importStar(require("dgram"));
const socket_as_promised_1 = require("./socket-as-promised");

@@ -16,3 +16,3 @@ class DgramAsPromised {

}
const dgramModule = options.dgram || dgram_1.default;
const dgramModule = options.dgram || dgram;
return new socket_as_promised_1.SocketAsPromised(dgramModule.createSocket(options, callback));

@@ -19,0 +19,0 @@ }

/// <reference types="node" />
import dgram from "dgram";
import * as dgram from "dgram";
import type { BindOptions, RemoteInfo, Socket, SocketOptions } from "dgram";

@@ -4,0 +4,0 @@ import type { AddressInfo } from "net";

{
"name": "dgram-as-promised",
"version": "5.0.0",
"version": "5.0.1",
"description": "Promisify dgram module",

@@ -5,0 +5,0 @@ "main": "lib/dgram-as-promised.js",

/// <reference types="node" />
import dgram from "dgram"
import * as dgram from "dgram"
import type {RemoteInfo, SocketType} from "dgram"

@@ -5,0 +5,0 @@ import {SocketAsPromised} from "./socket-as-promised"

/// <reference types="node" />
import dgram from "dgram"
import * as dgram from "dgram"
import type {BindOptions, RemoteInfo, Socket, SocketOptions} from "dgram"

@@ -5,0 +5,0 @@ import type {AddressInfo} from "net"

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