captainkirkby / Gears

Set of packages used to measure a mechanical clock.
1 stars 1 forks source link

Update npm packages #33

Closed captainkirkby closed 9 years ago

captainkirkby commented 9 years ago

Some packages used by npm are not up to date. We will update them using nom

Package     Current  Wanted  Latest  Location
winston       0.7.3   0.7.3   0.8.3  winston
mongodb      1.3.23  1.3.23  1.4.26  mongodb
serialport    1.2.5   1.2.5  1.4.10  serialport
async         0.2.9   0.2.9   0.9.0  async
sprintf       0.1.3   0.1.3   0.1.5  sprintf
express       3.4.7   3.4.7  4.10.6  express
mongoose      3.8.3   3.8.3  3.8.21  mongoose
captainkirkby commented 9 years ago

First update nom from the command line:

sudo npm install -g npm
captainkirkby commented 9 years ago

Use this npm page to get versions right.

The carat (^) matches the version specified or a greater major release (^1.2.3 matches 1.4.5 not 1.1.1 or 2.0.0)

captainkirkby commented 9 years ago

Testing now.

Here are the current dependencies:

    "dependencies": {
        "express"       : "^3.4.7",
        "async"         : "^0.2.9",
        "mongodb"       : "^1.3.23",
        "mongoose"      : "3.8.x",
        "serialport"    : "^1.2.5",
        "sprintf"       : "^0.1.3",
        "winston"       : "^0.7.3"
    }

Most recent mongoose 3.9 is unstable, so we force it to use 3.8

captainkirkby commented 9 years ago

No additional problems. More details later.