UNPKG

vnopts

Version:

validate and normalize options

48 lines (27 loc) 2.69 kB
# Changelog All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. # [2.0.0](https://github.com/ikatyang/vnopts/compare/v1.0.2...v2.0.0) (2023-07-15) ### Build System - update infra ([#82](https://github.com/ikatyang/vnopts/issues/82)) ([2f5fd91](https://github.com/ikatyang/vnopts/commit/2f5fd91eca1974f2e52d9c3bf0049253793c26bc)) ### Features - add `missing` option to customize the definition of missing ([#10](https://github.com/ikatyang/vnopts/issues/10)) ([2faf848](https://github.com/ikatyang/vnopts/commit/2faf848db85f9ea24d681f497c70d570ad9f1bbc)) - add `preprocess`/`postprocess` option ([#12](https://github.com/ikatyang/vnopts/issues/12)) ([b25dd66](https://github.com/ikatyang/vnopts/commit/b25dd6694e272d010628e68c3750166a1424b06f)) - add `required` option to throw if the required key is missing ([#11](https://github.com/ikatyang/vnopts/issues/11)) ([777e870](https://github.com/ikatyang/vnopts/commit/777e8708bc456f825bfb812e1e1c1d8ee162051a)) - allow `preprocess`/`postprocess` to access `Utils` ([#14](https://github.com/ikatyang/vnopts/issues/14)) ([63c3b7c](https://github.com/ikatyang/vnopts/commit/63c3b7c94a4ef98ba386d3413c55f40c7ba5d118)) - **ChoiceSchema:** add `hidden` field for choices ([#17](https://github.com/ikatyang/vnopts/issues/17)) ([fe36ccc](https://github.com/ikatyang/vnopts/commit/fe36ccc425b0d8efee753615ee09ebdf788e156b)) - **expected:** add support for listing expected values ([#9](https://github.com/ikatyang/vnopts/issues/9)) ([269da62](https://github.com/ikatyang/vnopts/commit/269da62bc7cce8a3cceed73411ff2f2d96fb2a2c)) - tweak the return type of `postprocess` for better performance ([#16](https://github.com/ikatyang/vnopts/issues/16)) ([5ae46c2](https://github.com/ikatyang/vnopts/commit/5ae46c211360a7fe25d0a7c7aa997ac50910f25f)) ### BREAKING CHANGES - this package is now pure ESM <a name="1.0.2"></a> ## [1.0.2](https://github.com/ikatyang/vnopts/compare/v1.0.1...v1.0.2) (2018-08-31) ### Documentations - tweak punctuation for commonDeprecatedHandler ([#7](https://github.com/ikatyang/vnopts/issues/7)) ([938c0ce](https://github.com/ikatyang/vnopts/commit/938c0ce)) <a name="1.0.1"></a> ## [1.0.1](https://github.com/ikatyang/vnopts/compare/v1.0.0...v1.0.1) (2018-08-29) ### Documentations - tweak wording for commonDeprecatedHandler ([#4](https://github.com/ikatyang/vnopts/issues/4)) ([38c25f2](https://github.com/ikatyang/vnopts/commit/38c25f2)) <a name="1.0.0"></a> # 1.0.0 (2018-08-28) ### Features - initial implementation ([9a190fa](https://github.com/ikatyang/vnopts/commit/9a190fa))