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-46fc3c5d to 0.0.0-master-471f1049

7

cli.js

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

'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.');
}

@@ -17,11 +17,11 @@ /**

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;
binary = null;
}
module.exports = binary;
{
"name": "relay-compiler-experimental",
"description": "Experimental version of the Relay Compiler",
"version": "0.0.0-master-46fc3c5d",
"version": "0.0.0-master-471f1049",
"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