graphql-language-service-utils
Advanced tools
Comparing version 0.0.15 to 0.0.16
@@ -46,5 +46,6 @@ 'use strict'; | ||
return line.length + 1; | ||
}).reduce(function (a, b) { | ||
} // count EOL | ||
).reduce(function (a, b) { | ||
return a + b; | ||
}, 0); | ||
} |
@@ -32,6 +32,4 @@ 'use strict'; | ||
return _this.end.character >= position.character; | ||
} else if (_this.start.line > position.line || _this.end.line < position.line) { | ||
return false; | ||
} else { | ||
return true; | ||
return _this.start.line <= position.line && _this.end.line >= position.line; | ||
} | ||
@@ -38,0 +36,0 @@ }; |
{ | ||
"name": "graphql-language-service-utils", | ||
"repository": "https://github.com/graphql/graphql-language-service", | ||
"version": "0.0.15", | ||
"version": "0.0.16", | ||
"description": "Utilities to support the GraphQL Language Service", | ||
@@ -6,0 +6,0 @@ "contributors": [ |
Sorry, the diff of this file is not supported yet
12514
196