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.0 to 1.0.1

2

address.js

@@ -64,4 +64,2 @@ module.exports = function (RED) {

msg.headers = response.headers
msg.request = response.request
payload.status = 1

@@ -68,0 +66,0 @@ payload.data = data

5

login.js

@@ -40,7 +40,7 @@ module.exports = function (RED) {

var data = response.data
console.log(JSON.stringify(data))
if(data.ret && data.ret != 0) {
throw new Error(data.msg ? data.msg : "参数有误")
}
msg.headers = response.headers
msg.request = response.request
payload.status = 1

@@ -52,3 +52,2 @@ payload.data = data

msg.payload = payload
console.log(11111111111111)
node.send([msg, null])

@@ -55,0 +54,0 @@

@@ -62,4 +62,2 @@ module.exports = function (RED) {

msg.headers = response.headers
msg.request = response.request
payload.status = 1

@@ -66,0 +64,0 @@ payload.dataArray = data

{
"name": "node-red-contrib-gps",
"version": "1.0.0",
"version": "1.0.1",
"description": "汽车在线 node red 节点",

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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