microfiber
Advanced tools
Comparing version 2.1.0 to 2.1.1
@@ -0,1 +1,4 @@ | ||
#### 2.1.1 | ||
- Update dependencies | ||
#### 2.1.0 | ||
@@ -2,0 +5,0 @@ - Fix/Add support for `EnumValue` via `getEnumValue()` and `getField()` |
@@ -19,3 +19,3 @@ "use strict"; | ||
// An Object containing all the GraphQL Kind values you may encounter. | ||
const KINDS = Object.freeze({ | ||
const KINDS = exports.KINDS = Object.freeze({ | ||
SCALAR: KIND_SCALAR, | ||
@@ -32,5 +32,4 @@ OBJECT: KIND_OBJECT, | ||
// A function that compares 2 types and determines if they have the same Kind and Name. | ||
exports.KINDS = KINDS; | ||
function typesAreSame(typeA, typeB) { | ||
return typeA.kind === typeB.kind && typeA.name === typeB.name; | ||
} |
{ | ||
"name": "microfiber", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"description": "A library to query and manipulate GraphQL Introspection Query results in some useful ways.", | ||
@@ -5,0 +5,0 @@ "author": "Chris Newhouse", |
47602
1099