 #
 # A simple module as a function to check the dependencies of a directory.
 # 
-fs              = require 'fs'
 path            = require 'path'
-{exec}          = require 'child_process'
 verexp          = require 'verbal-expressions'
 autoTransport   = require '../transports/auto'
 



# ## Node Production Outdated
outdatedNodeProd = (dir, opts={}, callback=->) ->
  if opts instanceof Function
    callback = opts
    opts = {}
  opts.command    ?= 'npm outdated' # should use --production once the npm
                                    # update goes live.


    stdout = stdout[...-1]

    # Split the response from npm, which is a list of outdated packages.
    packages  = if stdout is '' then [] else stdout.split('\n')
    outdated  = packages.length > 0
    
    # Only callback if exists already called back true
