@graphql-tools/graphql-tag-pluck 7.1.2-alpha-be1b2ebd.0 → 7.1.2

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/README.md CHANGED
@@ -1,5 +1,5 @@
1
1
  Check API Reference for more information about this package;
2
- https://www.graphql-tools.com/docs/api/modules/graphql-tag-pluck
2
+ https://www.graphql-tools.com/docs/api/modules/graphql_tag_pluck_src
3
3
 
4
4
  You can also learn more about GraphQL Tag Pluck in this chapter;
5
5
  https://www.graphql-tools.com/docs/graphql-tag-pluck
package/index.js CHANGED
@@ -524,10 +524,9 @@ const MissingVueTemplateCompilerError = new Error(freeText(`
524
524
  $ yarn add @vue/compiler-sfc
525
525
  `));
526
526
  async function pluckVueFileScript(fileData) {
527
- // tslint:disable-next-line: no-implicit-dependencies
528
527
  let vueTemplateCompiler;
529
528
  try {
530
- // tslint:disable-next-line: no-implicit-dependencies
529
+ // eslint-disable-next-line import/no-extraneous-dependencies
531
530
  vueTemplateCompiler = await new Promise(function (resolve) { resolve(_interopNamespace(require('@vue/compiler-sfc'))); });
532
531
  }
533
532
  catch (e) {
@@ -536,10 +535,9 @@ async function pluckVueFileScript(fileData) {
536
535
  return parseWithVue(vueTemplateCompiler, fileData);
537
536
  }
538
537
  function pluckVueFileScriptSync(fileData) {
539
- // tslint:disable-next-line: no-implicit-dependencies
540
538
  let vueTemplateCompiler;
541
539
  try {
542
- // tslint:disable-next-line: no-implicit-dependencies
540
+ // eslint-disable-next-line import/no-extraneous-dependencies
543
541
  vueTemplateCompiler = require('@vue/compiler-sfc');
544
542
  }
545
543
  catch (e) {
package/index.mjs CHANGED
@@ -499,10 +499,9 @@ const MissingVueTemplateCompilerError = new Error(freeText(`
499
499
  $ yarn add @vue/compiler-sfc
500
500
  `));
501
501
  async function pluckVueFileScript(fileData) {
502
- // tslint:disable-next-line: no-implicit-dependencies
503
502
  let vueTemplateCompiler;
504
503
  try {
505
- // tslint:disable-next-line: no-implicit-dependencies
504
+ // eslint-disable-next-line import/no-extraneous-dependencies
506
505
  vueTemplateCompiler = await import('@vue/compiler-sfc');
507
506
  }
508
507
  catch (e) {
@@ -511,10 +510,9 @@ async function pluckVueFileScript(fileData) {
511
510
  return parseWithVue(vueTemplateCompiler, fileData);
512
511
  }
513
512
  function pluckVueFileScriptSync(fileData) {
514
- // tslint:disable-next-line: no-implicit-dependencies
515
513
  let vueTemplateCompiler;
516
514
  try {
517
- // tslint:disable-next-line: no-implicit-dependencies
515
+ // eslint-disable-next-line import/no-extraneous-dependencies
518
516
  vueTemplateCompiler = require('@vue/compiler-sfc');
519
517
  }
520
518
  catch (e) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@graphql-tools/graphql-tag-pluck",
3
- "version": "7.1.2-alpha-be1b2ebd.0",
3
+ "version": "7.1.2",
4
4
  "description": "Pluck graphql-tag template literals",
5
5
  "sideEffects": false,
6
6
  "peerDependencies": {
@@ -10,7 +10,7 @@
10
10
  "@babel/parser": "7.15.7",
11
11
  "@babel/traverse": "7.15.4",
12
12
  "@babel/types": "7.15.6",
13
- "@graphql-tools/utils": "9.0.0-alpha-be1b2ebd.0",
13
+ "@graphql-tools/utils": "^8.2.5",
14
14
  "tslib": "~2.3.0"
15
15
  },
16
16
  "repository": {