Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

protoblast

Package Overview
Dependencies
Maintainers
1
Versions
103
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

protoblast - npm Package Versions

23
11

0.9.4

Diff

Changelog

Source

0.9.4 (2024-10-19)

  • Fix RequestEvents class restarting request that is already being handled
  • Make constructor task handling more robust
skerit
published 0.9.3 •

Changelog

Source

0.9.3 (2024-08-12)

  • Add Trail#ifNull(fallback) method
  • Make Function.getDescendant(name) also try the lowercase version of the name
  • Add some devtools functions for custom inspect formatting
  • Add Pledge#getResolvedFunction() method, which can be passed as an old-style callback
  • Fix some Swift methods not using the correct schedulers
  • Implement a custom done and waterfall static method for the SwiftPledge class
  • Make Develry.HttpAgent classes return sockets from createConnection
  • Don't throw errors when an unused/free socket has an error in Develry.HttpAgent
  • Fix registered modules not being requirable in the browser
  • Add some basic support for inheriting from ES6 classes
  • Fix comments breaking the SSE request handler
  • Add Blast.isAppleWebkit boolean
  • Add Blast.environment string property and isProduction, isDevelopment and isStaging booleans
  • Add Optional value-wrapper class
  • Add Pledge#getRejectedReason() method
  • Add ObservableOptional class
skerit
published 0.8.19 •

skerit
published 0.9.2 •

Changelog

Source

0.9.2 (2024-02-25)

  • Clear the entire Develry.Request.cache as soon as a non-GET request is made
  • Don't let falsy values passed to Decimal classes cause an error
  • Don't let Object.setPath() create arrays by default
skerit
published 0.9.1 •

Changelog

Source

0.9.1 (2024-02-19)

  • Rewrite JavaScript tokenizer to no longer use regexes
  • Allow Pledge instances to be cancelled
skerit
published 0.9.0 •

Changelog

Source

0.9.0 (2024-02-15)

  • Make sure String methods don't return object versions of the string
  • Fix Pledge.done() resolving with object versions of primitives
  • Make Blast.require(path) use vm module instead of monkey-patching require
  • Add Cache#clear() method
  • Add Function.postInherit(task), which will execute the task after the class has been inherited
  • Add Blast.parseClassPath(path) method
  • Add WeakValueSet class
  • Add WeakValueSetMap class
  • Make Blast.createObjectId() also available on the server-side
  • Add toISOString method to AbstractDateTime classes
  • Add Blast.didInitialLoad() method
  • Make Blast.executeAfterLoadingCycle() keep did_initial_load variable alone
  • Add String.parseQuoted(input) to parse json-like string values
  • Add the Placeholder and Trail class to the Develry namespace
  • The Pledge class is now a child of Placeholder and no longer an Informer
  • Make Function.create(name, fnc) rename the given function instead of creating a new one using eval
  • Remove eval usage from the methodize & unmethode functions
  • Add new operators to the JavaScript tokenizer
  • Replace Object.hasOwnProperty.call calls with Object.hasOwn
  • Add support for underscores in numbers to the tokenizer
  • Remove some unused string methods
  • Removed special Bun require code
skerit
published 0.8.18 •

Changelog

Source

0.8.18 (2024-01-19)

  • Fix Magic class not passing constructor arguments properly
  • Remove original child class form children property when creating a new child class in the same namespace
  • Fix class constitutors not being propagated to already existing children
  • Add Array#sortTopological(id_path, dependencies_path)
  • Add Blast.executeAfterLoadingCycle(task) which will put Protoblast in an unloaded state if needed and execute the task after the library becomes loaded again.
skerit
published 0.8.17 •

Changelog

Source

0.8.17 (2024-01-10)

  • Add Request#getResponse() method
skerit
published 0.8.16 •

Changelog

Source

0.8.16 (2023-12-21)

  • Fix String#splitOnce(separator) breaking when the separator is not found
  • Add SeededRng#between(min, max) method
  • Add emit_chunks option to server-side Request class
  • Add LinkedList and LinkedMap classes
  • Allow Function.timebomb() to be made with an infinite timeout
  • Add RequestEvents class, which is similar to EventSource but supports POST requests
skerit
published 0.8.15 •

Changelog

Source

0.8.15 (2023-11-27)

  • Add Deck#first() and Deck#last() methods
  • Refined Object.alike comparison logic to support custom equality methods and optimized type checking
  • Make AbstractNumeric classes jsonify to a string
  • Make sure child Error classes not created via Protoblast can be unserialized
  • Make Function#setProperty use Reflect.ownNames when given an object, so it'll also work with Symbols
  • Refactor Pledge classes
  • Make Function#setProperty accept functions as values when wrapped in an object
  • Callbacks passed to Informer#emit will now be called synchronously when no listeners are found
  • Add SwiftPledge class, which tries to remain synchronous when possible
  • Use SwiftPledge in function flow methods when trying to remain synchronous
  • Allow caching POST requests on the browser if explicitly requested
  • Use SwiftPledge in Request class for better cache performance
  • Add toJSON method to AbstractDateTime class
  • Add Function.waterfall and Pledge.Swift.waterfall methods
23
11
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc