Skip to content

Commit

Permalink
Fixing a duplicate declaration within filesize.d.ts from recent mer…
Browse files Browse the repository at this point in the history
…ge, building, updating copyright years, & version bump to release
  • Loading branch information
avoidwork committed Jan 19, 2022
1 parent 54ed32f commit 2dbc4bc
Show file tree
Hide file tree
Showing 11 changed files with 4,896 additions and 5,301 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2021, Jason Mulligan
Copyright (c) 2022, Jason Mulligan
All rights reserved.

Redistribution and use in source and binary forms, with or without
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,5 +97,5 @@ filesize.js supports AMD loaders (require.js, curl.js, etc.), node.js & npm (```
An ES6 version is bundled with an npm install, but requires you load it with the full path, e.g. `require(path.join(__dirname, 'node_modules', 'filesize', 'lib', 'filesize.es6.js'))`.

## License
Copyright (c) 2021 Jason Mulligan
Copyright (c) 2022 Jason Mulligan
Licensed under the BSD-3 license.
6 changes: 1 addition & 5 deletions filesize.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ declare namespace Filesize {
*/
round?: number;
/**
*
* Rounding method, can be round, floor, or ceil, default is round
*/
roundingMethod?: "round" | "floor" | "ceil";
/**
Expand All @@ -106,10 +106,6 @@ declare namespace Filesize {
* Enables unix style human readable output, e.g ls -lh, default is false
*/
unix?: boolean;
/**
* Rounding method, can be round, floor, or ceil, default is round
*/
roundingMethod?: "round" | "floor" | "ceil";
}

// Result type inference from the output option
Expand Down
4 changes: 2 additions & 2 deletions lib/filesize.es6.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/**
* filesize
*
* @copyright 2021 Jason Mulligan <jason.mulligan@avoidwork.com>
* @copyright 2022 Jason Mulligan <jason.mulligan@avoidwork.com>
* @license BSD-3-Clause
* @version 8.0.6
* @version 8.0.7
*/
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
Expand Down
4 changes: 2 additions & 2 deletions lib/filesize.es6.min.js

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

4 changes: 2 additions & 2 deletions lib/filesize.esm.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/**
* filesize
*
* @copyright 2021 Jason Mulligan <jason.mulligan@avoidwork.com>
* @copyright 2022 Jason Mulligan <jason.mulligan@avoidwork.com>
* @license BSD-3-Clause
* @version 8.0.6
* @version 8.0.7
*/
const b = /^(b|B)$/,
symbol = {
Expand Down
4 changes: 2 additions & 2 deletions lib/filesize.esm.min.js

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

4 changes: 2 additions & 2 deletions lib/filesize.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/**
* filesize
*
* @copyright 2021 Jason Mulligan <jason.mulligan@avoidwork.com>
* @copyright 2022 Jason Mulligan <jason.mulligan@avoidwork.com>
* @license BSD-3-Clause
* @version 8.0.6
* @version 8.0.7
*/
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
Expand Down
4 changes: 2 additions & 2 deletions lib/filesize.min.js

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

Loading

0 comments on commit 2dbc4bc

Please sign in to comment.