@graphql-tools/jest-transform 1.1.3 → 1.1.4

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.d.ts CHANGED
@@ -8,3 +8,7 @@ declare module '@jest/types' {
8
8
  }
9
9
  }
10
10
  export declare function process(...args: any[]): any;
11
+ declare const transformerFactory: {
12
+ process: typeof process;
13
+ };
14
+ export default transformerFactory;
package/index.js CHANGED
@@ -27,5 +27,9 @@ function defaultTransformer() {
27
27
  function process(...args) {
28
28
  return defaultTransformer().process(...args);
29
29
  }
30
+ const transformerFactory = {
31
+ process,
32
+ };
30
33
 
34
+ exports.default = transformerFactory;
31
35
  exports.process = process;
package/index.mjs CHANGED
@@ -21,5 +21,9 @@ function defaultTransformer() {
21
21
  function process(...args) {
22
22
  return defaultTransformer().process(...args);
23
23
  }
24
+ const transformerFactory = {
25
+ process,
26
+ };
24
27
 
28
+ export default transformerFactory;
25
29
  export { process };
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@graphql-tools/jest-transform",
3
- "version": "1.1.3",
3
+ "version": "1.1.4",
4
4
  "description": "Jest Plugin to load and parse imported GraphQL files",
5
5
  "sideEffects": false,
6
6
  "peerDependencies": {
7
- "graphql": "^14.0.0 || ^15.0.0 || ^16.0.0"
7
+ "graphql": "^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0"
8
8
  },
9
9
  "dependencies": {
10
10
  "@graphql-tools/webpack-loader": "6.6.2",