@chantouchsek/validatorjs
Advanced tools
Comparing version 1.4.1 to 1.4.2
@@ -5,2 +5,11 @@ # Changelog | ||
### [1.4.2](https://github.com/chantouchsek/validatorjs/compare/v1.4.1...v1.4.2) (2023-10-04) | ||
### Bug Fixes | ||
* :rocket: set the default value for parent and bump all outdated ([c7d5e30](https://github.com/chantouchsek/validatorjs/commit/c7d5e30186f0ce8e4a6a3380d397b331546ae7ea)) | ||
* **deps:** bump get-func-name from 2.0.0 to 2.0.2 ([36973ba](https://github.com/chantouchsek/validatorjs/commit/36973ba4e3c456a89ed25399ab8760a9024c5c78)) | ||
* **deps:** bump postcss from 8.4.29 to 8.4.31 ([b8b7626](https://github.com/chantouchsek/validatorjs/commit/b8b7626e8f4fb2dd6d32b4812aa25176ed6abff7)) | ||
### [1.4.1](https://github.com/chantouchsek/validatorjs/compare/v1.4.0...v1.4.1) (2023-09-21) | ||
@@ -7,0 +16,0 @@ |
@@ -184,3 +184,3 @@ import { get, replace } from 'lodash'; | ||
const parentPath = attribute.substring(0, attribute.indexOf('*') - 1); | ||
const parentValue = get(this.input, parentPath); | ||
const parentValue = get(this.input, parentPath, []); | ||
for (let propertyNumber = 0, len = parentValue.length; propertyNumber < len; propertyNumber++) { | ||
@@ -187,0 +187,0 @@ const workingValues = [...wildCardValues, propertyNumber]; |
{ | ||
"name": "@chantouchsek/validatorjs", | ||
"version": "1.4.1", | ||
"version": "1.4.2", | ||
"description": "The validatorjs library makes data validation in JavaScript very easy in both the browser and Node.js.", | ||
@@ -49,9 +49,9 @@ "author": { | ||
"devDependencies": { | ||
"@antfu/eslint-config": "^0.43.0", | ||
"@commitlint/cli": "^17.7.1", | ||
"@antfu/eslint-config": "^0.43.1", | ||
"@commitlint/cli": "^17.7.2", | ||
"@commitlint/config-conventional": "^17.7.0", | ||
"@types/lodash": "^4.14.198", | ||
"@types/node": "^20.6.3", | ||
"@vitest/coverage-v8": "^0.34.4", | ||
"eslint": "^8.49.0", | ||
"@types/lodash": "^4.14.199", | ||
"@types/node": "^20.8.2", | ||
"@vitest/coverage-v8": "^0.34.6", | ||
"eslint": "^8.50.0", | ||
"eslint-plugin-import": "^2.28.1", | ||
@@ -61,7 +61,7 @@ "husky": "^8.0.3", | ||
"node-notifier": "^10.0.1", | ||
"rimraf": "^5.0.1", | ||
"rimraf": "^5.0.5", | ||
"standard-version": "^9.5.0", | ||
"ts-node": "^10.9.1", | ||
"typescript": "^5.2.2", | ||
"vitest": "^0.34.4" | ||
"vitest": "^0.34.6" | ||
}, | ||
@@ -68,0 +68,0 @@ "lint-staged": { |
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
477321