-
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor Bumps @types/node, @types/svgo, astro, esbuild to current latest
- Loading branch information
1 parent
20cac24
commit f6004b4
Showing
29 changed files
with
528 additions
and
429 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
## 1.0.0 | ||
|
||
- First stable version | ||
|
||
## 0.0.19 | ||
|
||
- Cleanup | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
/** | ||
* It takes a number of bytes and returns a string with the number of bytes formatted in a human | ||
* readable way | ||
* @param {number} bytes - The number of bytes to format. | ||
* @param [decimals=2] - The number of decimals to show. | ||
* @returns A function that takes two parameters, bytes and decimals. | ||
*/ | ||
declare const _default: (bytes: number, decimals?: number) => Promise<string>; | ||
export default _default; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
/** | ||
* It takes a glob, a debug level, a type, a write function, and a read function, and then it | ||
* compresses all the files that match the glob using the write function, and then it logs the results | ||
* to the console using the debug level | ||
* @param {string} glob - The glob pattern to search for files. | ||
* @param {number} [debug=2] - The level of debug output. 0 = none, 1 = summary, 2 = detailed. | ||
* @param {string} [type] - The type of file you're compressing. This is used for the console output. | ||
* @param write - (data: string) => any = async (data) => data, | ||
* @param read - (file: string) => any = async (file) => | ||
*/ | ||
declare const _default: (glob: string, debug?: number, type?: string, write?: (data: string) => any, read?: (file: string) => any) => Promise<void>; | ||
export default _default; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import { Options } from "src/options"; | ||
/** | ||
* It takes a settings object, loops through each key, and calls the appropriate function for each key | ||
* @param {Options} settings - Options - The settings object that you pass to the pipeAll function. | ||
* @param {number} [debug=2] - 0 = no output, 1 = output file names, 2 = output file names and sizes | ||
*/ | ||
declare const _default: (settings: Options, debug?: number) => Promise<void>; | ||
export default _default; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import IMG from "src/options/img"; | ||
/** | ||
* It takes a sharp file and an options object, and returns a buffer of the file in the format | ||
* specified in the options object | ||
* @param {any} sharpFile - The sharp file object | ||
* @param {IMG} options - IMG = {} | ||
* @returns A function that returns a promise that resolves to a buffer. | ||
*/ | ||
declare const _default: (sharpFile: any, options?: IMG) => Promise<any>; | ||
export default _default; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.