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

babel-relay-plugin

Package Overview
Dependencies
Maintainers
5
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-relay-plugin - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

4

package.json
{
"name": "babel-relay-plugin",
"version": "0.1.0",
"version": "0.1.1",
"description": "Babel Relay Plugin for transpiling GraphQL queries for use with Relay.",

@@ -20,3 +20,3 @@ "license": "BSD-3-Clause",

"babel-core": "^5.8.3",
"graphql": "0.2.4",
"graphql": "^0.2.6",
"jasmine-node": "1.14.5",

@@ -23,0 +23,0 @@ "minimist": "^1.1.3"

@@ -78,14 +78,36 @@ /*jslint node:true*/

var rules = [
require('graphql/validation/rules/ArgumentsOfCorrectType'),
require('graphql/validation/rules/DefaultValuesOfCorrectType'),
require('graphql/validation/rules/FieldsOnCorrectType'),
require('graphql/validation/rules/FragmentsOnCompositeTypes'),
require('graphql/validation/rules/KnownArgumentNames'),
require('graphql/validation/rules/KnownTypeNames'),
require('graphql/validation/rules/PossibleFragmentSpreads'),
require('graphql/validation/rules/PossibleFragmentSpreads'),
require('graphql/validation/rules/VariablesInAllowedPosition'),
require(
'graphql/validation/rules/ArgumentsOfCorrectType'
).ArgumentsOfCorrectType,
require(
'graphql/validation/rules/DefaultValuesOfCorrectType'
).DefaultValuesOfCorrectType,
require(
'graphql/validation/rules/FieldsOnCorrectType'
).FieldsOnCorrectType,
require(
'graphql/validation/rules/FragmentsOnCompositeTypes'
).FragmentsOnCompositeTypes,
require(
'graphql/validation/rules/KnownArgumentNames'
).KnownArgumentNames,
require(
'graphql/validation/rules/KnownTypeNames'
).KnownTypeNames,
require(
'graphql/validation/rules/PossibleFragmentSpreads'
).PossibleFragmentSpreads,
require(
'graphql/validation/rules/PossibleFragmentSpreads'
).PossibleFragmentSpreads,
require(
'graphql/validation/rules/VariablesInAllowedPosition'
).VariablesInAllowedPosition,
];
if (type !== 'mutation') {
rules.push(require('graphql/validation/rules/ProvidedNonNullArguments'));
rules.push(
require(
'graphql/validation/rules/ProvidedNonNullArguments'
).ProvidedNonNullArguments
);
}

@@ -92,0 +114,0 @@ var validationErrors = validate(schema, documentAST, rules);

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