All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Improved
equal
- Added
be.alpha
- Changed
be.set
tobe.setAssert
- Changed
be.oSet
tobe.set
be.min
be.max
- UMD support
be.arrayOfNumeric
be.stringRange
be.stringLength
- Print arguments in error message
be.nil
, checks if value is null or undefined
- New param
callback
tobe.err
, now is Mocha ready be.of
alias ofbe.classOf
be.objValueInArray
, check if is a key of an object with determined value is in arraybe.generatorFunction
, check if is GeneratorFunction
be.sha256
, check if is sha256 stringbe.sha512
, detect if is sha512 string
- New interface
err
. Now it's possible "throw" an error if assertion are not satisfied
- TypeScript type definitions
- TypeScript type definitions
- Wrong documentation
be.uuid
, detect if is UUIDbe.uuid1
, detect if is UUID v1be.uuid3
, detect if is UUID v3be.uuid4
, detect if is UUID v4be.uuid5
, detect if is UUID v5be.isrc
, detect if is ISRCbe.iswc
, detect if is ISWC
- es8
be.asyncFunction
, detect if is async function
- Code optimization
- Wrong node.js version badge in README
- Unused helper
be.compareVersion
, compare two versionbe.androidTablet
, detect Android tabletbe.androidPhone
, detect Android phonebe.chromeIOS
, detect Chrome on iOSbe.opera
, detect Opera browserbe.edge
, detect Edge browserbe.safariMobile
, detect Safari mobile browserbe.windowsPhone
, detect Windows Phonebe.windowsTablet
, detect Windows tabletbe.blackberry
, detect BlackBerry devicebe.linux
, detect Linuxbe.mobile
, detect mobile devicebe.tablet
, detect tablet devicebe.desktop
, detect desktop device
- es6
be.oSet
, Set object assertion - es6
be.weakSet
, WeakSet object assertion - es6
be.map
, Map object assertion - es6
be.mapIterator
, Map Iterator object assertion - es6
be.setIterator
, Set Iterator object assertion - es6
be.int8Array
, Int8Array object assertion - es6
be.uint8Array
, Uint8Array object assertion - es6
be.uint8ClampedArray
, Uint8ClampedArray object assertion - es6
be.int16Array
, Int16Array object assertion - es6
be.uint16Array
, Uint16Array object assertion - es6
be.int32Array
, Int32Array object assertion - es6
be.uint32Array
, Uint32Array object assertion - es6
be.float32Array
, Float32Array object assertion - es6
be.float64Array
, Float64Array object assertion
be.set
, now it's possible add new/overwrite methodsbe.endWith
be.startWith
, remove regex test
be.symbol
be.defined
be.arrayOfNumbers
be.arrayOfDates
be.arrayOfFunctions
- improved
be.json
- improved
be.buffer
- now
be.equal
support also object and array
- now
be.equal
with zero negative return false be.all.array
failedbe.any.array
failed
be.primitive
be.promise
be.buffer
be.iterable
be.arrayOfBooleans
be.false
be.true
- now
be.booleanTrue
andbe.booleanFalse
are alias ofbe.true
andbe.false
- test