@skmtc/core 0.0.409 → 0.0.410

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/esm/dsl/File.js CHANGED
@@ -69,7 +69,7 @@ export class File {
69
69
  exportPath: module,
70
70
  settings: this.settings
71
71
  });
72
- return Object.entries(entityTypes).map(([entityType, names]) => {
72
+ return Object.entries(entityTypes).flatMap(([entityType, names]) => {
73
73
  const prefix = entityType === 'type' ? 'type' : '';
74
74
  return `export ${prefix} { ${Array.from(names).join(', ')} } from '${updatedModuleName}'`;
75
75
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skmtc/core",
3
- "version": "0.0.409",
3
+ "version": "0.0.410",
4
4
  "main": "./script/mod.js",
5
5
  "module": "./esm/mod.js",
6
6
  "exports": {
@@ -72,7 +72,7 @@ class File {
72
72
  exportPath: module,
73
73
  settings: this.settings
74
74
  });
75
- return Object.entries(entityTypes).map(([entityType, names]) => {
75
+ return Object.entries(entityTypes).flatMap(([entityType, names]) => {
76
76
  const prefix = entityType === 'type' ? 'type' : '';
77
77
  return `export ${prefix} { ${Array.from(names).join(', ')} } from '${updatedModuleName}'`;
78
78
  });