@graphql-inspector/similar-command 5.0.7-alpha-20240709143611-73e2074efad637c74e1c14643b6c17fac07811a0 → 5.1.0-alpha-20241111105935-d6f72f89e996893035a838d61aa3b129c82e8de5

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,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.handler = void 0;
3
+ exports.handler = handler;
4
4
  const fs_1 = require("fs");
5
5
  const path_1 = require("path");
6
6
  const commands_1 = require("@graphql-inspector/commands");
@@ -47,7 +47,6 @@ function handler({ schema, writePath, type, threshold, }) {
47
47
  }
48
48
  }
49
49
  }
50
- exports.handler = handler;
51
50
  exports.default = (0, commands_1.createCommand)(api => {
52
51
  const { loaders } = api;
53
52
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@graphql-inspector/similar-command",
3
- "version": "5.0.7-alpha-20240709143611-73e2074efad637c74e1c14643b6c17fac07811a0",
3
+ "version": "5.1.0-alpha-20241111105935-d6f72f89e996893035a838d61aa3b129c82e8de5",
4
4
  "description": "Find similar types in GraphQL Schema",
5
5
  "sideEffects": false,
6
6
  "peerDependencies": {
@@ -8,8 +8,8 @@
8
8
  },
9
9
  "dependencies": {
10
10
  "tslib": "2.6.2",
11
- "@graphql-inspector/commands": "5.0.4",
12
- "@graphql-inspector/core": "6.1.1-alpha-20240709143611-73e2074efad637c74e1c14643b6c17fac07811a0",
11
+ "@graphql-inspector/commands": "6.0.0-alpha-20241111105935-d6f72f89e996893035a838d61aa3b129c82e8de5",
12
+ "@graphql-inspector/core": "6.2.0-alpha-20241111105935-d6f72f89e996893035a838d61aa3b129c82e8de5",
13
13
  "@graphql-inspector/logger": "5.0.1"
14
14
  },
15
15
  "repository": {
@@ -9,8 +9,8 @@ export declare function handler({ schema, writePath, type, threshold, }: {
9
9
  }): void;
10
10
  declare const _default: CommandFactory<{}, {
11
11
  schema: string;
12
- name?: string | undefined;
13
- threshold?: number | undefined;
14
- write?: string | undefined;
12
+ name?: string;
13
+ threshold?: number;
14
+ write?: string;
15
15
  } & GlobalArgs>;
16
16
  export default _default;
@@ -9,8 +9,8 @@ export declare function handler({ schema, writePath, type, threshold, }: {
9
9
  }): void;
10
10
  declare const _default: CommandFactory<{}, {
11
11
  schema: string;
12
- name?: string | undefined;
13
- threshold?: number | undefined;
14
- write?: string | undefined;
12
+ name?: string;
13
+ threshold?: number;
14
+ write?: string;
15
15
  } & GlobalArgs>;
16
16
  export default _default;