New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@signalk/nmea0183-utilities

Package Overview
Dependencies
Maintainers
5
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@signalk/nmea0183-utilities - npm Package Compare versions

Comparing version 0.8.0 to 0.8.1

10

index.js

@@ -184,9 +184,3 @@ 'use strict';

year = this.int(date.slice(-2));
// HACK copied from jamesp/node-nmea
if (year < 73) {
year = this.int("20" + year);
} else {
year = this.int("19" + year);
}
year = 2000 + year;
} else {

@@ -215,3 +209,3 @@ var dt = new Date();

// 4°54'34.944'' E -> 4.909706667
// S & W should be negative.
// S & W should be negative.

@@ -218,0 +212,0 @@ pole = pole.toUpperCase();

2

package.json
{
"name": "@signalk/nmea0183-utilities",
"version": "0.8.0",
"version": "0.8.1",
"description": "Various utilities for transforming NMEA0183 units into SI units for use in SK.",

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

@@ -6,3 +6,3 @@ var chai = require("chai");

describe('Timestamp', function() {
var value = utils.timestamp('220104', '171089');
var value = utils.timestamp('220104', '171019');

@@ -14,6 +14,6 @@ it('Should be a string', function(done) {

it('Should equal 1989-10-17T22:01:04.000Z', function(done) {
expect(value).to.equal('1989-10-17T22:01:04.000Z');
it('Should equal 2019-10-17T22:01:04.000Z', function(done) {
expect(value).to.equal('2019-10-17T22:01:04.000Z');
done();
});
});
});
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