@graffy/common 0.16.9 → 0.16.10-alpha.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.
Files changed (3) hide show
  1. package/index.cjs +2 -0
  2. package/index.mjs +2 -0
  3. package/package.json +2 -2
package/index.cjs CHANGED
@@ -127,6 +127,8 @@ const stringifyDescriptor = {
127
127
  }
128
128
  };
129
129
  function addStringify(buffer) {
130
+ if (process.env.NODE_ENV !== "TESTING")
131
+ return buffer;
130
132
  if ("toJSON" in buffer || Symbol.for("nodejs.util.inspect.custom") in buffer) {
131
133
  return buffer;
132
134
  }
package/index.mjs CHANGED
@@ -125,6 +125,8 @@ const stringifyDescriptor = {
125
125
  }
126
126
  };
127
127
  function addStringify(buffer) {
128
+ if (process.env.NODE_ENV !== "TESTING")
129
+ return buffer;
128
130
  if ("toJSON" in buffer || Symbol.for("nodejs.util.inspect.custom") in buffer) {
129
131
  return buffer;
130
132
  }
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@graffy/common",
3
3
  "description": "Common libraries that used by various Graffy modules.",
4
4
  "author": "aravind (https://github.com/aravindet)",
5
- "version": "0.16.9",
5
+ "version": "0.16.10-alpha.1",
6
6
  "main": "./index.cjs",
7
7
  "exports": {
8
8
  "import": "./index.mjs",
@@ -18,6 +18,6 @@
18
18
  "dependencies": {
19
19
  "lodash": "^4.17.19",
20
20
  "merge-async-iterators": "^0.2.1",
21
- "@graffy/stream": "0.16.9"
21
+ "@graffy/stream": "0.16.10-alpha.1"
22
22
  }
23
23
  }