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

seneca-transport

Package Overview
Dependencies
Maintainers
3
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

seneca-transport - npm Package Compare versions

Comparing version 3.0.0 to 4.0.1

16

lib/http.js

@@ -13,3 +13,3 @@ /* Copyright (c) 2013-2015 Richard Rodger, MIT License */

var Jsonic = require('jsonic')
var Wreck = require('wreck')
var Wreck = require('@hapi/wreck')

@@ -172,3 +172,13 @@ // Declare internals

Wreck.post(url, requestOptions, function(err, res, payload) {
var postP = Wreck.post(url, requestOptions)
postP
.then(function(out) {
handle_post(null, out.res, out.payload)
})
.catch(function(err) {
handle_post(err)
})
function handle_post(err, res, payload) {
var response = {

@@ -200,3 +210,3 @@ kind: 'res',

transportUtil.handle_response(seneca, response, clientOptions)
})
}
}

@@ -203,0 +213,0 @@

36

package.json
{
"name": "seneca-transport",
"version": "3.0.0",
"version": "4.0.1",
"description": "Seneca transport",

@@ -19,3 +19,3 @@ "main": "transport.js",

"scripts": {
"test": "lab -v -P test -t 70 -I URL,URLSearchParams,BigUint64Array,BigInt64Array,BigInt,SharedArrayBuffer,Atomics",
"test": "lab -v -P test -t 70",
"coveralls": "lab -s -P test -r lcov -I URL,URLSearchParams | coveralls",

@@ -26,3 +26,3 @@ "coverage": "lab -v -P test -t 70 -r html -I URL,URLSearchParams > coverage.html",

"repo-tag": "REPO_VERSION=`node -e \"console.log(require('./package').version)\"` && echo TAG: v$REPO_VERSION && git commit -a -m v$REPO_VERSION && git push && git tag v$REPO_VERSION && git push --tags;",
"repo-publish": "npm run prettier && npm test && npm run repo-tag && npm publish --access public"
"repo-publish": "npm run prettier && npm test && npm run repo-tag --registry http://registry.npmjs.org && npm publish --access public --registry http://registry.npmjs.org"
},

@@ -50,25 +50,26 @@ "contributors": [

"dependencies": {
"@hapi/wreck": "^15.0.2",
"eraro": "^1.1.0",
"gex": "^0.3.0",
"jsonic": "^0.3.1",
"lodash": "^4.17.11",
"lru-cache": "^4.1.5",
"lodash": "^4.17.15",
"lru-cache": "^5.1.1",
"ndjson": "^1.5.0",
"nid": "^0.3.2",
"patrun": "^1.0.0",
"qs": "^6.5.2",
"reconnect-core": "^1.3.0",
"wreck": "^12.5.1"
"qs": "^6.8.0",
"reconnect-core": "^1.3.0"
},
"devDependencies": {
"async": "^2.6.2",
"@hapi/code": "^6.0.0",
"@hapi/joi": "^15.1.1",
"@hapi/lab": "^20.2.2",
"async": "^3.1.0",
"bench": "^0.3.6",
"code": "^4.1.0",
"coveralls": "^3.0.2",
"lab": "^14.3.4",
"prettier": "^1.16.4",
"seneca": "senecajs/seneca",
"seneca-entity": "^2.3.0",
"seneca-transport-test": "^0.3.0",
"sinon": "^5.1.1"
"coveralls": "^3.0.6",
"prettier": "^1.18.2",
"seneca": "plugin",
"seneca-entity": "^4.1.0",
"seneca-transport-test": "^1.0.0",
"sinon": "^7.4.2"
},

@@ -79,5 +80,4 @@ "files": [

"LICENSE",
"bench.js",
"lib"
]
}

@@ -55,3 +55,3 @@ /* Copyright (c) 2013-2015 Richard Rodger & other contributors, MIT License */

var settings = seneca.util.deepextend(internals.defaults, options)
var callmap = LruCache(settings.callmax)
var callmap = new LruCache(settings.callmax)
var transportUtil = new TransportUtil({

@@ -58,0 +58,0 @@ callmap: callmap,

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