Skip to content

v1.0.1

Choose a tag to compare

@lukeed lukeed released this 23 Jan 09:31
· 42 commits to master since this release

Patches

  • Fix case where "/" path on optional-param pattern returned incorrect object: 89249a1, e102317

    let def = parse('/:foo?');
    
    // Previously
    exec('/', def); 
    //=> { foo: '/' }
    
    // Now (correct)
    exec('/', def);
    //=> {}
  • Docs: Fix incorrect API description for exec method (thanks @viko16): 88ae85e