Changelog
[1.0.0-rc.4] - 2018-08-30
adjuster.number().adjust([])
causes adjuster.CAUSE.TYPE
Changelog
[1.0.0-rc.3] - 2018-08-28
index.d.ts
Changelog
[1.0.0-rc.2] - 2018-08-25
adjuster.string().pattern()
and adjuster.email().pattern()
accept only RegExp (reject string)Changelog
[0.16.0] - 2018-08-21
EMAIL
, IPV4
, IPV6
to adjuster.STRING.PATTERN
var adjuster = require("adjuster");
instead of var adjuster = require("adjuster").default;
adjuster.STRING.PATTERN.URI
Changelog
[0.15.0] - 2018-08-18
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 arrayadjuster.CAUSE.TYPE
instead of adjuster.CAUSE.NOT_OBJECT
adjuster.string()
numericString
, when .joinArray()
is not called and an array is passed, cause an error adjuster.CAUSE.TYPE
instead of adjuster.CAUSE.PATTERN
STRING_PATTERN
to STRING.PATTERN
, NUMERIC_STRING_CHECKSUM_ALGORITHM
to NUMERIC_STRING.CHECKSUM_ALGORITHM
adjuster.numberArray()
- use adjuster.array()
insteadadjuster.stringArray()
- use adjuster.array()
insteaderr.key
- use err.keyStack
insteadChangelog
[0.14.0] - 2018-08-11
README.md
adjuster.CAUSE.NOT_OBJECT
when input
type of adjuster.adjust()
is not an object*.mjs
)Changelog
[0.13.0] - 2018-07-20
adjuster.numberArray().eachInteger()
adjuster.numberArray().eachIn()
in JSDoc (should be adjuster.numberArray().eachOnly()
)adjuster.stringArray().eachIn()
in JSDoc (should be adjuster.stringArray().eachOnly()
)