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

Diff

Changelog

Source

0.3.6 (2017-04-17)

  • Inheritance schedule fixes
  • Fix URL class in Cordova
  • Added Blast.isEdge to detect and fix Edge issues
  • More attempts to fix the URL class in IE/Edge
  • Fix multiple inheritance shallowly inheriting second parent
  • JSON.undry will now parse null strings correctly
  • Function.throttle has a new parameter reset_on_call, to delay execution as long as it's being called on.
  • Classes will now constitute in an expected order. Classes that inherit a not-yet-existing parent won't be pushed to the end of the queue anymore.
  • Object.size() will now always return a number
  • Object.size() will now also work on RegExp and Date objects
  • The Request class will callback with an error for status codes >= 400
  • Added Number#formatMoney(decimal_count, decimal_separator, thousand_separator)
  • The Function.thrower dummy callback will no longer throw falsy values
skerit
published 0.3.5 •

Changelog

Source

0.3.5 (2017-01-21)

  • Fixed String#endsWith so empty strings will return true
  • Make String#endsWith and String#startsWith shims
  • Protoblast with complain about overwriting properties when in debug mode
skerit
published 0.3.4 •

Changelog

Source

0.3.4 (2017-01-21)

  • Fix bug in Object.checksum using valueOf on an object without prototype
  • Fix constructors not getting static methods when in non-native-modifying mode
  • Fix: unmethodize and methodize shouldn't get stuck in a loop because of the function name
  • Test: creating an anonymous function is a bit harder in new node versions
  • Improve Object.alike performance and add tests
  • Added 4th parameter to Function.inherits that skips constitutors when falsy
  • Fixed bug where constitutors would be executed twice for delayed inheritance
  • Add String.decodeAttributes
skerit
published 0.3.3 •

Changelog

Source

0.3.3 (2016-10-14)

  • JSON.dry now also honours the space parameter
skerit
published 0.3.2 •

Changelog

Source

0.3.2 (2016-10-04)

  • asyncLoop functions (like Function.while) will now execute test and task function in the same tick, in stead of first checking the test, then doing the task on the next tick
  • Object.checksum no longer skips undefined values in objects
  • fix: child classes with a different namespace than the parent are now actually stored in that namespace
  • String#decodeHTML() should now handle hexadecimal entities properly
  • Make sure an Object has the hasOwnProperty method before using it in JSON-Dry
  • Object.checksum should also checksumize RegExps correctly
  • RegExp.interpret now also accepts flags as second parameter
  • Decompress HTML entities on-the-fly
skerit
published 0.3.1 •

Changelog

Source

0.3.1 (2016-07-02)

  • Fix protoblast version bug
  • Add static Number.calculateNormalizeFactors and Number.normalize methods
  • Add Math.removeOutliers(arr) which returns a new array without outliers
  • Add Number.denormalize
skerit
published 0.3.0 •

Changelog

Source

0.3.0 (2016-06-22)

  • Added Informer#unsee method, so 'after' and such can be reset
  • Added Number#bitAt method, to return the bit at the specified position
  • Array#clip 'highest' value is now optional
  • Array#employ has been removed
  • Function.benchmark will now calculate overhead based on self-created dummies
  • If another Protoblast instance is detected during loading, it will only be returned if the major & minor version is the same and the patch is higher. Otherwise, a new instance is created. This is only the case in the non-global-modifying mode.
skerit
published 0.2.1 •

Changelog

Source

0.2.1 (2016-06-06)

  • Add queue_drop option to FunctionQueue, which will limit amount of items in a function queue by dropping older added tasks
  • Add Array.likeArray to determine if an object is like an array
  • Object.dissect will only add numeric array properties to the result
  • Added Blast.setTimeout and Blast.setSchedule for more precise timers
  • Add String.randomMac to generate a random mac address
  • Add Function.getNamespace to get/create a namespace object
  • Blast.DEBUG is now true if there is a DEBUG environment variable
skerit
published 0.2.0 •

Changelog

Source

0.2.0 (2016-05-02)

  • Minor version bump because of added namespaces to Function.inherits
  • JSON.clone will now also look for #dryClone(wm) and #clone() methods
  • JSON.clone second parameter is an optional method name to use for cloning
  • Fix bug in JSONPath
  • String#fillPlaceholders can now remove used values from the given object
  • Add Date#setTimestring to set the time in order of '12:00:00'
  • The date 't' format should now return the number of days in the given month
  • Added JSON.safeParse
  • Function.hinder can now call pushed tasks with an error and other data
  • toDry methods no longer need to return a 'path' property for undrying
  • When the function passed to Object.walk returns false, it won't recurse
  • Added Object.getPropertyDescriptor, which will look for a descriptor up the prototype chain
  • Getter and setter functions will now also receive a super property reference to the function they're overriding
  • Function.setStatic properties can now be overwritten
  • Function.setStatic can now optionally not be inherited
  • Add Blast.createObjectId for the browser
  • Checksumming a null value won't throw an error anymore
  • Object.merge should now correctly assign objects over primitive values
skerit
published 0.1.12 •

Changelog

Source

0.1.12 (2016-02-03)

  • Begin adding NW.js support
  • Date#format('L') now returns a boolean instead of a string
  • Always modify prototypes of classes made by Protoblast itself (URL fixes)
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