react-native-update-cli 2.29.1 → 2.29.3
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.
- package/lib/account.js +2 -4
- package/lib/api.d.ts +1 -1
- package/lib/api.js +26 -44
- package/lib/app.js +13 -27
- package/lib/auto-update.d.ts +1 -1
- package/lib/auto-update.js +6 -16
- package/lib/bin.js +4 -6
- package/lib/bundle-pack.js +25 -27
- package/lib/bundle-runner.js +55 -54
- package/lib/bundle.js +18 -26
- package/lib/diff.js +32 -91
- package/lib/locales/en.d.ts +0 -10
- package/lib/locales/en.js +0 -10
- package/lib/locales/zh.d.ts +0 -10
- package/lib/locales/zh.js +0 -10
- package/lib/native-package.js +20 -60
- package/lib/package.d.ts +6 -1
- package/lib/package.js +59 -74
- package/lib/provider.js +3 -5
- package/lib/symbolicate.js +1 -16
- package/lib/utils/add-gitignore.js +0 -1
- package/lib/utils/app-info-parser/aab.d.ts +5 -22
- package/lib/utils/app-info-parser/aab.js +87 -192
- package/lib/utils/app-info-parser/apk.d.ts +12 -13
- package/lib/utils/app-info-parser/apk.js +28 -78
- package/lib/utils/app-info-parser/ipa.d.ts +2 -14
- package/lib/utils/app-info-parser/ipa.js +9 -70
- package/lib/utils/app-info-parser/resource-finder.d.ts +1 -26
- package/lib/utils/app-info-parser/resource-finder.js +41 -183
- package/lib/utils/app-info-parser/xml-parser/binary.d.ts +6 -55
- package/lib/utils/app-info-parser/xml-parser/binary.js +152 -556
- package/lib/utils/app-info-parser/zip.d.ts +6 -24
- package/lib/utils/app-info-parser/zip.js +19 -86
- package/lib/utils/check-plugin.d.ts +7 -5
- package/lib/utils/check-plugin.js +15 -25
- package/lib/utils/dep-versions.d.ts +0 -6
- package/lib/utils/dep-versions.js +2 -27
- package/lib/utils/failure-fingerprint.js +3 -4
- package/lib/utils/fs-helpers.d.ts +5 -0
- package/lib/utils/fs-helpers.js +19 -0
- package/lib/utils/git.d.ts +0 -1
- package/lib/utils/git.js +0 -8
- package/lib/utils/hash.d.ts +3 -0
- package/lib/utils/hash.js +19 -0
- package/lib/utils/hbcTransform.d.ts +9 -2
- package/lib/utils/hbcTransform.js +41 -70
- package/lib/utils/hermes-base.d.ts +1 -5
- package/lib/utils/hermes-base.js +93 -156
- package/lib/utils/hermes-literals.d.ts +5 -3
- package/lib/utils/hermes-literals.js +30 -53
- package/lib/utils/hermes-raw.d.ts +7 -0
- package/lib/utils/hermes-raw.js +26 -9
- package/lib/utils/http-helper.d.ts +0 -1
- package/lib/utils/http-helper.js +0 -20
- package/lib/utils/i18n.js +0 -2
- package/lib/utils/index.d.ts +5 -19
- package/lib/utils/index.js +95 -189
- package/lib/utils/latest-version.d.ts +19 -0
- package/lib/utils/latest-version.js +137 -0
- package/lib/utils/options.d.ts +2 -1
- package/lib/utils/options.js +5 -7
- package/lib/utils/zip-entries.d.ts +23 -0
- package/lib/utils/zip-entries.js +125 -102
- package/lib/utils/zip-options.js +29 -56
- package/lib/utils/zip-range.js +25 -65
- package/lib/versions.d.ts +5 -0
- package/lib/versions.js +86 -153
- package/package.json +1 -3
- package/lib/utils/app-info-parser/app.d.ts +0 -4
- package/lib/utils/app-info-parser/app.js +0 -10
- package/lib/utils/app-info-parser/index.d.ts +0 -16
- package/lib/utils/app-info-parser/index.js +0 -46
- package/lib/utils/app-info-parser/utils.d.ts +0 -31
- package/lib/utils/app-info-parser/utils.js +0 -135
- package/lib/utils/app-info-parser/xml-parser/manifest.d.ts +0 -10
- package/lib/utils/app-info-parser/xml-parser/manifest.js +0 -202
- package/lib/utils/latest-version/index.d.ts +0 -149
- package/lib/utils/latest-version/index.js +0 -326
- package/lib/utils/plugin-config.d.ts +0 -9
- package/lib/utils/plugin-config.js +0 -31
|
@@ -1,56 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
cursor: number;
|
|
7
|
-
strings: string[];
|
|
8
|
-
resources: number[];
|
|
9
|
-
document: any;
|
|
10
|
-
parent: any;
|
|
11
|
-
stack: any[];
|
|
12
|
-
debug: boolean;
|
|
13
|
-
constructor(buffer: Buffer, options?: BinaryXmlParserOptions);
|
|
14
|
-
readU8(): number;
|
|
15
|
-
readU16(): number;
|
|
16
|
-
readS32(): number;
|
|
17
|
-
readU32(): number;
|
|
18
|
-
readLength8(): number;
|
|
19
|
-
readLength16(): number;
|
|
20
|
-
readDimension(): {
|
|
21
|
-
value: number | null;
|
|
22
|
-
unit: string | null;
|
|
23
|
-
rawUnit: number | null;
|
|
24
|
-
};
|
|
25
|
-
readFraction(): {
|
|
26
|
-
value: number | null;
|
|
27
|
-
type: string | null;
|
|
28
|
-
rawType: number | null;
|
|
29
|
-
};
|
|
30
|
-
readHex24(): string;
|
|
31
|
-
readHex32(): string;
|
|
32
|
-
readTypedValue(): {
|
|
33
|
-
value: any;
|
|
34
|
-
type: string | null;
|
|
35
|
-
rawType: number | null;
|
|
36
|
-
};
|
|
37
|
-
convertIntToFloat(int: number): number;
|
|
38
|
-
readString(encoding: string): string;
|
|
39
|
-
readChunkHeader(): {
|
|
40
|
-
startOffset: number;
|
|
41
|
-
chunkType: number;
|
|
42
|
-
headerSize: number;
|
|
43
|
-
chunkSize: number;
|
|
44
|
-
};
|
|
45
|
-
readStringPool(header: any): null;
|
|
46
|
-
readResourceMap(header: any): null;
|
|
47
|
-
readXmlNamespaceStart(): null;
|
|
48
|
-
readXmlNamespaceEnd(): null;
|
|
49
|
-
readXmlElementStart(): any;
|
|
50
|
-
readXmlAttribute(): any;
|
|
51
|
-
readXmlElementEnd(): null;
|
|
52
|
-
readXmlCData(): any;
|
|
53
|
-
readNull(header: any): null;
|
|
54
|
-
parse(): any;
|
|
1
|
+
export interface XmlElement {
|
|
2
|
+
name: string;
|
|
3
|
+
/** typed attribute values; references read as `resourceId:0x<id>` */
|
|
4
|
+
attributes: Record<string, unknown>;
|
|
5
|
+
children: XmlElement[];
|
|
55
6
|
}
|
|
56
|
-
export
|
|
7
|
+
export declare function parseBinaryXml(buffer: Buffer): XmlElement;
|