Skip to content
This repository has been archived by the owner on Jun 29, 2021. It is now read-only.

Commit

Permalink
Update devDependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelh-gh authored and Ben305 committed Jun 22, 2018
1 parent 7f9f876 commit 24b66fd
Show file tree
Hide file tree
Showing 4 changed files with 314 additions and 447 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ language: node_js
services:
- mongodb
node_js:
- 6
- "lts/*"
env:
- USE_OLDEST_NPM_VERSIONS=0
- USE_OLDEST_NPM_VERSIONS=1
Expand All @@ -12,7 +12,7 @@ before_install:
then
# Test against oldest allowed versions in package.json - Use sed to remove ^ characters
sed -i 's/"\^/"/g' package.json
npm i [email protected].11 [email protected].8
npm i [email protected].0 [email protected].12
else
npm i mongoose reflect-metadata
fi
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -407,9 +407,10 @@ This is the logical 'and' of `mongoose.Model<InstanceType<T>>` and `T`, so that

#### Ref<T>

`Ref<T>` means `T` logical 'or' `string`, so that both populated and unpopulated scenarios are handled for the reference property.
For reference properties:
`Ref<T>` - `T` if populated and `ObjectID` if unpopulated.

## Improvements

* Add frequently used (currently not present) features if needed
* Create moar tests (break down current huge one into multiple unit tests)
* Create more tests (break down current huge one into multiple unit tests)
Loading

0 comments on commit 24b66fd

Please sign in to comment.