Skip to content

Commit

Permalink
3.1.0: update dependencies, excluding jsen
Browse files Browse the repository at this point in the history
  • Loading branch information
TysonAndre committed Mar 12, 2020
1 parent 3e4d995 commit 040281b
Show file tree
Hide file tree
Showing 5 changed files with 51 additions and 87 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ npm-debug.log
.idea
.*.swp
.*.swo
.nyc_output
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
3.1.0
=====

+ Update dependencies, excluding `jsen`. See https://github.com/ifwe/monocle-api/issues/86
112 changes: 34 additions & 78 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "monocle-api",
"version": "3.0.0",
"version": "3.1.0",
"description": "API router focused on consistency, flexibility, and performance.",
"main": "lib/index.js",
"scripts": {
Expand All @@ -26,12 +26,12 @@
},
"homepage": "https://github.com/ifwe/monocle-api",
"devDependencies": {
"@types/bluebird": "^3.5.24",
"@types/bluebird": "^3.5.30",
"@types/busboy": "^0.2.3",
"@types/debug": "0.0.31",
"@types/jsen": "0.0.19",
"@types/lodash": "^4.14.118",
"@types/node": "^10.12.3",
"@types/node": "^10.17.17",
"@types/path-to-regexp": "^1.7.0",
"chai": "1.9.1",
"grunt": "^1.0.4",
Expand All @@ -45,13 +45,13 @@
"sinon": "1.17.1"
},
"dependencies": {
"bluebird": "3.3.5",
"busboy": "0.2.12",
"bluebird": "^3.7.2",
"busboy": "^0.3.1",
"debug": "^4.1.0",
"jsen": "0.6.0",
"jstransformer-stylus": "1.3.0",
"jsen": "^0.6.0",
"jstransformer-stylus": "^1.5.0",
"lodash": "^4.17.15",
"monocle-api-props": "0.0.4",
"path-to-regexp": "1.2.0"
"monocle-api-props": "^0.1.0",
"path-to-regexp": "^1.8.0"
}
}
3 changes: 3 additions & 0 deletions test/lib/Router_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -1008,6 +1008,9 @@ describe('API Router', function() {
type: 'object',
properties: {
paramIntAndBool: {type: ['integer', 'boolean']},
// NOTE(TysonAndre) 'float' is not part of the latest version of JSON schema v4,
// this should be changed to 'number' when jsen is upgraded
// See https://github.com/ifwe/monocle-api/issues/86
paramIntAndFloat: {type: ['integer', 'float']},
paramStringAndBooleanAndInt: {type: ['integer', 'string', 'boolean']},
paramArrayAndString: {type: ['array', 'string'], items: {type: 'integer'}},
Expand Down

0 comments on commit 040281b

Please sign in to comment.