Skip to content

Releases: shimataro/value-schema

node-adjuster 1.0.0-rc.5 released

02 Sep 00:52
3902861
Compare
Choose a tag to compare
Pre-release

Removed

  • adjuster.ipv4() - use adjuster.string().pattern(adjuster.STRING.PATTERN.IPV4) instead
  • adjuster.ipv6() - use adjuster.string().pattern(adjuster.STRING.PATTERN.IPV6) instead

Fixed

  • RegExp pattern; adjuster.STRING.PATTERN.URI

node-adjuster 1.0.0-rc.4 released

30 Aug 01:26
f70ffa3
Compare
Choose a tag to compare
Pre-release

Changed

  • adjuster.number().adjust([]) causes adjuster.CAUSE.TYPE

node-adjuster 1.0.0-rc.3 released

27 Aug 21:07
e845aa3
Compare
Choose a tag to compare
Pre-release

Others

  • documents proofreading
  • some minor changes of JSDoc and index.d.ts

node-adjuster 1.0.0-rc.2 released

24 Aug 23:21
b9a3f0c
Compare
Choose a tag to compare
Pre-release

Changed

  • adjuster.string().pattern() and adjuster.email().pattern() accept only RegExp (reject string)

Others

node-adjuster 1.0.0-rc.1 released

23 Aug 15:10
21f343d
Compare
Choose a tag to compare
Pre-release

RELEASE CANDIDATE OF 1.0.0!

Fixed

  • method to publish

node-adjuster 0.16.0 released

21 Aug 13:15
4a90261
Compare
Choose a tag to compare
Pre-release

THIS IS ALMOST RELEASE CANDIDATE!

Added

  • EMAIL, IPV4, IPV6 to adjuster.STRING.PATTERN

Changed

  • change loading method for CJS; use var adjuster = require("adjuster"); instead of var adjuster = require("adjuster").default;

Fixed

  • type of adjuster.STRING.PATTERN.URI

node-adjuster 0.15.1 released

19 Aug 18:50
f4d4b96
Compare
Choose a tag to compare
Pre-release

Others

node-adjuster 0.15.0 released

18 Aug 08:52
b1292ed
Compare
Choose a tag to compare
Pre-release

Added

  • adjuster.boolean()
  • adjuster.number().strict()
  • adjuster.string().strict()
  • adjuster.array()
  • adjuster.object()
  • err.keyStack indicates path to key that caused error; for nested object or array

Changed

  • cause an error adjuster.CAUSE.TYPE instead of adjuster.CAUSE.NOT_OBJECT
  • reject array and object in adjuster.string()
  • in numericString, when .joinArray() is not called and an array is passed, cause an error adjuster.CAUSE.TYPE instead of adjuster.CAUSE.PATTERN
  • rename STRING_PATTERN to STRING.PATTERN, NUMERIC_STRING_CHECKSUM_ALGORITHM to NUMERIC_STRING.CHECKSUM_ALGORITHM

Fixed

  • installation error!

Deleted

  • adjuster.numberArray() - use adjuster.array() instead
  • adjuster.stringArray() - use adjuster.array() instead
  • err.key - use err.keyStack instead

node-adjuster 0.14.0 released

11 Aug 01:20
b28b98d
Compare
Choose a tag to compare
Pre-release

Added

  • Introduction in README.md

Changed

  • cause an error adjuster.CAUSE.NOT_OBJECT when input type of adjuster.adjust() is not an object

Fixed

  • build error in Windows

Others

  • support ES Modules (*.mjs)

node-adjuster 0.13.0 released

19 Jul 19:11
92cdcc1
Compare
Choose a tag to compare
Pre-release

Added

  • adjuster.numberArray().eachInteger()

Fixed

  • adjuster.numberArray().eachIn() in JSDoc (should be adjuster.numberArray().eachOnly())
  • adjuster.stringArray().eachIn() in JSDoc (should be adjuster.stringArray().eachOnly())