New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

scala-relay-compiler

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

scala-relay-compiler - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

OUT/ExampleQuery.graphql.js

2

package.json
{
"name": "scala-relay-compiler",
"description": "A compiler tool for building GraphQL-driven applications.",
"version": "0.1.0",
"version": "0.1.1",
"dependencies": {

@@ -6,0 +6,0 @@ "yargs": "^7.1.0",

@@ -13,3 +13,3 @@ const FileParser = require('relay-compiler/lib/FileParser');

invariant(
text.indexOf('graphql') >= 0,
text.indexOf('@gql') >= 0,
'RelayFileIRParser: Files should be filtered before passed to the ' +

@@ -20,3 +20,3 @@ 'parser, got unfiltered file `%s`.',

var regex = /graphql`([\s\S]*?)`/g;
var regex = /@gql\("""([\s\S]*?)"""\)/g;

@@ -83,3 +83,3 @@ const astDefinitions = [];

const text = fs.readFileSync(path.join(baseDir, filename), 'utf8');
return text.indexOf('graphql') >= 0;
return text.indexOf('@gql') >= 0;
};

@@ -91,2 +91,2 @@ }

getFileFilter,
};
};
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