@envelop/depth-limit 0.2.1-alpha-e01c930.0 → 1.1.0-alpha-e8998c9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.js CHANGED
@@ -17,4 +17,3 @@ const useDepthLimit = (config) => {
17
17
  };
18
18
 
19
19
  exports.useDepthLimit = useDepthLimit;
20
- //# sourceMappingURL=index.js.map
package/index.mjs CHANGED
@@ -11,4 +11,3 @@ const useDepthLimit = (config) => {
11
11
  };
12
12
 
13
13
  export { useDepthLimit };
14
- //# sourceMappingURL=index.mjs.map
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@envelop/depth-limit",
3
- "version": "0.2.1-alpha-e01c930.0",
3
+ "version": "1.1.0-alpha-e8998c9.0",
4
4
  "sideEffects": false,
5
5
  "peerDependencies": {
6
- "graphql": "^14.0.0 || ^15.0.0"
6
+ "graphql": "^14.0.0 || ^15.0.0 || ^16.0.0"
7
7
  },
8
8
  "dependencies": {
9
9
  "graphql-depth-limit": "^1.1.0"
package/index.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sources":["../../../dist/plugins/depth-limit/src/index.js"],"sourcesContent":["import depthLimit from 'graphql-depth-limit';\nexport const useDepthLimit = (config) => {\n const ignore = config.ignore || [];\n const checkFn = depthLimit(config.maxDepth, { ignore });\n return {\n onValidate({ addValidationRule }) {\n addValidationRule(checkFn);\n },\n };\n};\n//# sourceMappingURL=index.js.map"],"names":[],"mappings":";;;;;;;;AACY,MAAC,aAAa,GAAG,CAAC,MAAM,KAAK;AACzC,IAAI,MAAM,MAAM,GAAG,MAAM,CAAC,MAAM,IAAI,EAAE,CAAC;AACvC,IAAI,MAAM,OAAO,GAAG,UAAU,CAAC,MAAM,CAAC,QAAQ,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;AAC5D,IAAI,OAAO;AACX,QAAQ,UAAU,CAAC,EAAE,iBAAiB,EAAE,EAAE;AAC1C,YAAY,iBAAiB,CAAC,OAAO,CAAC,CAAC;AACvC,SAAS;AACT,KAAK,CAAC;AACN;;;;"}
package/index.mjs.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.mjs","sources":["../../../dist/plugins/depth-limit/src/index.js"],"sourcesContent":["import depthLimit from 'graphql-depth-limit';\nexport const useDepthLimit = (config) => {\n const ignore = config.ignore || [];\n const checkFn = depthLimit(config.maxDepth, { ignore });\n return {\n onValidate({ addValidationRule }) {\n addValidationRule(checkFn);\n },\n };\n};\n//# sourceMappingURL=index.js.map"],"names":[],"mappings":";;AACY,MAAC,aAAa,GAAG,CAAC,MAAM,KAAK;AACzC,IAAI,MAAM,MAAM,GAAG,MAAM,CAAC,MAAM,IAAI,EAAE,CAAC;AACvC,IAAI,MAAM,OAAO,GAAG,UAAU,CAAC,MAAM,CAAC,QAAQ,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;AAC5D,IAAI,OAAO;AACX,QAAQ,UAAU,CAAC,EAAE,iBAAiB,EAAE,EAAE;AAC1C,YAAY,iBAAiB,CAAC,OAAO,CAAC,CAAC;AACvC,SAAS;AACT,KAAK,CAAC;AACN;;;;"}