@react-native-community/cli-types 7.0.1 → 8.0.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,66 +0,0 @@
1
- // https://github.com/antelle/node-stream-zip/issues/36#issuecomment-596249657
2
- declare module 'node-stream-zip' {
3
- import {Stream} from 'stream';
4
-
5
- interface StreamZipOptions {
6
- /**
7
- * File to read
8
- */
9
- file: string;
10
- /**
11
- * You will be able to work with entries inside zip archive, otherwise the only way to access them is entry event
12
- *
13
- * default: true
14
- */
15
- storeEntries?: boolean;
16
- /**
17
- * By default, entry name is checked for malicious characters, like ../ or c:\123, pass this flag to disable validation errors
18
- *
19
- * default: false
20
- */
21
- skipEntryNameValidation?: boolean;
22
- /**
23
- * Undocumented adjustment of chunk size
24
- *
25
- * default: automatic
26
- */
27
- chunkSize?: number;
28
- }
29
-
30
- class ZipEntry {
31
- name: string;
32
- isDirectory: boolean;
33
- isFile: boolean;
34
- comment: string;
35
- size: number;
36
- }
37
-
38
- class StreamZip {
39
- constructor(config: StreamZipOptions);
40
-
41
- on(event: 'ready', handler: () => void): void;
42
-
43
- entry(entry: string): ZipEntry;
44
- entries(): ZipEntry[];
45
-
46
- entriesCount: number;
47
-
48
- stream(
49
- entry: string,
50
- callback: (err: any | null, stream?: Stream) => void,
51
- ): void;
52
- entryDataSync(entry: string): Buffer;
53
- openEntry(
54
- entry: string,
55
- callback: (err: any | null, entry?: ZipEntry) => void,
56
- sync: boolean,
57
- ): void;
58
- extract(
59
- entry: string | null,
60
- outPath: string,
61
- callback: (err?: any) => void,
62
- ): void;
63
- close(callback?: (err?: any) => void): void;
64
- }
65
- export = StreamZip;
66
- }
package/tsconfig.json DELETED
@@ -1,7 +0,0 @@
1
- {
2
- "extends": "../../tsconfig.json",
3
- "compilerOptions": {
4
- "rootDir": "src",
5
- "outDir": "build"
6
- }
7
- }