protoblast
Advanced tools
Changelog
0.9.2 (2024-02-25)
Develry.Request.cache
as soon as a non-GET request is madeDecimal
classes cause an errorObject.setPath()
create arrays by defaultChangelog
0.9.1 (2024-02-19)
Pledge
instances to be cancelledChangelog
0.9.0 (2024-02-15)
String
methods don't return object versions of the stringPledge.done()
resolving with object versions of primitivesBlast.require(path)
use vm
module instead of monkey-patching require
Cache#clear()
methodFunction.postInherit(task)
, which will execute the task after the class has been inheritedBlast.parseClassPath(path)
methodWeakValueSet
classWeakValueSetMap
classBlast.createObjectId()
also available on the server-sidetoISOString
method to AbstractDateTime
classesBlast.didInitialLoad()
methodBlast.executeAfterLoadingCycle()
keep did_initial_load
variable aloneString.parseQuoted(input)
to parse json-like string valuesPlaceholder
and Trail
class to the Develry namespacePledge
class is now a child of Placeholder
and no longer an Informer
Function.create(name, fnc)
rename the given function instead of creating a new one using eval
eval
usage from the methodize
& unmethode
functionsObject.hasOwnProperty.call
calls with Object.hasOwn
Changelog
0.8.18 (2024-01-19)
Magic
class not passing constructor arguments properlychildren
property when creating a new child class in the same namespaceArray#sortTopological(id_path, dependencies_path)
Blast.executeAfterLoadingCycle(task)
which will put Protoblast in an unloaded state if needed and execute the task after the library becomes loaded again.Changelog
0.8.16 (2023-12-21)
String#splitOnce(separator)
breaking when the separator is not foundSeededRng#between(min, max)
methodemit_chunks
option to server-side Request
classLinkedList
and LinkedMap
classesFunction.timebomb()
to be made with an infinite timeoutRequestEvents
class, which is similar to EventSource
but supports POST
requestsChangelog
0.8.15 (2023-11-27)
Deck#first()
and Deck#last()
methodsObject.alike
comparison logic to support custom equality methods and optimized type checkingAbstractNumeric
classes jsonify to a stringError
classes not created via Protoblast can be unserializedFunction#setProperty
use Reflect.ownNames
when given an object, so it'll also work with SymbolsFunction#setProperty
accept functions as values when wrapped in an objectInformer#emit
will now be called synchronously when no listeners are foundSwiftPledge
class, which tries to remain synchronous when possibleSwiftPledge
in function flow methods when trying to remain synchronousPOST
requests on the browser if explicitly requestedSwiftPledge
in Request
class for better cache performancetoJSON
method to AbstractDateTime
classFunction.waterfall
and Pledge.Swift.waterfall
methodsChangelog
0.8.14 (2023-11-04)
LocalDateTime
, LocalDate
and LocalTime
classesObject.checksum()
handling of class instancesSymbol.toStringTag
implementation for classesDecimal
classesObject.isPrimitive(arg)
return true for all primitive typesObject.stringifyPrimitive(arg)
methodSymbol.toPrimitive
method for the local date classes so it'll behave like the native Date classChangelog
0.8.13 (2023-10-15)
a year and ago
with the #timeAgo()
methodvalues()
and toArray()
method to the BackedMap
classtype_path
property of classes when creating a descendants dictionaryDate#add(amount, unit)
handle days, weeks, months & years differentlyx-protoblast-webview
request header when running in a webview