Releases: shimataro/value-schema
Releases · shimataro/value-schema
node-adjuster 1.0.0-rc.5 released
Removed
adjuster.ipv4()
- useadjuster.string().pattern(adjuster.STRING.PATTERN.IPV4)
insteadadjuster.ipv6()
- useadjuster.string().pattern(adjuster.STRING.PATTERN.IPV6)
instead
Fixed
- RegExp pattern;
adjuster.STRING.PATTERN.URI
node-adjuster 1.0.0-rc.4 released
Changed
adjuster.number().adjust([])
causesadjuster.CAUSE.TYPE
node-adjuster 1.0.0-rc.3 released
Others
- documents proofreading
- some minor changes of JSDoc and
index.d.ts
node-adjuster 1.0.0-rc.2 released
Changed
adjuster.string().pattern()
andadjuster.email().pattern()
accept only RegExp (reject string)
Others
- update babel version
- fix document
- introduce code coverage tool
node-adjuster 1.0.0-rc.1 released
RELEASE CANDIDATE OF 1.0.0!
Fixed
- method to publish
node-adjuster 0.16.0 released
THIS IS ALMOST RELEASE CANDIDATE!
Added
EMAIL
,IPV4
,IPV6
toadjuster.STRING.PATTERN
Changed
- change loading method for CJS; use
var adjuster = require("adjuster");
instead ofvar adjuster = require("adjuster").default;
Fixed
- type of
adjuster.STRING.PATTERN.URI
node-adjuster 0.15.1 released
Others
- enhance
index.d.ts
for TypeScript products
node-adjuster 0.15.0 released
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 ofadjuster.CAUSE.NOT_OBJECT
- reject array and object in
adjuster.string()
- in
numericString
, when.joinArray()
is not called and an array is passed, cause an erroradjuster.CAUSE.TYPE
instead ofadjuster.CAUSE.PATTERN
- rename
STRING_PATTERN
toSTRING.PATTERN
,NUMERIC_STRING_CHECKSUM_ALGORITHM
toNUMERIC_STRING.CHECKSUM_ALGORITHM
Fixed
- installation error!
Deleted
adjuster.numberArray()
- useadjuster.array()
insteadadjuster.stringArray()
- useadjuster.array()
insteaderr.key
- useerr.keyStack
instead
node-adjuster 0.14.0 released
Added
- Introduction in
README.md
Changed
- cause an error
adjuster.CAUSE.NOT_OBJECT
wheninput
type ofadjuster.adjust()
is not an object
Fixed
- build error in Windows
Others
- support ES Modules (
*.mjs
)
node-adjuster 0.13.0 released
Added
adjuster.numberArray().eachInteger()
Fixed
adjuster.numberArray().eachIn()
in JSDoc (should beadjuster.numberArray().eachOnly()
)adjuster.stringArray().eachIn()
in JSDoc (should beadjuster.stringArray().eachOnly()
)