pacc 9.2.12 → 9.2.13

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 (2) hide show
  1. package/package.json +1 -1
  2. package/src/expand.mjs +1 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pacc",
3
- "version": "9.2.12",
3
+ "version": "9.2.13",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "provenance": true
package/src/expand.mjs CHANGED
@@ -159,7 +159,7 @@ export function expand(object, context) {
159
159
  return object;
160
160
  }
161
161
 
162
- if (typeof object.valueOf === "function") {
162
+ if(Object.prototype.toString.call(object) !== '[object Object]') {
163
163
  return object;
164
164
  }
165
165
 
@@ -185,7 +185,6 @@ export function expand(object, context) {
185
185
  }
186
186
  }
187
187
 
188
- console.log(newObject);
189
188
  return newObject;
190
189
  }
191
190