Comparing version 0.7.2 to 0.7.3
/* | ||
GPS.js v0.7.2 10/6/2024 | ||
GPS.js v0.7.3 10/9/2024 | ||
https://raw.org/article/using-gps-with-node-js-and-javascript/ | ||
@@ -23,2 +23,2 @@ | ||
for(var f=0;f<c.length;f++){var h=c[f].key;x[h]=e;q[h]=c[f]}c=[];for(h in q)3E3>e-x[h]&&c.push(q[h]);a.satsVisible=c}this.emit("data",b);this.emit(b.type,b);return!0};g.prototype.partial="";g.prototype.updatePartial=function(b){for(this.partial+=b;;){b=this.partial.indexOf("\r\n");if(-1===b)break;var a=this.partial.slice(0,b);if("$"===a.charAt(0))try{this.update(a)}catch(c){throw this.partial="",Error(c);}this.partial=this.partial.slice(b+2)}};g.prototype.on=function(b,a){return void 0===this.events[b]? | ||
(this.events[b]=a,this):null};g.prototype.off=function(b){void 0!==this.events[b]&&(this.events[b]=void 0);return this};g.prototype.emit=function(b,a){void 0!==this.events[b]&&this.events[b].call(this,a)};A.GPS=g})(this); | ||
(this.events[b]=a,this):null};g.prototype.off=function(b){void 0!==this.events[b]&&(this.events[b]=void 0);return this};g.prototype.emit=function(b,a){void 0!==this.events[b]&&this.events[b].call(this,a)};"function"===typeof define&&define.amd?define([],function(){return g}):"object"===typeof exports?(Object.defineProperty(g,"__esModule",{value:!0}),g["default"]=g,g.GPS=g,module.exports=g):A.GPS=g})(this); |
{ | ||
"name": "gps", | ||
"title": "GPS.js", | ||
"version": "0.7.2", | ||
"version": "0.7.3", | ||
"homepage": "https://raw.org/article/using-gps-with-node-js-and-javascript/", | ||
@@ -68,4 +68,4 @@ "bugs": "https://github.com/rawify/GPS.js/issues", | ||
"byline": "^5.0.0", | ||
"crude-build": "^0.0.4", | ||
"express": "^4.21.0", | ||
"crude-build": "^0.1.1", | ||
"express": "^4.21.1", | ||
"kalman": "0.0.2", | ||
@@ -72,0 +72,0 @@ "mocha": "^10.7.3", |
@@ -1,2 +0,1 @@ | ||
![GPS.js](https://github.com/infusion/GPS.js/blob/main/res/logo.png?raw=true "Javascript GPS Parser") | ||
@@ -365,5 +364,5 @@ | ||
## Copyright and licensing | ||
## Copyright and Licensing | ||
Copyright (c) 2025, [Robert Eisele](https://raw.org/) | ||
Copyright (c) 2024, [Robert Eisele](https://raw.org/) | ||
Licensed under the MIT license. |
/** | ||
* @license GPS.js v0.7.2 10/6/2024 | ||
* @license GPS.js v0.7.3 10/9/2024 | ||
* https://raw.org/article/using-gps-with-node-js-and-javascript/ | ||
@@ -4,0 +4,0 @@ * |
Sorry, the diff of this file is not supported yet
435903
4116
368