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

finlambda

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

finlambda - npm Package Compare versions

Comparing version 1.0.0-beta.2 to 1.0.0-beta.3

4

es2015/finlambda.js

@@ -1,2 +0,2 @@

// FinLambda v1.0.0-beta.2
// FinLambda v1.0.0-beta.3
// https://github.com/eboukamza/finlambda#readme

@@ -132,3 +132,3 @@ // (c) 2018 - Elias Boukamza'

*/
const tax = taxBrackets => compose(Math.ceil, sum, taxDetail(taxBrackets));
const tax = taxBrackets => compose(sum, taxDetail(taxBrackets));

@@ -135,0 +135,0 @@ /**

@@ -1,2 +0,2 @@

// FinLambda v1.0.0-beta.2
// FinLambda v1.0.0-beta.3
// https://github.com/eboukamza/finlambda#readme

@@ -155,3 +155,3 @@ // (c) 2018 - Elias Boukamza'

var tax = function tax(taxBrackets) {
return compose(Math.ceil, sum, taxDetail(taxBrackets));
return compose(sum, taxDetail(taxBrackets));
};

@@ -158,0 +158,0 @@

{
"name": "finlambda",
"version": "1.0.0-beta.2",
"version": "1.0.0-beta.3",
"description": "Functional programing library for financial calculations",

@@ -20,6 +20,6 @@ "keywords": [

"scripts": {
"build:esm5": "rollup -c rollup-es5m.config.js -o dist/es5m/finlambda.js",
"build:es2015": "rollup -c rollup-es2015.config.js -o dist/es2015/finlambda.js",
"build:umd": "cross-env NODE_ENV=development rollup -c rollup-umd.config.js -o dist/umd/finlambda.umd.js",
"build:umd:min": "cross-env NODE_ENV=production rollup -c rollup-umd.config.js -o dist/umd/finlambda.umd.min.js",
"build:esm5": "rollup -c config/rollup-es5m.config.js -o dist/es5m/finlambda.js",
"build:es2015": "rollup -c config/rollup-es2015.config.js -o dist/es2015/finlambda.js",
"build:umd": "rollup -c config/rollup-umd.config.js -o dist/umd/finlambda.umd.js",
"build:umd:min": "cross-env NODE_ENV=prod rollup -c config/rollup-umd.config.js -o dist/umd/finlambda.umd.min.js",
"build": "npm run build:esm5 && npm run build:es2015 && npm run build:umd && npm run build:umd:min && npm run copy:assets",

@@ -29,3 +29,3 @@ "copy:assets": "cp -r src/ dist/ && cp README.md dist && cp package.json dist",

"release": "npm test && npm run build && npm publish dist",
"generate-docs": "jsdoc -c doc.config.json src"
"generate-docs": "jsdoc -c config/jsdoc.config.json src"
},

@@ -52,5 +52,6 @@ "publishConfig": {

"babel-core": "^7.0.0-bridge",
"babel-jest": "^23.6.0",
"babel-jest": "^24.9.0",
"cross-env": "^5.2.0",
"jest": "^22.4.3",
"jest": "^24.9.0",
"jsdoc": "^3.6.3",
"ramda": "0.26.0",

@@ -66,6 +67,3 @@ "rollup": "^0.67.3",

"testEnvironment": "node"
},
"dependencies": {
"jsdoc": "^3.5.5"
}
}

@@ -70,1 +70,3 @@ finlambda

corpTaxDetailed(100000) //=> [ 5718, 11726.12 ]
Read all documentation [here](https://eboukamza.github.io/finlambda-docs/)

@@ -27,3 +27,3 @@ import { compose, sum } from 'ramda'

*/
const tax = taxBrackets => compose(Math.ceil, sum, taxDetail(taxBrackets))
const tax = taxBrackets => compose(sum, taxDetail(taxBrackets))
export { tax }

@@ -1,2 +0,2 @@

// FinLambda v1.0.0-beta.2
// FinLambda v1.0.0-beta.3
// https://github.com/eboukamza/finlambda#readme

@@ -159,3 +159,3 @@ // (c) 2018 - Elias Boukamza'

var tax = function tax(taxBrackets) {
return ramda.compose(Math.ceil, ramda.sum, taxDetail(taxBrackets));
return ramda.compose(ramda.sum, taxDetail(taxBrackets));
};

@@ -162,0 +162,0 @@

@@ -1,1 +0,1 @@

!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("ramda")):"function"==typeof define&&define.amd?define(["exports","ramda"],e):e(t.FinLambda={},t.R)}(this,function(t,e){"use strict";t.netAfter=function(t,e){return e-t(e)},t.netAfter=e.curry(t.netAfter),t.rateAt=function(t,e){return e*t},t.rateAt=e.curry(t.rateAt);var n=function(t,e){return e(t)};n=e.curry(n);var r=function(t){return function(r){return e.map(n(r),t)}};t.forInterval=function(t,e){return function(n){return Math.max(Math.min(e||n,n)-t,0)}},t.tax=function(t){return e.compose(Math.ceil,e.sum,r(t))},t.taxBracket=function(t,n){return e.compose(t,n)},t.taxDetail=r,Object.defineProperty(t,"__esModule",{value:!0})});
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("ramda")):"function"==typeof define&&define.amd?define(["exports","ramda"],e):e(t.FinLambda={},t.R)}(this,function(t,e){"use strict";t.netAfter=function(t,e){return e-t(e)},t.netAfter=e.curry(t.netAfter),t.rateAt=function(t,e){return e*t},t.rateAt=e.curry(t.rateAt);var n=function(t,e){return e(t)};n=e.curry(n);var r=function(t){return function(r){return e.map(n(r),t)}};t.forInterval=function(t,e){return function(n){return Math.max(Math.min(e||n,n)-t,0)}},t.tax=function(t){return e.compose(e.sum,r(t))},t.taxBracket=function(t,n){return e.compose(t,n)},t.taxDetail=r,Object.defineProperty(t,"__esModule",{value:!0})});
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