Skip to content

Commit

Permalink
Merge pull request #1789 from houdiniproject/dependabot/npm_and_yarn/…
Browse files Browse the repository at this point in the history
…typescript-5.7.2

Bump typescript from 5.0.3 to 5.7.2
  • Loading branch information
wwahammy authored Dec 14, 2024
2 parents c5cddcf + 92ed949 commit 0d94c31
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/javascript/components/intl/HoudiniIntl.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ function rawFormatMoney(intl:IntlShapeParent, amount:Money, opts?:FormatMoneyOpt
currency: amount.currency.toUpperCase(),
});

const adjustedAmount = amount.toBigNumber().dividedBy(Math.pow(10, formatter.resolvedOptions().maximumFractionDigits));
const adjustedAmount = amount.toBigNumber().dividedBy(Math.pow(10, formatter.resolvedOptions().maximumFractionDigits || 0));
return formatter.format(adjustedAmount.toNumber());
}

Expand Down
6 changes: 3 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -15666,9 +15666,9 @@ typedarray@^0.0.6:
integrity sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=

typescript@^5:
version "5.0.3"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.0.3.tgz#fe976f0c826a88d0a382007681cbb2da44afdedf"
integrity sha512-xv8mOEDnigb/tN9PSMTwSEqAnUvkoXMQlicOb0IUVDBSQCgBSaAAROUZYy2IcUy5qU6XajK5jjjO7TMWqBTKZA==
version "5.7.2"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.7.2.tgz#3169cf8c4c8a828cde53ba9ecb3d2b1d5dd67be6"
integrity sha512-i5t66RHxDvVN40HfDd1PsEThGNnlMCMT3jMUuoh9/0TaqWevNontacunWyN02LA9/fIbEWlcHZcgTKb9QoaLfg==

uglify-js@^3.1.4:
version "3.14.5"
Expand Down

0 comments on commit 0d94c31

Please sign in to comment.