transmission-native
Advanced tools
Comparing version 0.2.1 to 0.3.0
@@ -34,5 +34,4 @@ const util = require('util') | ||
const resJson = JSON.parse(res) | ||
const e = (resJson.result !== 'success') ? new Error(resJson.result) : null | ||
this.set.delete(self) | ||
cb(e, resJson) | ||
cb(null, resJson) | ||
}) | ||
@@ -39,0 +38,0 @@ } |
{ | ||
"name": "transmission-native", | ||
"version": "0.2.1", | ||
"version": "0.3.0", | ||
"description": "transmission-native", | ||
@@ -5,0 +5,0 @@ "author": "Geoffrey Bonneville <geoffrey.bonneville@gmail.com>", |
@@ -47,4 +47,4 @@ const os = require('os') | ||
const req = { method: 'unknown' } | ||
await assert.rejects(tr.request(req), { message: 'method name not recognized' }) | ||
const res = await tr.request(req) | ||
assert.equal(res.result, 'method name not recognized') | ||
}) | ||
@@ -51,0 +51,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
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 2 instances in 1 package
1
52896
11