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

influx

Package Overview
Dependencies
Maintainers
3
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

influx - npm Package Compare versions

Comparing version 5.6.1 to 5.6.2

6

lib/src/grammar/times.js

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

function toNanoDate(timestamp) {
const date = new Date(Math.floor(Number(timestamp) / nsPer.ms));
const secs = Math.floor(Number(timestamp) / nsPer.s);
const remainingNs = timestamp.slice(String(secs).length);
const remainingMs = Number(remainingNs) / nsPer.ms;
const date = new Date(0);
date.setUTCSeconds(secs, remainingMs);
date._nanoTime = timestamp;

@@ -195,0 +199,0 @@ date.getNanoTime = nanoDateMethods.getNanoTimeFromStamp;

2

package.json
{
"name": "influx",
"version": "5.6.1",
"version": "5.6.2",
"description": "InfluxDB Client",

@@ -5,0 +5,0 @@ "main": "./lib/src/index.js",

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