@graphql-tools/graphql-tag-pluck 8.3.7 → 8.3.8
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 +1 -1
- package/cjs/index.js +2 -2
- package/package.json +2 -2
package/cjs/config.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.default = generateConfig;
|
|
3
4
|
const extname_js_1 = require("./libs/extname.js");
|
|
4
5
|
function generateConfig(filePath, code, _options) {
|
|
5
6
|
const plugins = [
|
|
@@ -94,4 +95,3 @@ function generateConfig(filePath, code, _options) {
|
|
|
94
95
|
sourceFilename: filePath,
|
|
95
96
|
};
|
|
96
97
|
}
|
|
97
|
-
exports.default = generateConfig;
|
package/cjs/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.gqlPluckFromCodeStringSync = exports.gqlPluckFromCodeString = void 0;
|
|
4
|
+
exports.parseCode = parseCode;
|
|
4
5
|
const tslib_1 = require("tslib");
|
|
5
6
|
/* eslint-disable @typescript-eslint/no-require-imports */
|
|
6
7
|
const graphql_1 = require("graphql");
|
|
@@ -151,7 +152,6 @@ function parseCode({ code, filePath, options, }) {
|
|
|
151
152
|
traverse(ast, visitor);
|
|
152
153
|
return out.returnValue || [];
|
|
153
154
|
}
|
|
154
|
-
exports.parseCode = parseCode;
|
|
155
155
|
function validate({ code, options }) {
|
|
156
156
|
if (typeof code !== 'string') {
|
|
157
157
|
throw TypeError('Provided code must be a string');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graphql-tools/graphql-tag-pluck",
|
|
3
|
-
"version": "8.3.
|
|
3
|
+
"version": "8.3.8",
|
|
4
4
|
"description": "Pluck graphql-tag template literals",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"peerDependencies": {
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"@babel/plugin-syntax-import-assertions": "^7.20.0",
|
|
13
13
|
"@babel/traverse": "^7.16.8",
|
|
14
14
|
"@babel/types": "^7.16.8",
|
|
15
|
-
"@graphql-tools/utils": "^10.6.
|
|
15
|
+
"@graphql-tools/utils": "^10.6.3",
|
|
16
16
|
"tslib": "^2.4.0"
|
|
17
17
|
},
|
|
18
18
|
"repository": {
|