@ursajs/router
Advanced tools
Comparing version 0.0.6 to 0.0.9
@@ -14,5 +14,5 @@ "use strict"; | ||
const methodMap = c.methodMap || new Map(); | ||
const decoratorMethodNameArr = [...methodMap.values()].map(m => m.name); | ||
const decoratorMethodNameArr = [...methodMap.values()].map((m) => m.name); | ||
const methodNameArr = Reflect.ownKeys(clazz.prototype) | ||
.filter(name => name !== 'constructor' && !decoratorMethodNameArr.includes(String(name))); | ||
.filter((name) => name !== 'constructor' && !decoratorMethodNameArr.includes(String(name))); | ||
methodNameArr.forEach((methodName) => { | ||
@@ -19,0 +19,0 @@ ALLROUTE.push(`/${clazzName}/${String(methodName)}`); |
{ | ||
"name": "@ursajs/router", | ||
"version": "0.0.6", | ||
"version": "0.0.9", | ||
"description": "router", | ||
@@ -21,3 +21,3 @@ "author": "zhangzhihua <zhangzhihua01@58ganji.com>", | ||
"scripts": { | ||
"lint": "esw src --clear --ext .ts", | ||
"lint": "esw src --ext .ts", | ||
"lint-w": "esw src --clear -w --ext .ts", | ||
@@ -36,10 +36,10 @@ "build-w": "tsc -w --inlineSourceMap", | ||
"@types/node": "^10.12.15", | ||
"@typescript-eslint/eslint-plugin": "^1.1.0", | ||
"@typescript-eslint/parser": "^1.1.0", | ||
"@ursajs/core": "^0.0.6", | ||
"eslint": "^5.10.0", | ||
"eslint-config-airbnb-base": "^13.1.0", | ||
"eslint-plugin-import": "^2.14.0", | ||
"eslint-plugin-node": "^8.0.1", | ||
"eslint-plugin-promise": "^4.1.1", | ||
"@typescript-eslint/eslint-plugin": "^2.25.0", | ||
"@typescript-eslint/parser": "^2.25.0", | ||
"@ursajs/core": "^0.0.9", | ||
"eslint": "^5.16.0", | ||
"eslint-config-airbnb-base": "^14.1.0", | ||
"eslint-plugin-import": "^2.20.1", | ||
"eslint-plugin-node": "^11.0.0", | ||
"eslint-plugin-promise": "^4.2.1", | ||
"eslint-plugin-typescript": "^0.14.0", | ||
@@ -49,4 +49,3 @@ "eslint-watch": "^6.0.1", | ||
"npm-run-all": "^4.1.5", | ||
"supertest": "^4.0.2", | ||
"typescript": "^3.2.2" | ||
"supertest": "^4.0.2" | ||
}, | ||
@@ -61,3 +60,3 @@ "repository": { | ||
"homepage": "https://github.com/Ursajs/Ursa#readme", | ||
"gitHead": "469c4772cf22c36ccb24dec52c545178e8025fab" | ||
"gitHead": "216bceb3b0d620a59b0b529feb0871dc726573e5" | ||
} |
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
15
8603