@objectstack/metadata 9.2.0 → 9.3.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.
- package/dist/index.cjs +3 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +14 -0
- package/dist/index.d.ts +14 -0
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/dist/node.cjs +3 -0
- package/dist/node.cjs.map +1 -1
- package/dist/node.js +3 -0
- package/dist/node.js.map +1 -1
- package/package.json +7 -7
package/dist/index.cjs
CHANGED
|
@@ -3607,6 +3607,9 @@ var MetadataPlugin = class {
|
|
|
3607
3607
|
for (const item of items) {
|
|
3608
3608
|
const meta = item;
|
|
3609
3609
|
if (meta?.name) {
|
|
3610
|
+
(0, import_shared.applyProtection)(meta, {
|
|
3611
|
+
packageId: this.options.packageId
|
|
3612
|
+
});
|
|
3610
3613
|
await this.manager.register(entry.type, meta.name, item);
|
|
3611
3614
|
}
|
|
3612
3615
|
}
|