@pothos/plugin-directives
Advanced tools
Comparing version 3.4.0 to 3.4.1
# Change Log | ||
## 3.4.1 | ||
### Patch Changes | ||
- 4e5756ca: Update dev dependencies | ||
## 3.4.0 | ||
@@ -4,0 +10,0 @@ |
@@ -6,20 +6,3 @@ "use strict"; | ||
var _exportNames = { | ||
PothosDirectivesPlugin: true, | ||
fieldConfig: true, | ||
ref: true, | ||
ref: true, | ||
options: true, | ||
fieldConfig: true, | ||
ref: true, | ||
options: true, | ||
valueConfig: true, | ||
ref: true, | ||
options: true, | ||
typeConfig: true, | ||
ref: true, | ||
options: true, | ||
schema: true, | ||
left: true, | ||
right: true, | ||
directives: true | ||
PothosDirectivesPlugin: true | ||
}; | ||
@@ -158,9 +141,7 @@ exports.default = void 0; | ||
args: left[name] | ||
}) | ||
), | ||
})), | ||
...Array.isArray(right) ? right : Object.keys(right).map((name)=>({ | ||
name, | ||
args: right[name] | ||
}) | ||
), | ||
})), | ||
]; | ||
@@ -192,4 +173,3 @@ } | ||
args: directives[name] | ||
}) | ||
); | ||
})); | ||
} | ||
@@ -196,0 +176,0 @@ } |
@@ -24,4 +24,3 @@ "use strict"; | ||
} : undefined, | ||
interfaces: type.getInterfaces().map((iface)=>typeNode(iface) | ||
), | ||
interfaces: type.getInterfaces().map((iface)=>typeNode(iface)), | ||
fields: fieldNodes(type.getFields()), | ||
@@ -42,4 +41,3 @@ directives: ((ref = type.extensions) === null || ref === void 0 ? void 0 : ref.directives) ? directiveNodes(type.extensions.directives) : [] | ||
} : undefined, | ||
interfaces: type.getInterfaces().map((iface)=>typeNode(iface) | ||
), | ||
interfaces: type.getInterfaces().map((iface)=>typeNode(iface)), | ||
fields: fieldNodes(type.getFields()), | ||
@@ -60,4 +58,3 @@ directives: ((ref1 = type.extensions) === null || ref1 === void 0 ? void 0 : ref1.directives) ? directiveNodes(type.extensions.directives) : [] | ||
} : undefined, | ||
types: type.getTypes().map((iface)=>typeNode(iface) | ||
), | ||
types: type.getTypes().map((iface)=>typeNode(iface)), | ||
directives: ((ref2 = type.extensions) === null || ref2 === void 0 ? void 0 : ref2.directives) ? directiveNodes(type.extensions.directives) : [] | ||
@@ -156,4 +153,3 @@ }; | ||
value: valueNode(value[key]) | ||
}) | ||
) | ||
})) | ||
}; | ||
@@ -168,8 +164,6 @@ default: | ||
args | ||
}) | ||
) : { | ||
})) : { | ||
name, | ||
args: directives[name] | ||
} | ||
); | ||
}); | ||
return directiveList.map((directive)=>({ | ||
@@ -188,6 +182,4 @@ kind: _graphql.Kind.DIRECTIVE, | ||
value: valueNode(directive.args[argName]) | ||
}) | ||
) | ||
}) | ||
); | ||
})) | ||
})); | ||
} | ||
@@ -194,0 +186,0 @@ function fieldNodes(fields) { |
{ | ||
"name": "@pothos/plugin-directives", | ||
"version": "3.4.0", | ||
"version": "3.4.1", | ||
"description": "Directive plugin for Pothos, enables using graphql-tools based directives with Pothos", | ||
@@ -37,5 +37,5 @@ "main": "./lib/index.js", | ||
"devDependencies": { | ||
"@graphql-tools/utils": "^8.6.10", | ||
"@pothos/core": "3.11.0", | ||
"@pothos/test-utils": "1.2.0", | ||
"@graphql-tools/utils": "^8.6.12", | ||
"@pothos/core": "3.11.1", | ||
"@pothos/test-utils": "1.2.2", | ||
"graphql": "16.5.0", | ||
@@ -42,0 +42,0 @@ "graphql-rate-limit-directive": "^2.0.2", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
156887
1423