Skip to content

Releases: stretchr/arg.js

v1.4.0

07 Jun 23:19
Compare
Choose a tag to compare
Adding package.json for npm publishing

v1.3.2

12 Nov 22:44
Compare
Choose a tag to compare
  • Fix IE toString error. See #35
  • Support hash with square bracket notation. See #38

v1.3.1

11 May 18:04
Compare
Choose a tag to compare
  • BUG: Empty arrays no longer add &&&

v1.2

30 Oct 22:26
Compare
Choose a tag to compare
  • Simplified project structure and file names
  • Minified version included in /dist
  • Resolves decoding URL issues #17
  • Fix for Arg.query() in IE 8 #19
  • Use hasOwnProperty when looping though arguments

v1.1

03 Oct 16:51
Compare
Choose a tag to compare
  • Added Arg(key) shorter interface as well as Arg.get(key).
  • Ignores undefined/empty keys and values.
  • Cleans up edge cases (i.e. where paths are present in parse() calls etc).
  • Will now optionally coerce a native type out of value if possible (i.e. Number, Boolean, undefined, etc). To not coerce, set Arg.coerceMode = false via @joshschumacher
  • Better handling of complex objects that have mixed nested objects/arrays. See new test case added to test/spec/arg.js for an example object that was failing and is no longer failing. via @joshschumacher
  • Added support for anchors in Arg.url(path, params, anchorString) (i.e. no longer assumes they're variables if it's a string)

v1

01 Oct 20:42
Compare
Choose a tag to compare
v1
v1.0.0

tweak