Skip to content
This repository has been archived by the owner on Mar 26, 2024. It is now read-only.

Commit

Permalink
reword NPM note
Browse files Browse the repository at this point in the history
  • Loading branch information
waisbrot committed Dec 14, 2015
1 parent 4d50807 commit baf34a0
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -165,10 +165,11 @@ $ npm install supertest-as-promised

SuperTest as Promised lists [`supertest`][SuperTest] as a
[peer dependency][peer-dependency], so it'll wrap whatever version of SuperTest
you've asked for in your own `package.json`. If you don't specify a version of
SuperTest, npm will use the latest.
you've asked for in your own `package.json`.

**Note**: `supertest` will no longer be automatically installed to fulfill the peerDependency in npm 3+. Your application will need to depend on it explicitly.
In earlier versions of NPM, failing to list SuperTest as a dependency would get
you the latest version. In NPM 3, failing to list SuperTest as a dependency will
generate a warning and SuperTest will not be installed.

Do note that SuperTest as Promised is a well-behaved citizen and doesn't
monkey-patch SuperTest directly:
Expand Down

0 comments on commit baf34a0

Please sign in to comment.