Skip to content

Commit 0a4d329

Browse files
committed
Setting engines.node to >= 10.4.0 for lowest version supporting BigInt, fixing npm run build for windows (needs gow)
1 parent daf5389 commit 0a4d329

File tree

9 files changed

+13
-13
lines changed

9 files changed

+13
-13
lines changed

dist/filesize.cjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* @copyright 2022 Jason Mulligan <[email protected]>
55
* @license BSD-3-Clause
6-
* @version 10.0.5
6+
* @version 10.0.6
77
*/
88
'use strict';
99

dist/filesize.esm.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* @copyright 2022 Jason Mulligan <[email protected]>
55
* @license BSD-3-Clause
6-
* @version 10.0.5
6+
* @version 10.0.6
77
*/
88
const ARRAY = "array";
99
const BIT = "bit";

dist/filesize.esm.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/filesize.esm.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/filesize.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* @copyright 2022 Jason Mulligan <[email protected]>
55
* @license BSD-3-Clause
6-
* @version 10.0.5
6+
* @version 10.0.6
77
*/
88
(function(g,f){typeof exports==='object'&&typeof module!=='undefined'?f(exports):typeof define==='function'&&define.amd?define(['exports'],f):(g=typeof globalThis!=='undefined'?globalThis:g||self,f(g.filesize={}));})(this,(function(exports){'use strict';const ARRAY = "array";
99
const BIT = "bit";

dist/filesize.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/filesize.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "filesize",
33
"description": "JavaScript library to generate a human readable String describing the file size",
4-
"version": "10.0.5",
4+
"version": "10.0.6",
55
"homepage": "https://filesizejs.com",
66
"author": "Jason Mulligan <[email protected]>",
77
"repository": {
@@ -22,10 +22,10 @@
2222
"type": "module",
2323
"sourceType": "module",
2424
"engines": {
25-
"node": ">= 14.0.0"
25+
"node": ">= 10.4.0"
2626
},
2727
"scripts": {
28-
"build": "mkdir -p dist && rm -rf dist/* && npm run rollup",
28+
"build": "mkdir -p dist && rm -rf dist/* || rm dist/* || echo 'nothing in ./dist' && npm run rollup",
2929
"changelog": "auto-changelog -p",
3030
"coverage": "nyc npm run test",
3131
"lint": "eslint *.js src/*.js test/*.js",

0 commit comments

Comments
 (0)