@graphql-mesh/plugin-rate-limit 0.2.19 → 0.2.20-alpha-20230321145025-cc027190e

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/cjs/index.js CHANGED
@@ -1,11 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
- const string_interpolation_1 = require("@graphql-mesh/string-interpolation");
4
+ const graphql_1 = require("graphql");
5
+ const minimatch_1 = tslib_1.__importDefault(require("minimatch"));
5
6
  const cross_helpers_1 = require("@graphql-mesh/cross-helpers");
7
+ const string_interpolation_1 = require("@graphql-mesh/string-interpolation");
6
8
  const utils_1 = require("@graphql-tools/utils");
7
- const minimatch_1 = tslib_1.__importDefault(require("minimatch"));
8
- const graphql_1 = require("graphql");
9
9
  function deleteNode(parent, remaining, currentKey) {
10
10
  const nextKey = remaining.shift();
11
11
  if (nextKey) {
package/esm/index.js CHANGED
@@ -1,8 +1,8 @@
1
- import { stringInterpolator } from '@graphql-mesh/string-interpolation';
1
+ import { TypeInfo, visit, visitInParallel, visitWithTypeInfo } from 'graphql';
2
+ import minimatch from 'minimatch';
2
3
  import { process } from '@graphql-mesh/cross-helpers';
4
+ import { stringInterpolator } from '@graphql-mesh/string-interpolation';
3
5
  import { createGraphQLError } from '@graphql-tools/utils';
4
- import minimatch from 'minimatch';
5
- import { TypeInfo, visit, visitInParallel, visitWithTypeInfo } from 'graphql';
6
6
  function deleteNode(parent, remaining, currentKey) {
7
7
  const nextKey = remaining.shift();
8
8
  if (nextKey) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@graphql-mesh/plugin-rate-limit",
3
- "version": "0.2.19",
3
+ "version": "0.2.20-alpha-20230321145025-cc027190e",
4
4
  "sideEffects": false,
5
5
  "peerDependencies": {
6
6
  "graphql": "*"
@@ -8,7 +8,7 @@
8
8
  "dependencies": {
9
9
  "@graphql-mesh/cross-helpers": "0.3.3",
10
10
  "@graphql-mesh/string-interpolation": "0.4.2",
11
- "@graphql-mesh/types": "0.91.9",
11
+ "@graphql-mesh/types": "0.91.10-alpha-20230321145025-cc027190e",
12
12
  "@graphql-tools/utils": "9.2.1",
13
13
  "minimatch": "7.3.0",
14
14
  "tslib": "^2.4.0"
@@ -1,2 +1,2 @@
1
- import { MeshPluginOptions, YamlConfig, MeshPlugin } from '@graphql-mesh/types';
1
+ import { MeshPlugin, MeshPluginOptions, YamlConfig } from '@graphql-mesh/types';
2
2
  export default function useMeshRateLimit(options: MeshPluginOptions<YamlConfig.RateLimitPluginConfig>): MeshPlugin<any>;
@@ -1,2 +1,2 @@
1
- import { MeshPluginOptions, YamlConfig, MeshPlugin } from '@graphql-mesh/types';
1
+ import { MeshPlugin, MeshPluginOptions, YamlConfig } from '@graphql-mesh/types';
2
2
  export default function useMeshRateLimit(options: MeshPluginOptions<YamlConfig.RateLimitPluginConfig>): MeshPlugin<any>;