@feathersjs/feathers
Advanced tools
Comparing version 3.2.3 to 3.3.0
@@ -6,2 +6,19 @@ # Change Log | ||
<a name="3.3.0"></a> | ||
# [3.3.0](https://github.com/feathersjs/feathers/compare/@feathersjs/feathers@3.2.3...@feathersjs/feathers@3.3.0) (2018-12-16) | ||
### Bug Fixes | ||
* Make Mocha a proper devDependency for every repository ([#1053](https://github.com/feathersjs/feathers/issues/1053)) ([9974803](https://github.com/feathersjs/feathers/commit/9974803)) | ||
### Features | ||
* Allow registering a service at the root level ([#1115](https://github.com/feathersjs/feathers/issues/1115)) ([c73d322](https://github.com/feathersjs/feathers/commit/c73d322)) | ||
<a name="3.2.3"></a> | ||
@@ -8,0 +25,0 @@ ## [3.2.3](https://github.com/feathersjs/feathers/compare/@feathersjs/feathers@3.2.2...@feathersjs/feathers@3.2.3) (2018-09-21) |
@@ -69,3 +69,3 @@ const debug = require('debug')('feathers:application'); | ||
const location = stripSlashes(path); | ||
const location = stripSlashes(path) || '/'; | ||
const current = this.services[location]; | ||
@@ -82,7 +82,7 @@ | ||
use (path, service, options = {}) { | ||
if (typeof path !== 'string' || stripSlashes(path) === '') { | ||
if (typeof path !== 'string') { | ||
throw new Error(`'${path}' is not a valid service path.`); | ||
} | ||
const location = stripSlashes(path); | ||
const location = stripSlashes(path) || '/'; | ||
const isSubApp = typeof service.service === 'function' && service.services; | ||
@@ -89,0 +89,0 @@ const isService = this.methods.concat('setup').some(name => |
@@ -1,1 +0,1 @@ | ||
module.exports = '3.2.3'; | ||
module.exports = '3.3.0'; |
{ | ||
"name": "@feathersjs/feathers", | ||
"description": "A REST and realtime API layer for modern applications.", | ||
"version": "3.2.3", | ||
"version": "3.3.0", | ||
"homepage": "http://feathersjs.com", | ||
@@ -30,3 +30,3 @@ "repository": { | ||
"scripts": { | ||
"test": "../../node_modules/.bin/mocha --opts ../../mocha.opts", | ||
"test": "mocha --opts ../../mocha.opts", | ||
"update-version": "node -e \"console.log('module.exports = \\'' + require('./package.json').version + '\\';')\" > lib/version.js", | ||
@@ -42,3 +42,3 @@ "version": "npm run update-version" | ||
"dependencies": { | ||
"@feathersjs/commons": "^3.0.1", | ||
"@feathersjs/commons": "^4.0.0", | ||
"debug": "^4.0.0", | ||
@@ -48,3 +48,6 @@ "events": "^3.0.0", | ||
}, | ||
"gitHead": "cdbfba98307235cbc6d23a9ec3ae1a9960d12186" | ||
"devDependencies": { | ||
"mocha": "^5.2.0" | ||
}, | ||
"gitHead": "3bbba49daf1e62f358b426002ec9684f4bcaac89" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
64816
1
+ Added@feathersjs/commons@4.5.16(transitive)
- Removed@feathersjs/commons@3.0.1(transitive)
Updated@feathersjs/commons@^4.0.0