protoblast
Advanced tools
Changelog
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 pathChangelog
0.7.1 (2020-07-11)
Function#setProperty
now accepts a single object to set multiple propertiesStream.Delayed()
classStream.Combined()
classCrypto.randomHex()
returning faulty data@
as a namespace will put it in the rootFormData
classPledge
progress, the duration of each interval is also loggedreset_on_call
option of Function.throttle
actually workPledge
on .then()
Pledge.Timeout
classString#splitCharacters()
for getting an array of the string's charactersloopOverArgument()
decorator, which will loop over the given argument if it's an arrayempty
event to FunctionQueueRURL#extension
property to get/set the extension of the pathnameRURL#pathname
will now no longer be empty when the protocol requires a slashError
classFunction.isNativeClass()
to detect functions made with native class
syntaxSymbol.hasInstance
trap to the namespace functionssetImmediate
for rejecting Pledges to prevent uncaught warningsBlast.versions
entries not being set correctly