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

node-opcua-date-time

Package Overview
Dependencies
Maintainers
1
Versions
130
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-opcua-date-time - npm Package Compare versions

Comparing version 2.71.0 to 2.73.0

1

dist/date_time.d.ts

@@ -37,3 +37,4 @@ export interface DateWithPicoseconds extends Date {

export declare function coerceClock(timestamp: undefined | null | DateWithPicoseconds | Date, picoseconds?: number): PreciseClock;
export declare const minDate: Date;
export declare const minOPCUADate: Date;
export declare function isMinDate(date?: Date | null): boolean;

8

dist/date_time.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.isMinDate = exports.minOPCUADate = exports.coerceClock = exports.getCurrentClock = exports.uninstallPeriodicClockAdjustment = exports.installPeriodicClockAdjustment = exports.periodicClockAdjustment = exports.getCurrentClockWithJavascriptDate = exports.bn_hundredNanoSecondFrom1601ToDate = exports.bn_dateToHundredNanoSecondFrom1601Excess = exports.bn_dateToHundredNanoSecondFrom1601 = exports.offsetFactor1601 = void 0;
exports.isMinDate = exports.minOPCUADate = exports.minDate = exports.coerceClock = exports.getCurrentClock = exports.uninstallPeriodicClockAdjustment = exports.installPeriodicClockAdjustment = exports.periodicClockAdjustment = exports.getCurrentClockWithJavascriptDate = exports.bn_hundredNanoSecondFrom1601ToDate = exports.bn_dateToHundredNanoSecondFrom1601Excess = exports.bn_dateToHundredNanoSecondFrom1601 = exports.offsetFactor1601 = void 0;
/**

@@ -197,8 +197,8 @@ * @module node-opcua-date-time

exports.coerceClock = coerceClock;
const minDate = new Date(Date.UTC(1601, 0, 1, 0, 0, 0));
exports.minOPCUADate = minDate;
exports.minDate = new Date(Date.UTC(1601, 0, 1, 0, 0, 0));
exports.minOPCUADate = exports.minDate;
function isMinDate(date) {
return !date || date.getTime() === minDate.getTime();
return !date || date.getTime() === exports.minDate.getTime();
}
exports.isMinDate = isMinDate;
//# sourceMappingURL=date_time.js.map

@@ -0,0 +0,0 @@ import { BinaryStream, OutputBinaryStream } from "node-opcua-binary-stream";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ /**

@@ -0,0 +0,0 @@ "use strict";

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

"types": "./dist/index.d.ts",
"version": "2.71.0",
"version": "2.73.0",
"description": "pure nodejs OPCUA SDK - module -date-time",

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

"node-opcua-benchmarker": "2.71.0",
"node-opcua-binary-stream": "2.71.0",
"node-opcua-binary-stream": "2.73.0",
"node-opcua-debug": "2.71.0",

@@ -41,3 +41,3 @@ "should": "^13.2.3"

"homepage": "http://node-opcua.github.io/",
"gitHead": "10f7cc1e1cd30dfef75adad9cb709a78401fabf3"
"gitHead": "b23a87c1ef777c0d8b680f45ee77e2a319feb092"
}

@@ -227,5 +227,5 @@ /**

}
export const minDate = new Date(Date.UTC(1601, 0, 1, 0, 0, 0));
const minDate = new Date(Date.UTC(1601, 0, 1, 0, 0, 0));
export const minOPCUADate = minDate;

@@ -232,0 +232,0 @@

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