-
-
Notifications
You must be signed in to change notification settings - Fork 449
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bb9572b
commit b3c23a8
Showing
4 changed files
with
33 additions
and
49 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,25 @@ | ||
declare module '@xhmikosr/decompress' { | ||
import { DecompressOptions, File } from '@xhmikosr/decompress' | ||
type DecompressOptions = { | ||
plugins?: void[] | ||
strip?: number | ||
filter?: (file: string) => boolean | ||
map?: (file: string) => string | ||
} | ||
|
||
type DecompressedFile = { | ||
data: Buffer | ||
mode: number | ||
mtime: Date | ||
path: string | ||
type: string | ||
} | ||
|
||
declare module '@xhmikosr/decompress' { | ||
export default function decompress( | ||
input: string, | ||
output: string, | ||
opts?: DecompressOptions | ||
): Promise<File[]> | ||
): Promise<void> | ||
} | ||
|
||
declare module '@xhmikosr/decompress-targz' { | ||
import { DecompressPlugin } from '@xhmikosr/decompress' | ||
|
||
const plugin: DecompressPlugin | ||
export default plugin | ||
} | ||
|
||
declare module '@felipecrs/decompress-tarxz' { | ||
import { DecompressPlugin } from '@xhmikosr/decompress' | ||
|
||
const plugin: DecompressPlugin | ||
export default plugin | ||
} | ||
declare module '@xhmikosr/decompress-targz' | ||
declare module '@felipecrs/decompress-tarxz' |
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 |
---|---|---|
|
@@ -2933,10 +2933,10 @@ compare-version@^0.1.2: | |
resolved "https://registry.yarnpkg.com/compare-version/-/compare-version-0.1.2.tgz#0162ec2d9351f5ddd59a9202cba935366a725080" | ||
integrity sha512-pJDh5/4wrEnXX/VWRZvruAGHkzKdr46z11OlTPN+VrATlWWhSKewNCJ1futCO5C7eJB3nPMFZA1LeYtcFboZ2A== | ||
|
||
compare-versions@6.0.0-rc.1: | ||
version "6.0.0-rc.1" | ||
resolved "https://registry.yarnpkg.com/compare-versions/-/compare-versions-6.0.0-rc.1.tgz#93e6beb8767c2375333ee168fa64c28b75ace2c6" | ||
integrity sha512-cFhkjbGY1jLFWIV7KegECbfuyYPxSGvgGkdkfM+ibboQDoPwg2FRHm5BSNTOApiauRBzJIQH7qvOJs2sW5ueKQ== | ||
compare-versions@6.1.0: | ||
version "6.1.0" | ||
resolved "https://registry.yarnpkg.com/compare-versions/-/compare-versions-6.1.0.tgz#3f2131e3ae93577df111dba133e6db876ffe127a" | ||
integrity sha512-LNZQXhqUvqUTotpZ00qLSaify3b4VFD588aRr8MKFw4CMUr98ytzCW5wDH5qx/DEY5kCDXcbcRuCqL0szEf2tg== | ||
|
||
[email protected]: | ||
version "0.0.1" | ||
|