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

@signalk/nmea0183-signalk

Package Overview
Dependencies
Maintainers
5
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@signalk/nmea0183-signalk - npm Package Compare versions

Comparing version 3.10.0 to 3.10.1

2

hooks/ZDA.js

@@ -73,3 +73,3 @@ /*

const second = (parts[0] || '').substring(4, 6)
const milliSecond = (parts[0].substring(4) % second)*1000
const milliSecond = (parts[0].substring(4) % 1)*1000
const d = new Date(Date.UTC(year, month, day, hour, minute, second, milliSecond ))

@@ -76,0 +76,0 @@ const ts = d.toISOString();

{
"name": "@signalk/nmea0183-signalk",
"version": "3.10.0",
"version": "3.10.1",
"description": "A node.js/javascript parser for NMEA0183 sentences. Sentences are parsed to Signal K format.",

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

@@ -36,2 +36,8 @@ /**

})
it('Doesn\t choke when the number of seconds is 0', () => {
const delta = new Parser().parse("$IIZDA,085400,22,07,2021,,*50")
delta.updates[0].values.should.contain.an.item.with.property('path', 'navigation.datetime')
delta.updates[0].values.should.contain.an.item.with.property('value', '2021-07-22T08:54:00.000Z')
})
})
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