Socket
Socket
Sign inDemoInstall

dji_srt_parser

Package Overview
Dependencies
0
Maintainers
1
Versions
80
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.36 to 1.0.37

samples/p4_rtk.SRT

13

index.js

@@ -23,2 +23,3 @@ function DJI_SRT_Parser() {

.replace(/,/g, '')
.replace(/Â|°|(B0)/g, '') // For P4RTK: parasite characters emerged after imported using "express-fileupload" and the actual "readfile" function.
.replace(/\:separator\:/g, ',');

@@ -234,2 +235,14 @@ //Split others

};
} else if (key.toUpperCase() === 'F_PRY') {
interpretedI = {
1: isNum(datum[1]) ? Number(datum[1]) : 'n/a', // For now, I don't know what the data means
2: isNum(datum[0]) ? Number(datum[0]) : 'n/a',
3: isNum(datum[2]) ? Number(datum[2]) : 'n/a'
};
} else if (key.toUpperCase() === 'G_PRY') {
interpretedI = {
1: isNum(datum[1]) ? Number(datum[1]) : 'n/a',
2: isNum(datum[0]) ? Number(datum[0]) : 'n/a',
3: isNum(datum[2]) ? Number(datum[2]) : 'n/a'
};
} else if (key.toUpperCase() === 'HOME') {

@@ -236,0 +249,0 @@ interpretedI = {

2

package.json
{
"name": "dji_srt_parser",
"version": "1.0.36",
"version": "1.0.37",
"description": "Parses and interprets DJI's drones SRT metadata",

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

@@ -86,5 +86,9 @@ # DJI_SRT_Parser

## Contribution
Please make your changes to the **dev** branch, so that automated tests can be run before merging to **master**. Also, if possible, provide tests for new functionality.
## Acknowledgements/credits
- [Juan Irache](https://github.com/JuanIrache) - Main developer
- [Gastón](https://github.com/tatoz12) - Contributor
- [Gastón Zalba](https://github.com/tatoz12) - Contributor
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc