@graphql-inspector/introspect-command 5.0.7-alpha-20240709143136-7d0e28d4d2d06419b52cded7aba0600740a59994 → 5.1.0-alpha-20241111105259-3b8caff79d686adf447c18b1c8312efca82ffe3e

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 graphql_1 = require("graphql");
@@ -29,7 +29,6 @@ function handler({ schema: unsortedSchema, output, comments, }) {
29
29
  (0, fs_1.writeFileSync)(output, content, 'utf8');
30
30
  logger_1.Logger.success(`Saved to ${filepath}`);
31
31
  }
32
- exports.handler = handler;
33
32
  exports.default = (0, commands_1.createCommand)(api => {
34
33
  const { loaders } = api;
35
34
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@graphql-inspector/introspect-command",
3
- "version": "5.0.7-alpha-20240709143136-7d0e28d4d2d06419b52cded7aba0600740a59994",
3
+ "version": "5.1.0-alpha-20241111105259-3b8caff79d686adf447c18b1c8312efca82ffe3e",
4
4
  "description": "Introspects 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-20240709143136-7d0e28d4d2d06419b52cded7aba0600740a59994",
11
+ "@graphql-inspector/commands": "6.0.0-alpha-20241111105259-3b8caff79d686adf447c18b1c8312efca82ffe3e",
12
+ "@graphql-inspector/core": "6.2.0-alpha-20241111105259-3b8caff79d686adf447c18b1c8312efca82ffe3e",
13
13
  "@graphql-inspector/logger": "5.0.1"
14
14
  },
15
15
  "repository": {
@@ -8,7 +8,7 @@ export declare function handler({ schema: unsortedSchema, output, comments, }: {
8
8
  }): void;
9
9
  declare const _default: CommandFactory<{}, {
10
10
  schema: string;
11
- write?: string | undefined;
12
- comments?: boolean | undefined;
11
+ write?: string;
12
+ comments?: boolean;
13
13
  } & GlobalArgs>;
14
14
  export default _default;
@@ -8,7 +8,7 @@ export declare function handler({ schema: unsortedSchema, output, comments, }: {
8
8
  }): void;
9
9
  declare const _default: CommandFactory<{}, {
10
10
  schema: string;
11
- write?: string | undefined;
12
- comments?: boolean | undefined;
11
+ write?: string;
12
+ comments?: boolean;
13
13
  } & GlobalArgs>;
14
14
  export default _default;