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
910

0.1.2

Diff

Changelog

Source

0.1.2 (2014-08-28)

  • Added Array#insert(index, value, ...)
  • Added Object.hasProperty(obj, propertyName)
  • Added String#truncate(length, word, ellipsis)
  • Added String#stripTags()
  • Added Date.isDate(variable)
  • Object.path(obj, path) now also accepts an array or multiple arguments
  • Add Array.range(start, stop, step) method, which behaves like Python's range()
  • Add Array#closest(goal) method to find the closest value to the given goal
  • Added String#before(needle, first) and String#after(needle, first)
  • Added String#beforeLast(needle) and String#afterLast(needle)
  • Added Object.isObject(obj)
  • Added Object.isPlainObject(obj)
  • Added Object.isPrimitiveObject(obj)
  • Added String.serializeAttributes(obj)
  • Added String#encodeHTML and String#decodeHTML
  • Added Object.flatten(obj)
  • Added Array#unique()
  • Added Function#curry()
  • Added Iterator class and Array#createIterator()
  • Added Deck class (ordered object)
  • Added unit tests for Iterator & Deck
  • Added String#dissect(open, close)
  • Added RegExp.interpret(pattern)
  • Added RegExp#getPattern()
  • Added RegExp#getFlags()
  • Added RegExp.combine(r1, r2, ... rn)
  • Added Function#tokenize(addType, throwErrors)
  • Added Function.tokenize(source, addType, throwErrors) and Function.getTokenType(str)
  • Added JSONPath, added Object.extract using that class
  • Added Number.random(min, max)
  • Speed up String#count and add String#replaceAll that doesn't use regexes
  • Added Math methods: mean, median, variance and (standard) deviation
  • Started adding Benchmarking functions
  • Added (asynchronous) function flow controls
  • Added Number#humanize method
  • Update inflection rules (Ben Lin's From node.inflection, https://github.com/dreamerslab/node.inflection)
skerit
published 0.1.1 •

Changelog

Source

0.1.1 (2014-06-23)

  • Added basic client-side support
  • Added toSource methods
  • Added Object.uneval support (also in Protoblast.uneval)
  • Added unit tests
skerit
published 0.1.0 •

Changelog

Source

0.1.0 (2014-06-20)

  • Moved code from Alchemy MVC
  • Added RegExp, Number and Function blasts
1
910
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