Socket
Socket
Sign inDemoInstall

protoblast

Package Overview
Dependencies
1
Maintainers
1
Versions
101
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
2345
11Next

0.8.19

Diff

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
skerit
published 0.8.14 •

Changelog

Source

0.8.14 (2023-11-04)

  • Add LocalDateTime, LocalDate and LocalTime classes
  • Improve Object.checksum() handling of class instances
  • Add default Symbol.toStringTag implementation for classes
  • Add Decimal classes
  • Make Object.isPrimitive(arg) return true for all primitive types
  • Add BigInt support to Object.stringifyPrimitive(arg) method
  • Implement Symbol.toPrimitive method for the local date classes so it'll behave like the native Date class
skerit
published 0.8.13 •

Changelog

Source

0.8.13 (2023-10-15)

  • Fix certain dates being turned into a year and ago with the #timeAgo() method
  • Add values() and toArray() method to the BackedMap class
  • Prefer existing type_path property of classes when creating a descendants dictionary
  • Make Date#add(amount, unit) handle days, weeks, months & years differently
  • Set the x-protoblast-webview request header when running in a webview
  • Improve Bun v1.x compatibility
2345
11Next
SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc