Permalink
Switch branches/tags
Commits on May 14, 2018
  1. 2.2.0

    laggingreflex committed May 14, 2018
  2. Merge pull request #56 from evilebottnawi/fix-options-behavior-in-fin…

    laggingreflex committed May 14, 2018
    …dAPort-functions
    
    fix: options behaviour in `findAPortNotInUse` and `findAPortInUse`
Commits on Jan 7, 2018
  1. add circleci

    laggingreflex committed Jan 7, 2018
Commits on Nov 30, 2017
Commits on Nov 24, 2016
  1. 2.1.1

    laggingreflex committed Nov 24, 2016
  2. refactor test

    laggingreflex committed Nov 24, 2016
  3. isNumberLike fix

    laggingreflex committed Nov 24, 2016
    It seems `isNumberLike` throws in some cases
     - array [x,x]
     - function(x, x){}
    
    This fixes it by checking for those cases before checking for `isNumberLike`.
    
    Also a params index was wrong
Commits on Nov 22, 2016
  1. 2.1.0

    laggingreflex committed Nov 22, 2016
  2. update changelog

    laggingreflex committed Nov 19, 2016
  3. Accept ports as strings

    laggingreflex committed Nov 19, 2016
    Uses [`is-number-like`](https://www.npmjs.com/package/is-number-like) instead of `typeof xx === 'number'` to check arguments for ports.
    
    Enables passing ports as strings.
  4. changelog

    laggingreflex committed Nov 19, 2016
Commits on Nov 21, 2016
  1. 2.0.0

    laggingreflex committed Nov 21, 2016
Commits on Nov 19, 2016
  1. 1.1.0

    laggingreflex committed Nov 19, 2016
  2. update readme

    laggingreflex committed Nov 19, 2016
    add npm version badge
    change node-portscanner to portscanner
  3. update .npmignore

    laggingreflex committed Nov 19, 2016
  4. promise support

    laggingreflex committed Nov 19, 2016
  5. Improve arguments parsing

    laggingreflex committed Nov 19, 2016
    Doesn't assume callback is always provided (as a last argument). (preliminary for promise support)
    
    spread arguments instead of passing - `findAPortInUse` used to pass its `arguments` object to `findAPortWithStatus` as a single parameter. It's better to actually spread it like arguments naturally do, also makes it easy to extend them.
    
    More verbose for clarity.
  6. Improve JSDoc

    laggingreflex committed Nov 19, 2016
    Alternate syntax/signatures for overloaded methods properly documented.
    
    Now it actually produces a valid HTML, which it didn't before.
  7. remove unused method

    laggingreflex committed Nov 19, 2016
    introduced in 99483dc
  8. fix indentation

    laggingreflex committed Nov 19, 2016
Commits on Nov 18, 2016
  1. Merge branch 'host-optional'

    elmccd authored and laggingreflex committed Nov 15, 2015
  2. Make host parameter optional

    elmccd authored and laggingreflex committed Nov 15, 2015
  3. Merge branch 'tests'

    laggingreflex committed Nov 18, 2016
  4. Add basic unit tests with Ava runner

    elmccd authored and laggingreflex committed Nov 14, 2015
  5. Revert previous portlist implementation

    laggingreflex committed Nov 18, 2016
    Revert "Merge pull request #28 from darthneko/master"
    
    This reverts commit 3a271ee, reversing
    changes made to c2092ce.
Commits on Jun 16, 2015
  1. Merge pull request #32 from Yogu/preserve-errors

    shinnn committed Jun 16, 2015
    Preserve error message from socket's error event
  2. Preserve error message from socket's error event

    Yogu committed Jun 16, 2015
    The `close` event's argument is simply `true` on error, but the `error` event gets a real error object.
Commits on May 24, 2015
  1. Merge pull request #31 from pdehaan/patch-1

    shinnn committed May 24, 2015
    Update license attribute