@anatine/zod-mock
Advanced tools
Comparing version 3.5.4 to 3.5.5
@@ -5,49 +5,41 @@ # Changelog | ||
### [3.5.4](https://github.com/anatine/zod-plugins/compare/zod-mock-3.5.3...zod-mock-3.5.4) (2022-07-26) | ||
### [3.5.5](https://github.com/anatine/zod-plugins/compare/zod-mock-3.5.4...zod-mock-3.5.5) (2022-07-26) | ||
## [3.5.3](https://github.com/anatine/zod-plugins/compare/zod-mock-3.5.2...zod-mock-3.5.3) (2022-07-26) | ||
### Bug Fixes | ||
* missing readme ([581e371](https://github.com/anatine/zod-plugins/commit/581e37112c223782759635ae34937a0dfa664dc9)) | ||
* more readme fixes ([ed36d93](https://github.com/anatine/zod-plugins/commit/ed36d935dc6bb93ab35b5212e966130ff3ba9838)) | ||
* nativeEnum parsing ([a07e791](https://github.com/anatine/zod-plugins/commit/a07e79166fac0c53eb9569058f2de4e4b85edfda)) | ||
### [3.5.5](https://github.com/anatine/zod-plugins/compare/zod-mock-3.5.4...zod-mock-3.5.5) (2022-07-26) | ||
## [3.5.3](https://github.com/anatine/zod-plugins/compare/zod-mock-3.5.2...zod-mock-3.5.3) (2022-07-26) | ||
### Bug Fixes | ||
* missing readme ([581e371](https://github.com/anatine/zod-plugins/commit/581e37112c223782759635ae34937a0dfa664dc9)) | ||
* more readme fixes ([ed36d93](https://github.com/anatine/zod-plugins/commit/ed36d935dc6bb93ab35b5212e966130ff3ba9838)) | ||
* nativeEnum parsing ([a07e791](https://github.com/anatine/zod-plugins/commit/a07e79166fac0c53eb9569058f2de4e4b85edfda)) | ||
### [3.5.5](https://github.com/anatine/zod-plugins/compare/zod-mock-3.5.4...zod-mock-3.5.5) (2022-07-26) | ||
## [3.5.2](https://github.com/anatine/zod-plugins/compare/zod-mock-3.5.1...zod-mock-3.5.2) (2022-07-24) | ||
### Bug Fixes | ||
* Missing README after refactor ([00ceb10](https://github.com/anatine/zod-plugins/commit/00ceb10be8251c6be2a83e64a9a8cd6116451938)) | ||
* nativeEnum parsing ([a07e791](https://github.com/anatine/zod-plugins/commit/a07e79166fac0c53eb9569058f2de4e4b85edfda)) | ||
### [3.5.5](https://github.com/anatine/zod-plugins/compare/zod-mock-3.5.4...zod-mock-3.5.5) (2022-07-26) | ||
## [3.5.1](https://github.com/anatine/zod-plugins/compare/zod-mock-3.5.0...zod-mock-3.5.1) (2022-07-24) | ||
### Bug Fixes | ||
* nativeEnum parsing ([a07e791](https://github.com/anatine/zod-plugins/commit/a07e79166fac0c53eb9569058f2de4e4b85edfda)) | ||
### [3.5.5](https://github.com/anatine/zod-plugins/compare/zod-mock-3.5.4...zod-mock-3.5.5) (2022-07-26) | ||
# [3.5.0](https://github.com/anatine/zod-plugins/compare/zod-mock-3.4.0...zod-mock-3.5.0) (2022-07-24) | ||
### Bug Fixes | ||
* release pipeline ([bb0ad83](https://github.com/anatine/zod-plugins/commit/bb0ad836a954659b778f1181dff4fe99daf35447)), closes [PR#46](https://github.com/PR/issues/46) | ||
* nativeEnum parsing ([a07e791](https://github.com/anatine/zod-plugins/commit/a07e79166fac0c53eb9569058f2de4e4b85edfda)) | ||
## [3.5.3](https://github.com/anatine/zod-plugins/compare/zod-mock-3.5.2...zod-mock-3.5.3) (2022-07-26) | ||
# [3.4.0](https://github.com/anatine/zod-plugins/compare/zod-mock-3.3.0...zod-mock-3.4.0) (2022-07-24) | ||
### Bug Fixes | ||
@@ -60,17 +52,10 @@ | ||
# [3.3.0](https://github.com/anatine/zod-plugins/compare/zod-mock-3.2.2...zod-mock-3.3.0) (2022-07-14) | ||
## [0.0.2](https://github.com/anatine/zod-plugins/compare/zod-mock-0.0.1...zod-mock-0.0.2) (2022-07-14) | ||
## 0.0.1 (2022-07-14) | ||
### Bug Fixes | ||
* Adding in new release githuib actions ([29a2455](https://github.com/anatine/zod-plugins/commit/29a2455161f7021df9f933d0d8b200a08fe31fde)) |
{ | ||
"name": "@anatine/zod-mock", | ||
"version": "3.5.4", | ||
"version": "3.5.5", | ||
"description": "Zod auto-mock object generator using Faker at @faker-js/faker", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -219,3 +219,4 @@ "use strict"; | ||
const pick = Math.floor(Math.random() * (Object.values(values).length / 2)); | ||
return values[values[pick]]; | ||
const key = Array.from(Object.keys(values))[pick]; | ||
return values[values[key]]; | ||
} | ||
@@ -222,0 +223,0 @@ function parseLiteral(zodRef) { |
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
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
301
30676