Socket
Socket
Sign inDemoInstall

jsxbin

Package Overview
Dependencies
37
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.7.0 to 2.0.0

esdebugger-core/mac/esdcorelibinterface.node

16

index.js

@@ -9,4 +9,3 @@ #!/usr/bin/env node

const createDir = require( './src/createDir' )
const generateScriptFile = require( './src/generateScriptFile' )
const doScriptFile = require( './src/doScriptFile' )
const convertScripts = require( './src/convertScripts' )

@@ -28,7 +27,6 @@ log.level = '1'

* in the same location as the input file(s)
* @param {string|string[]} [customESTKPaths] List of paths to ESTK executable.
* @return {Promise} A Promise that returns an array of file paths to the
* converted files
*/
function jsxbin( inputPaths, outputPath, customESTKPaths ) {
function jsxbin( inputPaths, outputPath ) {
if ( !Array.isArray( inputPaths ) && typeof inputPaths === 'object' ) {

@@ -38,3 +36,2 @@ const options = inputPaths

outputPath = options.output
customESTKPaths = options.estk
}

@@ -44,3 +41,3 @@

log.debug( 'Current dir', process.cwd() )
log.debug( 'arguments', { inputPaths, outputPath, customESTKPaths })
log.debug( 'arguments', { inputPaths, outputPath })

@@ -68,7 +65,4 @@ // Store input and output globaly, because they need to be accesible later

// Generate a script file that will convert input into output
.then( () => generateScriptFile( input, output ) )
// Execute the script file in Extendscript Toolkit
.then( scriptFile => doScriptFile( scriptFile, customESTKPaths ) )
// Convert the script using the resources from the VSCode extension.
.then( () => convertScripts( input, output ) )
.then( () => {

@@ -75,0 +69,0 @@ log.info( 'Finished!' )

{
"name": "jsxbin",
"version": "1.7.0",
"version": "2.0.0",
"description": "Convert jsx ExtendScript files into jsxbin files using ExtendScript Toolkit",

@@ -19,3 +19,4 @@ "keywords": [

"command.js",
"src/*"
"src/*",
"esdebugger-core/*"
],

@@ -39,5 +40,5 @@ "main": "index.js",

"devDependencies": {
"eslint": "^3.19.0",
"eslint": "^6.5.1",
"eslint-config-runegan": "^1.0.1",
"mocha": "^3.4.1",
"mocha": "^6.2.1",
"mz": "^2.6.0",

@@ -44,0 +45,0 @@ "rimraf": "^2.6.1"

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc