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

node-red-contrib-gps

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-red-contrib-gps - npm Package Compare versions

Comparing version 1.0.2 to 1.0.4

13

gpsoo.js

@@ -20,7 +20,14 @@ const GpsApi = require('./lib/GpsApi')

data.payload = {}
data.payload.status = 1
data.payload.dataArray = d
const objData = {}
if (d && d.length > 0) {
data.payload.data = d[0]
d.forEach(element => {
objData[element.imei] = element
})
}
data.objData = objData
node.status({ text: `获取成功:${data._msgid}` })

@@ -41,3 +48,3 @@ node.send([data, null])

// captureImage
// monitor 监控
// address 地理位置逆解析
RED.nodes.registerType('gpsoo-address', class {

@@ -60,3 +67,3 @@ constructor (config) {

// monitor
// address
const d = await bd.address(data.longitude, data.latitude)

@@ -63,0 +70,0 @@ data.payload = {}

{
"name": "node-red-contrib-gps",
"version": "1.0.2",
"version": "1.0.4",
"description": "汽车在线和万物在线 ,可以获取设备的gps位置和逆地理位置解析",

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

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