protoblast
Advanced tools
Changelog
0.7.11 (2021-08-10)
Blast.createTempDirSync()
returning the wrong valueBlast.mkdirp()
and Blast.mkdirpSync()
always return the path they were creatingChangelog
0.7.10 (2021-08-07)
Request.lookup()
method which caches DNS lookups for 60 secondsRequest
methods so no external xhr
access is requiredRequest
cachingBlast.mkdirp()
and Blast.mkdirpSync()
methodsBlast.rmrf()
and Blast.rmrfSync()
methodsBlast.generateTempPath()
, Blast.openTempFile()
, Blast.cleanupTempPaths()
, ...String#replaceAll()
polyfillTimeoutPledge
not actually running its executorChangelog
0.7.9 (2021-06-11)
clearAndDoTasks()
to make sure new tasks are also calledFunction.constitute()
will only immediately queue the constitutor when blast has loaded fully, not also when it is loadingDate#format()
breaking on Safari 14.1 when used with a timezoneJSON.safeParse()
will now remove BOM (byte order marker)Changelog
0.7.8 (2021-04-29)
String#replaceAll()
a polyfill, as it is now part of ECMAScript-2021Function.enforceProperty
accept symbols as keysBranch
classChangelog
0.7.7 (2021-01-21)
classWideEvents
no longer working on Informer instancesFunction.parallel()
not being able to handle promises like Function.series()
.setStatic()
methodChangelog
0.7.6 (2020-12-10)
prepareProperty
and enforceProperty
calls overriding the prototypeChangelog
0.7.5 (2020-11-12)
Function.inherits(parent, constructor)
now also accepts a name string instead of a constructorFunction.parallel
and Function.series
will now reject if there is an error in the callback, instead of silently failingObject.isIterable(obj)
to check for an iterable objectRURL.isUrl()
should no longer return true for objects containing just a href
propertybody
of a Request
can now also be set with a body
option propertyRURL#param(name, value)
not parsing form pathsDate#format(pattern, locale, timezone)
Changelog
0.7.4 (2020-10-22)
Blast.isSafari
boolean & fix detection for iPadOS 13Crypto.nanoid(size)
to create a nano-idCrypto.createNanoidGenerator(alphabet, default_size, rng)
to create custom nano-id generatorsSeededRng#randomBytes()
so it can be used as an rng in the nano-id generatorChangelog
0.7.3 (2020-10-08)
String#tokenizeHTML()
ignore illegal nested custom blocksString#tokenizeHTML()
to ignore blocks that span multiple linesChangelog
0.7.2 (2020-07-21)
String#dedent()
methoddeprecate
decoratorFunction.parallel
& Function.series
where primitives would be turned into objectsRURL#segments
will now no longer contain empty stringsRURL#isDescendant(parent)
to see if the current path is a descendant of the given path