pm2-axon-rpc
Advanced tools
Comparing version 0.5.0 to 0.5.1
@@ -7,3 +7,2 @@ | ||
var debug = require('debug'); | ||
var clone = require('fclone'); | ||
@@ -137,5 +136,6 @@ /** | ||
function params(fn) { | ||
var ret = fn.toString().match(/^function *(\w*)\((.*?)\)/)[2]; | ||
// remove space to make it work on node 10.x.x too | ||
var ret = fn.toString().replace(/\s/g, '').match(/^function *(\w*)\((.*?)\)/)[2]; | ||
if (ret) return ret.split(/ *, */); | ||
return []; | ||
} |
{ | ||
"name": "pm2-axon-rpc", | ||
"version": "0.5.0", | ||
"version": "0.5.1", | ||
"description": "Remote procedure calls built on top of axon.", | ||
@@ -19,4 +19,3 @@ "keywords": [ | ||
"dependencies": { | ||
"debug": "^3.0", | ||
"fclone": "^1" | ||
"debug": "^3.0" | ||
}, | ||
@@ -26,3 +25,3 @@ "devDependencies": { | ||
"better-assert": "*", | ||
"mocha": "*" | ||
"mocha": "^3.5" | ||
}, | ||
@@ -29,0 +28,0 @@ "main": "index", |
# axon-rpc | ||
[![Build Status](https://travis-ci.org/unitech/pm2-axon-rpc.png)](https://travis-ci.org/unitech/pm2-axon-rpc) | ||
[![Build Status](https://travis-ci.org/Unitech/pm2-axon-rpc.png)](https://travis-ci.org/unitech/pm2-axon-rpc) | ||
@@ -6,0 +6,0 @@ RPC client / server for [axon](https://github.com/visionmedia/axon). |
Sorry, the diff of this file is not supported yet
8078
1
9
- Removedfclone@^1
- Removedfclone@1.0.11(transitive)