Comparing version 3.3.4 to 3.4.4
@@ -34,2 +34,3 @@ 'use strict'; | ||
version = typeof(version) === 'undefined' || version === null ? 2 : version; | ||
result = typeof(result) === 'undefined' || result === null ? null : result; | ||
const response = (version === 2) ? { jsonrpc: "2.0", id: id } : { id: id }; | ||
@@ -36,0 +37,0 @@ |
{ | ||
"name": "jayson", | ||
"version": "3.3.4", | ||
"version": "3.4.4", | ||
"description": "JSON-RPC 1.0/2.0 compliant server and client", | ||
@@ -25,4 +25,4 @@ "license": "MIT", | ||
], | ||
"author": "Tedde Lundgren <mail@tedeh.net> (http://tedeh.net)", | ||
"maintainers": "Tedde Lundgren <mail@tedeh.net> (http://tedeh.net)", | ||
"author": "Tedde Lundgren <mail@tedeh.net> (https://tedeh.net)", | ||
"maintainers": "Tedde Lundgren <mail@tedeh.net> (https://tedeh.net)", | ||
"bin": "./bin/jayson.js", | ||
@@ -36,3 +36,3 @@ "repository": { | ||
"contributors": [ | ||
"Tedde Lundgren <mail@tedeh.net> (http://tedeh.net)", | ||
"Tedde Lundgren <mail@tedeh.net> (https://tedeh.net)", | ||
"Daniel Vicory <dvicory@gmail.com> (http://bzfx.net)", | ||
@@ -77,3 +77,3 @@ "Jonathan Liu <net147@gmail.com>" | ||
"mocha": "^7.2.0", | ||
"node-fetch": "^2.6.0", | ||
"node-fetch": "^2.6.1", | ||
"nyc": "^14.1.1", | ||
@@ -80,0 +80,0 @@ "pass-stream": "^1.0.0", |
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
140940
2479