Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@ursajs/router

Package Overview
Dependencies
Maintainers
9
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ursajs/router - npm Package Compare versions

Comparing version 0.0.6 to 0.0.9

4

lib/index.js

@@ -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"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc