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

1
11

0.6.0

Diff

Changelog

Source

0.6.0 (2018-08-27)

  • Make Pledge polyfill for Promise
  • Add Pledge.after(n, val), which returns a pledge that resolves after n milliseconds
  • Add Pledge#race(other_pledge)
  • Add new Array#findByPath(obj) signature
  • Add Object.sizeof(input) to get the size of a variable in bytes
  • Add Cache class
  • Allow passing a descriptor to Blast.defineValue
  • Add Function#decorateMethod(decorator, key, method)
  • Add Date#timeAgo(settings) method
  • Object.checksum() will only checksum a function's source string
  • Add Blast.Decorators.memoize decorator
  • Make Pledge#handleCallback() an alias of Pledge#done()
skerit
published 0.5.11 •

Changelog

Source

0.5.11 (2018-07-14)

  • Object.checksum(mixed) will now treat Dates & Numbers differently
  • Object.checksum(mixed) will now correctly hash node Buffers
  • Add Buffer support to Object.alike(a, b)
  • Make Object.alike(a, b) not sort arrays when doing a checksum
  • Fix Object.alike(a, b) treating null as regular objects
  • Add a very basic Symbol polyfill for IE11
  • Add Blast.alikeSymbol property, which Object.alike uses for comparing likeness
skerit
published 0.5.10 •

Changelog

Source

0.5.10 (2018-07-11)

  • Add Function.doConstitutors to force doing the constitutors of a class
  • Add sort_arrays parameter to Object.checksum(obj, sort_arrays)
skerit
published 0.5.9 •

Changelog

Source

0.5.9 (2018-07-10)

  • Fix Object.formPath and Object.setFormPath not finding correct RURL methods
  • Add limit support to Function.forEach.parallel
  • Add String#isEmptyWhitespace() to test if the string is empty or has only whitespace
  • Add String#isEmptyWhitespaceHTML() to test if the string is empty or has only whitespace, including HTML elements
skerit
published 0.5.8 •

Changelog

Source

0.5.8 (2018-07-04)

  • Setters & getters defined with setProperty should now also get a super property
  • Object.flatten(obj, divider, flatten_arrays) now takes a third argument that enables you to disable flattening arrays
  • Upgrade json-dry dependency to v1.0.5
  • Added new operators & keywords to the function tokenizer
skerit
published 0.5.7 •

Changelog

Source

0.5.7 (2018-07-01)

  • Add Date.parseDuration(str) for getting a duration in ms
  • Date#add and Date#subtract now also accept duration strings
  • Total RURL rewrite, inspired by url-parse by Arnout Kazemier and URI.js by Rodney Rehm
  • Object.flatten(obj, divider) now accepts custom dividers
  • RURL.encodeQuery(obj) now handles nested objects
  • String#assign(values, remove_used) attempts to normalize values when assigning objects
  • Add Date.parseString(str, base) and Date.parseStringToTime(str, base)
skerit
published 0.5.6 •

Changelog

Source

0.5.6 (2018-06-20)

  • Add Pledge.resolve and Pledge.reject
  • Function.parallel and Function.series now accept an array of Pledges/Promises
  • Add Pledge.all support & some more rejection fixes
  • Add Pledge.race and make it so a Pledge's state can't change
  • Make Pledge class global (if allowed)
  • Add String#startsWithAny and String#endsWithAny
  • Add Object.values and Object.entries polyfill
skerit
published 0.5.5 •

Changelog

Source

0.5.5 (2018-06-18)

  • Fix some reserved words
  • Fix URL#parse not working on node v10
  • Change name of the URL class to RURL, also store under Blast.Classes.URL, because the new URL class is crap anyway.
  • Function.regulate returned wrappers now have a call_count property
skerit
published 0.5.4 •

Changelog

Source

0.5.4 (2018-03-14)

  • Add overflow task to Function.regulate which will receive extra calls
  • Object.first will return undefined if it is given an empty object
  • Fix benchmark coverage tests
skerit
published 0.5.3 •

Changelog

Source

0.5.3 (2018-03-11)

  • Fix redefining read-ony URL.prototype in NW.js & browsers
  • Fix setting undefined clearImmediate function
  • Added String#repeat(count) polyfill
  • Add String#padStart and String#padEnd polyfills
  • More already-loaded-version workarounds
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