generated from napi-rs/package-template
-
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: upgrade dependencies and CI template
- Loading branch information
1 parent
d7aaa79
commit d9f0c28
Showing
10 changed files
with
3,510 additions
and
3,028 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 was deleted.
Oops, something went wrong.
Large diffs are not rendered by default.
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 |
---|---|---|
@@ -1,2 +1,3 @@ | ||
yarnPath: .yarn/releases/yarn-3.6.4.cjs | ||
nodeLinker: node-modules | ||
|
||
yarnPath: .yarn/releases/yarn-4.0.1.cjs |
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,42 +1,38 @@ | ||
/* tslint:disable */ | ||
/* auto-generated by NAPI-RS */ | ||
/* eslint-disable */ | ||
|
||
/* auto-generated by NAPI-RS */ | ||
export function compress(input: string | Buffer, options?: EncOptions | undefined | null, signal?: AbortSignal | undefined | null): Promise<Buffer> | ||
|
||
export function compressSync(input: string | Buffer, options?: EncOptions | undefined | null): Buffer | ||
|
||
export interface DecOptions { | ||
asBuffer?: boolean | ||
/** | ||
* do not use `create_external_buffer` to create the output buffer | ||
* set this option to `true` will make the API slower | ||
* for compatibility with electron >= 21 | ||
* see https://www.electronjs.org/blog/v8-memory-cage and https://github.com/electron/electron/issues/35801#issuecomment-1261206333 | ||
*/ | ||
copyOutputData?: boolean | ||
} | ||
|
||
export interface EncOptions { | ||
/** | ||
* do not use `create_external_buffer` to create the output buffer | ||
* for compatibility with electron >= 21 | ||
* set this option to `true` will make the API slower | ||
* see https://www.electronjs.org/blog/v8-memory-cage and https://github.com/electron/electron/issues/35801#issuecomment-1261206333 | ||
*/ | ||
copyOutputData?: boolean | ||
} | ||
export function compressSync(input: string | Buffer, options?: EncOptions | undefined | null): Buffer | ||
export function compress( | ||
input: string | Buffer, | ||
options?: EncOptions | undefined | null, | ||
signal?: AbortSignal | undefined | null, | ||
): Promise<Buffer> | ||
|
||
export function uncompress(input: string | Buffer, options?: DecOptions | undefined | null, signal?: AbortSignal | undefined | null): Promise<string | Buffer> | ||
|
||
export function uncompressSync(input: string | Buffer, options?: DecOptions | undefined | null): string | Buffer | ||
export function uncompress( | ||
input: string | Buffer, | ||
options?: DecOptions | undefined | null, | ||
signal?: AbortSignal | undefined | null, | ||
): Promise<string | Buffer> | ||
|
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.