@graphql-mesh/string-interpolation 0.0.0 → 0.0.1

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/CHANGELOG.md ADDED
@@ -0,0 +1,7 @@
1
+ # @graphql-mesh/string-interpolation
2
+
3
+ ## 0.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 7856f92d3: Bump all packages
package/dist/index.js CHANGED
@@ -153,6 +153,7 @@ class Interpolator {
153
153
  return transformers.reduce((str, transform) => transform ? transform(str, rawData) : str, str);
154
154
  }
155
155
  catch (e) {
156
+ console.error(`An error occurred while applying modifiers to ${str}`, modifiers, e);
156
157
  return str;
157
158
  }
158
159
  }
package/dist/index.mjs CHANGED
@@ -147,6 +147,7 @@ class Interpolator {
147
147
  return transformers.reduce((str, transform) => transform ? transform(str, rawData) : str, str);
148
148
  }
149
149
  catch (e) {
150
+ console.error(`An error occurred while applying modifiers to ${str}`, modifiers, e);
150
151
  return str;
151
152
  }
152
153
  }
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@graphql-mesh/string-interpolation",
3
- "version": "0.0.0",
3
+ "version": "0.0.1",
4
4
  "description": "Dynamic string manipulation",
5
5
  "sideEffects": false,
6
6
  "dependencies": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@graphql-mesh/string-interpolation",
3
- "version": "0.0.0",
3
+ "version": "0.0.1",
4
4
  "description": "Dynamic string manipulation",
5
5
  "sideEffects": false,
6
6
  "main": "dist/index.js",
@@ -151,6 +151,7 @@ export class Interpolator {
151
151
  const transformers = modifiers.map(modifier => modifier && modifier.transform);
152
152
  return transformers.reduce((str, transform) => transform ? transform(str, rawData) : str, str);
153
153
  } catch (e) {
154
+ console.error(`An error occurred while applying modifiers to ${str}`, modifiers, e);
154
155
  return str;
155
156
  }
156
157
  }