From ed2f6ec7aeae8c11b7f2ef1e1d231015f585a2c4 Mon Sep 17 00:00:00 2001 From: Wyatt Pearsall Date: Tue, 24 Oct 2023 14:11:05 -0400 Subject: [PATCH 1/2] Use the include format module instead of the format-usd package. --- .../format-usd-1.0.1.tgz | Bin 7257 -> 0 bytes .../unformat-usd-0.1.1.tgz | Bin 5633 -> 0 bytes .../apps/owning-a-home/package.json | 4 +- .../unprocessed/apps/owning-a-home/yarn.lock | 10 --- .../paying-for-college/js/college-costs.js | 2 +- .../js/college-costs/views/chart-view.js | 18 +++--- .../js/college-costs/views/expenses-view.js | 4 +- .../js/college-costs/views/financial-view.js | 4 +- .../format-usd-1.0.1.tgz | Bin 7257 -> 0 bytes .../apps/paying-for-college/package.json | 1 - .../apps/paying-for-college/yarn.lock | 5 -- cfgov/unprocessed/root/code.json | 60 ------------------ 12 files changed, 15 insertions(+), 93 deletions(-) delete mode 100644 cfgov/unprocessed/apps/owning-a-home/npm-packages-offline-cache/format-usd-1.0.1.tgz delete mode 100644 cfgov/unprocessed/apps/owning-a-home/npm-packages-offline-cache/unformat-usd-0.1.1.tgz delete mode 100644 cfgov/unprocessed/apps/paying-for-college/npm-packages-offline-cache/format-usd-1.0.1.tgz diff --git a/cfgov/unprocessed/apps/owning-a-home/npm-packages-offline-cache/format-usd-1.0.1.tgz b/cfgov/unprocessed/apps/owning-a-home/npm-packages-offline-cache/format-usd-1.0.1.tgz deleted file mode 100644 index 669df8946ad42ab705362d7ef14c5aa9e0412c96..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 7257 zcmV-f9H!$RiwFP!000001MNL&ciTpi^BKRQqs$wU2?<`JWZ9F+%98BpjdeUqj$fYR zooND15;h5N(12ua;{7}OKlYbx9gPOSL!xZi-pmu`kOXvBSJz$DhiB4zCr7F|zi&iVJ*iG) z45)l69G;A@KmQ=lZ;lXKp`5C%$6{+3#Z#FyQtfZm@%@#Gbr6O4sqMDhHou+9fL;Zm zuik^e@LOMLFAipjX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l>HC{>F(qw*H$OSo z-U`uAF;2h4oQY-4nwQz5D*aa(LX{F(%GrSiGyxykl1jM;uCnDs4drL1>OwDhD9QoL zsktPvQV~ohMm(H1ro(ULp%2QQ*Ux;w_}-)mX3u=;4on`?b(m(X5_Q>qv{6*rSf&(f zNjx>Go!NZPo}|j`;90>ksUzruq~9T~T6mpA`?+Oz{#u&sEpBk-#l``Mph#CTMZ7cS zIFnB)bG$7kbsB+p@<$PA&(9y+EE9%44Fs|)d`5X&>FSp>*hQ_Q(_iS*r(Dg7@GNXz(dVb*Q2!9#!8?H)PxpVn$n%LWl>|X~D;z&mB3j=8 zR(R{X@Kt$rJp5#4utQQ ztfl#^OGixT=u`C?k6^4disq`UQlntruU)7lhv4XJhFi`P{jNp;#;cMw6=pe}U*g^{ zBD<+BL>|2dREGd-{*d}We*b|@FxUdlBC&Q`28yK+e{$45l%Y((l%mzEV4<7RFGo_S^#%kx8 z`~Dd=-+i|8?E7b*9Cx2Sc}Pi5`Un7L2I<29w+ { const totalBorrowingAtGrad = getFinancialValue('debt_totalAtGrad'); - const borrowedString = numberToMoney({ + const borrowedString = formatUSD({ amount: totalBorrowingAtGrad, decimalPlaces: 0, }); const interest10years = getFinancialValue('debt_tenYearInterest'); - const interestString = numberToMoney({ + const interestString = formatUSD({ amount: interest10years, decimalPlaces: 0, }); @@ -625,7 +625,7 @@ const chartView = { const max = Math.max(totalCosts * 1.1, totalFunding * 1.1); const text = 'Your costs
' + - numberToMoney({ + formatUSD({ amount: totalCosts, decimalPlaces: 0, }); @@ -653,9 +653,9 @@ const chartView = { updateMaxDebtChart: () => { const totalDebt = getFinancialValue('debt_totalAtGrad'); - const debtString = numberToMoney({ amount: totalDebt, decimalPlaces: 0 }); + const debtString = formatUSD({ amount: totalDebt, decimalPlaces: 0 }); const salary = getFinancialValue('salary_annual'); - const salaryString = numberToMoney({ amount: salary, decimalPlaces: 0 }); + const salaryString = formatUSD({ amount: salary, decimalPlaces: 0 }); const max = Math.max(totalDebt * 1.1, salary * 1.1); chartView.maxDebtChart.yAxis[0].update({ @@ -703,17 +703,17 @@ const chartView = { updateAffordingChart: () => { const monthlyExpenses = getExpensesValue('total_expenses'); - const expensesString = numberToMoney({ + const expensesString = formatUSD({ amount: monthlyExpenses, decimalPlaces: 0, }); const monthlyPayment = getFinancialValue('debt_tenYearMonthly'); - const paymentString = numberToMoney({ + const paymentString = formatUSD({ amount: monthlyPayment, decimalPlaces: 0, }); const monthlySalary = getFinancialValue('salary_monthly'); - const salaryString = numberToMoney({ + const salaryString = formatUSD({ amount: monthlySalary, decimalPlaces: 0, }); diff --git a/cfgov/unprocessed/apps/paying-for-college/js/college-costs/views/expenses-view.js b/cfgov/unprocessed/apps/paying-for-college/js/college-costs/views/expenses-view.js index 279675c6419..30c233502bd 100644 --- a/cfgov/unprocessed/apps/paying-for-college/js/college-costs/views/expenses-view.js +++ b/cfgov/unprocessed/apps/paying-for-college/js/college-costs/views/expenses-view.js @@ -1,7 +1,7 @@ // This file contains the 'view' of expenses budget after graduation import { updateExpense, updateRegion } from '../dispatchers/update-models.js'; import { getExpensesValue } from '../dispatchers/get-model-values.js'; -import numberToMoney from 'format-usd'; +import { formatUSD } from '../../../../../js/modules/util/format.js'; import { selectorMatches } from '../util/other-utils.js'; import { convertStringToNumber } from '../../../../../js/modules/util/format.js'; import { @@ -40,7 +40,7 @@ const expensesView = { if (!selectorMatches(elem, ':focus')) { const prop = elem.dataset.expensesItem; let val = getExpensesValue(prop); - val = numberToMoney({ amount: val, decimalPlaces: 0 }); + val = formatUSD({ amount: val, decimalPlaces: 0 }); if (elem.tagName === 'INPUT') { elem.value = val; diff --git a/cfgov/unprocessed/apps/paying-for-college/js/college-costs/views/financial-view.js b/cfgov/unprocessed/apps/paying-for-college/js/college-costs/views/financial-view.js index 6f3f0acd6d5..11d3c835b16 100644 --- a/cfgov/unprocessed/apps/paying-for-college/js/college-costs/views/financial-view.js +++ b/cfgov/unprocessed/apps/paying-for-college/js/college-costs/views/financial-view.js @@ -11,7 +11,7 @@ import { updateFinancial, updateFinancialsFromSchool, } from '../dispatchers/update-models.js'; -import numberToMoney from 'format-usd'; +import { formatUSD } from '../../../../../js/modules/util/format.js'; import { selectorMatches } from '../util/other-utils.js'; import { updateState } from '../dispatchers/update-state.js'; import { updateUrlQueryString } from '../dispatchers/update-view.js'; @@ -65,7 +65,7 @@ const financialView = { } else if (isHours) { val = Math.round(val * 10) / 10 + ' hours'; } else { - val = numberToMoney({ amount: val, decimalPlaces: 0 }); + val = formatUSD({ amount: val, decimalPlaces: 0 }); } if (elem.tagName === 'INPUT') { diff --git a/cfgov/unprocessed/apps/paying-for-college/npm-packages-offline-cache/format-usd-1.0.1.tgz b/cfgov/unprocessed/apps/paying-for-college/npm-packages-offline-cache/format-usd-1.0.1.tgz deleted file mode 100644 index 669df8946ad42ab705362d7ef14c5aa9e0412c96..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 7257 zcmV-f9H!$RiwFP!000001MNL&ciTpi^BKRQqs$wU2?<`JWZ9F+%98BpjdeUqj$fYR zooND15;h5N(12ua;{7}OKlYbx9gPOSL!xZi-pmu`kOXvBSJz$DhiB4zCr7F|zi&iVJ*iG) z45)l69G;A@KmQ=lZ;lXKp`5C%$6{+3#Z#FyQtfZm@%@#Gbr6O4sqMDhHou+9fL;Zm zuik^e@LOMLFAipjX@3xf&^r-Qgz0pkVv$7f`^$^N1`m=bU+5$b!Vz~LM^iNe0mQ!J zB$?^Q&E_ab#_7QIqG{6`&IZjz^akljZ`QsUXq_s9sZ5h`6hlXxdtvr~vQDRf>a!q} zp%=)BIFF-5c{nHWG>w%^2?F#<<4HC$4D6YnL+Ys9QFOHh?LN?Ov6@9XNTPV251Gto zG$dfW0^%)mw~!}+r$SAD&eH+>B@QEE4t;&6=GRf|BZXe`5DWB!H(naYD)ih5;hJDpvy|D9fU_rd;u ziKmH*_>XDirxT@{4oE@6S72D(Ni=%Uy?_5F)Bpa_{^7}yJM}-q7&pg%-ClRw#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9i z|K5Jc|GvmW>;EGa;vxMgZea1JfyGd~vHyef;cKJ!@O*3;LR5hf}?Ljrh<_U zJrLpJRf2QzB1n>n5~tba$$d3cF`e(onnJJJ?`X#01uuFQQFm=HCpvnUf5sy~)mqkF+9m}E(Yva-n(y@#k35Xjn*so!fSgpNm!x=pjz_~4!BuU; zC^@=Ab6=_1UD^Zq!#j524Cs!7T->=6Zt1wz)xjk4-a!jGxbtSsq$8zIqvR5MY}6qb z9^qH!QO&{R&V-U~Q8mz2La_aE_SnYjRb+k^WMgp=;?@}*#p7EWNi-<7Mh&Pu;~F6= zh8EY&XyKN|N&z&YmVqwH;ZE&IHXL90ZHFsJQ?Apco7I=^WB*X2@}a37ZUV#Y^zI4F zqx*uh{<`@)!`t0^1g@yNxBY0hyAB+*sY9bWw5mh1&4J@uXJ;+g&Tg*^>Q?c=V#wE) zptd2g+xkQqvViVD(A84((U8{4(Z@i%QIgs#CFw3STq8?uD@%*OZkMLy`b*m*{I?v8 z^xRQ=@}8aE9l2cSy7Q3&@^K)F5|Kezl7KslKn96ees`XaWA)W-NVgycpK33!TL$fY4+S$Fs0Jv9d zEvmPW`P?kA*uuKiX_*(>%|DZLza(z#?X9K4UFh3rBgJl{=N*9c+}^S&=on!5aV!v;NEZ4T}w`s4EK4nAhZrb}8*Bo)FfhgW15WP)1+oc#CO_gN>umIR92GZ9_IvhR` z9|&seW+f%Q=c{DA{=-}HON*R$QP8_HeB14G2wVJRV;Z_hL`b`pYw9>m$CkS>CBeVB zU3c5vVCk+VtsqNGnw$t55N2FsYvTM Date: Tue, 31 Oct 2023 12:04:41 -0400 Subject: [PATCH 2/2] remove stray log --- cfgov/unprocessed/apps/paying-for-college/js/college-costs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cfgov/unprocessed/apps/paying-for-college/js/college-costs.js b/cfgov/unprocessed/apps/paying-for-college/js/college-costs.js index 63c9616813f..dc52c9d5702 100644 --- a/cfgov/unprocessed/apps/paying-for-college/js/college-costs.js +++ b/cfgov/unprocessed/apps/paying-for-college/js/college-costs.js @@ -17,7 +17,7 @@ import { updateModelsFromQueryString } from './college-costs/dispatchers/update- function init() { const body = document.querySelector('body'); const query = getQueryVariables(); - console.log('initted'); + expensesModel.init(body); constantsModel.init(); expensesView.init();