issues Search Results · repo:avoidwork/filesize.js language:JavaScript
Filter by
84 results
(96 ms)84 results
inavoidwork/filesize.js (press backspace or delete to remove)npm: 6.14.4 node: 10.21.0
My application automatically installed the new version 10.1.5 today and it is not working anymore now. With
version 10.1.4 it is working fine.
Now I get this when running my ...
weberpatrick
- 1
- Opened on Sep 4, 2024
- #185
The pad method doesn t work when the separator is not set and all decimal places are zero.
filesize(1100)
1.1 kB
filesize(1100, {round: 2, pad: true})
1.10 kB
filesize(1100, {round: 2, pad: ...
Hamper
- 4
- Opened on Sep 2, 2024
- #184
1. I typed 40000 in Try it! section on https://filesizejs.com.
2. I got:
filesize is not a function. (In filesize(val, {base: input.dataset.base10 === true ? 10 : 2, bits: input.dataset.bits === ...
undsoft
- 1
- Opened on Jan 17, 2024
- #179
Unable to override symbols using custom translation text. I couldn t find any examples to do so based on the new
definition of symbols object. This is the best I could think of.
const symbols = {
...
gurpreetbaidwan
- 12
- Opened on Sep 25, 2023
- #176
#172 appears to disallow passing an options object without also specifying an output property. This can be reproduced
with the following code:
import { filesize } from filesize ;
const size = filesize(12345, ...
nwalters512
- 5
- Opened on Aug 9, 2023
- #173
I suggest improving the return type inference. The main function returns a union of type but the return type can be
narrowed to the type specified by the value of the output option. By default, a string ...
4ntke
- 1
- Opened on Dec 29, 2022
- #169
Recently following the CHANGELOG, I ve upgraded filesize from v8 to v10.
There are no notes in CHANGELOG that support for Node.js v12 was dropped. Yet suddenly, I got a report from a user
stating that ...
medikoo
- 3
- Opened on Dec 12, 2022
- #168
After the upgrade to React 18, I started getting the following Typescript errors:
ERROR in src/components/CreateJob/ReviewStep.tsx:102:47
TS2322: Type string | number | any[] | { value: any; symbol: ...
greenpau
- 6
- Opened on Nov 1, 2022
- #167
Hey guys, just a heads up, the cdn-hosted production build is throwing a 404. These are the links that I am referring
to:
- https://cdn.filesizejs.com/filesize.min.js
- https://cdn.filesizejs.com/filesize.js ...
dniccum
- 3
- Opened on Oct 19, 2022
- #165
Hey! First off thanks for making this great library!
I just tried upgrading filesize from v9 to v10.
After changing my imports from:
import filesize from filesize
to:
import { filesize } from filesize ...
skratchdot
- 14
- Opened on Sep 29, 2022
- #162

Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Restrict your search to the title by using the in:title qualifier.
Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Press the /
key to activate the search input again and adjust your query.