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.5.2

Diff

Changelog

Source

0.5.2 (2018-03-02)

  • Fix prototype pollution in Object.merge
  • When a next method of Function.parallel or Function.series is called multiple times an error will be thrown
  • Informer#setCacheMethod will no longer try to execute a callback if it's not defined
  • If the argument for Pledge#handleCallback is truthy but not a function, an error will be thrown
  • Throw an error when a Pledge is resolved with itself
  • Fix the way Pledge handles rejections
  • Add Pledge#addProgressPart(parts) and Pledge#reportProgressPart(parts) to facility progress reporting
skerit
published 0.5.1 •

Changelog

Source

0.5.1 (2018-02-24)

  • Function.regulate will throw an error if no function is given
  • Blast.require'd files will now be added to the client script
  • All files required by Blast are now loaded using "use strict";
  • Fixed many strict errors
  • Setting module.exports in a Blast file function will have the expected result (when using Blast.require)
  • A Pledge will now throw an Error if there are no rejection listeners for it
  • Added Pledge#silentReject which won't throw an Error in case there are no rejection listeners
  • Add context setting as the second parameter to Blast.nextTick and Blast.setImmediate
  • Removed Blast.setTimeout
  • Pass the seen object to Blast.alikeSymbol methods
skerit
published 0.5.0 •

Changelog

Source

0.5.0 (2018-02-17)

  • Use Promise.resolve() based solution for browser-side nextTick implementation (50x faster than using an Image error)
  • Add support for using Protoblast in a WebWorker
  • Object.divide will return arrays unchanged
  • Added RegExp.isRegExp
  • Object.setPath will now no longer replace functions with objects
  • Class namespaces are now functions themselves, will return the class of the same name in the namespace if called
  • When inheriting a class that does not yet exist, the static properties of the main namespace class will already be added to the new constructor
  • Make sure constitutors added during the doLoaded phase are executed
  • Add Pledge#handleCallback which will handle old-style callbacks
  • Added some more NW.js fixes
skerit
published 0.4.2 •

Changelog

Source

0.4.2 (2018-01-15)

  • JSON.dry will no longer add namespace or dry_class properties if toDry has already set them
  • JSON.undry will now accept a dried object that has been parsed using regular JSON.parse (this is faster than re-stringifying & undrying it)
  • Fixed the space problem in JSON.dry
  • Object.walk will now return an object with all the seen objects and a weakmap containing the seen count
  • Object.walk can now be called without a task function
  • If DRY references to a value has a shorter path, use that in the future
  • From now on, json-dry is its own package once again
  • Added JSON#toDryObject, an alias for Dry.toObject
skerit
published 0.4.1 •

Changelog

Source

0.4.1 (2018-01-05)

  • Certain characters in URL queries will no longer be encoded, like brackets
  • String#encodeHTML now correctly encodes characters with 2 codepoints (emojis)
  • Fix Crypto on IE11
  • Rewrote Object.exists to use Object.path
  • Fix URL#toString: hashtags now include the actual #
  • Use the innerText method on browsers to decode HTML entities
  • The big HTML entities map is no longer needed on the client side, so it is a normal uncompressed javascript file again
  • Fix Function.timebomb to actually set the exploded property
  • Enable cutting out code for the client side
  • Remove the string compression code
  • Array#max and Array#min now also accept a path
  • Static methods are now also set on the Bound objects
  • Added Object.parseDotNotationPath to turn a path string into an array
  • Added Array#modifyByPath(path, fnc)
  • Use Buffer.byteLength to calculate Content-Length headers
  • The Pledge returned by Function.parallel and Function.series will now be resolved with the return value of the callback, if any
skerit
published 0.4.0 •

Changelog

Source

0.4.0 (2017-10-12)

  • Added Pledge class, which is a type of Promise
  • Function.parallel now returns a Pledge instance
  • Function.create now also sets the wrapper arguments, so the length property matches
  • Added Informer.setAfterMethod(filter, key, method), which is a method that will prevent execution until it has seen the given filter (string or object)
  • Fix crash when using recursive objects on Object.alike(a, b)
  • Array#flatten will now preserve the perceived order
  • Add support for other HTTP methods in Request
  • Add experimental Informer.setCacheMethod function
  • Remove the #toSource() methods
  • Benchmark should now calculate correct overhead cost on node 8.x
skerit
published 0.3.10 •

Changelog

Source

0.3.10 (2017-09-07)

  • Fix String#fowler() checksum generation
  • Fix String#numberHash(), it's now slower than String#checksum() but still faster than String#fowler()
  • Object.checksum will now split strings in 2 for checksuming, this decreases collisions without affecting speed
  • Use same collision improvement in Object.checksum on objects, arrays & regexps.
  • String#checkum now accepts a start and end parameter
  • Informer#queryListeners(type, mark_as_seen) will now honor the mark_as_seen parameter
  • Informer#hasBeenSeen should now also work when no listeners have been attached
  • Informer#unsee will now also accept filter objects
  • Added FunctionQueue#force(fnc, args, options) which will forcefully run the given function on the queue, even if the limit is reached.
  • Made FunctionQueue run more asynchronous when add-ing of force-ing after it has already started
skerit
published 0.3.9 •

Changelog

Source

0.3.9 (2017-08-27)

  • String.encodeCookie will use encodeURI for the path & domain
  • Function.methodize should set the original function as the unmethodized one
  • Function.unmethodize should set the original function as the methodized one
skerit
published 0.3.8 •

Changelog

Source

0.3.8 (2017-08-11)

  • Add Function.isNameAllowed(name) which checks if a name is allowed
  • Added very basic WeakMap polyfill
  • Add Function.getArgumentNames
  • Allow ability to add Function driers
  • Added Number.isNumeric(input)
  • Array#sortByPath will now interpret numbers as new directions
  • Added Array#findByPath(path, value)
  • URL#addQuery will no longer iterate over non-plain objects
  • Add limit parameter to Object.walk to limit the recursiveness
  • Add String#splitOnce and String#splitLimit
  • Fix Function.inherits not adding static methods on time
  • Fix Math.removeOutliers so it isn't too generous
  • Add String#splitOnce(separator) and String#splitLimit(separator, times)
skerit
published 0.3.7 •

Changelog

Source

0.3.7 (2017-07-03)

  • Added Object.isSelfContained, which returns true in case of Date, RegExp, String objects, ...
  • Object.merge will now treat RegExps and Dates as a single variable, and not as an object that also needs to be merged
  • Added Math.calculateDistance to calculate the distance between 2 sets of coordinates
  • Added Array#shuffle, which shuffles an array in place
  • Added SeededRng class for random numbers that repeat
  • Added get_stream option to Request#http_request, which returns the correct output stream (same res object or gzip) instead of the body
  • Blast.fetch is now also available in the browser
  • Object.isPlainObject will now return true for objects without a prototype
  • Redirected requests will no longer fail when being redirected to a path without hostname
  • String#fowler should now produce correct hashes
  • Make Crypto.randomBytes return an Int8Array in the browser
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