@croz/nrich-form-configuration-core
Advanced tools
Comparing version 1.0.9 to 1.1.0
@@ -130,4 +130,3 @@ import * as yup from 'yup'; | ||
* | ||
* @returns Mapped Yup configuration from the form configuration identified by the form id. | ||
* @throws If no matching form configuration is found. | ||
* @returns Mapped Yup configuration from the form configuration identified by the form id, or undefined if no matching form configuration is found. | ||
*/ | ||
@@ -134,0 +133,0 @@ declare const useYupFormConfiguration: (formId: string) => yup.ObjectSchema<any, yup_lib_object.AnyObject, yup_lib_object.TypeOfShape<any>, yup_lib_object.AssertsShape<any>>; |
@@ -121,3 +121,3 @@ var __create = Object.create; | ||
if (!searchedFormConfiguration) { | ||
throw Error(`No form configuration found for given formId: ${formId}`); | ||
return void 0; | ||
} | ||
@@ -124,0 +124,0 @@ return searchedFormConfiguration.yupSchema; |
{ | ||
"name": "@croz/nrich-form-configuration-core", | ||
"description": "Contains core utilities related to the nrich-form-configuration module", | ||
"version": "1.0.9", | ||
"version": "1.1.0", | ||
"author": "CROZ", | ||
@@ -15,5 +15,4 @@ "bugs": "https://github.com/croz-ltd/nrich-frontend/issues", | ||
"@croz/nrich-tsup-config": "*", | ||
"@testing-library/jest-dom": "^5.16.4", | ||
"@testing-library/react": "^13.3.0", | ||
"@testing-library/react-hooks": "^8.0.0", | ||
"@testing-library/jest-dom": "^5.16.5", | ||
"@testing-library/react": "^13.4.0", | ||
"@types/jest": "^28.1.0", | ||
@@ -42,3 +41,3 @@ "eslint": "^8.2.0", | ||
"main": "dist/index.js", | ||
"module": "dist/index.esm.js", | ||
"module": "dist/index.mjs", | ||
"peerDependencies": { | ||
@@ -45,0 +44,0 @@ "react": ">=16.8.0", |
@@ -0,0 +0,0 @@ # @croz/nrich-form-configuration-core |
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
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
76397
14
594
3