You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)