`var notifier = updateNotifier({ packagePath: '../package.json' });`

then `pkg` isn't needed.