errors should also subtract from pending
package.json