mirror of
https://gitcode.com/github-mirrors/react-native-update-cli.git
synced 2025-09-16 09:41:38 +08:00
v1.20.1
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "react-native-update-cli",
|
||||
"version": "1.20.0",
|
||||
"version": "1.20.1",
|
||||
"description": "Command tools for javaScript updater with `pushy` service for react native apps.",
|
||||
"main": "index.js",
|
||||
"bin": {
|
||||
@@ -31,7 +31,7 @@
|
||||
},
|
||||
"homepage": "https://github.com/reactnativecn/react-native-pushy/tree/master/react-native-pushy-cli",
|
||||
"dependencies": {
|
||||
"app-info-parser": "^1.1.6",
|
||||
"app-info-parser": "github:sunnylqm/app-info-parser#fix/support-ascii-versionname",
|
||||
"cli-arguments": "^0.2.1",
|
||||
"filesize-parser": "^1.5.0",
|
||||
"fs-extra": "8",
|
||||
@@ -56,10 +56,5 @@
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 10"
|
||||
},
|
||||
"pnpm": {
|
||||
"patchedDependencies": {
|
||||
"app-info-parser@1.1.6": "patches/app-info-parser@1.1.6.patch"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -1,17 +0,0 @@
|
||||
diff --git a/src/xml-parser/binary.js b/src/xml-parser/binary.js
|
||||
index e20cc96e8131078ea81afeb31af46142a52da58e..f0f788cc555046f0dab47f8854f26344e0d5d714 100644
|
||||
--- a/src/xml-parser/binary.js
|
||||
+++ b/src/xml-parser/binary.js
|
||||
@@ -547,8 +547,10 @@ var BinaryXmlParser = /*#__PURE__*/function () {
|
||||
attr.nodeName = attr.name = this.strings[nameRef];
|
||||
if (valueRef > 0) {
|
||||
// some apk have versionName with special characters
|
||||
- if (attr.name === 'versionName') {
|
||||
- this.strings[valueRef] = this.strings[valueRef].replace(/[^\d\w-.]/g, '');
|
||||
+ if (attr.name === 'versionName') {
|
||||
+ // only keep printable characters
|
||||
+ // https://www.ascii-code.com/characters/printable-characters
|
||||
+ this.strings[valueRef] = this.strings[valueRef].replace(/[^\x21-\x7E]/g, '')
|
||||
}
|
||||
attr.value = this.strings[valueRef];
|
||||
}
|
36
pnpm-lock.yaml
generated
36
pnpm-lock.yaml
generated
@@ -4,15 +4,10 @@ settings:
|
||||
autoInstallPeers: true
|
||||
excludeLinksFromLockfile: false
|
||||
|
||||
patchedDependencies:
|
||||
app-info-parser@1.1.6:
|
||||
hash: 5azvag6rayshexwrrjmxczz7em
|
||||
path: patches/app-info-parser@1.1.6.patch
|
||||
|
||||
dependencies:
|
||||
app-info-parser:
|
||||
specifier: ^1.1.6
|
||||
version: 1.1.6(patch_hash=5azvag6rayshexwrrjmxczz7em)
|
||||
specifier: github:sunnylqm/app-info-parser#fix/support-ascii-versionname
|
||||
version: github.com/sunnylqm/app-info-parser/a269025b6c74fe1b8ced83b43a0ec7d23e5f028c
|
||||
cli-arguments:
|
||||
specifier: ^0.2.1
|
||||
version: 0.2.1
|
||||
@@ -149,19 +144,6 @@ packages:
|
||||
dev: true
|
||||
optional: true
|
||||
|
||||
/app-info-parser@1.1.6(patch_hash=5azvag6rayshexwrrjmxczz7em):
|
||||
resolution: {integrity: sha512-ZAFCM0bN88cbpsMoRhL/JfdX3b+nb5iBEXcu30xABvbaqtw6tXfHujDnuKSpNmA3P0uwpkIxTV/Wun5HfEch8A==}
|
||||
hasBin: true
|
||||
dependencies:
|
||||
bplist-parser: 0.2.0
|
||||
bytebuffer: 5.0.1
|
||||
cgbi-to-png: 1.0.7
|
||||
commander: 7.2.0
|
||||
isomorphic-unzip: 1.1.5
|
||||
plist: 3.0.4
|
||||
dev: false
|
||||
patched: true
|
||||
|
||||
/arr-diff@2.0.0:
|
||||
resolution: {integrity: sha1-jzuCf5Vai9ZpaX5KQlasPOrjVs8=}
|
||||
engines: {node: '>=0.10.0'}
|
||||
@@ -3255,3 +3237,17 @@ packages:
|
||||
dependencies:
|
||||
buffer-crc32: 0.2.13
|
||||
dev: false
|
||||
|
||||
github.com/sunnylqm/app-info-parser/a269025b6c74fe1b8ced83b43a0ec7d23e5f028c:
|
||||
resolution: {tarball: https://codeload.github.com/sunnylqm/app-info-parser/tar.gz/a269025b6c74fe1b8ced83b43a0ec7d23e5f028c}
|
||||
name: app-info-parser
|
||||
version: 1.1.6
|
||||
hasBin: true
|
||||
dependencies:
|
||||
bplist-parser: 0.2.0
|
||||
bytebuffer: 5.0.1
|
||||
cgbi-to-png: 1.0.7
|
||||
commander: 7.2.0
|
||||
isomorphic-unzip: 1.1.5
|
||||
plist: 3.0.4
|
||||
dev: false
|
||||
|
Reference in New Issue
Block a user