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

arrivals-osx

Package Overview
Dependencies
Maintainers
1
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

arrivals-osx - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

28

lib/arrivals.js

@@ -77,2 +77,15 @@ var fs = require('fs');

var logFile = process.env['LOG_FILE'];
var logType = process.env['LOG_TYPE'];
var logLevel = process.env['LOG_LEVEL'];
if (logType === 'file') {
bole.output({ level: logLevel, stream: boleFile(logFile) });
} else {
var boleConsoleStream = boleConsole({ timestamp: true });
bole.output({ level: logLevel, stream: boleConsoleStream });
}
log.debug('Starting...');
var cwd = process.env['CWD'];

@@ -91,6 +104,10 @@

log.debug('Watching paths', watchPaths);
var videoDestination = process.env['VIDEO_DESTINATION'];
log.debug('Video destination', videoDestination);
assert(videoDestination && fs.statSync(videoDestination).isDirectory(), 'Video destination path must exist and be a directory');
var audioDestination = process.env['AUDIO_DESTINATION'];
log.debug('Audio destination', audioDestination);
assert(audioDestination && fs.statSync(audioDestination).isDirectory(), 'Audio destination path must exist and be a directory');

@@ -100,13 +117,2 @@

var logFile = process.env['LOG_FILE'];
var logType = process.env['LOG_TYPE'];
var logLevel = process.env['LOG_LEVEL'];
if (logType === 'file') {
bole.output({ level: logLevel, stream: boleFile(logFile) });
} else {
var boleConsoleStream = boleConsole({ timestamp: true });
bole.output({ level: logLevel, stream: boleConsoleStream });
}
var db = levelup(process.env['DB_PATH']);

@@ -113,0 +119,0 @@

{
"name": "arrivals-osx",
"version": "1.1.0",
"version": "1.1.1",
"description": "Watch a folder for audio and video arrivals and convert them to Apple-friendly formats.",

@@ -5,0 +5,0 @@ "main": "./lib/arrivals.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