@yume-chan/adb 0.0.15 → 0.0.16
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/CHANGELOG.json +21 -0
- package/CHANGELOG.md +11 -1
- package/LICENSE +21 -21
- package/README.md +247 -247
- package/esm/adb.d.ts +7 -0
- package/esm/adb.d.ts.map +1 -1
- package/esm/adb.js +7 -0
- package/esm/adb.js.map +1 -1
- package/esm/commands/subprocess/protocols/none.d.ts +1 -0
- package/esm/commands/subprocess/protocols/none.d.ts.map +1 -1
- package/esm/commands/subprocess/protocols/none.js +6 -5
- package/esm/commands/subprocess/protocols/none.js.map +1 -1
- package/esm/commands/sync/stat.d.ts.map +1 -1
- package/esm/commands/sync/stat.js.map +1 -1
- package/esm/socket/dispatcher.d.ts +4 -1
- package/esm/socket/dispatcher.d.ts.map +1 -1
- package/esm/socket/dispatcher.js +11 -8
- package/esm/socket/dispatcher.js.map +1 -1
- package/esm/socket/socket.d.ts +6 -1
- package/esm/socket/socket.d.ts.map +1 -1
- package/esm/socket/socket.js +17 -7
- package/esm/socket/socket.js.map +1 -1
- package/esm/stream/buffered.d.ts +6 -2
- package/esm/stream/buffered.d.ts.map +1 -1
- package/esm/stream/buffered.js +67 -47
- package/esm/stream/buffered.js.map +1 -1
- package/esm/stream/detect.js +1 -0
- package/esm/stream/detect.js.map +1 -1
- package/esm/stream/detect.polyfill.d.ts.map +1 -1
- package/esm/stream/detect.polyfill.js +0 -5
- package/esm/stream/detect.polyfill.js.map +1 -1
- package/esm/stream/transform.d.ts +20 -0
- package/esm/stream/transform.d.ts.map +1 -1
- package/esm/stream/transform.js +7 -1
- package/esm/stream/transform.js.map +1 -1
- package/package.json +10 -10
- package/src/adb.ts +280 -273
- package/src/auth.ts +173 -173
- package/src/backend.ts +11 -11
- package/src/commands/base.ts +11 -11
- package/src/commands/framebuffer.ts +73 -73
- package/src/commands/index.ts +8 -8
- package/src/commands/install.ts +30 -30
- package/src/commands/power.ts +54 -54
- package/src/commands/reverse.ts +140 -140
- package/src/commands/subprocess/index.ts +139 -139
- package/src/commands/subprocess/protocols/none.ts +70 -68
- package/src/commands/subprocess/protocols/shell.ts +190 -190
- package/src/commands/subprocess/protocols/types.ts +59 -59
- package/src/commands/subprocess/utils.ts +20 -20
- package/src/commands/sync/index.ts +7 -7
- package/src/commands/sync/list.ts +86 -86
- package/src/commands/sync/pull.ts +46 -46
- package/src/commands/sync/push.ts +41 -41
- package/src/commands/sync/request.ts +50 -50
- package/src/commands/sync/response.ts +64 -64
- package/src/commands/sync/stat.ts +151 -150
- package/src/commands/sync/sync.ts +181 -181
- package/src/commands/tcpip.ts +21 -21
- package/src/crypto.ts +296 -296
- package/src/features.ts +9 -9
- package/src/index.ts +11 -11
- package/src/packet.ts +80 -80
- package/src/socket/dispatcher.ts +305 -304
- package/src/socket/index.ts +2 -2
- package/src/socket/socket.ts +155 -144
- package/src/stream/buffered.ts +168 -147
- package/src/stream/detect.native.ts +362 -362
- package/src/stream/detect.polyfill.ts +22 -28
- package/src/stream/detect.ts +7 -5
- package/src/stream/index.ts +3 -3
- package/src/stream/transform.ts +474 -447
- package/src/utils/auto-reset-event.ts +41 -41
- package/src/utils/base64.ts +306 -306
- package/src/utils/index.ts +3 -3
- package/tsconfig.build.json +3 -3
- package/tsconfig.build.tsbuildinfo +1 -1
- package/tsconfig.test.json +9 -10
- package/web-streams-polyfill-4.0.0-beta.2.tgz +0 -0
- package/esm/commands/subprocess/legacy.d.ts +0 -35
- package/esm/commands/subprocess/legacy.d.ts.map +0 -1
- package/esm/commands/subprocess/legacy.js +0 -53
- package/esm/commands/subprocess/legacy.js.map +0 -1
- package/esm/commands/subprocess/protocol.d.ts +0 -39
- package/esm/commands/subprocess/protocol.d.ts.map +0 -1
- package/esm/commands/subprocess/protocol.js +0 -157
- package/esm/commands/subprocess/protocol.js.map +0 -1
- package/esm/commands/subprocess/types.d.ts +0 -50
- package/esm/commands/subprocess/types.d.ts.map +0 -1
- package/esm/commands/subprocess/types.js +0 -2
- package/esm/commands/subprocess/types.js.map +0 -1
- package/esm/socket/controller.d.ts +0 -37
- package/esm/socket/controller.d.ts.map +0 -1
- package/esm/socket/controller.js +0 -66
- package/esm/socket/controller.js.map +0 -1
- package/esm/stream/detect.bak.d.ts +0 -240
- package/esm/stream/detect.bak.d.ts.map +0 -1
- package/esm/stream/detect.bak.js +0 -60
- package/esm/stream/detect.bak.js.map +0 -1
- package/esm/utils/encoding.d.ts +0 -3
- package/esm/utils/encoding.d.ts.map +0 -1
- package/esm/utils/encoding.js +0 -11
- package/esm/utils/encoding.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"program":{"fileNames":["../../common/temp/node_modules/.pnpm/typescript@4.7.0-beta/node_modules/typescript/lib/lib.es5.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-beta/node_modules/typescript/lib/lib.es2015.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-beta/node_modules/typescript/lib/lib.es2016.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-beta/node_modules/typescript/lib/lib.es2017.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-beta/node_modules/typescript/lib/lib.es2018.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-beta/node_modules/typescript/lib/lib.es2019.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-beta/node_modules/typescript/lib/lib.es2020.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-beta/node_modules/typescript/lib/lib.es2021.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-beta/node_modules/typescript/lib/lib.es2022.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-beta/node_modules/typescript/lib/lib.esnext.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-beta/node_modules/typescript/lib/lib.es2015.core.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-beta/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-beta/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-beta/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-beta/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-beta/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-beta/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-beta/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-beta/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-beta/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-beta/node_modules/typescript/lib/lib.es2017.object.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-beta/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-beta/node_modules/typescript/lib/lib.es2017.string.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-beta/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-beta/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-beta/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-beta/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-beta/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-beta/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-beta/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-beta/node_modules/typescript/lib/lib.es2019.array.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-beta/node_modules/typescript/lib/lib.es2019.object.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-beta/node_modules/typescript/lib/lib.es2019.string.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-beta/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-beta/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-beta/node_modules/typescript/lib/lib.es2020.date.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-beta/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-beta/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-beta/node_modules/typescript/lib/lib.es2020.string.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-beta/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-beta/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-beta/node_modules/typescript/lib/lib.es2020.number.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-beta/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-beta/node_modules/typescript/lib/lib.es2021.string.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-beta/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-beta/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-beta/node_modules/typescript/lib/lib.es2022.array.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-beta/node_modules/typescript/lib/lib.es2022.error.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-beta/node_modules/typescript/lib/lib.es2022.object.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-beta/node_modules/typescript/lib/lib.es2022.string.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-beta/node_modules/typescript/lib/lib.esnext.intl.d.ts","../../common/temp/node_modules/.pnpm/tslib@2.4.0/node_modules/tslib/tslib.d.ts","../../common/temp/node_modules/.pnpm/@yume-chan+async@2.1.4/node_modules/@yume-chan/async/dts/async-operation-manager.d.ts","../../common/temp/node_modules/.pnpm/@yume-chan+async@2.1.4/node_modules/@yume-chan/async/dts/promise-resolver.d.ts","../../common/temp/node_modules/.pnpm/@yume-chan+async@2.1.4/node_modules/@yume-chan/async/dts/index.d.ts","../event/esm/disposable.d.ts","../event/esm/event.d.ts","../event/esm/event-emitter.d.ts","../event/esm/utils.d.ts","../event/esm/index.d.ts","../struct/esm/basic/stream.d.ts","../struct/esm/basic/options.d.ts","../struct/esm/basic/struct-value.d.ts","../struct/esm/basic/field-value.d.ts","../struct/esm/basic/definition.d.ts","../struct/esm/basic/index.d.ts","../struct/esm/types/bigint.d.ts","../struct/esm/types/buffer/base.d.ts","../struct/esm/types/buffer/fixed-length.d.ts","../struct/esm/utils.d.ts","../struct/esm/types/buffer/variable-length.d.ts","../struct/esm/types/buffer/index.d.ts","../struct/esm/types/number.d.ts","../struct/esm/types/index.d.ts","../struct/esm/struct.d.ts","../struct/esm/index.d.ts","../dataview-bigint-polyfill/esm/fallback.d.ts","./src/crypto.ts","./src/utils/auto-reset-event.ts","./src/utils/base64.ts","./src/utils/index.ts","./src/socket/dispatcher.ts","./src/socket/socket.ts","./src/socket/index.ts","../../common/temp/node_modules/.pnpm/web-streams-polyfill@4.0.0-beta.2/node_modules/web-streams-polyfill/types/ponyfill.d.ts","./src/stream/detect.polyfill.ts","./src/stream/detect.ts","./src/stream/transform.ts","./src/stream/buffered.ts","./src/stream/index.ts","./src/packet.ts","./src/auth.ts","./src/commands/base.ts","./src/commands/framebuffer.ts","./src/commands/subprocess/protocols/types.ts","./src/commands/subprocess/protocols/none.ts","./src/features.ts","./src/commands/subprocess/protocols/shell.ts","./src/commands/subprocess/protocols/index.ts","./src/commands/subprocess/utils.ts","./src/commands/subprocess/index.ts","./src/commands/sync/request.ts","./src/commands/sync/response.ts","./src/commands/sync/stat.ts","./src/commands/sync/list.ts","./src/commands/sync/pull.ts","./src/commands/sync/push.ts","./src/commands/sync/sync.ts","./src/commands/sync/index.ts","./src/commands/install.ts","./src/commands/power.ts","./src/commands/reverse.ts","./src/commands/tcpip.ts","./src/commands/index.ts","./src/adb.ts","./src/backend.ts","./src/index.ts","./src/stream/detect.native.ts","../../common/temp/node_modules/.pnpm/tslib@2.3.1/node_modules/tslib/tslib.d.ts"],"fileInfos":[{"version":"b9aed7b5bbb9d757ea0c1111ddf8835e3bd99a67388d176633d41c594b5eb847","affectsGlobalScope":true,"impliedFormat":1},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84","1fc5ab7a764205c68fa10d381b08417795fc73111d6dd16b5b1ed36badb743d9","746d62152361558ea6d6115cf0da4dd10ede041d14882ede3568bce5dc4b4f1f","2f93dda35dafec68ec217c9ce67f0f4fbbbb030c055ac312641565ad60dd7e26","aea179452def8a6152f98f63b191b84e7cbd69b0e248c91e61fb2e52328abe8c",{"version":"adb996790133eb33b33aadb9c09f15c2c575e71fb57a62de8bf74dbf59ec7dfb","affectsGlobalScope":true,"impliedFormat":1},{"version":"43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c","affectsGlobalScope":true,"impliedFormat":1},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true,"impliedFormat":1},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true,"impliedFormat":1},{"version":"0d5f52b3174bee6edb81260ebcd792692c32c81fd55499d69531496f3f2b25e7","affectsGlobalScope":true,"impliedFormat":1},{"version":"810627a82ac06fb5166da5ada4159c4ec11978dfbb0805fe804c86406dab8357","affectsGlobalScope":true,"impliedFormat":1},{"version":"181f1784c6c10b751631b24ce60c7f78b20665db4550b335be179217bacc0d5f","affectsGlobalScope":true,"impliedFormat":1},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true,"impliedFormat":1},{"version":"75ec0bdd727d887f1b79ed6619412ea72ba3c81d92d0787ccb64bab18d261f14","affectsGlobalScope":true,"impliedFormat":1},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true,"impliedFormat":1},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true,"impliedFormat":1},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true,"impliedFormat":1},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true,"impliedFormat":1},{"version":"12a310447c5d23c7d0d5ca2af606e3bd08afda69100166730ab92c62999ebb9d","affectsGlobalScope":true,"impliedFormat":1},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true,"impliedFormat":1},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true,"impliedFormat":1},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true,"impliedFormat":1},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true,"impliedFormat":1},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true,"impliedFormat":1},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true,"impliedFormat":1},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true,"impliedFormat":1},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true,"impliedFormat":1},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true,"impliedFormat":1},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true,"impliedFormat":1},{"version":"369ef81ec43a468c7e58d2d70f55354f399ac5127a260a4f488f12db88cb90fa","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7f680a43f8cd12a6b6122c07c54ba40952b0c8aa140dcfcf32eb9e6cb028596","affectsGlobalScope":true,"impliedFormat":1},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true,"impliedFormat":1},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true,"impliedFormat":1},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true,"impliedFormat":1},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true,"impliedFormat":1},{"version":"cd483c056da900716879771893a3c9772b66c3c88f8943b4205aec738a94b1d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"b248e32ca52e8f5571390a4142558ae4f203ae2f94d5bac38a3084d529ef4e58","affectsGlobalScope":true,"impliedFormat":1},{"version":"6c55633c733c8378db65ac3da7a767c3cf2cf3057f0565a9124a16a3a2019e87","affectsGlobalScope":true,"impliedFormat":1},{"version":"fb4416144c1bf0323ccbc9afb0ab289c07312214e8820ad17d709498c865a3fe","affectsGlobalScope":true,"impliedFormat":1},{"version":"5b0ca94ec819d68d33da516306c15297acec88efeb0ae9e2b39f71dbd9685ef7","affectsGlobalScope":true,"impliedFormat":1},{"version":"ff667ee99e5a28c3dc5063a3cfd4d3436699e3fb035d4451037da7f567da542a","affectsGlobalScope":true,"impliedFormat":1},{"version":"34478567f8a80171f88f2f30808beb7da15eac0538ae91282dd33dce928d98ed","affectsGlobalScope":true,"impliedFormat":1},{"version":"6ea9ab679ea030cf46c16a711a316078e9e02619ebaf07a7fcd16964aba88f2d","affectsGlobalScope":true,"impliedFormat":1},{"version":"aedb8de1abb2ff1095c153854a6df7deae4a5709c37297f9d6e9948b6806fa66","affectsGlobalScope":true,"impliedFormat":1},{"version":"11ffe3c281f375fff9ffdde8bbec7669b4dd671905509079f866f2354a788064","affectsGlobalScope":true,"impliedFormat":1},{"version":"c37f8a49593a0030eecb51bbfa270e709bec9d79a6cc3bb851ef348d4e6b26f8","affectsGlobalScope":true,"impliedFormat":1},"14a84fbe4ec531dcbaf5d2594fd95df107258e60ae6c6a076404f13c3f66f28e","f6ad331f1763968b8a2d5575c1a8581f056009464e98415a266cab49762bc7a5","b309791da689ee6cc3029bd77ff301b011a490021f1c5e87b97029a2ab1c8a1a","52e6225011e81e8a56d58b88823de3926d5e5113583250ed2d58dc04e1d37347","3d4fc1ed5c1c6f311aebeff68ec8038718a12eaef5d0ae5cbd5133112956356f","68b04ac11e3d6a641d8004373420cb061c5056692eea594eb5848d24a3750209","56626e4d962c8eed0cb0d9df0d116dcf7ac4dd166c74e6e1b731203b4c4fca71","aacfeda09eafef77950b51b382d6e29c876b38178a36b7775afb3722ab10c415","8cc812db40101403f8753561d5d56444e582d6658a1825fd65d8b6dc33001854","42c58a27eb98e797c79bef3bdabb4c7fca56897a871caf5c56f8fc21c66695e5","a916bd79fa897dfbfcfef0885727e005c015727e5ade51a5ca91f61eeca4b00f","280512e685352f327cccf84b94972811eef44d5cfdaebaff920ec93d7b84fc96","f82ff502240e2b1cd9e2de9e8e46d7ba4320e08cf866599817ae009a667d423b","6ee02f787d62dd0744f470f9ee6b0cb42144933e3a5cda844271be0be70f442d","4000865d5ddad64d7894da59d95ef9900473502006100a4ed82cc950cf7c2f56","5297a6a60076abaf8d3e3d76d978d9e4949e0856e1bbf6a7ac042847c68209ef","7614ccd9e58f7baa91a3cbbcc275122f6b785bb6ae6a77bc300b12b8ac6b417a","1785accb5aa4a677f20f824c12a924c68fc81955f2c12899c412993eccbc6ca8","df836b37a8ad0d5f179158be9bd733ea0e4cb9d53879a06fbe20ffbdcbb7c65f","4ce90a91c6a81467789f3e9017c616178996a372e91fb702403e3acd16f11b1a","05ff8aaf99e2fe90a8bead1f2abe7001b1f2883b3733f68edc138d42d4a64fbc","7499b53a6122ba8f7e4cd7cbb51121fa40fdc4ba7fef7271fd776839df24f076","deb19b18352719845b83f911ec5f6520b11918c45327267d828658ad3e15f59a","05997167d658924a4823163a5b443fcbd7ce8c745e0075f1c95dbf834133dec0",{"version":"16b6014cf97bb1eed71f5955ba76e1714f852e0ada929661c2f3215b8b2694f7","affectsGlobalScope":true,"impliedFormat":99},"ea9a35cd9e4fc405c1e35f2ab6d2219205cc1d0a99338af5d462472ebcfbd855",{"version":"f4b3415359c47307906afa88864ee8eeb7bbd266b3661888676f45211b09cdbc","signature":"631d36651820d17f94053f125746ab7a0c96a8f5c4b3d6a3fcb50d7ad99a25b9","impliedFormat":99},{"version":"7fda0e19d2d2422812264b69dac056db145e9ea6e512c6ff8b507629fd402929","signature":"09dde3fee0f0a7c5022063b13b9b1d6bfafba9916ae3d2e782256bea5157b5e6","impliedFormat":99},{"version":"99d2eb500b030c6fff24f65ae75a4b6083bbe579550986cef63aa2e7f78c7212","signature":"83b0d39f2ae59a3ec30d2d56a4fd4353b41d22f59a47bf43fcf5946c0ca57615","impliedFormat":99},"dfd3c561fe633424048a65a09c14c2950fbd22efaf7b4ba8253ed4a1986988cf",{"version":"5879fe2a1fe59a083df64f9ee81728df653901b12ba4dd3a1f7f16d2b9685446","signature":"f481227f939762ca56b98eca4bb562da5a35e3a3abe410680ae71c75194146f4","impliedFormat":99},{"version":"c399a51126b15055aad2e7f0bb97cb5ed6788bb49d594361dcf14408e9904e12","signature":"6570ad21396aa42a9610704552b106e33bf8eef3d211f44fa60d64bb35f4257c","impliedFormat":99},"0de7c253a483479d15abdaa8bc41d67b34f53991ca72001de6840d973fa81114","19c2d8da51e4944a19e0ca377df3fd9d249dd8f9cab9544632fb8d10a72808f7",{"version":"ff255190517063cbd65d570d26b4aeb61908fba253ab7ecec050c5f38c889e3b","signature":"f83806195025b4d5797b7b09aa61eb41e7e89bf4a28a595ffe23c3af1b6dfb33","impliedFormat":99},{"version":"f52e8b0040d29d5d307f64d56816cc36808e7974fa0fcf882a730ac56e265ec5","signature":"1599f4cd1f4205d1213ab331acb3456fb2b3c5403eaefd6384a3fc4565311591","impliedFormat":99},"ba5e2c262649b21f41b2c75200fd30d07a25d5098a6ccd7185e09a276361c970",{"version":"444695de04d239832ac62b5ad1f21465f7a4772b0c73f2ee0b6b42a78c6ce579","signature":"2730665bd1e8021db2654ad6fafa6335c96ed4cc9a977741dedfd78d9e0faf0e","impliedFormat":99},"ec01f9873abc1b4c2318768379795f2a0c33dcd81ff5e3359b52b12421d2b057","26e42f312e78b959c09a0463d28f5ec6f2bea79b774fa68cce910dcec3de48a6","a9ed85d0aa867ed7264d8df6c901c5924146b7a80bdfd14177268e0917d71708",{"version":"6b212aad521a3550d8c95588d03aff03a1352f548aa52856d1027461717eecdb","signature":"dd8614c6312d5ccdc95c05ad8a32807d53dc0fe57524c994706d38a7c1fe2137","impliedFormat":99},{"version":"0f7b94b71ebdbfded57a811c8c77d9ec0fe3d74a2acaab875223a6802a5406a0","signature":"0adbe0871e9c1e25f8a5f059e50445f2109cdf909797d1310a8157393d0337ec","impliedFormat":99},{"version":"c5fbb3d4bc31d06844e9f9dafb18b2a5b0ca260ac52c9698a3cbe23a64f07670","signature":"09d4ef591acae95e49661fedcb4db9e2aa7027ba8dba1bdbf353b4fc0bde648e","impliedFormat":99},{"version":"0327c9377344a5e6f33af0fcb21901eb1ea3c44a72b5bb3998092ba53a9309ef","signature":"6c944fd56d8a8f1c9a54f05c108bd4e2270c000c21a8ef61efe8b9a6547e9d78","impliedFormat":99},{"version":"8f76b4b2dd576d5de896ee0644844d5a03c7b8292998bd0ad11cfba3a10c4026","signature":"b208195f20f0fac9efa29ca1a33f7ab0b5259ed68e84a1efaa4fd51480c314be","impliedFormat":99},{"version":"b63275584aeb428ef5117e8eef03be033cf43243877db288384f23c9584f896a","signature":"7d1411830502fd54718b5981320f57b799c935420510620041d9af165e026ac1","impliedFormat":99},{"version":"a54c04a56fa26cf1ac69c4e80d00280ec2bc1d498917c3a8dc94cc2fa6d8aeff","signature":"b2869ad5c8c67ac869fa7886f52d29e2e8ad19f407555547e6cbde1ce7c881f4","impliedFormat":99},{"version":"e001cbffd541e15372c9546f22a2eded9b49d977b87dd177e050e7a192338fcd","signature":"b90f54963f39da1caf8138d8b136041c35e932c3ac5c8a6cf6fb4c990e566244","impliedFormat":99},{"version":"bfef624d316c35f8cdf2da4eca63bb9cefdfde6ec9a43fd44569bd265ed847d6","signature":"106fbf359a8dbcc2be7bdd1434e9a13595d2b293737fd56c251b637afa9d1db2","impliedFormat":99},"6e575f5d9e7e5415d03977ab4f6de1fd7b0a73e7e38381a995f811dae0539d46","26ee130b4784fbff312af1370f14216a9287cdd3738ec1a7c26fae1af37483d0","9500cc1f2d0b91dd5d84451aa8dc329e9cbd17df6a18eb73ee8956d09436fd8b","b5b1be7d1aec9650de6caeb8aa300a3cc7536492c1467474e46093de78a4d035","3df2e056482334b3c0bd2df84814a2f57150a0cb4b0b9be871cad8c648726551","844250a267b978b383a7f767229b33a785b3255e756f0c2ebc7ad9aa62b683ba",{"version":"d616db6ab8881df7f1af7fc1352df2c8eb477bd48f2958bcd5dca03296eaabbd","signature":"27d0f1bd9ec78d719cc6b8921eae75dc349c49f06e82948f4ab32295c44c330e","impliedFormat":99},"59de09194b42abd91858e592b0c722567c8a087d64300d8b6662cfafb5bbab75",{"version":"709adbd5270f3bfa51d437b3d668b15034ede8c8ee6c1d211ae4af35820435f1","signature":"a4e1c4d2259c4cc3a4a681d7266809a8905324fce1fb23fff8497726111ad9f0","impliedFormat":99},{"version":"94b4b259adc35a7394efa77750bed8af3fa7c7454ad4fdc3ac242d1f9be1b1b9","signature":"de5f55b7cf8f1910e88c35eda13bfeee48cacfbf5b04f4cc533c98e767c4f8b1","impliedFormat":99},{"version":"7ca87412a958457ec6b5cdefb37df06432de64d4dc265153c1503529a2d6da96","signature":"20a66577e2651ef3e495626fd20ef0bb77b46688eefab8434fa1ccda826cb269","impliedFormat":99},{"version":"eaed0ef9b975fe55e6ec0dcab890d2aefc9f8060c3be0029a52f76b460478497","signature":"1c1db076defdd9c01263636305b714d6dedaddc66ad9bab5505fff492a2f4399","impliedFormat":99},"ff2bb6bbf0dad381971dd6c0153c5ce9046f4d9b5c7663f74a0976c76bec7f05",{"version":"cc866b44bdab6ef00bfed4466fadca971dbeb2040aa6163c71f4bd267064d2db","signature":"5d5191d2a50f3bb79e2cc1832a2228bc38f6a14144a8b545c36b6caee0d579db","impliedFormat":99},"a0f20d05f9c3594a722d527cc0bc4192544a599740f64dda6bc74f62f6b17b30",{"version":"9c68c4d988655092e8653b37c2ab00832c5cdd75a13b67d2f0d33862c936a84b","signature":"8b5e4616a2c84a263e908a8fff953d14d06eccb5d1f1caa2477b918d3b8e0812","impliedFormat":99},{"version":"9645a041f967fede75c4c57132406be199da37da7d597638f29ea5c1745d6e7c","signature":"b26b65bdb8a1b30ab1938619f62221049df455c118ada7ff0b89c99cb76e3596","impliedFormat":99}],"options":{"composite":true,"declaration":true,"declarationDir":"./esm","declarationMap":true,"esModuleInterop":true,"exactOptionalPropertyTypes":true,"importHelpers":true,"importsNotUsedAsValues":2,"module":100,"noFallthroughCasesInSwitch":true,"noImplicitAny":true,"noImplicitOverride":true,"noImplicitReturns":true,"noImplicitThis":true,"noUncheckedIndexedAccess":true,"noUnusedLocals":true,"outDir":"./esm","rootDir":"./src","skipLibCheck":true,"sourceMap":true,"strict":true,"stripInternal":true,"target":9},"fileIdsList":[[53,54],[52,55,81,84,90,91,92,97,114],[52,55,60,76,78,81,91],[52,76,90,91],[52,60,115],[52,76,90,115],[52,93,94,101,109,110,111,112,113],[52,90,101,109,115],[52,93],[52,60,76,81,84,90,115],[52,90,99,100,115],[52,95,96,98],[52,84,90,95,115],[52,55,76,81,84,90,95,97,115],[52,76,84,90,115],[52],[52,102,103,104,105,106,107,108],[52,76,90,102,103,104],[52,76,90,102,103],[52,76,81,90],[52,60,81,84,90,97,104,105,106,107,114,115],[52,77],[52,78,81,84,90,91,92,97,114,115,116],[52,76,90],[52,55,60,76,81,83,90,91],[52,82,83],[52,55,60,82,90,91],[52,76,84,87,88],[52,85],[52,86],[52,87,88,89],[52,55,76,81,87,89],[52,55,60],[52,76,79,80],[56,57],[56],[56,57,58,59],[57],[61,62,63,64],[62,63,65],[61,62,63,64,65],[64],[66,70,74,75],[66,70,74],[66],[68],[68,69,71],[66,68,70],[67,72,73],[60,84,90,91,92,97,114],[60,115],[76,115],[93,94,101,109,110,111,112,113,119],[90,115],[93],[60,84,115],[99,100,115],[95,96,98],[84,85,90,95,115],[84,90,95,115],[76,84,90,115],[102,103,104,105,106,107,108,119],[60,81,84,90,103,104,105,115],[78,81,84,90,91,92,97,114,115,116],[60,76,83,90,91],[82,83,119],[60,82,90],[76,84,85,87],[85],[86],[87,88,89,119],[60],[76,79,80]],"referencedMap":[[55,1],[115,2],[92,3],[116,4],[93,5],[94,6],[114,7],[110,8],[111,9],[112,10],[101,11],[99,12],[96,13],[98,14],[95,15],[100,16],[109,17],[105,18],[106,19],[107,18],[102,20],[103,20],[104,19],[108,21],[113,9],[78,22],[97,16],[117,23],[91,24],[82,25],[84,26],[83,27],[89,28],[118,16],[86,29],[87,30],[90,31],[88,32],[79,33],[80,16],[81,34],[58,35],[57,36],[60,37],[59,38],[65,39],[64,40],[66,41],[63,42],[76,43],[75,44],[67,45],[68,45],[69,46],[72,47],[71,48],[74,49],[73,45]],"exportedModulesMap":[[55,1],[115,50],[92,3],[116,4],[93,51],[94,52],[114,53],[110,54],[111,55],[112,56],[101,57],[99,58],[96,59],[98,60],[95,61],[109,62],[105,18],[106,19],[107,18],[102,20],[103,20],[104,19],[108,63],[113,55],[117,64],[91,24],[82,65],[84,66],[83,67],[89,68],[86,69],[87,70],[90,71],[88,32],[79,72],[81,73],[58,35],[57,36],[60,37],[59,38],[65,39],[64,40],[66,41],[63,42],[76,43],[75,44],[67,45],[68,45],[69,46],[72,47],[71,48],[74,49],[73,45]],"semanticDiagnosticsPerFile":[53,55,54,52,12,11,2,13,14,15,16,17,18,19,20,3,4,24,21,22,23,25,26,27,5,28,29,30,31,6,32,33,34,35,7,36,41,42,37,38,39,40,8,46,43,44,45,47,9,48,49,50,1,10,51,85,115,92,116,93,94,114,110,111,112,101,99,96,98,95,100,109,105,106,107,102,103,104,108,113,78,97,117,91,82,84,83,89,118,86,87,90,88,79,80,81,77,56,58,57,60,59,65,64,66,62,61,63,76,75,67,68,69,72,71,74,73,70]},"version":"4.7.0-beta"}
|
|
1
|
+
{"program":{"fileNames":["../../common/temp/node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es5.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2015.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2016.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2017.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2018.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2019.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2020.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2021.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2022.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.esnext.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2015.core.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2017.object.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2017.string.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2019.array.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2019.object.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2019.string.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2020.date.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2020.string.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2020.number.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2021.string.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2022.array.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2022.error.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2022.intl.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2022.object.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.es2022.string.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/lib.esnext.intl.d.ts","../../common/temp/node_modules/.pnpm/tslib@2.4.0/node_modules/tslib/tslib.d.ts","../../common/temp/node_modules/.pnpm/@yume-chan+async@2.1.4/node_modules/@yume-chan/async/dts/async-operation-manager.d.ts","../../common/temp/node_modules/.pnpm/@yume-chan+async@2.1.4/node_modules/@yume-chan/async/dts/promise-resolver.d.ts","../../common/temp/node_modules/.pnpm/@yume-chan+async@2.1.4/node_modules/@yume-chan/async/dts/index.d.ts","../event/esm/disposable.d.ts","../event/esm/event.d.ts","../event/esm/event-emitter.d.ts","../event/esm/utils.d.ts","../event/esm/index.d.ts","../struct/esm/utils.d.ts","../struct/esm/basic/stream.d.ts","../struct/esm/basic/options.d.ts","../struct/esm/basic/struct-value.d.ts","../struct/esm/basic/field-value.d.ts","../struct/esm/basic/definition.d.ts","../struct/esm/basic/index.d.ts","../struct/esm/types/bigint.d.ts","../struct/esm/types/buffer/base.d.ts","../struct/esm/types/buffer/fixed-length.d.ts","../struct/esm/types/buffer/variable-length.d.ts","../struct/esm/types/buffer/index.d.ts","../struct/esm/types/number.d.ts","../struct/esm/types/index.d.ts","../struct/esm/struct.d.ts","../struct/esm/index.d.ts","../dataview-bigint-polyfill/esm/fallback.d.ts","./src/crypto.ts","./src/utils/auto-reset-event.ts","./src/utils/base64.ts","./src/utils/index.ts","./src/socket/dispatcher.ts","./src/socket/socket.ts","./src/socket/index.ts","../../common/temp/node_modules/.pnpm/web-streams-polyfill@4.0.0-beta.3/node_modules/web-streams-polyfill/types/ponyfill.d.ts","./src/stream/detect.polyfill.ts","./src/stream/detect.ts","./src/stream/transform.ts","./src/stream/buffered.ts","./src/stream/index.ts","./src/packet.ts","./src/auth.ts","./src/commands/base.ts","./src/commands/framebuffer.ts","./src/commands/subprocess/protocols/types.ts","./src/commands/subprocess/protocols/none.ts","./src/features.ts","./src/commands/subprocess/protocols/shell.ts","./src/commands/subprocess/protocols/index.ts","./src/commands/subprocess/utils.ts","./src/commands/subprocess/index.ts","./src/commands/sync/request.ts","./src/commands/sync/response.ts","./src/commands/sync/stat.ts","./src/commands/sync/list.ts","./src/commands/sync/pull.ts","./src/commands/sync/push.ts","./src/commands/sync/sync.ts","./src/commands/sync/index.ts","./src/commands/install.ts","./src/commands/power.ts","./src/commands/reverse.ts","./src/commands/tcpip.ts","./src/commands/index.ts","./src/adb.ts","./src/backend.ts","./src/index.ts","./src/stream/detect.native.ts"],"fileInfos":[{"version":"f5c28122bee592cfaf5c72ed7bcc47f453b79778ffa6e301f45d21a0970719d4","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","impliedFormat":1},{"version":"7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","impliedFormat":1},{"version":"8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","impliedFormat":1},{"version":"5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","impliedFormat":1},{"version":"e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84","impliedFormat":1},{"version":"1fc5ab7a764205c68fa10d381b08417795fc73111d6dd16b5b1ed36badb743d9","impliedFormat":1},{"version":"746d62152361558ea6d6115cf0da4dd10ede041d14882ede3568bce5dc4b4f1f","impliedFormat":1},{"version":"3eb679a56cab01203a1ba7edeade937f6a2a4c718513b2cd930b579807fa9359","impliedFormat":1},{"version":"aea179452def8a6152f98f63b191b84e7cbd69b0e248c91e61fb2e52328abe8c","impliedFormat":1},{"version":"adb996790133eb33b33aadb9c09f15c2c575e71fb57a62de8bf74dbf59ec7dfb","affectsGlobalScope":true,"impliedFormat":1},{"version":"43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c","affectsGlobalScope":true,"impliedFormat":1},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true,"impliedFormat":1},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true,"impliedFormat":1},{"version":"0d5f52b3174bee6edb81260ebcd792692c32c81fd55499d69531496f3f2b25e7","affectsGlobalScope":true,"impliedFormat":1},{"version":"810627a82ac06fb5166da5ada4159c4ec11978dfbb0805fe804c86406dab8357","affectsGlobalScope":true,"impliedFormat":1},{"version":"181f1784c6c10b751631b24ce60c7f78b20665db4550b335be179217bacc0d5f","affectsGlobalScope":true,"impliedFormat":1},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true,"impliedFormat":1},{"version":"75ec0bdd727d887f1b79ed6619412ea72ba3c81d92d0787ccb64bab18d261f14","affectsGlobalScope":true,"impliedFormat":1},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true,"impliedFormat":1},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true,"impliedFormat":1},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true,"impliedFormat":1},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true,"impliedFormat":1},{"version":"12a310447c5d23c7d0d5ca2af606e3bd08afda69100166730ab92c62999ebb9d","affectsGlobalScope":true,"impliedFormat":1},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true,"impliedFormat":1},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true,"impliedFormat":1},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true,"impliedFormat":1},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true,"impliedFormat":1},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true,"impliedFormat":1},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true,"impliedFormat":1},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true,"impliedFormat":1},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true,"impliedFormat":1},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true,"impliedFormat":1},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true,"impliedFormat":1},{"version":"09aa50414b80c023553090e2f53827f007a301bc34b0495bfb2c3c08ab9ad1eb","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7f680a43f8cd12a6b6122c07c54ba40952b0c8aa140dcfcf32eb9e6cb028596","affectsGlobalScope":true,"impliedFormat":1},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true,"impliedFormat":1},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true,"impliedFormat":1},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true,"impliedFormat":1},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true,"impliedFormat":1},{"version":"cd483c056da900716879771893a3c9772b66c3c88f8943b4205aec738a94b1d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"b248e32ca52e8f5571390a4142558ae4f203ae2f94d5bac38a3084d529ef4e58","affectsGlobalScope":true,"impliedFormat":1},{"version":"6c55633c733c8378db65ac3da7a767c3cf2cf3057f0565a9124a16a3a2019e87","affectsGlobalScope":true,"impliedFormat":1},{"version":"fb4416144c1bf0323ccbc9afb0ab289c07312214e8820ad17d709498c865a3fe","affectsGlobalScope":true,"impliedFormat":1},{"version":"5b0ca94ec819d68d33da516306c15297acec88efeb0ae9e2b39f71dbd9685ef7","affectsGlobalScope":true,"impliedFormat":1},{"version":"ff667ee99e5a28c3dc5063a3cfd4d3436699e3fb035d4451037da7f567da542a","affectsGlobalScope":true,"impliedFormat":1},{"version":"34478567f8a80171f88f2f30808beb7da15eac0538ae91282dd33dce928d98ed","affectsGlobalScope":true,"impliedFormat":1},{"version":"6ea9ab679ea030cf46c16a711a316078e9e02619ebaf07a7fcd16964aba88f2d","affectsGlobalScope":true,"impliedFormat":1},{"version":"6bda95ea27a59a276e46043b7065b55bd4b316c25e70e29b572958fa77565d43","affectsGlobalScope":true,"impliedFormat":1},{"version":"aedb8de1abb2ff1095c153854a6df7deae4a5709c37297f9d6e9948b6806fa66","affectsGlobalScope":true,"impliedFormat":1},{"version":"11ffe3c281f375fff9ffdde8bbec7669b4dd671905509079f866f2354a788064","affectsGlobalScope":true,"impliedFormat":1},{"version":"c37f8a49593a0030eecb51bbfa270e709bec9d79a6cc3bb851ef348d4e6b26f8","affectsGlobalScope":true,"impliedFormat":1},{"version":"14a84fbe4ec531dcbaf5d2594fd95df107258e60ae6c6a076404f13c3f66f28e","impliedFormat":1},{"version":"f6ad331f1763968b8a2d5575c1a8581f056009464e98415a266cab49762bc7a5","impliedFormat":1},{"version":"b309791da689ee6cc3029bd77ff301b011a490021f1c5e87b97029a2ab1c8a1a","impliedFormat":1},{"version":"52e6225011e81e8a56d58b88823de3926d5e5113583250ed2d58dc04e1d37347","impliedFormat":1},{"version":"3d4fc1ed5c1c6f311aebeff68ec8038718a12eaef5d0ae5cbd5133112956356f","impliedFormat":99},{"version":"68b04ac11e3d6a641d8004373420cb061c5056692eea594eb5848d24a3750209","impliedFormat":99},{"version":"56626e4d962c8eed0cb0d9df0d116dcf7ac4dd166c74e6e1b731203b4c4fca71","impliedFormat":99},{"version":"aacfeda09eafef77950b51b382d6e29c876b38178a36b7775afb3722ab10c415","impliedFormat":99},{"version":"8cc812db40101403f8753561d5d56444e582d6658a1825fd65d8b6dc33001854","impliedFormat":99},{"version":"df836b37a8ad0d5f179158be9bd733ea0e4cb9d53879a06fbe20ffbdcbb7c65f","impliedFormat":99},{"version":"02571254cde92957174d7eb37939485f2963fe1c40c5ead6a9bf786228c45258","impliedFormat":99},{"version":"a916bd79fa897dfbfcfef0885727e005c015727e5ade51a5ca91f61eeca4b00f","impliedFormat":99},{"version":"fd28ff64a1ab5e205b2d61d1f8d4759d4f4e5bfc430426a00f3d294d8e7e3ecb","impliedFormat":99},{"version":"47590019ca8fe854f65f35be96791a6ba6ad14942c226b7cd477b33d7d992186","impliedFormat":99},{"version":"9a14ee353058c48a4091e1d10e4b8f07de398041adb58f90b4e08fb4c68f27b5","impliedFormat":99},{"version":"4000865d5ddad64d7894da59d95ef9900473502006100a4ed82cc950cf7c2f56","impliedFormat":99},{"version":"5297a6a60076abaf8d3e3d76d978d9e4949e0856e1bbf6a7ac042847c68209ef","impliedFormat":99},{"version":"651e7e7c3790e811afaf3a628feddccee3e2dc729a636480b32a68a6d027134e","impliedFormat":99},{"version":"238d44461641c771704ae948e129b280d05fad01b060f8e78a37a28ae346e7a4","impliedFormat":99},{"version":"9a5d2aab2c751a636738f746cab6ddc2d559d3d01af7f46e7af6f6906f1d9448","impliedFormat":99},{"version":"05ff8aaf99e2fe90a8bead1f2abe7001b1f2883b3733f68edc138d42d4a64fbc","impliedFormat":99},{"version":"1085b9415b1b6d8ee25d53f16b6f45ae90ca88dfc9f24910063010f8bed43e3b","impliedFormat":99},{"version":"deb19b18352719845b83f911ec5f6520b11918c45327267d828658ad3e15f59a","impliedFormat":99},{"version":"aeea23a47aa630b163e3672327ed0752508a516bafcab5f2090c877009b7a8dc","impliedFormat":99},{"version":"16b6014cf97bb1eed71f5955ba76e1714f852e0ada929661c2f3215b8b2694f7","affectsGlobalScope":true,"impliedFormat":99},{"version":"ea9a35cd9e4fc405c1e35f2ab6d2219205cc1d0a99338af5d462472ebcfbd855","impliedFormat":99},{"version":"05553f621d7fc0237e104d7bc5b553bf772bd980519f986f907db5e88668a8bb","signature":"631d36651820d17f94053f125746ab7a0c96a8f5c4b3d6a3fcb50d7ad99a25b9","impliedFormat":99},{"version":"f2a15854a068b8d56570f8e521440f133f3b042443f39e44b5613fa029bc1b2c","signature":"09dde3fee0f0a7c5022063b13b9b1d6bfafba9916ae3d2e782256bea5157b5e6","impliedFormat":99},{"version":"c6e9d2e77ff3fe43f4279354051c9a8dd3c2b24ea00db4493fa3764732bca35a","signature":"83b0d39f2ae59a3ec30d2d56a4fd4353b41d22f59a47bf43fcf5946c0ca57615","impliedFormat":99},{"version":"4f328e6839e8fadfd6c9d3f6e6d7bdbc0b7065634b550d6bd3933011d3cbf394","signature":"dfd3c561fe633424048a65a09c14c2950fbd22efaf7b4ba8253ed4a1986988cf","impliedFormat":99},{"version":"555854aec63ee9519222a5b133e34266555945c02b11aef55d82d62523612a64","signature":"34ebdc1938dc1fa0a4cc815613ab3838ec5c0ba122e2b1c7d969296b2ded2c5d","impliedFormat":99},{"version":"13b2f300b0737f9fb0937c003d65889678285d74835f4b1e90a16ed5a7e358d4","signature":"abd96ef34afc27da9276028e5a64b843d6c5554cb8cfa5898b37de965730e086","impliedFormat":99},{"version":"9457d054476cb27a916f2957be7c78c2b609981e2d70c54ce4dfd2e9ba51c243","signature":"0de7c253a483479d15abdaa8bc41d67b34f53991ca72001de6840d973fa81114","impliedFormat":99},{"version":"19c2d8da51e4944a19e0ca377df3fd9d249dd8f9cab9544632fb8d10a72808f7","impliedFormat":1},{"version":"a775eda8d30f0f73e84e6e6dbcd402a19ce40bab320cf174ea5444ffa87102b8","signature":"f83806195025b4d5797b7b09aa61eb41e7e89bf4a28a595ffe23c3af1b6dfb33","impliedFormat":99},{"version":"7e11713a8a53f8572467b975e0d6d5ecdcad8dabf9819a7cc99796b34c864c7a","signature":"1599f4cd1f4205d1213ab331acb3456fb2b3c5403eaefd6384a3fc4565311591","impliedFormat":99},{"version":"7150705c28c8c130fffe3a310ebf14868791986fc5c999f1f50ec4424ac81e90","signature":"b17de03465c08aa284803976f40dc47050dd3763971ef3ce0e2a280fcef28733","impliedFormat":99},{"version":"a72852587a5e8c578ae063f2e271236355c1b2e90b773abbf1775027cb388663","signature":"62c5aea6ed79c0a4ddc6d8a62549a599e95dfb03e80c7cd4f6d7a56c6d820853","impliedFormat":99},{"version":"2cbb1f75aa6e420d86022bb8fef35b7ce737b430a0a1436de9356ce0f919b644","signature":"ec01f9873abc1b4c2318768379795f2a0c33dcd81ff5e3359b52b12421d2b057","impliedFormat":99},{"version":"1418f77630e3eeefc28b034ae840aae1541bd2bc2417478623317e441e5e9c7f","signature":"0ddd2c8f1a602709d8e8a73786368cdbf75d088c840cbf38fd3c4c0639272c0c","impliedFormat":99},{"version":"14007399e6d854e74f806198e5258d75165dad13f65174834a11923da2cea82c","signature":"aa34cfc64d26fb74875d0c0a612d67c6509381501a1c4f498790ce818ebd04aa","impliedFormat":99},{"version":"388cea655d58604f1f6e38b92381405965c6b2a4032a97aadb5372204bb6e361","signature":"dd8614c6312d5ccdc95c05ad8a32807d53dc0fe57524c994706d38a7c1fe2137","impliedFormat":99},{"version":"5266b28ec7d6eeca2ddf3d646102f1aa8a7669a315d53de961e3351517451df0","signature":"0adbe0871e9c1e25f8a5f059e50445f2109cdf909797d1310a8157393d0337ec","impliedFormat":99},{"version":"bb4961670167cd341dcff74f5843b0abe14ef27c3ff44fb6e04e29013762ed73","signature":"09d4ef591acae95e49661fedcb4db9e2aa7027ba8dba1bdbf353b4fc0bde648e","impliedFormat":99},{"version":"a88ffb59d43fc38c2874970f4739f856eaf9951dadaf539dac53c09117128fd0","signature":"1809b1c364aaea4c3165968b670237079505952c9c7eda8cc55833368f1778da","impliedFormat":99},{"version":"ca563af8200c23659b6c32251bba5159e83ccc4f033c4a09f01dfdf17f0749ad","signature":"b208195f20f0fac9efa29ca1a33f7ab0b5259ed68e84a1efaa4fd51480c314be","impliedFormat":99},{"version":"09bbaaa52ca4527c7b63d90d746e1f2ec93c1a7377fd4eced7747e20b21d1c58","signature":"7d1411830502fd54718b5981320f57b799c935420510620041d9af165e026ac1","impliedFormat":99},{"version":"a54c04a56fa26cf1ac69c4e80d00280ec2bc1d498917c3a8dc94cc2fa6d8aeff","signature":"b2869ad5c8c67ac869fa7886f52d29e2e8ad19f407555547e6cbde1ce7c881f4","impliedFormat":99},{"version":"85adceec352aae7dd892dcfb2d60c818544c6438b558d6fe70780ac70d07701f","signature":"b90f54963f39da1caf8138d8b136041c35e932c3ac5c8a6cf6fb4c990e566244","impliedFormat":99},{"version":"1d5a6a5abf71768a37ad6481d549c6ac306d61a90e50fc705ac45978363d3f43","signature":"106fbf359a8dbcc2be7bdd1434e9a13595d2b293737fd56c251b637afa9d1db2","impliedFormat":99},{"version":"c82aae82686759f666546d321b4c3d17cc45951f339d648731a6603349f11c3d","signature":"1dc322126d395ccb5bef226a1d0b79140f43f9b0d2b517722888d1aceb0e9f42","impliedFormat":99},{"version":"0a7ca202f618fcd3c8c59d7b1aa5e09ddcc74f9f1fb9607ae6f42cd1a87bff1d","signature":"58c31a1714e510ee6948a17986370ebf59b53f309f8d9815e8daa2227ac729d4","impliedFormat":99},{"version":"87689bc3c873f362900cf098678209c31f5917414abe31425a6922448540902d","signature":"09ac7c51dc89c84148a00cd7e2953a152b2b49029cc499e4ab792cb7903aa701","impliedFormat":99},{"version":"b734f52227ac9d93ccb1fd346062f8b5ea02caa0039ca1ef91ba26f64d7327ff","signature":"323cad6b8fa62f4541d9641275ecfd655d29a5c150aecf8cd5c5b4aa93763daf","impliedFormat":99},{"version":"0206cf0150abd2c10fc3c5c82b6281be96c2d8511056a3bf289c95cc112efc96","signature":"ec65593e5865fab49bdb282c46e5efeea3aa45612b8fbe50f1c721778dd007f4","impliedFormat":99},{"version":"3c13462da2b89e1de6fccfb5cd4ba914c221ac70efbf89dcafce8a4f066c6d24","signature":"f2106eb558133c36690f0f1db0a69c2969235cfbabf55c0880e12581a74f4d17","impliedFormat":99},{"version":"84f290f0769caeeefdce44b8bfe0f1354da988cecf5742b11021e6eab38bed27","signature":"27d0f1bd9ec78d719cc6b8921eae75dc349c49f06e82948f4ab32295c44c330e","impliedFormat":99},{"version":"d7a23e132854d653377c5c6aa32866493d9c7749f9dbd215acbde56a6b35ed2d","signature":"59de09194b42abd91858e592b0c722567c8a087d64300d8b6662cfafb5bbab75","impliedFormat":99},{"version":"25162ddb450197b6e65c3a606b050c18dc39a4a8c4ec9970b4cd4ec7eaa37f62","signature":"a4e1c4d2259c4cc3a4a681d7266809a8905324fce1fb23fff8497726111ad9f0","impliedFormat":99},{"version":"08f1a3f075a762b0d1e7ce558d0f2df88fe2f4f17df2c27cd2d2a24064ea8879","signature":"de5f55b7cf8f1910e88c35eda13bfeee48cacfbf5b04f4cc533c98e767c4f8b1","impliedFormat":99},{"version":"a70cc2861a8872241dfc40a10b962adbcfcbac50c26eb79ffc031e4b5701e273","signature":"20a66577e2651ef3e495626fd20ef0bb77b46688eefab8434fa1ccda826cb269","impliedFormat":99},{"version":"529a8f1ba46e7b186983fb3b98cc78655e267ce09f1108fff89e13098aaef564","signature":"1c1db076defdd9c01263636305b714d6dedaddc66ad9bab5505fff492a2f4399","impliedFormat":99},{"version":"6faea53ad7c0a8a7bfcd2e63d550bb8c53f4065c3aed0b5fd6d607d8a9161e55","signature":"ff2bb6bbf0dad381971dd6c0153c5ce9046f4d9b5c7663f74a0976c76bec7f05","impliedFormat":99},{"version":"bbc07a3ab9668c67150e5a3f0169449e646102bf02011c9a3249aa7e921d5f8a","signature":"f0c8d6bf9174d19307074363d7010539d2037af340c239cb446b5775ded49b4e","impliedFormat":99},{"version":"e9832f5210ef413f1230bea6f6db2b663a95f16fc98099bbd651ecab7bcc8761","signature":"fc4a91bc437d34ce0cd128e59160596cc6a20d1a32a32400d159fe1aaa5bae7c","impliedFormat":99},{"version":"623fe96a9079a1e3b7856b931dc3eac569323f3433896cb4a510dd252be997c4","signature":"8b5e4616a2c84a263e908a8fff953d14d06eccb5d1f1caa2477b918d3b8e0812","impliedFormat":99},{"version":"85d2e1abe474bba631c132dc0d4223578c7d1b985ed30d9020b305b19e2bab0c","signature":"b26b65bdb8a1b30ab1938619f62221049df455c118ada7ff0b89c99cb76e3596","impliedFormat":99}],"options":{"composite":true,"declaration":true,"declarationDir":"./esm","declarationMap":true,"esModuleInterop":true,"exactOptionalPropertyTypes":true,"importHelpers":true,"importsNotUsedAsValues":2,"module":199,"noFallthroughCasesInSwitch":true,"noImplicitAny":true,"noImplicitOverride":true,"noImplicitReturns":true,"noImplicitThis":true,"noUncheckedIndexedAccess":true,"noUnusedLocals":true,"outDir":"./esm","rootDir":"./src","skipLibCheck":true,"sourceMap":true,"strict":true,"stripInternal":true,"target":9},"fileIdsList":[[54,55],[53,56,82,85,91,92,93,98,115],[53,56,61,77,79,82,92],[53,77,91,92],[53,61,116],[53,77,91,116],[53,94,95,102,110,111,112,113,114],[53,91,102,110,116],[53,94],[53,61,77,82,85,91,116],[53,91,100,101,116],[53,96,97,99],[53,85,91,96,116],[53,56,77,82,85,91,96,98,116],[53,77,85,91,116],[53],[53,103,104,105,106,107,108,109],[53,77,91,103,104,105],[53,77,91,103,104],[53,77,82,91],[53,61,82,85,91,98,105,106,107,108,115,116],[53,78],[53,79,82,85,91,92,93,98,115,116,117],[53,77,91],[53,56,61,77,82,84,91,92],[53,83,84],[53,56,61,83,91,92],[53,77,85,88,89],[53,86],[53,87],[53,88,89,90],[53,56,77,82,88,90],[53,56,61],[53,77,80,81],[57,58],[57],[57,58,59,60],[58],[63,64,65,66],[64,65,67],[63,64,65,66,67],[62],[66],[62,68,75,76],[62,68,75],[68],[70],[70,71,72],[62,68,70],[69,73,74],[61,85,91,92,93,98,115],[61,77,92],[77,91,92],[61,116],[77,116],[94,95,102,110,111,112,113,114],[91,116],[94],[61,85,116],[100,101,116],[96,97,99],[85,86,91,96,116],[85,91,96,116],[77,85,91,116],[103,104,105,106,107,108,109],[77,91,104,105],[77,91,104],[77,91],[61,82,85,91,104,105,106,116],[79,82,85,91,92,93,98,115,116,117],[61,77,84,91,92],[83,84],[61,83,91],[77,85,86,88],[86],[87],[88,89,90],[77,88],[61],[77,80,81]],"referencedMap":[[56,1],[116,2],[93,3],[117,4],[94,5],[95,6],[115,7],[111,8],[112,9],[113,10],[102,11],[100,12],[97,13],[99,14],[96,15],[101,16],[110,17],[106,18],[107,19],[108,18],[103,20],[104,20],[105,19],[109,21],[114,9],[79,22],[98,16],[118,23],[92,24],[83,25],[85,26],[84,27],[90,28],[119,16],[87,29],[88,30],[91,31],[89,32],[80,33],[81,16],[82,34],[59,35],[58,36],[61,37],[60,38],[67,39],[66,40],[68,41],[63,42],[65,43],[77,44],[76,45],[69,46],[70,46],[71,47],[73,48],[72,49],[75,50],[74,46]],"exportedModulesMap":[[56,1],[116,51],[93,52],[117,53],[94,54],[95,55],[115,56],[111,57],[112,58],[113,59],[102,60],[100,61],[97,62],[99,63],[96,64],[110,65],[106,66],[107,67],[108,68],[103,68],[104,68],[105,67],[109,69],[114,58],[118,70],[92,68],[83,71],[85,72],[84,73],[90,74],[87,75],[88,76],[91,77],[89,78],[80,79],[82,80],[59,35],[58,36],[61,37],[60,38],[67,39],[66,40],[68,41],[63,42],[65,43],[77,44],[76,45],[69,46],[70,46],[71,47],[73,48],[72,49],[75,50],[74,46]],"semanticDiagnosticsPerFile":[54,56,55,53,12,11,2,13,14,15,16,17,18,19,20,3,4,24,21,22,23,25,26,27,5,28,29,30,31,6,32,33,34,35,7,36,41,42,37,38,39,40,8,46,43,44,45,47,9,48,49,50,51,1,10,52,86,116,93,117,94,95,115,111,112,113,102,100,97,99,96,101,110,106,107,108,103,104,105,109,114,79,98,118,92,83,85,84,90,119,87,88,91,89,80,81,82,78,57,59,58,61,60,67,66,68,64,63,65,77,76,69,70,71,73,72,75,74,62]},"version":"4.7.2"}
|
package/tsconfig.test.json
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
{
|
|
2
|
-
"extends": "./tsconfig.build.json",
|
|
3
|
-
"compilerOptions": {
|
|
4
|
-
"types": [
|
|
5
|
-
"node"
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"extends": "./tsconfig.build.json",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"types": [
|
|
5
|
+
"node"
|
|
6
|
+
],
|
|
7
|
+
},
|
|
8
|
+
"exclude": []
|
|
9
|
+
}
|
|
Binary file
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import type { Adb } from "../../../../src/adb.js";
|
|
2
|
-
import type { AdbSocket } from "../../../../src/socket/index.js";
|
|
3
|
-
import { type ReadableStream } from "../../../../src/stream/index.js";
|
|
4
|
-
import type { AdbSubprocessProtocol } from "../../../../src/commands/subprocess/types.js";
|
|
5
|
-
/**
|
|
6
|
-
* The legacy shell
|
|
7
|
-
*
|
|
8
|
-
* Features:
|
|
9
|
-
* * `stderr`: No
|
|
10
|
-
* * `exit` exit code: No
|
|
11
|
-
* * `resize`: No
|
|
12
|
-
*/
|
|
13
|
-
export declare class AdbSubprocessNoneProtocol implements AdbSubprocessProtocol {
|
|
14
|
-
static isSupported(): boolean;
|
|
15
|
-
static pty(adb: Adb, command: string): Promise<AdbSubprocessNoneProtocol>;
|
|
16
|
-
static raw(adb: Adb, command: string): Promise<AdbSubprocessNoneProtocol>;
|
|
17
|
-
private readonly socket;
|
|
18
|
-
get stdin(): import("web-streams-polyfill").WritableStream<Uint8Array>;
|
|
19
|
-
private _stdout;
|
|
20
|
-
/**
|
|
21
|
-
* Legacy shell mixes stdout and stderr.
|
|
22
|
-
*/
|
|
23
|
-
get stdout(): ReadableStream<Uint8Array>;
|
|
24
|
-
private _stderr;
|
|
25
|
-
/**
|
|
26
|
-
* `stderr` will always be empty.
|
|
27
|
-
*/
|
|
28
|
-
get stderr(): ReadableStream<Uint8Array>;
|
|
29
|
-
private _exit;
|
|
30
|
-
get exit(): Promise<number>;
|
|
31
|
-
constructor(socket: AdbSocket);
|
|
32
|
-
resize(): void;
|
|
33
|
-
kill(): Promise<void>;
|
|
34
|
-
}
|
|
35
|
-
//# sourceMappingURL=legacy.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"legacy.d.ts","sourceRoot":"","sources":["../../../src/commands/subprocess/legacy.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACxC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAuB,KAAK,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACjF,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAExD;;;;;;;GAOG;AACH,qBAAa,yBAA0B,YAAW,qBAAqB;WACrD,WAAW;WAEL,GAAG,CAAC,GAAG,EAAE,GAAG,EAAE,OAAO,EAAE,MAAM;WAI7B,GAAG,CAAC,GAAG,EAAE,GAAG,EAAE,OAAO,EAAE,MAAM;IAMjD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAY;IAGnC,IAAW,KAAK,8DAAmC;IAEnD,OAAO,CAAC,OAAO,CAA6B;IAC5C;;OAEG;IACH,IAAW,MAAM,+BAA2B;IAE5C,OAAO,CAAC,OAAO,CAA6B;IAC5C;;OAEG;IACH,IAAW,MAAM,+BAA2B;IAE5C,OAAO,CAAC,KAAK,CAAkB;IAC/B,IAAW,IAAI,oBAAyB;gBAErB,MAAM,EAAE,SAAS;IAc7B,MAAM;IAIN,IAAI;CAGd"}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { DuplexStreamFactory } from "../../stream/index.js";
|
|
2
|
-
/**
|
|
3
|
-
* The legacy shell
|
|
4
|
-
*
|
|
5
|
-
* Features:
|
|
6
|
-
* * `stderr`: No
|
|
7
|
-
* * `exit` exit code: No
|
|
8
|
-
* * `resize`: No
|
|
9
|
-
*/
|
|
10
|
-
export class AdbSubprocessNoneProtocol {
|
|
11
|
-
static isSupported() { return true; }
|
|
12
|
-
static async pty(adb, command) {
|
|
13
|
-
return new AdbSubprocessNoneProtocol(await adb.createSocket(`shell:${command}`));
|
|
14
|
-
}
|
|
15
|
-
static async raw(adb, command) {
|
|
16
|
-
// Native ADB client doesn't allow none protocol + raw mode,
|
|
17
|
-
// But ADB daemon supports it.
|
|
18
|
-
return new AdbSubprocessNoneProtocol(await adb.createSocket(`shell,raw:${command}`));
|
|
19
|
-
}
|
|
20
|
-
socket;
|
|
21
|
-
// Legacy shell forwards all data to stdin.
|
|
22
|
-
get stdin() { return this.socket.writable; }
|
|
23
|
-
_stdout;
|
|
24
|
-
/**
|
|
25
|
-
* Legacy shell mixes stdout and stderr.
|
|
26
|
-
*/
|
|
27
|
-
get stdout() { return this._stdout; }
|
|
28
|
-
_stderr;
|
|
29
|
-
/**
|
|
30
|
-
* `stderr` will always be empty.
|
|
31
|
-
*/
|
|
32
|
-
get stderr() { return this._stderr; }
|
|
33
|
-
_exit;
|
|
34
|
-
get exit() { return this._exit; }
|
|
35
|
-
constructor(socket) {
|
|
36
|
-
this.socket = socket;
|
|
37
|
-
const factory = new DuplexStreamFactory({
|
|
38
|
-
close: async () => {
|
|
39
|
-
await this.socket.close();
|
|
40
|
-
},
|
|
41
|
-
});
|
|
42
|
-
this._stdout = factory.createWrapReadable(this.socket.readable);
|
|
43
|
-
this._stderr = factory.createReadable();
|
|
44
|
-
this._exit = factory.closed.then(() => 0);
|
|
45
|
-
}
|
|
46
|
-
resize() {
|
|
47
|
-
// Not supported
|
|
48
|
-
}
|
|
49
|
-
kill() {
|
|
50
|
-
return this.socket.close();
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
//# sourceMappingURL=legacy.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"legacy.js","sourceRoot":"","sources":["../../../src/commands/subprocess/legacy.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,mBAAmB,EAAuB,MAAM,uBAAuB,CAAC;AAGjF;;;;;;;GAOG;AACH,MAAM,OAAO,yBAAyB;IAC3B,MAAM,CAAC,WAAW,KAAK,OAAO,IAAI,CAAC,CAAC,CAAC;IAErC,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,GAAQ,EAAE,OAAe;QAC7C,OAAO,IAAI,yBAAyB,CAAC,MAAM,GAAG,CAAC,YAAY,CAAC,SAAS,OAAO,EAAE,CAAC,CAAC,CAAC;IACrF,CAAC;IAEM,MAAM,CAAC,KAAK,CAAC,GAAG,CAA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|
-
import type { Adb } from "../../adb.js";
|
|
2
|
-
import type { AdbSocket } from "../../socket/index.js";
|
|
3
|
-
import { ReadableStream, WritableStream } from "../../stream/index.js";
|
|
4
|
-
import type { AdbSubprocessProtocol } from "./types.js";
|
|
5
|
-
export declare enum AdbShellProtocolId {
|
|
6
|
-
Stdin = 0,
|
|
7
|
-
Stdout = 1,
|
|
8
|
-
Stderr = 2,
|
|
9
|
-
Exit = 3,
|
|
10
|
-
CloseStdin = 4,
|
|
11
|
-
WindowSizeChange = 5
|
|
12
|
-
}
|
|
13
|
-
/**
|
|
14
|
-
* Shell v2 a.k.a Shell Protocol
|
|
15
|
-
*
|
|
16
|
-
* Features:
|
|
17
|
-
* * `stderr`: Yes
|
|
18
|
-
* * `exit` exit code: Yes
|
|
19
|
-
* * `resize`: Yes
|
|
20
|
-
*/
|
|
21
|
-
export declare class AdbSubprocessShellProtocol implements AdbSubprocessProtocol {
|
|
22
|
-
static isSupported(adb: Adb): boolean;
|
|
23
|
-
static pty(adb: Adb, command: string): Promise<AdbSubprocessShellProtocol>;
|
|
24
|
-
static raw(adb: Adb, command: string): Promise<AdbSubprocessShellProtocol>;
|
|
25
|
-
private readonly _socket;
|
|
26
|
-
private _socketWriter;
|
|
27
|
-
private _stdin;
|
|
28
|
-
get stdin(): WritableStream<Uint8Array>;
|
|
29
|
-
private _stdout;
|
|
30
|
-
get stdout(): ReadableStream<Uint8Array>;
|
|
31
|
-
private _stderr;
|
|
32
|
-
get stderr(): ReadableStream<Uint8Array>;
|
|
33
|
-
private readonly _exit;
|
|
34
|
-
get exit(): Promise<number>;
|
|
35
|
-
constructor(socket: AdbSocket);
|
|
36
|
-
resize(rows: number, cols: number): Promise<void>;
|
|
37
|
-
kill(): Promise<void>;
|
|
38
|
-
}
|
|
39
|
-
//# sourceMappingURL=protocol.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"protocol.d.ts","sourceRoot":"","sources":["../../../src/commands/subprocess/protocol.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AAExC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAsB,cAAc,EAAmE,cAAc,EAAkE,MAAM,uBAAuB,CAAC;AAE5N,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAExD,oBAAY,kBAAkB;IAC1B,KAAK,IAAA;IACL,MAAM,IAAA;IACN,MAAM,IAAA;IACN,IAAI,IAAA;IACJ,UAAU,IAAA;IACV,gBAAgB,IAAA;CACnB;AA8ED;;;;;;;GAOG;AACH,qBAAa,0BAA2B,YAAW,qBAAqB;WACtD,WAAW,CAAC,GAAG,EAAE,GAAG;WAId,GAAG,CAAC,GAAG,EAAE,GAAG,EAAE,OAAO,EAAE,MAAM;WAK7B,GAAG,CAAC,GAAG,EAAE,GAAG,EAAE,OAAO,EAAE,MAAM;IAIjD,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAY;IACpC,OAAO,CAAC,aAAa,CAA0D;IAE/E,OAAO,CAAC,MAAM,CAA6B;IAC3C,IAAW,KAAK,+BAA0B;IAE1C,OAAO,CAAC,OAAO,CAA6B;IAC5C,IAAW,MAAM,+BAA2B;IAE5C,OAAO,CAAC,OAAO,CAA6B;IAC5C,IAAW,MAAM,+BAA2B;IAE5C,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAiC;IACvD,IAAW,IAAI,oBAAiC;gBAE7B,MAAM,EAAE,SAAS;IA0CvB,MAAM,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM;IAYvC,IAAI;CAGd"}
|
|
@@ -1,157 +0,0 @@
|
|
|
1
|
-
import { PromiseResolver } from "@yume-chan/async";
|
|
2
|
-
import Struct, { placeholder } from "@yume-chan/struct";
|
|
3
|
-
import { AdbFeatures } from "../../features.js";
|
|
4
|
-
import { PushReadableStream, StructDeserializeStream, StructSerializeStream, TransformStream, WritableStream } from "../../stream/index.js";
|
|
5
|
-
import { encodeUtf8 } from "../../utils/index.js";
|
|
6
|
-
export var AdbShellProtocolId;
|
|
7
|
-
(function (AdbShellProtocolId) {
|
|
8
|
-
AdbShellProtocolId[AdbShellProtocolId["Stdin"] = 0] = "Stdin";
|
|
9
|
-
AdbShellProtocolId[AdbShellProtocolId["Stdout"] = 1] = "Stdout";
|
|
10
|
-
AdbShellProtocolId[AdbShellProtocolId["Stderr"] = 2] = "Stderr";
|
|
11
|
-
AdbShellProtocolId[AdbShellProtocolId["Exit"] = 3] = "Exit";
|
|
12
|
-
AdbShellProtocolId[AdbShellProtocolId["CloseStdin"] = 4] = "CloseStdin";
|
|
13
|
-
AdbShellProtocolId[AdbShellProtocolId["WindowSizeChange"] = 5] = "WindowSizeChange";
|
|
14
|
-
})(AdbShellProtocolId = AdbShellProtocolId || (AdbShellProtocolId = {}));
|
|
15
|
-
// This packet format is used in both direction.
|
|
16
|
-
const AdbShellProtocolPacket = new Struct({ littleEndian: true })
|
|
17
|
-
.uint8('id', placeholder())
|
|
18
|
-
.uint32('length')
|
|
19
|
-
.uint8Array('data', { lengthField: 'length' });
|
|
20
|
-
class StdinSerializeStream extends TransformStream {
|
|
21
|
-
constructor() {
|
|
22
|
-
super({
|
|
23
|
-
transform(chunk, controller) {
|
|
24
|
-
controller.enqueue({
|
|
25
|
-
id: AdbShellProtocolId.Stdin,
|
|
26
|
-
data: chunk,
|
|
27
|
-
});
|
|
28
|
-
},
|
|
29
|
-
flush() {
|
|
30
|
-
// TODO: AdbShellSubprocessProtocol: support closing stdin
|
|
31
|
-
}
|
|
32
|
-
});
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
class StdoutDeserializeStream extends TransformStream {
|
|
36
|
-
constructor(type) {
|
|
37
|
-
super({
|
|
38
|
-
transform(chunk, controller) {
|
|
39
|
-
if (chunk.id === type) {
|
|
40
|
-
controller.enqueue(chunk.data);
|
|
41
|
-
}
|
|
42
|
-
},
|
|
43
|
-
});
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
class MultiplexStream {
|
|
47
|
-
_readable;
|
|
48
|
-
_readableController;
|
|
49
|
-
get readable() { return this._readable; }
|
|
50
|
-
_activeCount = 0;
|
|
51
|
-
constructor() {
|
|
52
|
-
this._readable = new PushReadableStream(controller => {
|
|
53
|
-
this._readableController = controller;
|
|
54
|
-
});
|
|
55
|
-
}
|
|
56
|
-
createWriteable() {
|
|
57
|
-
return new WritableStream({
|
|
58
|
-
start: () => {
|
|
59
|
-
this._activeCount += 1;
|
|
60
|
-
},
|
|
61
|
-
write: async (chunk) => {
|
|
62
|
-
await this._readableController.enqueue(chunk);
|
|
63
|
-
},
|
|
64
|
-
abort: async (e) => {
|
|
65
|
-
this._activeCount -= 1;
|
|
66
|
-
if (this._activeCount === 0) {
|
|
67
|
-
this._readableController.close();
|
|
68
|
-
}
|
|
69
|
-
},
|
|
70
|
-
close: async () => {
|
|
71
|
-
this._activeCount -= 1;
|
|
72
|
-
if (this._activeCount === 0) {
|
|
73
|
-
this._readableController.close();
|
|
74
|
-
}
|
|
75
|
-
},
|
|
76
|
-
});
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
/**
|
|
80
|
-
* Shell v2 a.k.a Shell Protocol
|
|
81
|
-
*
|
|
82
|
-
* Features:
|
|
83
|
-
* * `stderr`: Yes
|
|
84
|
-
* * `exit` exit code: Yes
|
|
85
|
-
* * `resize`: Yes
|
|
86
|
-
*/
|
|
87
|
-
export class AdbSubprocessShellProtocol {
|
|
88
|
-
static isSupported(adb) {
|
|
89
|
-
return adb.features.includes(AdbFeatures.ShellV2);
|
|
90
|
-
}
|
|
91
|
-
static async pty(adb, command) {
|
|
92
|
-
// TODO: AdbShellSubprocessProtocol: Support setting `XTERM` environment variable
|
|
93
|
-
return new AdbSubprocessShellProtocol(await adb.createSocket(`shell,v2,pty:${command}`));
|
|
94
|
-
}
|
|
95
|
-
static async raw(adb, command) {
|
|
96
|
-
return new AdbSubprocessShellProtocol(await adb.createSocket(`shell,v2,raw:${command}`));
|
|
97
|
-
}
|
|
98
|
-
_socket;
|
|
99
|
-
_socketWriter;
|
|
100
|
-
_stdin;
|
|
101
|
-
get stdin() { return this._stdin; }
|
|
102
|
-
_stdout;
|
|
103
|
-
get stdout() { return this._stdout; }
|
|
104
|
-
_stderr;
|
|
105
|
-
get stderr() { return this._stderr; }
|
|
106
|
-
_exit = new PromiseResolver();
|
|
107
|
-
get exit() { return this._exit.promise; }
|
|
108
|
-
constructor(socket) {
|
|
109
|
-
this._socket = socket;
|
|
110
|
-
// Check this image to help you understand the stream graph
|
|
111
|
-
// cspell: disable-next-line
|
|
112
|
-
// https://www.plantuml.com/plantuml/png/bL91QiCm4Bpx5SAdv90lb1JISmiw5XzaQKf5PIkiLZIqzEyLSg8ks13gYtOykpFhiOw93N6UGjVDqK7rZsxKqNw0U_NTgVAy4empOy2mm4_olC0VEVEE47GUpnGjKdgXoD76q4GIEpyFhOwP_m28hW0NNzxNUig1_JdW0bA7muFIJDco1daJ_1SAX9bgvoPJPyIkSekhNYctvIGXrCH6tIsPL5fs-s6J5yc9BpWXhKtNdF2LgVYPGM_6GlMwfhWUsIt4lbScANrwlgVVUifPSVi__t44qStnwPvZwobdSmHHlL57p2vFuHS0
|
|
113
|
-
// TODO: AdbShellSubprocessProtocol: Optimize stream graph
|
|
114
|
-
const [stdout, stderr] = socket.readable
|
|
115
|
-
.pipeThrough(new StructDeserializeStream(AdbShellProtocolPacket))
|
|
116
|
-
.pipeThrough(new TransformStream({
|
|
117
|
-
transform: (chunk, controller) => {
|
|
118
|
-
if (chunk.id === AdbShellProtocolId.Exit) {
|
|
119
|
-
this._exit.resolve(new Uint8Array(chunk.data)[0]);
|
|
120
|
-
// We can let `StdoutTransformStream` to process `AdbShellProtocolId.Exit`,
|
|
121
|
-
// but since we need this `TransformStream` to capture the exit code anyway,
|
|
122
|
-
// terminating child streams here is killing two birds with one stone.
|
|
123
|
-
controller.terminate();
|
|
124
|
-
return;
|
|
125
|
-
}
|
|
126
|
-
controller.enqueue(chunk);
|
|
127
|
-
}
|
|
128
|
-
}))
|
|
129
|
-
.tee();
|
|
130
|
-
this._stdout = stdout
|
|
131
|
-
.pipeThrough(new StdoutDeserializeStream(AdbShellProtocolId.Stdout));
|
|
132
|
-
this._stderr = stderr
|
|
133
|
-
.pipeThrough(new StdoutDeserializeStream(AdbShellProtocolId.Stderr));
|
|
134
|
-
const multiplexer = new MultiplexStream();
|
|
135
|
-
multiplexer.readable
|
|
136
|
-
.pipeThrough(new StructSerializeStream(AdbShellProtocolPacket))
|
|
137
|
-
.pipeTo(socket.writable);
|
|
138
|
-
const { readable, writable } = new StdinSerializeStream();
|
|
139
|
-
this._stdin = writable;
|
|
140
|
-
readable.pipeTo(multiplexer.createWriteable());
|
|
141
|
-
this._socketWriter = multiplexer.createWriteable().getWriter();
|
|
142
|
-
}
|
|
143
|
-
async resize(rows, cols) {
|
|
144
|
-
await this._socketWriter.write({
|
|
145
|
-
id: AdbShellProtocolId.WindowSizeChange,
|
|
146
|
-
data: encodeUtf8(
|
|
147
|
-
// The "correct" format is `${rows}x${cols},${x_pixels}x${y_pixels}`
|
|
148
|
-
// However, according to https://linux.die.net/man/4/tty_ioctl
|
|
149
|
-
// `x_pixels` and `y_pixels` are not used, so always passing `0` is fine.
|
|
150
|
-
`${rows}x${cols},0x0\0`),
|
|
151
|
-
});
|
|
152
|
-
}
|
|
153
|
-
kill() {
|
|
154
|
-
return this._socket.close();
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
//# sourceMappingURL=protocol.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"protocol.js","sourceRoot":"","sources":["../../../src/commands/subprocess/protocol.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACnD,OAAO,MAAM,EAAE,EAAE,WAAW,EAAwB,MAAM,mBAAmB,CAAC;AAE9E,OAAO,EAAE,W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ACP,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC;IAChC,CAAC;CACJ"}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import type { ValueOrPromise } from "@yume-chan/struct";
|
|
2
|
-
import type { Adb } from "../../adb.js";
|
|
3
|
-
import type { AdbSocket } from "../../socket/index.js";
|
|
4
|
-
import type { ReadableStream, WritableStream } from "../../stream/index.js";
|
|
5
|
-
export interface AdbSubprocessProtocol {
|
|
6
|
-
/**
|
|
7
|
-
* A WritableStream that writes to the `stdin` pipe.
|
|
8
|
-
*/
|
|
9
|
-
readonly stdin: WritableStream<Uint8Array>;
|
|
10
|
-
/**
|
|
11
|
-
* The `stdout` pipe of the process.
|
|
12
|
-
*/
|
|
13
|
-
readonly stdout: ReadableStream<Uint8Array>;
|
|
14
|
-
/**
|
|
15
|
-
* The `stderr` pipe of the process.
|
|
16
|
-
*
|
|
17
|
-
* Note: Some `AdbSubprocessProtocol` doesn't separate `stdout` and `stderr`,
|
|
18
|
-
* All output will be sent to `stdout`.
|
|
19
|
-
*/
|
|
20
|
-
readonly stderr: ReadableStream<Uint8Array>;
|
|
21
|
-
/**
|
|
22
|
-
* A `Promise` that resolves to the exit code of the process.
|
|
23
|
-
*
|
|
24
|
-
* Note: Some `AdbSubprocessProtocol` doesn't support exit code,
|
|
25
|
-
* They will always resolve it with `0`.
|
|
26
|
-
*/
|
|
27
|
-
readonly exit: Promise<number>;
|
|
28
|
-
/**
|
|
29
|
-
* Resizes the current shell.
|
|
30
|
-
*
|
|
31
|
-
* Some `AdbSubprocessProtocol`s may not support resizing
|
|
32
|
-
* and will ignore calls to this method.
|
|
33
|
-
*/
|
|
34
|
-
resize(rows: number, cols: number): ValueOrPromise<void>;
|
|
35
|
-
/**
|
|
36
|
-
* Kills the current process.
|
|
37
|
-
*/
|
|
38
|
-
kill(): ValueOrPromise<void>;
|
|
39
|
-
}
|
|
40
|
-
export interface AdbSubprocessProtocolConstructor {
|
|
41
|
-
/** Returns `true` if the `adb` instance supports this shell */
|
|
42
|
-
isSupported(adb: Adb): ValueOrPromise<boolean>;
|
|
43
|
-
/** Spawns an executable in PTY (interactive) mode. */
|
|
44
|
-
pty(adb: Adb, command: string): ValueOrPromise<AdbSubprocessProtocol>;
|
|
45
|
-
/** Spawns an executable and pipe the output. */
|
|
46
|
-
raw(adb: Adb, command: string): ValueOrPromise<AdbSubprocessProtocol>;
|
|
47
|
-
/** Creates a new `AdbShell` by attaching to an exist `AdbSocket` */
|
|
48
|
-
new (socket: AdbSocket): AdbSubprocessProtocol;
|
|
49
|
-
}
|
|
50
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/commands/subprocess/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACxC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAE5E,MAAM,WAAW,qBAAqB;IAClC;;OAEG;IACH,QAAQ,CAAC,KAAK,EAAE,cAAc,CAAC,UAAU,CAAC,CAAC;IAE3C;;OAEG;IACH,QAAQ,CAAC,MAAM,EAAE,cAAc,CAAC,UAAU,CAAC,CAAC;IAE5C;;;;;OAKG;IACH,QAAQ,CAAC,MAAM,EAAE,cAAc,CAAC,UAAU,CAAC,CAAC;IAE5C;;;;;OAKG;IACH,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAC,MAAM,CAAC,CAAC;IAE/B;;;;;OAKG;IACH,MAAM,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,cAAc,CAAC,IAAI,CAAC,CAAC;IAEzD;;OAEG;IACH,IAAI,IAAI,cAAc,CAAC,IAAI,CAAC,CAAC;CAChC;AAED,MAAM,WAAW,gCAAgC;IAC7C,+DAA+D;IAC/D,WAAW,CAAC,GAAG,EAAE,GAAG,GAAG,cAAc,CAAC,OAAO,CAAC,CAAC;IAE/C,sDAAsD;IACtD,GAAG,CAAC,GAAG,EAAE,GAAG,EAAE,OAAO,EAAE,MAAM,GAAG,cAAc,CAAC,qBAAqB,CAAC,CAAC;IAEtE,gDAAgD;IAChD,GAAG,CAAC,GAAG,EAAE,GAAG,EAAE,OAAO,EAAE,MAAM,GAAG,cAAc,CAAC,qBAAqB,CAAC,CAAC;IAEtE,oEAAoE;IACpE,KAAI,MAAM,EAAE,SAAS,GAAG,qBAAqB,CAAC;CACjD"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/commands/subprocess/types.ts"],"names":[],"mappings":""}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { ReadableStream, WritableStream } from '../stream';
|
|
2
|
-
import { AdbPacketDispatcher } from './dispatcher';
|
|
3
|
-
export interface AdbSocketInfo {
|
|
4
|
-
localId: number;
|
|
5
|
-
remoteId: number;
|
|
6
|
-
localCreated: boolean;
|
|
7
|
-
serviceString: string;
|
|
8
|
-
}
|
|
9
|
-
export interface AdbSocketConstructionOptions {
|
|
10
|
-
dispatcher: AdbPacketDispatcher;
|
|
11
|
-
localId: number;
|
|
12
|
-
remoteId: number;
|
|
13
|
-
localCreated: boolean;
|
|
14
|
-
serviceString: string;
|
|
15
|
-
highWaterMark?: number | undefined;
|
|
16
|
-
}
|
|
17
|
-
export declare class AdbSocketController implements AdbSocketInfo {
|
|
18
|
-
private readonly dispatcher;
|
|
19
|
-
readonly localId: number;
|
|
20
|
-
readonly remoteId: number;
|
|
21
|
-
readonly localCreated: boolean;
|
|
22
|
-
readonly serviceString: string;
|
|
23
|
-
private _factory;
|
|
24
|
-
private _readable;
|
|
25
|
-
private _readableController;
|
|
26
|
-
get readable(): ReadableStream<Uint8Array>;
|
|
27
|
-
private _writePromise;
|
|
28
|
-
readonly writable: WritableStream<Uint8Array>;
|
|
29
|
-
private _closed;
|
|
30
|
-
get closed(): boolean;
|
|
31
|
-
constructor(options: AdbSocketConstructionOptions);
|
|
32
|
-
enqueue(packet: Uint8Array): Promise<void>;
|
|
33
|
-
ack(): void;
|
|
34
|
-
close(): Promise<void>;
|
|
35
|
-
dispose(): void;
|
|
36
|
-
}
|
|
37
|
-
//# sourceMappingURL=controller.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"controller.d.ts","sourceRoot":"","sources":["../../src/socket/controller.ts"],"names":[],"mappings":"AAEA,OAAO,EAA4E,cAAc,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AACrI,OAAO,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAEnD,MAAM,WAAW,aAAa;IAC1B,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IAEjB,YAAY,EAAE,OAAO,CAAC;IAEtB,aAAa,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,WAAW,4BAA4B;IACzC,UAAU,EAAE,mBAAmB,CAAC;IAEhC,OAAO,EAAE,MAAM,CAAC;IAEhB,QAAQ,EAAE,MAAM,CAAC;IAEjB,YAAY,EAAE,OAAO,CAAC;IAEtB,aAAa,EAAE,MAAM,CAAC;IAEtB,aAAa,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACtC;AAED,qBAAa,mBAAoB,YAAW,aAAa;IACrD,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAuB;IAElD,SAAgB,OAAO,EAAG,MAAM,CAAC;IACjC,SAAgB,QAAQ,EAAG,MAAM,CAAC;IAClC,SAAgB,YAAY,EAAG,OAAO,CAAC;IACvC,SAAgB,aAAa,EAAG,MAAM,CAAC;IAEvC,OAAO,CAAC,QAAQ,CAA8C;IAE9D,OAAO,CAAC,SAAS,CAA6B;IAC9C,OAAO,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