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

node-opcua-utils

Package Overview
Dependencies
Maintainers
1
Versions
129
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-opcua-utils - npm Package Compare versions

Comparing version 0.1.0-alpha.dc0cce4c to 0.1.1-0

LICENSE

2

index.js
"use strict";
/**
* @module opcua.datamodel
* @module opcua.utils
*/

@@ -5,0 +5,0 @@

{
"name": "node-opcua-utils",
"version": "0.1.0-alpha.dc0cce4c",
"description": "",
"main": "index.js",
"scripts": {
"test": "mocha test"
},
"dependencies": {
"node-opcua-assert": "^0.1.0-alpha.dc0cce4c",
"underscore": "^1.8.3"
},
"devDependencies": {
"should": "^13.0.1",
"sinon": "^3.2.1"
},
"author": "etienne.rossignon@gadz.org",
"license": "MIT"
"name": "node-opcua-utils",
"version": "0.1.1-0",
"description": "pure nodejs OPCUA SDK - module -utils",
"main": "index.js",
"scripts": {
"test": "mocha test"
},
"dependencies": {
"node-opcua-assert": "^0.1.1-0",
"underscore": "^1.8.3"
},
"devDependencies": {
"should": "13.2.0",
"sinon": "^4.1.3"
},
"author": "Etienne Rossignon",
"license": "MIT",
"repository": {
"type": "git",
"url": "git://github.com/node-opcua/node-opcua.git"
},
"keywords": [
"OPCUA",
"opcua",
"m2m",
"iot",
"opc ua",
"internet of things"
],
"homepage": "http://node-opcua.github.io/"
}
"use strict";
exports.constructFilename = function (filename) {
throw new Error("constructFilename has been deprecated ! use node-opcua-nodesets.constructNodesetFilename or ....");
throw new Error("constructFilename has been deprecated ! use node-opcua-nodesets.constructFilename or ....");
//xx var dirname = $_$.dirname;

@@ -6,0 +6,0 @@ //xx var file = path.join(dirname, filename);

@@ -18,4 +18,8 @@ "use strict";

LineFile.prototype.toString = function () {
return this.__line.join("\n");
};
LineFile.prototype.save = function (filename) {
fs.writeFileSync(filename, this.__line.join("\n"), "ascii");
fs.writeFileSync(filename, this.toString(), "ascii");
};

@@ -22,0 +26,0 @@

@@ -63,6 +63,8 @@ "use strict";

var self = this;
assert(self._watchDog instanceof WatchDog);
assert(_.isNumber(self._watchDogData.key));
self._watchDogData.last_seen = new Date();
if (self.onClientSeen) {
self.onClientSeen(self._watchDogData .last_seen);
}
}

@@ -110,2 +112,6 @@

if (subscriber.onClientSeen) {
subscriber.onClientSeen(subscriber._watchDogData .last_seen);
}
subscriber.keepAlive = keepAliveFunc.bind(subscriber);

@@ -112,0 +118,0 @@

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