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

gpxload

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gpxload - npm Package Compare versions

Comparing version 0.2.1 to 0.2.2

public/main.94acd1f137fef1292052.js

5

package.json
{
"name": "gpxload",
"version": "0.2.1",
"version": "0.2.2",
"description": "SignalK Server plugin to import / export GPX files",

@@ -8,3 +8,4 @@ "main": "src/index.js",

"signalk-node-server-plugin",
"signalk-webapp"
"signalk-webapp",
"signalk"
],

@@ -11,0 +12,0 @@ "repository": "https://bitbucket.org/panaaj/signalk-gpx-plugin",

6

README.md

@@ -5,3 +5,3 @@ # signalk-gpx-plugin

Selected resources in GPX files can be loaded using the Web UI that is accessed via the url: *http://signalk-server/@signalk/gpxload/*
Selected resources in GPX files can be loaded using the Web UI that is accessed via the url: *http://signalk-server/gpxload/*

@@ -16,3 +16,3 @@ Once loaded, the imported routes, waypoints and tracks are made available via the SignalK server http api *http://signalk-server/signalk/v1/api/resources/*.

1) Open the Web App at the url: *http://<server>/@signalk/gpxload/*
1) Open the Web App at the url: *http://<server>/gpxload/*

@@ -32,3 +32,3 @@ 2) Select the **Import GPX** tab and click **Open GPX file**

1) Open the Web App at the url: *http://signalk-server/@signalk/gpxload/*
1) Open the Web App at the url: *http://signalk-server/gpxload/*

@@ -35,0 +35,0 @@ 2) Select the **Export to GPX** tab and a list of available resources are displayed.

@@ -35,3 +35,4 @@ /*

waypoint: { path: path.join(savePath, '/waypoints')},
track: { path: path.join(savePath, '/tracks')}
track: { path: path.join(savePath, '/tracks')},
location: { path: path.join(savePath, '/locations')}
}

@@ -69,6 +70,3 @@

plugin.schema= {
properties: {
}
}
plugin.schema= { properties: { } }

@@ -137,8 +135,3 @@ plugin.uiSchema= { }

)
})
/*router.get('/resources', (req, res) => {
res.json(
getPersistedResources(null)
)
})*/
})

@@ -186,5 +179,4 @@ return router

app.debug(`** Loading resources.........`)
if(!Array.isArray(data)) {
app.debug(`** ERROR: ** Inavlid payload data!!`)
app.debug(`** ERROR: ** Invalid payload data!!`)
return

@@ -229,3 +221,7 @@ }

catch(err) {
return {error: true, message: 'Error reteiving resources. Ensure plugin is active or restart plugin!'}
return {
error: true,
message: `Error retreiving resources from ${savePath}. Ensure plugin is active or restart plugin!`,
source: plugin.id
}
}

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