@yarnpkg/libzip
Advanced tools
Comparing version 2.0.0-rc.11 to 2.0.0-rc.12
@@ -6,2 +6,5 @@ /// <reference types="emscripten" /> | ||
readonly HEAPU8: Uint8Array; | ||
SEEK_SET: number; | ||
SEEK_CUR: number; | ||
SEEK_END: number; | ||
ZIP_CHECKCONS: number; | ||
@@ -78,2 +81,9 @@ ZIP_CREATE: number; | ||
free: (...args: any[]) => any; | ||
keep: (...args: any[]) => any; | ||
open: (...args: any[]) => any; | ||
close: (...args: any[]) => any; | ||
seek: (...args: any[]) => any; | ||
tell: (...args: any[]) => any; | ||
read: (...args: any[]) => any; | ||
error: (...args: any[]) => any; | ||
setMtime: (...args: any[]) => any; | ||
@@ -80,0 +90,0 @@ }; |
@@ -11,2 +11,5 @@ "use strict"; | ||
get HEAPU8() { return libzip.HEAPU8; }, | ||
SEEK_SET: 0, | ||
SEEK_CUR: 1, | ||
SEEK_END: 2, | ||
ZIP_CHECKCONS: 4, | ||
@@ -83,2 +86,9 @@ ZIP_CREATE: 1, | ||
free: libzip.cwrap(`zip_source_free`, null, [`number`]), | ||
keep: libzip.cwrap(`zip_source_keep`, null, [`number`]), | ||
open: libzip.cwrap(`zip_source_open`, `number`, [`number`]), | ||
close: libzip.cwrap(`zip_source_close`, `number`, [`number`]), | ||
seek: libzip.cwrap(`zip_source_seek`, `number`, [`number`, ...number64, `number`]), | ||
tell: libzip.cwrap(`zip_source_tell`, `number`, [`number`]), | ||
read: libzip.cwrap(`zip_source_read`, `number`, [`number`, `number`, `number`]), | ||
error: libzip.cwrap(`zip_source_error`, `number`, [`number`]), | ||
setMtime: libzip.cwrap(`zip_source_set_mtime`, `number`, [`number`, `number`]), | ||
@@ -85,0 +95,0 @@ }, |
export declare function getLibzipSync(): { | ||
readonly HEAP8: Int8Array; | ||
readonly HEAPU8: Uint8Array; | ||
SEEK_SET: number; | ||
SEEK_CUR: number; | ||
SEEK_END: number; | ||
ZIP_CHECKCONS: number; | ||
@@ -75,2 +78,9 @@ ZIP_CREATE: number; | ||
free: (...args: any[]) => any; | ||
keep: (...args: any[]) => any; | ||
open: (...args: any[]) => any; | ||
close: (...args: any[]) => any; | ||
seek: (...args: any[]) => any; | ||
tell: (...args: any[]) => any; | ||
read: (...args: any[]) => any; | ||
error: (...args: any[]) => any; | ||
setMtime: (...args: any[]) => any; | ||
@@ -92,2 +102,5 @@ }; | ||
readonly HEAPU8: Uint8Array; | ||
SEEK_SET: number; | ||
SEEK_CUR: number; | ||
SEEK_END: number; | ||
ZIP_CHECKCONS: number; | ||
@@ -164,2 +177,9 @@ ZIP_CREATE: number; | ||
free: (...args: any[]) => any; | ||
keep: (...args: any[]) => any; | ||
open: (...args: any[]) => any; | ||
close: (...args: any[]) => any; | ||
seek: (...args: any[]) => any; | ||
tell: (...args: any[]) => any; | ||
read: (...args: any[]) => any; | ||
error: (...args: any[]) => any; | ||
setMtime: (...args: any[]) => any; | ||
@@ -166,0 +186,0 @@ }; |
{ | ||
"name": "@yarnpkg/libzip", | ||
"version": "2.0.0-rc.11", | ||
"version": "2.0.0-rc.12", | ||
"license": "BSD-2-Clause", | ||
"main": "./lib/sync.js", | ||
@@ -29,3 +30,6 @@ "browser": "./lib/async.js", | ||
"@types/emscripten": "^1.38.0" | ||
}, | ||
"engines": { | ||
"node": ">=10.19.0" | ||
} | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
No License Found
License(Experimental) License information could not be found.
Found 1 instance in 1 package
0
722340
11163