Socket
Socket
Sign inDemoInstall

human-signals

Package Overview
Dependencies
0
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.0.1 to 4.0.0

19

build/src/main.js

@@ -10,12 +10,17 @@ import{constants}from"os";

const signals=getSignals();
return signals.reduce(getSignalByName,{});
return Object.fromEntries(signals.map(getSignalByName));
};
const getSignalByName=function(
signalByNameMemo,
{name,number,description,supported,action,forced,standard})
const getSignalByName=function({
name,
number,
description,
supported,
action,
forced,
standard})
{
return{
...signalByNameMemo,
[name]:{name,number,description,supported,action,forced,standard}};
return[
name,
{name,number,description,supported,action,forced,standard}];

@@ -22,0 +27,0 @@ };

{
"name": "human-signals",
"version": "3.0.1",
"version": "4.0.0",
"type": "module",

@@ -50,9 +50,9 @@ "exports": "./build/src/main.js",

"devDependencies": {
"@ehmicky/dev-tasks": "^1.0.34",
"@ehmicky/dev-tasks": "^1.0.72",
"ajv": "^6.12.6",
"test-each": "^3.0.1"
"test-each": "^5.0.0"
},
"engines": {
"node": ">=12.20.0"
"node": ">=14.18.0"
}
}

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc