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

relay-compiler-experimental

Package Overview
Dependencies
Maintainers
10
Versions
357
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

relay-compiler-experimental - npm Package Compare versions

Comparing version 0.0.0-master-8aeab18d to 0.0.0-master-954681dd

9

cli.js

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

*
* @flow
* @noflow
* @format
*/
'use strict';
var spawn = require('child_process').spawn;

@@ -19,6 +21,5 @@

if (bin !== null) {
spawn(bin, input, { stdio: 'inherit' })
.on('exit', process.exit);
spawn(bin, input, {stdio: 'inherit'}).on('exit', process.exit);
} else {
throw new Error('Platform not supported.');
throw new Error('Platform not supported.');
}

@@ -7,3 +7,3 @@ /**

*
* @flow
* @noflow
* @format

@@ -16,12 +16,13 @@ */

let binary = null;
let binary;
if (process.platform === 'darwin') {
binary = path.join(__dirname, 'macos-x64', 'relay');
binary = path.join(__dirname, 'macos-x64', 'relay');
} else if (process.platform === 'linux' && process.arch === 'x64') {
binary = path.join(__dirname, 'linux-x64', 'relay')
binary = path.join(__dirname, 'linux-x64', 'relay');
} else if (process.platform === 'win32' && process.arch === 'x64') {
binary = path.join(__dirname, 'win-x64', 'relay.exe')
binary = path.join(__dirname, 'win-x64', 'relay.exe');
} else {
binary = null;
}
module.exports = binary;
{
"name": "relay-compiler-experimental",
"description": "Experimental version of the Relay Compiler",
"version": "0.0.0-master-8aeab18d",
"version": "0.0.0-master-954681dd",
"keywords": [

@@ -14,5 +14,3 @@ "graphql",

"main": "index.js",
"bin": {
"relay-compiler-experimental": "cli.js"
}
"bin": "cli.js"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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