@nestjs/mapped-types
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -10,3 +10,3 @@ "use strict"; | ||
allClassRefs.forEach((classRef) => { | ||
type_helpers_utils_1.inheritPropertyInitializers(this, classRef); | ||
(0, type_helpers_utils_1.inheritPropertyInitializers)(this, classRef); | ||
}); | ||
@@ -16,4 +16,4 @@ } | ||
allClassRefs.forEach((classRef) => { | ||
type_helpers_utils_1.inheritValidationMetadata(classRef, IntersectionClassType); | ||
type_helpers_utils_1.inheritTransformationMetadata(classRef, IntersectionClassType); | ||
(0, type_helpers_utils_1.inheritValidationMetadata)(classRef, IntersectionClassType); | ||
(0, type_helpers_utils_1.inheritTransformationMetadata)(classRef, IntersectionClassType); | ||
}); | ||
@@ -20,0 +20,0 @@ const intersectedNames = allClassRefs.reduce((prev, ref) => prev + ref.name, ''); |
@@ -9,9 +9,9 @@ "use strict"; | ||
constructor() { | ||
type_helpers_utils_1.inheritPropertyInitializers(this, classRef, isInheritedPredicate); | ||
(0, type_helpers_utils_1.inheritPropertyInitializers)(this, classRef, isInheritedPredicate); | ||
} | ||
} | ||
type_helpers_utils_1.inheritValidationMetadata(classRef, OmitClassType, isInheritedPredicate); | ||
type_helpers_utils_1.inheritTransformationMetadata(classRef, OmitClassType, isInheritedPredicate); | ||
(0, type_helpers_utils_1.inheritValidationMetadata)(classRef, OmitClassType, isInheritedPredicate); | ||
(0, type_helpers_utils_1.inheritTransformationMetadata)(classRef, OmitClassType, isInheritedPredicate); | ||
return OmitClassType; | ||
} | ||
exports.OmitType = OmitType; |
@@ -8,10 +8,10 @@ "use strict"; | ||
constructor() { | ||
type_helpers_utils_1.inheritPropertyInitializers(this, classRef); | ||
(0, type_helpers_utils_1.inheritPropertyInitializers)(this, classRef); | ||
} | ||
} | ||
const propertyKeys = type_helpers_utils_1.inheritValidationMetadata(classRef, PartialClassType); | ||
type_helpers_utils_1.inheritTransformationMetadata(classRef, PartialClassType); | ||
const propertyKeys = (0, type_helpers_utils_1.inheritValidationMetadata)(classRef, PartialClassType); | ||
(0, type_helpers_utils_1.inheritTransformationMetadata)(classRef, PartialClassType); | ||
if (propertyKeys) { | ||
propertyKeys.forEach((key) => { | ||
type_helpers_utils_1.applyIsOptionalDecorator(PartialClassType, key); | ||
(0, type_helpers_utils_1.applyIsOptionalDecorator)(PartialClassType, key); | ||
}); | ||
@@ -18,0 +18,0 @@ } |
@@ -9,9 +9,9 @@ "use strict"; | ||
constructor() { | ||
type_helpers_utils_1.inheritPropertyInitializers(this, classRef, isInheritedPredicate); | ||
(0, type_helpers_utils_1.inheritPropertyInitializers)(this, classRef, isInheritedPredicate); | ||
} | ||
} | ||
type_helpers_utils_1.inheritValidationMetadata(classRef, PickClassType, isInheritedPredicate); | ||
type_helpers_utils_1.inheritTransformationMetadata(classRef, PickClassType, isInheritedPredicate); | ||
(0, type_helpers_utils_1.inheritValidationMetadata)(classRef, PickClassType, isInheritedPredicate); | ||
(0, type_helpers_utils_1.inheritTransformationMetadata)(classRef, PickClassType, isInheritedPredicate); | ||
return PickClassType; | ||
} | ||
exports.PickType = PickType; |
{ | ||
"name": "@nestjs/mapped-types", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Nest - modern, fast, powerful node.js web framework (@mapped-types)", | ||
@@ -22,30 +22,38 @@ "author": "Kamil Mysliwiec", | ||
"devDependencies": { | ||
"@commitlint/cli": "12.1.4", | ||
"@commitlint/config-angular": "12.1.4", | ||
"@nestjs/common": "8.0.0", | ||
"@types/jest": "26.0.24", | ||
"@types/node": "14.17.4", | ||
"@typescript-eslint/eslint-plugin": "4.28.2", | ||
"@typescript-eslint/parser": "4.28.2", | ||
"class-transformer": "0.4.0", | ||
"class-validator": "0.13.1", | ||
"eslint": "7.30.0", | ||
"@commitlint/cli": "15.0.0", | ||
"@commitlint/config-angular": "15.0.0", | ||
"@nestjs/common": "8.2.3", | ||
"@types/jest": "27.0.3", | ||
"@types/node": "16.11.11", | ||
"@typescript-eslint/eslint-plugin": "5.5.0", | ||
"@typescript-eslint/parser": "5.5.0", | ||
"class-transformer": "0.5.1", | ||
"class-validator": "0.13.2", | ||
"eslint": "8.3.0", | ||
"eslint-config-prettier": "8.3.0", | ||
"eslint-plugin-import": "2.23.4", | ||
"husky": "7.0.1", | ||
"jest": "27.0.6", | ||
"lint-staged": "11.0.0", | ||
"prettier": "2.3.2", | ||
"eslint-plugin-import": "2.25.3", | ||
"husky": "7.0.4", | ||
"jest": "27.4.3", | ||
"lint-staged": "12.1.2", | ||
"prettier": "2.5.0", | ||
"reflect-metadata": "0.1.13", | ||
"release-it": "14.10.0", | ||
"release-it": "14.11.8", | ||
"rimraf": "3.0.2", | ||
"ts-jest": "27.0.3", | ||
"typescript": "4.3.5" | ||
"ts-jest": "27.0.7", | ||
"typescript": "4.5.2" | ||
}, | ||
"peerDependencies": { | ||
"@nestjs/common": "^7.0.8 || ^8.0.0", | ||
"class-transformer": "^0.2.0 || ^0.3.0 || ^0.4.0", | ||
"class-transformer": "^0.2.0 || ^0.3.0 || ^0.4.0 || ^0.5.0", | ||
"class-validator": "^0.11.1 || ^0.12.0 || ^0.13.0", | ||
"reflect-metadata": "^0.1.12" | ||
}, | ||
"peerDependenciesMeta": { | ||
"class-validator": { | ||
"optional": true | ||
}, | ||
"class-transformer": { | ||
"optional": true | ||
} | ||
}, | ||
"lint-staged": { | ||
@@ -52,0 +60,0 @@ "*.ts": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
22261