@graphql-codegen/cli 6.0.0-alpha-20250812131146-d8919a6237f19450de571b59081b880c2e7d3494 → 6.0.0-alpha-20250813125320-63ac348b428178b17ad9fae069ce727ffddb8744
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/config.js
CHANGED
|
@@ -237,10 +237,18 @@ function updateContextWithCliFlags(context, cliFlags) {
|
|
|
237
237
|
context.updateConfig(config);
|
|
238
238
|
}
|
|
239
239
|
class CodegenContext {
|
|
240
|
+
_config;
|
|
241
|
+
_graphqlConfig;
|
|
242
|
+
config;
|
|
243
|
+
_project;
|
|
244
|
+
_checkMode = false;
|
|
245
|
+
_pluginContext = {};
|
|
246
|
+
cwd;
|
|
247
|
+
filepath;
|
|
248
|
+
profiler;
|
|
249
|
+
profilerOutput;
|
|
250
|
+
checkModeStaleFiles = [];
|
|
240
251
|
constructor({ config, graphqlConfig, filepath, }) {
|
|
241
|
-
this._checkMode = false;
|
|
242
|
-
this._pluginContext = {};
|
|
243
|
-
this.checkModeStaleFiles = [];
|
|
244
252
|
this._config = config;
|
|
245
253
|
this._graphqlConfig = graphqlConfig;
|
|
246
254
|
this.filepath = this._graphqlConfig ? this._graphqlConfig.filepath : filepath;
|
|
@@ -18,6 +18,10 @@ const debugging_js_1 = require("./debugging.js");
|
|
|
18
18
|
* https://github.com/southpolesteve/node-abort-controller/blob/master/index.js
|
|
19
19
|
*/
|
|
20
20
|
class AbortSignalPolyfill {
|
|
21
|
+
eventEmitter;
|
|
22
|
+
onabort;
|
|
23
|
+
aborted;
|
|
24
|
+
reason;
|
|
21
25
|
constructor() {
|
|
22
26
|
this.eventEmitter = new events_1.EventEmitter();
|
|
23
27
|
this.onabort = null;
|
|
@@ -62,6 +66,7 @@ class AbortSignalPolyfill {
|
|
|
62
66
|
}
|
|
63
67
|
const AbortSignal = global.AbortSignal ?? AbortSignalPolyfill;
|
|
64
68
|
class AbortControllerPolyfill {
|
|
69
|
+
signal;
|
|
65
70
|
constructor() {
|
|
66
71
|
(0, debugging_js_1.debugLog)('Using polyfilled AbortController');
|
|
67
72
|
// @ts-expect-error No Event type in Node 14
|
package/esm/config.js
CHANGED
|
@@ -224,10 +224,18 @@ export function updateContextWithCliFlags(context, cliFlags) {
|
|
|
224
224
|
context.updateConfig(config);
|
|
225
225
|
}
|
|
226
226
|
export class CodegenContext {
|
|
227
|
+
_config;
|
|
228
|
+
_graphqlConfig;
|
|
229
|
+
config;
|
|
230
|
+
_project;
|
|
231
|
+
_checkMode = false;
|
|
232
|
+
_pluginContext = {};
|
|
233
|
+
cwd;
|
|
234
|
+
filepath;
|
|
235
|
+
profiler;
|
|
236
|
+
profilerOutput;
|
|
237
|
+
checkModeStaleFiles = [];
|
|
227
238
|
constructor({ config, graphqlConfig, filepath, }) {
|
|
228
|
-
this._checkMode = false;
|
|
229
|
-
this._pluginContext = {};
|
|
230
|
-
this.checkModeStaleFiles = [];
|
|
231
239
|
this._config = config;
|
|
232
240
|
this._graphqlConfig = graphqlConfig;
|
|
233
241
|
this.filepath = this._graphqlConfig ? this._graphqlConfig.filepath : filepath;
|
|
@@ -15,6 +15,10 @@ import { debugLog } from './debugging.js';
|
|
|
15
15
|
* https://github.com/southpolesteve/node-abort-controller/blob/master/index.js
|
|
16
16
|
*/
|
|
17
17
|
class AbortSignalPolyfill {
|
|
18
|
+
eventEmitter;
|
|
19
|
+
onabort;
|
|
20
|
+
aborted;
|
|
21
|
+
reason;
|
|
18
22
|
constructor() {
|
|
19
23
|
this.eventEmitter = new EventEmitter();
|
|
20
24
|
this.onabort = null;
|
|
@@ -59,6 +63,7 @@ class AbortSignalPolyfill {
|
|
|
59
63
|
}
|
|
60
64
|
const AbortSignal = global.AbortSignal ?? AbortSignalPolyfill;
|
|
61
65
|
class AbortControllerPolyfill {
|
|
66
|
+
signal;
|
|
62
67
|
constructor() {
|
|
63
68
|
debugLog('Using polyfilled AbortController');
|
|
64
69
|
// @ts-expect-error No Event type in Node 14
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graphql-codegen/cli",
|
|
3
|
-
"version": "6.0.0-alpha-
|
|
3
|
+
"version": "6.0.0-alpha-20250813125320-63ac348b428178b17ad9fae069ce727ffddb8744",
|
|
4
4
|
"peerDependenciesMeta": {
|
|
5
5
|
"@parcel/watcher": {
|
|
6
6
|
"optional": true
|
|
@@ -14,9 +14,9 @@
|
|
|
14
14
|
"@babel/generator": "^7.18.13",
|
|
15
15
|
"@babel/template": "^7.18.10",
|
|
16
16
|
"@babel/types": "^7.18.13",
|
|
17
|
-
"@graphql-codegen/client-preset": "5.0.0-alpha-
|
|
18
|
-
"@graphql-codegen/core": "5.0.0-alpha-
|
|
19
|
-
"@graphql-codegen/plugin-helpers": "6.0.0-alpha-
|
|
17
|
+
"@graphql-codegen/client-preset": "5.0.0-alpha-20250813125320-63ac348b428178b17ad9fae069ce727ffddb8744",
|
|
18
|
+
"@graphql-codegen/core": "5.0.0-alpha-20250813125320-63ac348b428178b17ad9fae069ce727ffddb8744",
|
|
19
|
+
"@graphql-codegen/plugin-helpers": "6.0.0-alpha-20250813125320-63ac348b428178b17ad9fae069ce727ffddb8744",
|
|
20
20
|
"@graphql-tools/apollo-engine-loader": "^8.0.0",
|
|
21
21
|
"@graphql-tools/code-file-loader": "^8.0.0",
|
|
22
22
|
"@graphql-tools/git-loader": "^8.0.0",
|