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

eslint-plugin-graphql

Package Overview
Dependencies
Maintainers
4
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-graphql - npm Package Compare versions

Comparing version 1.5.0 to 2.0.0

.github/ISSUE_TEMPLATE.md

15

.github/PULL_REQUEST_TEMPLATE.md

@@ -15,1 +15,16 @@ <!--

- [ ] If this was a change that affects the external API, update the README
**Pull Request Labels**
<!--
While not necessary, you can help organize our pull request by labeling this pull request when you open it. To add a label automatically, simply [x] mark the appropriate box below:
-->
- [ ] feature
- [ ] blocking
- [ ] docs
<!--
You are also able to add labels by placing /label on a new line
followed by the label you would like to add. ex: /label discussion
-->
# Change log
### vNEXT
### v2.0.0
- Add support for `graphql-js@^0.12.0` and `graphql-js@^0.13.0` in [Jon Wong](https://github.com/jnwng/)[#119] (https://github.com/apollographql/eslint-plugin-graphql/pull/93)
- Update list of available validators in [#121]((https://github.com/apollographql/eslint-plugin-graphql/pull/121) by [Pleun Vanderbauwhede](https://github.com/pleunv)
- Update supported Node `engines` to >= 6.0 in [#133](https://github.com/apollographql/eslint-plugin-graphql/pull/133) by [Jon Wong](https://github.com/jnwng/)
### v1.5.0
- Add new rule `no-deprecated-fields` in [Kristján Oddsson](https://github.com/koddsson/)[#92](https://github.com/apollographql/eslint-plugin-graphql/pull/93)
- Add support for deprecated fields on enums in [#100](https://github.com/apollographql/eslint-plugin-graphql/pull/100) by [Daniel Rinehart](https://github.com/NeoPhi)
- Bumped `babel-eslint` and pinned `graphql-config` in [#101](https://github.com/apollographql/eslint-plugin-graphql/pull/101) by [Jon Wong](https://github.com/jnwng)

@@ -5,0 +14,0 @@ ### v1.4.1

34

package.json
{
"name": "eslint-plugin-graphql",
"version": "1.5.0",
"version": "2.0.0",
"description": "GraphQL ESLint plugin.",

@@ -8,3 +8,3 @@ "author": "Sashko Stubailo",

"scripts": {
"test": "mocha test/index.js",
"test": "tav --ci && mocha test/index.js",
"prepublish": "babel ./src --ignore test --out-dir ./lib",

@@ -19,13 +19,14 @@ "pretest": "node test/updateSchemaJson.js"

"devDependencies": {
"babel": "^6.5.2",
"babel-cli": "^6.7.7",
"babel-core": "^6.7.7",
"babel-eslint": "^8.2.1",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-preset-es2015": "^6.6.0",
"babel-preset-stage-0": "^6.5.0",
"eslint": "^4.1.1",
"graphql": "^0.11.0",
"graphql-tools": "^2.0.0",
"mocha": "^3.4.2"
"babel": "6.23.0",
"babel-cli": "6.24.1",
"babel-core": "6.24.1",
"babel-eslint": "8.2.1",
"babel-plugin-transform-runtime": "6.23.0",
"babel-preset-es2015": "6.24.1",
"babel-preset-stage-0": "6.24.1",
"eslint": "4.2.0",
"mocha": "3.4.2",
"graphql": "0.13.2",
"graphql-tools": "2.23.1",
"test-all-versions": "^3.3.2"
},

@@ -38,10 +39,13 @@ "babel": {

},
"engines": {
"node": ">=6.0"
},
"license": "MIT",
"dependencies": {
"graphql-config": "~1.0.9",
"graphql-config": "^2.0.1",
"lodash": "^4.11.1"
},
"peerDependencies": {
"graphql": "^0.10.1 || ^0.11.0"
"graphql": "^0.12.0 || ^0.13.0"
}
}

@@ -307,4 +307,3 @@ # eslint-plugin-graphql

The full list of available validators is:
- `ArgumentsOfCorrectType`
- `DefaultValuesOfCorrectType`
- `ExecutableDefinitions`
- `FieldsOnCorrectType`

@@ -325,3 +324,5 @@ - `FragmentsOnCompositeTypes`

- `ScalarLeafs` (*disabled by default in `relay`*)
- `SingleFieldSubscriptions`
- `UniqueArgumentNames`
- `UniqueDirectivesPerLocation`
- `UniqueFragmentNames`

@@ -331,3 +332,5 @@ - `UniqueInputFieldNames`

- `UniqueVariableNames`
- `ValuesOfCorrectType`
- `VariablesAreInputTypes`
- `VariablesDefaultValueAllowed`
- `VariablesInAllowedPosition`

@@ -551,2 +554,2 @@

}
```
```

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