@graphql-mesh/thrift 1.0.0-alpha-20230424113259-560b18922 → 1.0.0-alpha-20230522110904-130abe0f9

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
@@ -10,7 +10,6 @@ const cross_helpers_1 = require("@graphql-mesh/cross-helpers");
10
10
  const store_1 = require("@graphql-mesh/store");
11
11
  const string_interpolation_1 = require("@graphql-mesh/string-interpolation");
12
12
  const utils_1 = require("@graphql-mesh/utils");
13
- const utils_2 = require("@graphql-tools/utils");
14
13
  class ThriftHandler {
15
14
  constructor({ config, baseDir, store, importFn, logger, }) {
16
15
  this.config = config;
@@ -34,7 +33,7 @@ class ThriftHandler {
34
33
  if (parseResult.errors.length === 1) {
35
34
  throw parseResult.errors[0];
36
35
  }
37
- throw new utils_2.AggregateError(parseResult.errors);
36
+ throw new AggregateError(parseResult.errors);
38
37
  }
39
38
  includesMap[idlNamespace] = parseResult;
40
39
  const includes = parseResult.body.filter((statement) => statement.type === thrift_parser_1.SyntaxType.IncludeDefinition);
package/esm/index.js CHANGED
@@ -8,7 +8,6 @@ import { path, process, util } from '@graphql-mesh/cross-helpers';
8
8
  import { PredefinedProxyOptions } from '@graphql-mesh/store';
9
9
  import { getInterpolatedHeadersFactory, parseInterpolationStrings, } from '@graphql-mesh/string-interpolation';
10
10
  import { readFileOrUrl } from '@graphql-mesh/utils';
11
- import { AggregateError } from '@graphql-tools/utils';
12
11
  export default class ThriftHandler {
13
12
  constructor({ config, baseDir, store, importFn, logger, }) {
14
13
  this.config = config;
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@graphql-mesh/thrift",
3
- "version": "1.0.0-alpha-20230424113259-560b18922",
3
+ "version": "1.0.0-alpha-20230522110904-130abe0f9",
4
4
  "sideEffects": false,
5
5
  "peerDependencies": {
6
- "@graphql-mesh/cross-helpers": "^0.3.4",
7
- "@graphql-mesh/store": "1.0.0-alpha-20230424113259-560b18922",
8
- "@graphql-mesh/types": "1.0.0-alpha-20230424113259-560b18922",
9
- "@graphql-mesh/utils": "1.0.0-alpha-20230424113259-560b18922",
6
+ "@graphql-mesh/cross-helpers": "0.4.0-alpha-20230522110904-130abe0f9",
7
+ "@graphql-mesh/store": "1.0.0-alpha-20230522110904-130abe0f9",
8
+ "@graphql-mesh/types": "1.0.0-alpha-20230522110904-130abe0f9",
9
+ "@graphql-mesh/utils": "1.0.0-alpha-20230522110904-130abe0f9",
10
10
  "@graphql-tools/utils": "^9.2.1",
11
11
  "graphql": "*",
12
12
  "tslib": "^2.4.0"
@@ -15,7 +15,7 @@
15
15
  "@creditkarma/thrift-client": "1.0.4",
16
16
  "@creditkarma/thrift-parser": "2.0.0",
17
17
  "@creditkarma/thrift-server-core": "1.0.4",
18
- "@graphql-mesh/string-interpolation": "0.4.4",
18
+ "@graphql-mesh/string-interpolation": "0.5.0-alpha-20230522110904-130abe0f9",
19
19
  "graphql-scalars": "^1.20.4",
20
20
  "pascal-case": "3.1.2",
21
21
  "thrift": "0.18.1",