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

flat-spe

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

flat-spe - npm Package Compare versions

Comparing version 1.2.5 to 1.2.6

15

index.js

@@ -47,8 +47,13 @@ #!/usr/bin/env node

var p = path.dirname(file) + '/' + 'event.json'
var _event = JSON.parse(fs.readFileSync(p, 'utf-8'))
var key = _event.value.frame.testData.metadata.find(function(r) { return r.key === '!instrument.serial'})
var _time = _event.value.frame.testData.metadata.find(function(r) { return r.key === '!tablet.dateTime'}).value
var _time = 'timeNotFound'
try {
var _event = JSON.parse(fs.readFileSync(p, 'utf-8'))
var key = _event.value.frame.testData.metadata.find(function(r) { return r.key === '!instrument.serial'})
_time = _event.value.frame.testData.metadata.find(function(r) { return r.key === '!tablet.dateTime'}).value
if (key) {
instrumentName = key.value
if (key) {
instrumentName = key.value
}
} catch(e) {
}

@@ -55,0 +60,0 @@

{
"name": "flat-spe",
"version": "1.2.5",
"version": "1.2.6",
"description": "",

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

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