@graphql-tools/code-file-loader 7.2.2 → 7.2.4-alpha-b935d9b2.0
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.js +2 -2
- package/index.mjs +2 -2
- package/package.json +5 -4
package/index.js
CHANGED
|
@@ -145,7 +145,7 @@ async function tryToLoadFromExport(rawFilePath) {
|
|
|
145
145
|
return await pickExportFromModule({ module: mod, filepath });
|
|
146
146
|
}
|
|
147
147
|
catch (e) {
|
|
148
|
-
throw new Error(`Unable to load from file "${rawFilePath}": ${e.message}`);
|
|
148
|
+
throw new Error(`Unable to load from file "${rawFilePath}": ${e.stack || e.message}`);
|
|
149
149
|
}
|
|
150
150
|
}
|
|
151
151
|
/**
|
|
@@ -158,7 +158,7 @@ function tryToLoadFromExportSync(rawFilePath) {
|
|
|
158
158
|
return pickExportFromModuleSync({ module: mod, filepath });
|
|
159
159
|
}
|
|
160
160
|
catch (e) {
|
|
161
|
-
throw new Error(`Unable to load from file "${rawFilePath}": ${e.message}`);
|
|
161
|
+
throw new Error(`Unable to load from file "${rawFilePath}": ${e.stack || e.message}`);
|
|
162
162
|
}
|
|
163
163
|
}
|
|
164
164
|
/**
|
package/index.mjs
CHANGED
|
@@ -120,7 +120,7 @@ async function tryToLoadFromExport(rawFilePath) {
|
|
|
120
120
|
return await pickExportFromModule({ module: mod, filepath });
|
|
121
121
|
}
|
|
122
122
|
catch (e) {
|
|
123
|
-
throw new Error(`Unable to load from file "${rawFilePath}": ${e.message}`);
|
|
123
|
+
throw new Error(`Unable to load from file "${rawFilePath}": ${e.stack || e.message}`);
|
|
124
124
|
}
|
|
125
125
|
}
|
|
126
126
|
/**
|
|
@@ -133,7 +133,7 @@ function tryToLoadFromExportSync(rawFilePath) {
|
|
|
133
133
|
return pickExportFromModuleSync({ module: mod, filepath });
|
|
134
134
|
}
|
|
135
135
|
catch (e) {
|
|
136
|
-
throw new Error(`Unable to load from file "${rawFilePath}": ${e.message}`);
|
|
136
|
+
throw new Error(`Unable to load from file "${rawFilePath}": ${e.stack || e.message}`);
|
|
137
137
|
}
|
|
138
138
|
}
|
|
139
139
|
/**
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graphql-tools/code-file-loader",
|
|
3
|
-
"version": "7.2.
|
|
3
|
+
"version": "7.2.4-alpha-b935d9b2.0",
|
|
4
4
|
"description": "A set of utils for faster development of GraphQL tools",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"peerDependencies": {
|
|
7
7
|
"graphql": "^14.0.0 || ^15.0.0 || ^16.0.0"
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@graphql-tools/graphql-tag-pluck": "
|
|
11
|
-
"@graphql-tools/utils": "
|
|
10
|
+
"@graphql-tools/graphql-tag-pluck": "7.1.5-alpha-b935d9b2.0",
|
|
11
|
+
"@graphql-tools/utils": "8.6.1-alpha-b935d9b2.0",
|
|
12
12
|
"globby": "^11.0.3",
|
|
13
13
|
"tslib": "~2.3.0",
|
|
14
14
|
"unixify": "^1.0.0"
|
|
@@ -34,6 +34,7 @@
|
|
|
34
34
|
"./*": {
|
|
35
35
|
"require": "./*.js",
|
|
36
36
|
"import": "./*.mjs"
|
|
37
|
-
}
|
|
37
|
+
},
|
|
38
|
+
"./package.json": "./package.json"
|
|
38
39
|
}
|
|
39
40
|
}
|