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

transmission-native

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

transmission-native - npm Package Compare versions

Comparing version 0.2.1 to 0.3.0

3

index.js

@@ -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 @@

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