Skip to content

Commit

Permalink
Setting engines.node to >= 10.4.0 for lowest version supporting `…
Browse files Browse the repository at this point in the history
…BigInt`, fixing `npm run build` for windows (needs `gow`)
  • Loading branch information
avoidwork committed Dec 12, 2022
1 parent daf5389 commit 0a4d329
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion dist/filesize.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
* @copyright 2022 Jason Mulligan <jason.mulligan@avoidwork.com>
* @license BSD-3-Clause
* @version 10.0.5
* @version 10.0.6
*/
'use strict';

Expand Down
2 changes: 1 addition & 1 deletion dist/filesize.esm.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
* @copyright 2022 Jason Mulligan <jason.mulligan@avoidwork.com>
* @license BSD-3-Clause
* @version 10.0.5
* @version 10.0.6
*/
const ARRAY = "array";
const BIT = "bit";
Expand Down
2 changes: 1 addition & 1 deletion dist/filesize.esm.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/filesize.esm.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/filesize.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
* @copyright 2022 Jason Mulligan <jason.mulligan@avoidwork.com>
* @license BSD-3-Clause
* @version 10.0.5
* @version 10.0.6
*/
(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";
const BIT = "bit";
Expand Down
2 changes: 1 addition & 1 deletion dist/filesize.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/filesize.min.js.map

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "filesize",
"description": "JavaScript library to generate a human readable String describing the file size",
"version": "10.0.5",
"version": "10.0.6",
"homepage": "https://filesizejs.com",
"author": "Jason Mulligan <jason.mulligan@avoidwork.com>",
"repository": {
Expand All @@ -22,10 +22,10 @@
"type": "module",
"sourceType": "module",
"engines": {
"node": ">= 14.0.0"
"node": ">= 10.4.0"
},
"scripts": {
"build": "mkdir -p dist && rm -rf dist/* && npm run rollup",
"build": "mkdir -p dist && rm -rf dist/* || rm dist/* || echo 'nothing in ./dist' && npm run rollup",
"changelog": "auto-changelog -p",
"coverage": "nyc npm run test",
"lint": "eslint *.js src/*.js test/*.js",
Expand Down

0 comments on commit 0a4d329

Please sign in to comment.