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.2 to 1.2.3

7

index.js

@@ -38,2 +38,4 @@ #!/usr/bin/env node

var key = _event.value.frame.testData.metadata.find(function(r) { return r.key === '!instrument.serial'})
var dateTime = _event.value.frame.testData.metadata.find(function(r) { return r.key === '!tablet.dateTime'})
if (key) {

@@ -45,7 +47,4 @@ instrumentName = key.value

console.log(path.basename(file, '.txt'))
var yyyy = pieces[1].substring(4,8)
var dd = pieces[1].substring(0,2)
var mm = pieces[1].substring(2,4)
var name = instrumentName + '-' + yyyy + mm + dd + '-' + pieces[2] + '-' + pieces[0] + '.txt'
var name = instrumentName + '-' + dateTime + '-' + '-' + pieces[0] + '-' + uuid() + '.txt'

@@ -52,0 +51,0 @@ var writeStream = fs.createWriteStream(destination + '/' + name)

{
"name": "flat-spe",
"version": "1.2.2",
"version": "1.2.3",
"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