@inversifyjs/core
Advanced tools
Comparing version 1.3.2 to 1.3.3
# @inversifyjs/core | ||
## 1.3.3 | ||
### Patch Changes | ||
- 0e347ab: Updated get metadata flow to provide better error messages when missing metadata. | ||
## 1.3.2 | ||
@@ -4,0 +10,0 @@ |
@@ -6,2 +6,3 @@ "use strict"; | ||
const keys_1 = require("../../reflectMetadata/data/keys"); | ||
const assertConstructorMetadataArrayFilled_1 = require("./assertConstructorMetadataArrayFilled"); | ||
const getClassElementMetadataFromNewable_1 = require("./getClassElementMetadataFromNewable"); | ||
@@ -29,4 +30,5 @@ const getConstructorArgumentMetadataFromLegacyMetadata_1 = require("./getConstructorArgumentMetadataFromLegacyMetadata"); | ||
} | ||
(0, assertConstructorMetadataArrayFilled_1.assertConstructorMetadataArrayFilled)(type, constructorArgumentsMetadata); | ||
return constructorArgumentsMetadata; | ||
} | ||
//# sourceMappingURL=getClassMetadataConstructorArguments.js.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.getClassMetadataConstructorArgumentsFromMetadataReader = getClassMetadataConstructorArgumentsFromMetadataReader; | ||
const assertConstructorMetadataArrayFilled_1 = require("./assertConstructorMetadataArrayFilled"); | ||
const getClassElementMetadataFromNewable_1 = require("./getClassElementMetadataFromNewable"); | ||
@@ -24,4 +25,5 @@ const getConstructorArgumentMetadataFromLegacyMetadata_1 = require("./getConstructorArgumentMetadataFromLegacyMetadata"); | ||
} | ||
(0, assertConstructorMetadataArrayFilled_1.assertConstructorMetadataArrayFilled)(type, constructorArgumentsMetadata); | ||
return constructorArgumentsMetadata; | ||
} | ||
//# sourceMappingURL=getClassMetadataConstructorArgumentsFromMetadataReader.js.map |
import { getReflectMetadata } from '@inversifyjs/reflect-metadata-utils'; | ||
import { DESIGN_PARAM_TYPES, TAGGED } from '../../reflectMetadata/data/keys'; | ||
import { assertConstructorMetadataArrayFilled } from './assertConstructorMetadataArrayFilled'; | ||
import { getClassElementMetadataFromNewable } from './getClassElementMetadataFromNewable'; | ||
@@ -25,4 +26,5 @@ import { getConstructorArgumentMetadataFromLegacyMetadata } from './getConstructorArgumentMetadataFromLegacyMetadata'; | ||
} | ||
assertConstructorMetadataArrayFilled(type, constructorArgumentsMetadata); | ||
return constructorArgumentsMetadata; | ||
} | ||
//# sourceMappingURL=getClassMetadataConstructorArguments.js.map |
@@ -0,1 +1,2 @@ | ||
import { assertConstructorMetadataArrayFilled } from './assertConstructorMetadataArrayFilled'; | ||
import { getClassElementMetadataFromNewable } from './getClassElementMetadataFromNewable'; | ||
@@ -21,4 +22,5 @@ import { getConstructorArgumentMetadataFromLegacyMetadata } from './getConstructorArgumentMetadataFromLegacyMetadata'; | ||
} | ||
assertConstructorMetadataArrayFilled(type, constructorArgumentsMetadata); | ||
return constructorArgumentsMetadata; | ||
} | ||
//# sourceMappingURL=getClassMetadataConstructorArgumentsFromMetadataReader.js.map |
@@ -39,2 +39,6 @@ { | ||
], | ||
"devEngines": { | ||
"node": "^20.18.0", | ||
"pnpm": "^9.12.1" | ||
}, | ||
"license": "MIT", | ||
@@ -58,3 +62,3 @@ "main": "lib/cjs/index.js", | ||
"sideEffects": false, | ||
"version": "1.3.2", | ||
"version": "1.3.3", | ||
"scripts": { | ||
@@ -61,0 +65,0 @@ "build": "pnpm run build:cjs && pnpm run build:esm", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
194102
375
1674