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

jsxbin

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jsxbin - npm Package Compare versions

Comparing version 1.1.0 to 1.2.0

3

package.json
{
"name": "jsxbin",
"version": "1.1.0",
"version": "1.2.0",
"description": "Convert jsx ExtendScript files into jsxbin files using ExtendScript Toolkit",

@@ -39,2 +39,3 @@ "keywords": [

"eslint": "^3.18.0",
"eslint-config-jquery": "^1.0.1",
"mocha": "^3.2.0",

@@ -41,0 +42,0 @@ "mz": "^2.6.0",

@@ -10,11 +10,20 @@ const exec = require( 'child_process' ).exec

// So we need to close it before running the command
quitESTK()
return quitESTK()
.then( () => execute( file ) )
}
return new Promise( ( resolve, reject ) => {
const command = getESTKCommand( file )
function execute( file ) {
const command = getESTKCommand( file )
log.verbose( 'Converting' )
log.debug( 'Command: ', command )
log.verbose( 'Converting' )
log.debug( 'Command: ', command )
// Execute the command
return execPromise( command )
}
function execPromise( command ) {
return new Promise( ( resolve, reject ) => {
// Execute the command
exec( command, err => {

@@ -84,7 +93,7 @@ if ( err ) {

if ( process.platform === 'darwin' ) {
exec( 'osascript -e \'quit app "ExtendScript Toolkit"\'' )
return execPromise( 'osascript -e \'quit app "ExtendScript Toolkit"\'' )
// Windows
} else if ( process.platform === 'win32' ) {
exec( 'taskkill /IM ExtendScript Toolkit.exe' )
return execPromise( 'taskkill /IM ExtendScript Toolkit.exe' )

@@ -91,0 +100,0 @@ // Linux

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