pacc 4.21.1 → 4.22.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/expand.mjs +4 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pacc",
3
- "version": "4.21.1",
3
+ "version": "4.22.0",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "provenance": true
package/src/expand.mjs CHANGED
@@ -116,6 +116,10 @@ export function expand(object, context) {
116
116
  return array;
117
117
  }
118
118
 
119
+ if(object instanceof context.stopClass) {
120
+ return object;
121
+ }
122
+
119
123
  let newObject = {};
120
124
 
121
125
  for (let [key, value] of Object.entries(object)) {