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

actionhero-socket-server

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

actionhero-socket-server - npm Package Compare versions

Comparing version 2.1.1 to 2.1.2

6

__tests__/servers/socket.ts

@@ -260,3 +260,3 @@ import * as uuid from "uuid";

newClient.on("close", () => {
return resolve();
return resolve(null);
});

@@ -305,3 +305,3 @@ newClient.write("quit\n");

resolve();
return resolve(null);
}

@@ -581,3 +581,3 @@ };

client.on("close", () => {
return resolve();
return resolve(null);
});

@@ -584,0 +584,0 @@ });

@@ -5,3 +5,3 @@ {

"description": "A TCP and JSON server for actionhero",
"version": "2.1.1",
"version": "2.1.2",
"homepage": "http://www.actionherojs.com",

@@ -37,10 +37,10 @@ "license": "Apache-2.0",

"devDependencies": {
"@types/node": "^14.6.4",
"@types/jest": "^26.0.13",
"actionhero": "^23.0.10",
"jest": "^26.4.2",
"prettier": "^2.1.1",
"ts-jest": "^26.3.0",
"ts-node-dev": "^1.0.0-pre.62",
"typescript": "^4.0.2"
"@types/node": "^14.14.10",
"@types/jest": "^26.0.15",
"actionhero": "^25.0.2",
"jest": "^26.6.3",
"prettier": "^2.2.1",
"ts-jest": "^26.4.4",
"ts-node-dev": "^1.0.0",
"typescript": "^4.1.2"
},

@@ -47,0 +47,0 @@ "scripts": {

@@ -1,6 +0,11 @@

const path = require("path");
import * as path from "path";
import * as fs from "fs";
export const DEFAULT = {
general: (config) => {
const packageJSON = require("./../../package.json");
const packageJSON = JSON.parse(
fs
.readFileSync(path.join(__dirname, "..", "..", "package.json"))
.toString()
);

@@ -24,4 +29,8 @@ return {

disableParamScrubbing: false,
// enable action response to logger
enableResponseLogging: false,
// params you would like hidden from any logs
filteredParams: [],
// responses you would like hidden from any logs
filteredResponse: [],
// values that signify missing params

@@ -28,0 +37,0 @@ missingParamChecks: [null, "", undefined],

@@ -41,2 +41,4 @@ export const DEFAULT = {

},
// See ActionProcessor#applyDefaultErrorLogLineFormat to see an example of how to customize
actionProcessor: null,
},

@@ -43,0 +45,0 @@

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