pmcf 2.62.2 → 2.62.3

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/base.mjs +6 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pmcf",
3
- "version": "2.62.2",
3
+ "version": "2.62.3",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
package/src/base.mjs CHANGED
@@ -483,7 +483,12 @@ export class Base {
483
483
  return object;
484
484
  }
485
485
  if (object instanceof Map) {
486
- return object; // TODO
486
+ return new Map(
487
+ [...object].map(([k, v]) => [
488
+ this.expand(k),
489
+ this.expand(v)
490
+ ])
491
+ );
487
492
  }
488
493
 
489
494
  if (object instanceof Set) {