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.1.1 to 0.2.0

prebuilds/win32-x64/node.napi.node

4

package.json
{
"name": "transmission-native",
"version": "0.1.1",
"version": "0.2.0",
"description": "transmission-native",

@@ -13,3 +13,3 @@ "author": "Geoffrey Bonneville <geoffrey.bonneville@gmail.com>",

"fetch-deps": "git submodule update --recursive --init",
"build-transmission": "./deps/build-transmission.sh"
"build-transmission": "node ./scripts/build-transmission.js"
},

@@ -16,0 +16,0 @@ "dependencies": {

@@ -68,6 +68,18 @@ # transmission-native

You'll need to install required build tools and libraries for your platform in order to compile libtransmission.
You'll need to install required build tools and libraries for your platform in order to compile libtransmission:
## Fedora / RHEL
```sh
sudo dnf install cmake gcc-c++ libcurl-devel openssl-devel
```
## Windows
```sh
vcpkg install curl --triplet=x64-windows-static
vcpkg install openssl --triplet=x64-windows
```
```sh
npm run fetch-deps
# For Windows you need to set VCPKG_INSTALLATION_ROOT env variable
npm run build-transmission

@@ -74,0 +86,0 @@ npm install

@@ -26,9 +26,11 @@ const os = require('os')

it('request should succeed with callback', (done) => {
const req = { method: 'session-get' }
it('request should succeed with callback', () => {
return new Promise((resolve, reject) => {
const req = { method: 'session-get' }
tr.request(req, (err, json) => {
if (err) done(err)
assert.equal(json.result, 'success')
done()
tr.request(req, (err, json) => {
if (err) return reject(err)
assert.equal(json.result, 'success')
resolve()
})
})

@@ -35,0 +37,0 @@ })

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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