@graphql-tools/utils 8.8.0 → 8.9.0-alpha-e651c437.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/cjs/helpers.js CHANGED
@@ -25,7 +25,7 @@ function isDocumentString(str) {
25
25
  return false;
26
26
  }
27
27
  exports.isDocumentString = isDocumentString;
28
- const invalidPathRegex = /[‘“!%&^<=>`]/;
28
+ const invalidPathRegex = /[‘“!%^<=>`]/;
29
29
  function isValidPath(str) {
30
30
  return typeof str === 'string' && !invalidPathRegex.test(str);
31
31
  }
package/esm/helpers.js CHANGED
@@ -20,7 +20,7 @@ export function isDocumentString(str) {
20
20
  catch (e) { }
21
21
  return false;
22
22
  }
23
- const invalidPathRegex = /[‘“!%&^<=>`]/;
23
+ const invalidPathRegex = /[‘“!%^<=>`]/;
24
24
  export function isValidPath(str) {
25
25
  return typeof str === 'string' && !invalidPathRegex.test(str);
26
26
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@graphql-tools/utils",
3
- "version": "8.8.0",
3
+ "version": "8.9.0-alpha-e651c437.0",
4
4
  "description": "Common package containing utils and types for GraphQL tools",
5
5
  "sideEffects": false,
6
6
  "peerDependencies": {