protoblast
Advanced tools
Changelog
0.5.11 (2018-07-14)
Object.checksum(mixed)
will now treat Dates & Numbers differentlyObject.checksum(mixed)
will now correctly hash node BuffersBuffer
support to Object.alike(a, b)
Object.alike(a, b)
not sort arrays when doing a checksumObject.alike(a, b)
treating null as regular objectsBlast.alikeSymbol
property, which Object.alike
uses for comparing likenessChangelog
0.5.10 (2018-07-11)
Function.doConstitutors
to force doing the constitutors of a classsort_arrays
parameter to Object.checksum(obj, sort_arrays)
Changelog
0.5.9 (2018-07-10)
Object.formPath
and Object.setFormPath
not finding correct RURL methodslimit
support to Function.forEach.parallel
String#isEmptyWhitespace()
to test if the string is empty or has only whitespaceString#isEmptyWhitespaceHTML()
to test if the string is empty or has only whitespace, including HTML elementsChangelog
0.5.8 (2018-07-04)
setProperty
should now also get a super
propertyObject.flatten(obj, divider, flatten_arrays)
now takes a third argument that enables you to disable flattening arraysChangelog
0.5.7 (2018-07-01)
Date.parseDuration(str)
for getting a duration in msDate#add
and Date#subtract
now also accept duration stringsRURL
rewrite, inspired by url-parse
by Arnout Kazemier and URI.js
by Rodney RehmObject.flatten(obj, divider)
now accepts custom dividersRURL.encodeQuery(obj)
now handles nested objectsString#assign(values, remove_used)
attempts to normalize values when assigning objectsDate.parseString(str, base)
and Date.parseStringToTime(str, base)
Changelog
0.5.6 (2018-06-20)
Pledge.resolve
and Pledge.reject
Function.parallel
and Function.series
now accept an array of Pledges/PromisesPledge.all
support & some more rejection fixesPledge.race
and make it so a Pledge's state can't changePledge
class global (if allowed)String#startsWithAny
and String#endsWithAny
Object.values
and Object.entries
polyfillChangelog
0.5.5 (2018-06-18)
URL#parse
not working on node v10Function.regulate
returned wrappers now have a call_count
propertyChangelog
0.5.4 (2018-03-14)
overflow
task to Function.regulate
which will receive extra callsObject.first
will return undefined
if it is given an empty objectChangelog
0.5.3 (2018-03-11)
URL.prototype
in NW.js & browsersclearImmediate
functionString#repeat(count)
polyfillString#padStart
and String#padEnd
polyfillsChangelog
0.5.2 (2018-03-02)
Object.merge
next
method of Function.parallel
or Function.series
is called multiple times an error will be thrownInformer#setCacheMethod
will no longer try to execute a callback if it's not definedPledge#handleCallback
is truthy but not a function, an error will be thrownPledge
is resolved with itselfPledge
handles rejectionsPledge#addProgressPart(parts)
and Pledge#reportProgressPart(parts)
to facility progress reporting