New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

awesome-sigmoid

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

awesome-sigmoid - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

7

lib/index.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.sigmoid = function (x, gain) {
exports.makeSigmoid = exports.sigmoid = void 0;
var sigmoid = function (x, gain) {
return (Math.tanh((gain * x) / 2) + 1) / 2;
};
exports.makeSigmoid = function (_a) {
exports.sigmoid = sigmoid;
var makeSigmoid = function (_a) {
var center = _a.center, deviation = _a.deviation, deviation_output = _a.deviation_output;

@@ -15,2 +17,3 @@ /*

};
exports.makeSigmoid = makeSigmoid;
exports.default = exports.makeSigmoid;
{
"name": "awesome-sigmoid",
"version": "1.0.1",
"version": "1.0.2",
"description": "generate sigmoid function flexible and easy",

@@ -17,3 +17,3 @@ "main": "lib/index.js",

"build": "tsc",
"prepublish": "npm run test && npm run build"
"prepublishOnly": "npm run test && npm run build"
},

@@ -31,13 +31,13 @@ "repository": {

"devDependencies": {
"@types/jest": "^25.2.1",
"@types/node": "^13.11.1",
"@typescript-eslint/eslint-plugin": "^2.28.0",
"@typescript-eslint/parser": "^2.28.0",
"eslint": "^5.16.0",
"husky": "^4.2.5",
"jest": "^25.3.0",
"@types/jest": "^26.0.23",
"@types/node": "^15.12.5",
"@typescript-eslint/eslint-plugin": "^4.28.1",
"@typescript-eslint/parser": "^4.28.1",
"eslint": "^7.29.0",
"husky": "^6.0.0",
"jest": "^27.0.6",
"npm-run-all": "^4.1.5",
"ts-jest": "^25.3.1",
"typescript": "^3.8.3"
"ts-jest": "^27.0.3",
"typescript": "^4.3.4"
}
}
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