Commit Graph

61 Commits (master)
 

Author SHA1 Message Date
Johannes J. Schmidt a307318af3 chore: update semantic release 7 years ago
Johannes J. Schmidt 2b1db7e2d1 fix: allow inserting falsy values, excluding undefined 7 years ago
Johannes Jörg Schmidt b7c944c8dd Merge pull request #56 from apihlaja/insert-falsy-parameters
Allow inserting falsy values, excluding undefined
7 years ago
Antti Pihlaja da62ae6713 allow inserting falsy values, excluding undefined 7 years ago
Johannes Jörg Schmidt d2e9f585c6 Merge pull request #32 from jo/greenkeeper-tap-5.1.1
tap@5.1.1 breaks build 🚨
8 years ago
greenkeeperio-bot 1e37668193 chore(package): update tap to version 5.1.1
http://greenkeeper.io/
8 years ago
Johannes Jörg Schmidt 6ab41aeb94 Merge pull request #31 from jo/greenkeeper-tap-5.0.0
Update tap to version 5.0.0 🚀
8 years ago
greenkeeperio-bot e4dfe89121 chore(package): update tap to version 5.0.0
http://greenkeeper.io/
8 years ago
Johannes J. Schmidt 0da6326aa4 chore: use version ranges 9 years ago
Johannes Jörg Schmidt 0d7fae7ebd Merge pull request #27 from jo/greenkeeper-tap-2.1.1
Update tap to version 2.1.1 🚀
9 years ago
greenkeeperio-bot 6f1afbd738 chore(package): update tap to version 2.1.1
http://greenkeeper.io/
9 years ago
Johannes J. Schmidt ded3af8ec1 fix: update semantic release 9 years ago
Johannes J. Schmidt b8bc23365f chore(travis): ignore release tags [skip ci] 9 years ago
Johannes Jörg Schmidt 12ede2f977 Merge pull request #25 from jo/greenkeeper-pin
Pinned all dependencies
9 years ago
Johannes Jörg Schmidt 8c276ddb18 Merge pull request #23 from Useclark/parens-in-values
Add a test for parens not saved in the value
9 years ago
Johannes Jörg Schmidt 6bfed7c7da Merge pull request #22 from Useclark/seq-replacement
Add a test for parameters replacing all at once to prevent colon conflicts
9 years ago
greenkeeperio-bot 190f768587 chore(package): pin dependencies
http://greenkeeper.io/
9 years ago
Johannes J. Schmidt 536f16675f feat: setup semantic release 9 years ago
Johannes J. Schmidt 725d8de788 feat: change license from MIT to Apache 2.0 9 years ago
Johannes Jörg Schmidt 2b2eb939bd Merge pull request #24 from zerotacg/optional-parameter-with-trailing-slash
optional parameter with a trailing slash
9 years ago
Tobias Peters f7a90694bd unit test and adjustments for using optional parameter with a trailing slash 9 years ago
Denis Sokolov 6176d32029 Add a test for parameters replacing all at once to prevent colon conflicts 9 years ago
Denis Sokolov 47849de070 Add a test for parens not saved in the value 9 years ago
Johannes Jörg Schmidt 3ed0d3cef0 Merge pull request #21 from Useclark/object-keys-bug
Add a failing test for reliance on Object.keys
9 years ago
Denis Sokolov a0274ddc47 Add a failing test for reliance on Object.keys 9 years ago
Johannes Jörg Schmidt 0bb37b1772 Merge pull request #20 from Useclark/encode
Encode parameter values to allow slashes in values, fix #15
9 years ago
Denis Sokolov 5cc5e5a249 Encode parameter values to allow slashes in values, fix #15 9 years ago
Johannes Jörg Schmidt 4bd7a135cd Merge pull request #18 from Useclark/no-global-state
Remove global state, return rules directly
9 years ago
Johannes J. Schmidt 57a4fcfbd9 4.1.1 9 years ago
Denis Sokolov 824d69fd08 Remove global state, return rules directly
This breaks backwards compatibility.

This removes .routes because it's not intuitive what the result value
of that must be, and users are free to .map over .route themselves.

Also, .routes was never tested.

Fixes #14.
9 years ago
Johannes J. Schmidt d9ab1242b4 4.1.0 9 years ago
Johannes J. Schmidt b52bbd2c4f Merge pull request #12 from zerotacg/fix-mixup-of-parameters-issue-#11
mixed-up allocation of parameters
9 years ago
Tobias Peters 3fa59e012a fix for issue #11
get the keys by a simple regexp
9 years ago
Johannes J. Schmidt bc9dff9d4c Fixed named parameter followed by optional parameter 10 years ago
Johannes J. Schmidt e751d71494 Fix surrounded optional parameter 10 years ago
Johannes J. Schmidt 3df5ac2b3d bump version 10 years ago
Johannes Jörg Schmidt 5c2d85b97d Merge pull request #9 from jo/docuri-routes
Completely new routing engine.
10 years ago
Johannes J. Schmidt b8e5739e1a Completely new routing engine. 10 years ago
Johannes J. Schmidt 92ef468220 allow removing of components in merge via undefined or null 10 years ago
Johannes J. Schmidt d0b80ee391 we do not need no arity 10 years ago
Johannes J. Schmidt ac4af0f980 (fixes #8) - Make it work as CouchDB CommonJS
Do not export a function.
`docuri()` is now called `docuri.definition()`.
10 years ago
Johannes J. Schmidt 4da8a2b0a2 (closes #7) - implements arity and parts
`docuri.parts` array of components, without trailing `undefined` components
`docuri.arity` length of parts.
10 years ago
Johannes Jörg Schmidt cdeea1fb4d README <3 10 years ago
Johannes Jörg Schmidt af30f2b68f README <3 10 years ago
Johannes J. Schmidt 6c88aa2372 configurable parts 10 years ago
Johannes J. Schmidt ed9f5886e8 rewrite 10 years ago
Johannes J. Schmidt 461c7ee0db change sequence of version and index
Before this api breaking change a docuri looked like this:
`type/id/subtype/version/index`
Now we swapped version and index:
`type/id/subtype/index/version`
10 years ago
andi pieper 9f12b25215 fixed typo 10 years ago
andi pieper 91265d24c5 added merge to readme 10 years ago
Johannes J. Schmidt 72d1ab50ca release 1.1.0 10 years ago