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
Previous1
46
11Next

0.7.10

Diff

Changelog

Source

0.7.10 (2021-08-07)

  • Add Request.lookup() method which caches DNS lookups for 60 seconds
  • Add more Request methods so no external xhr access is required
  • Add Request caching
  • Add Blast.mkdirp() and Blast.mkdirpSync() methods
  • Add Blast.rmrf() and Blast.rmrfSync() methods
  • Add temporary files methods: Blast.generateTempPath(), Blast.openTempFile(), Blast.cleanupTempPaths(), ...
  • Fix the String#replaceAll() polyfill
  • Fix TimeoutPledge not actually running its executor
skerit
published 0.7.9 •

Changelog

Source

0.7.9 (2021-06-11)

  • Recursively call clearAndDoTasks() to make sure new tasks are also called
  • Function.constitute() will only immediately queue the constitutor when blast has loaded fully, not also when it is loading
  • Fix Date#format() breaking on Safari 14.1 when used with a timezone
  • JSON.safeParse() will now remove BOM (byte order marker)
skerit
published 0.7.8 •

Changelog

Source

0.7.8 (2021-04-29)

  • Add some Terser workarounds
  • Make String#replaceAll() a polyfill, as it is now part of ECMAScript-2021
  • Fix inflections of 'criteria'/'criterion'
  • Make Function.enforceProperty accept symbols as keys
  • Add the Branch class
skerit
published 0.7.7 •

Changelog

Source

0.7.7 (2021-01-21)

  • Fix static Informer properties
  • Fix classWideEvents no longer working on Informer instances
  • Fix Function.parallel() not being able to handle promises like Function.series()
  • Namespace functions will now also have the .setStatic() method
skerit
published 0.7.6 •

Changelog

Source

0.7.6 (2020-12-10)

  • Add all Error classes to the Classes object
  • Allow removing all listeners of an informer
  • Fix prepareProperty and enforceProperty calls overriding the prototype
skerit
published 0.7.5 •

Changelog

Source

0.7.5 (2020-11-12)

  • Function.inherits(parent, constructor) now also accepts a name string instead of a constructor
  • Remove the pre-defined wrapper functions from all the files
  • Used named entity-encoding on the server-side
  • Function.parallel and Function.series will now reject if there is an error in the callback, instead of silently failing
  • Added Object.isIterable(obj) to check for an iterable object
  • RURL.isUrl() should no longer return true for objects containing just a href property
  • The body of a Request can now also be set with a body option property
  • Fix RURL#param(name, value) not parsing form paths
  • Add some basic timezone support to Date#format(pattern, locale, timezone)
skerit
published 0.7.4 •

Changelog

Source

0.7.4 (2020-10-22)

  • Add Blast.isSafari boolean & fix detection for iPadOS 13
  • Add Crypto.nanoid(size) to create a nano-id
  • Add Crypto.createNanoidGenerator(alphabet, default_size, rng) to create custom nano-id generators
  • Add SeededRng#randomBytes() so it can be used as an rng in the nano-id generator
skerit
published 0.7.3 •

Changelog

Source

0.7.3 (2020-10-08)

  • Make String#tokenizeHTML() ignore illegal nested custom blocks
  • Allow String#tokenizeHTML() to ignore blocks that span multiple lines
skerit
published 0.7.2 •

Changelog

Source

0.7.2 (2020-07-21)

  • Add String#dedent() method
  • Add deprecate decorator
  • Add sourcemap support
  • Fix error in Function.parallel & Function.series where primitives would be turned into objects
  • RURL#segments will now no longer contain empty strings
  • Add RURL#isDescendant(parent) to see if the current path is a descendant of the given path
skerit
published 0.7.1 •

Changelog

Source

0.7.1 (2020-07-11)

  • Automatically create the prototypal wrapper methods for the function inheritance
  • Function#setProperty now accepts a single object to set multiple properties
  • Add Stream.Delayed() class
  • Add Stream.Combined() class
  • Fix browser-side Crypto.randomHex() returning faulty data
  • Supplying @ as a namespace will put it in the root
  • Add server-side FormData class
  • When reporting Pledge progress, the duration of each interval is also logged
  • Make the reset_on_call option of Function.throttle actually work
  • Pledge subclasses will return a regular Pledge on .then()
  • Add Pledge.Timeout class
  • Add String#splitCharacters() for getting an array of the string's characters
  • Add the loopOverArgument() decorator, which will loop over the given argument if it's an array
  • Add the empty event to FunctionQueue
  • Add the RURL#extension property to get/set the extension of the pathname
  • RURL#pathname will now no longer be empty when the protocol requires a slash
  • Add a custom Error class
  • Add Function.isNativeClass() to detect functions made with native class syntax
  • Added Symbol.hasInstance trap to the namespace functions
  • Use setImmediate for rejecting Pledges to prevent uncaught warnings
  • Fix Blast.versions entries not being set correctly
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