vrpc 2.6.0 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  'use strict'
2
2
  module.exports = {
3
- VrpcLocal: require('./vrpc/VrpcLocal'),
4
- VrpcRemote: require('./vrpc/VrpcRemote'),
3
+ VrpcNative: require('./vrpc/VrpcNative'),
4
+ VrpcClient: require('./vrpc/VrpcClient'),
5
5
  VrpcAdapter: require('./vrpc/VrpcAdapter'),
6
6
  VrpcAgent: require('./vrpc/VrpcAgent')
7
7
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vrpc",
3
- "version": "2.6.0",
3
+ "version": "3.0.0",
4
4
  "description": "Variadic Remote Procedure Calls",
5
5
  "main": "index.js",
6
6
  "directories": {
@@ -9,18 +9,16 @@
9
9
  "test": "test"
10
10
  },
11
11
  "scripts": {
12
- "build": "ln -sf binding.gyp.no-auto binding.gyp && third_party/install.sh && node-gyp rebuild && rm binding.gyp",
13
- "test": "npm run test:cpp && npm run test:jsLocal && npm run test:jsRemote && npm run test:jsRemoteClient && npm run test:jsAgent",
14
- "test:cpp": "build/Release/vrpc-test",
15
- "test:jsLocal": "./node_modules/.bin/mocha test/js/local/*.js --exit",
16
- "test:jsRemote": "./node_modules/.bin/mocha test/js/remote/lifeCycleTest.js --timeout 30000 --exit && test/js/remote/test.sh",
17
- "test:jsRemoteClient": "test/js/remoteClient/test.sh",
18
- "test:jsAgent": "test/js/agent/test.sh",
19
- "test:jsPerformance": "test/js/performance/test.sh",
20
- "build:pydoc": "pydoc-markdown -I vrpc -m VrpcLocal --render-toc > docs/reference/python.md",
21
- "build:jsdoc": "./node_modules/.bin/jsdoc2md -f vrpc/*.js --param-list-format=list --separators > docs/reference/nodeJs.md",
22
- "build:doc": "npm run build:pydoc; npm run build:jsdoc",
23
- "build:browser": "./node_modules/.bin/webpack"
12
+ "build:addon": "ln -sf binding.gyp.no-auto binding.gyp && node-gyp rebuild && rm binding.gyp",
13
+ "build:browser": "./node_modules/.bin/webpack",
14
+ "build:doc": "./node_modules/.bin/jsdoc2md -f vrpc/*.js --param-list-format=list --separators > docs/api.md",
15
+ "test": "npm run test:adapter && npm run test:native && npm run test:agent && npm run test:client && npm run test:production",
16
+ "test:adapter": "./node_modules/.bin/mocha tests/adapter/*.js --exit",
17
+ "test:native": "./node_modules/.bin/mocha tests/native/*.js --exit",
18
+ "test:agent": "tests/agent/test.sh",
19
+ "test:client": "tests/client/test.sh",
20
+ "test:performance": "tests/performance/test.sh",
21
+ "test:production": "./node_modules/.bin/mocha tests/production/lifeCycleTest.js --timeout 30000 --exit && tests/production/test.sh"
24
22
  },
25
23
  "bin": {
26
24
  "vrpc-agent-js": "./vrpc/vrpc-agent-js"
@@ -34,7 +32,7 @@
34
32
  "remote procedural calls",
35
33
  "language binding",
36
34
  "C++",
37
- "C++ binding",
35
+ "C++ embedding",
38
36
  "header-only"
39
37
  ],
40
38
  "repository": {
@@ -52,7 +50,7 @@
52
50
  "crypto-browserify": "^3.12.0",
53
51
  "dockerode": "^3.2.0",
54
52
  "jsdoc-to-markdown": "^7.0.1",
55
- "mocha": "^6.1.4",
53
+ "mocha": "^9.1.3",
56
54
  "os-browserify": "^0.3.0",
57
55
  "sinon": "^7.3.2",
58
56
  "stream-browserify": "^3.0.0",
@@ -62,7 +60,6 @@
62
60
  },
63
61
  "files": [
64
62
  "vrpc/",
65
- "third_party/",
66
63
  "browser/",
67
64
  "binding.gyp.no-auto"
68
65
  ],
@@ -70,8 +67,10 @@
70
67
  "dependencies": {
71
68
  "ajv": "^6.10.0",
72
69
  "argparse": "^2.0.1",
70
+ "buffer": "^6.0.3",
73
71
  "caller": "^1.0.1",
74
72
  "mqtt": "^4.2.6",
75
- "nanoid": "^3.1.23"
73
+ "nanoid": "^3.1.23",
74
+ "process": "^0.11.10"
76
75
  }
77
76
  }