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

node-opcua-hostname

Package Overview
Dependencies
Maintainers
1
Versions
73
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-opcua-hostname - npm Package Compare versions

Comparing version 2.120.0 to 2.128.0

11

dist/hostname.js

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

Object.defineProperty(exports, "__esModule", { value: true });
exports.resolveFullyQualifiedDomainName = exports.getHostname = exports.getFullyQualifiedDomainName = exports.prepareFQDN = exports.extractFullyQualifiedDomainName = void 0;
exports.extractFullyQualifiedDomainName = extractFullyQualifiedDomainName;
exports.prepareFQDN = prepareFQDN;
exports.getFullyQualifiedDomainName = getFullyQualifiedDomainName;
exports.getHostname = getHostname;
exports.resolveFullyQualifiedDomainName = resolveFullyQualifiedDomainName;
/**

@@ -66,7 +70,5 @@ * @module node-opcua-hostname

}
exports.extractFullyQualifiedDomainName = extractFullyQualifiedDomainName;
async function prepareFQDN() {
_fullyQualifiedDomainNameInCache = await extractFullyQualifiedDomainName();
}
exports.prepareFQDN = prepareFQDN;
function getFullyQualifiedDomainName(optional_max_length) {

@@ -78,7 +80,5 @@ if (!_fullyQualifiedDomainNameInCache) {

}
exports.getFullyQualifiedDomainName = getFullyQualifiedDomainName;
function getHostname() {
return os_1.default.hostname();
}
exports.getHostname = getHostname;
function resolveFullyQualifiedDomainName(str) {

@@ -93,5 +93,4 @@ if (!_fullyQualifiedDomainNameInCache) {

}
exports.resolveFullyQualifiedDomainName = resolveFullyQualifiedDomainName;
// note : under windows ... echo %COMPUTERNAME%.%USERDNSDOMAIN%
prepareFQDN();
//# sourceMappingURL=hostname.js.map

@@ -5,3 +5,3 @@ {

"types": "./dist/index.d.ts",
"version": "2.120.0",
"version": "2.128.0",
"description": "pure nodejs OPCUA SDK - module hostname",

@@ -14,5 +14,2 @@ "scripts": {

},
"devDependencies": {
"should": "^13.2.3"
},
"author": "Etienne Rossignon",

@@ -33,3 +30,3 @@ "license": "MIT",

"homepage": "http://node-opcua.github.io/",
"gitHead": "f4ae243bb61ba7af4c019a3cfe76dfc0f6427983",
"gitHead": "67a73af6b831d8651a0e66ceb295f159cab4386b",
"files": [

@@ -36,0 +33,0 @@ "dist",

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