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

gps

Package Overview
Dependencies
Maintainers
0
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gps - npm Package Compare versions

Comparing version 0.7.3 to 0.7.4

4

dist/gps.min.js
/*
GPS.js v0.7.3 10/9/2024
GPS.js v0.7.4 1/27/2025
https://raw.org/article/using-gps-with-node-js-and-javascript/
Copyright (c) 2024, Robert Eisele (https://raw.org/)
Copyright (c) 2025, Robert Eisele (https://raw.org/)
Licensed under the MIT license.

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

@@ -8,10 +8,11 @@

const SerialPort = require('serialport');
const parsers = SerialPort.parsers;
const { SerialPort } = require('serialport');
const { ReadlineParser } = require('@serialport/parser-readline');
const parser = new parsers.Readline({
const parser = new ReadlineParser({
delimiter: '\r\n'
});
const port = new SerialPort(file, {
const port = new SerialPort({
path: file,
baudRate: 4800

@@ -18,0 +19,0 @@ });

@@ -11,10 +11,11 @@

const SerialPort = require('serialport');
const parsers = SerialPort.parsers;
const { SerialPort } = require('serialport');
const { ReadlineParser } = require('@serialport/parser-readline');
const parser = new parsers.Readline({
const parser = new ReadlineParser({
delimiter: '\r\n'
});
const port = new SerialPort(file, {
const port = new SerialPort({
path: file,
baudRate: 4800

@@ -21,0 +22,0 @@ });

@@ -7,10 +7,11 @@

const SerialPort = require('serialport');
const parsers = SerialPort.parsers;
const { SerialPort } = require('serialport');
const { ReadlineParser } = require('@serialport/parser-readline');
const parser = new parsers.Readline({
const parser = new ReadlineParser({
delimiter: '\r\n'
});
const port = new SerialPort(file, {
const port = new SerialPort({
path: file,
baudRate: 4800

@@ -17,0 +18,0 @@ });

@@ -14,10 +14,11 @@

const SerialPort = require('serialport');
const parsers = SerialPort.parsers;
const { SerialPort } = require('serialport');
const { ReadlineParser } = require('@serialport/parser-readline');
const parser = new parsers.Readline({
const parser = new ReadlineParser({
delimiter: '\r\n'
});
const port = new SerialPort(file, {
const port = new SerialPort({
path: file,
baudRate: 4800

@@ -24,0 +25,0 @@ });

@@ -7,16 +7,11 @@

const SerialPort = require('serialport');
const parsers = SerialPort.parsers;
const { SerialPort } = require('serialport');
const { ReadlineParser } = require('@serialport/parser-readline');
/*
SerialPort.list(function (err, ports) {
console.log(ports);
});
*/
const parser = new parsers.Readline({
const parser = new ReadlineParser({
delimiter: '\r\n'
});
const port = new SerialPort(file, {
const port = new SerialPort({
path: file,
baudRate: 4800

@@ -23,0 +18,0 @@ });

@@ -9,10 +9,11 @@

const SerialPort = require('serialport');
const parsers = SerialPort.parsers;
const { SerialPort } = require('serialport');
const { ReadlineParser } = require('@serialport/parser-readline');
const parser = new parsers.Readline({
const parser = new ReadlineParser({
delimiter: '\r\n'
});
const port = new SerialPort(file, {
const port = new SerialPort({
path: file,
baudRate: 4800

@@ -19,0 +20,0 @@ });

@@ -8,10 +8,11 @@

const SerialPort = require('serialport');
const parsers = SerialPort.parsers;
const { SerialPort } = require('serialport');
const { ReadlineParser } = require('@serialport/parser-readline');
const parser = new parsers.Readline({
const parser = new ReadlineParser({
delimiter: '\r\n'
});
const port = new SerialPort(file, {
const port = new SerialPort({
path: file,
baudRate: 4800

@@ -18,0 +19,0 @@ });

{
"name": "gps",
"title": "GPS.js",
"version": "0.7.3",
"version": "0.7.4",
"homepage": "https://raw.org/article/using-gps-with-node-js-and-javascript/",

@@ -66,12 +66,12 @@ "bugs": "https://github.com/rawify/GPS.js/issues",

"devDependencies": {
"angles": "^0.2.4",
"angles": "^0.3.0",
"byline": "^5.0.0",
"crude-build": "^0.1.1",
"express": "^4.21.1",
"crude-build": "^0.1.2",
"express": "^4.21.2",
"kalman": "0.0.2",
"mocha": "^10.7.3",
"serialport": "^12.0.0",
"socket.io": "^4.8.0",
"mocha": "^11.1.0",
"serialport": "^13.0.0",
"socket.io": "^4.8.1",
"sylvester": "0.0.21"
}
}

@@ -53,14 +53,2 @@ ![GPS.js](https://github.com/infusion/GPS.js/blob/main/res/logo.png?raw=true "Javascript GPS Parser")

Register device on a BeagleBone
---
If you find yourself on a BeagleBone, the serial device must be registered manually. Luckily, this can be done within node quite easily using [octalbonescript](https://www.npmjs.com/package/octalbonescript):
```javascript
const obs = require('octalbonescript');
obs.serial.enable('/dev/ttyS1', () => {
console.log('serial device activated');
});
```
## Examples

@@ -367,3 +355,3 @@

Copyright (c) 2024, [Robert Eisele](https://raw.org/)
Copyright (c) 2025, [Robert Eisele](https://raw.org/)
Licensed under the MIT license.
/**
* @license GPS.js v0.7.3 10/9/2024
* @license GPS.js v0.7.4 1/27/2025
* https://raw.org/article/using-gps-with-node-js-and-javascript/
*
* Copyright (c) 2024, Robert Eisele (https://raw.org/)
* Copyright (c) 2025, Robert Eisele (https://raw.org/)
* Licensed under the MIT license.

@@ -7,0 +7,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