Commit graph

24 commits

Author SHA1 Message Date
Dmitry Muhomor
e46c929e60 remove @types/hasha from devDependencies
It's not neeeded, hasha includes types already.
2023-08-31 16:03:43 -04:00
Dmitry Muhomor
9be2a36aa5 add hasha dependency
This is a simple wrapper for built-in node.js hashing APIs.
2023-08-31 16:03:43 -04:00
Dmitry Muhomor
40abb08329 add yauzl-promise dependency
This is a zip unpacking library.

unzipit library that is already present doesn't support extracting from inner factory image zips
without unpacking them and extracts files to memory first, which consumes huge amount of memory
when unpacking factory images, especially in parallel.
2023-08-31 16:03:43 -04:00
Dmitry Muhomor
83ac2dba38 update node-fetch version to 2.6.13
2.6.6 is vulnerable to CVE-2022-0235
2023-08-31 16:03:43 -04:00
Dmitry Muhomor
822c196d02 add parser of Pixel factory, OTA and vendor image pages
Extracts the following image properties:
- device name
- build ID
- build desctiption
- image download link
- image file SHA-256

Images are grouped by '$DEVICE $BUILD_ID' key.

Beta factory/OTA image pages are supported too.

JSDOM dependency is added for simple and correct parsing of these pages.
2023-08-31 16:03:43 -04:00
Danny Lin
4ba1d48544 package: Bump version to 1.0.0 2022-04-04 15:47:01 -04:00
Danny Lin
1046f51ef7 package: Add eslint and plugins/configs 2021-12-25 02:05:25 -08:00
Danny Lin
dc90c82fe2 package: Update keywords 2021-12-25 02:05:25 -08:00
Danny Lin
36459be53a package: Add prettier, remove eslint and mocha 2021-12-25 01:46:48 -08:00
Danny Lin
da01c949c8 package: Update eslint 2021-12-25 01:27:30 -08:00
Danny Lin
4d5bc8fded package: Add lodash dependency 2021-11-23 20:14:10 -08:00
Danny Lin
7fb374f1b8 package: Add type definitions for CJS node-fetch v2 2021-11-11 16:40:50 -08:00
Danny Lin
61f281f2e5 package: Add xml2js library 2021-11-11 16:28:44 -08:00
Danny Lin
3e7e348e2f Add compiled overlay parsing using AAPT2 2021-11-11 03:21:13 -08:00
Danny Lin
72bcffb4fa package: Add unzipit library for factory images 2021-11-10 15:32:03 -08:00
Danny Lin
28be51c6f2 package: Add YAML library for configs 2021-11-09 19:45:58 -08:00
Danny Lin
03db6352bd Add command to download device images 2021-11-07 17:25:25 -08:00
Danny Lin
306695fb09 package: Add cli-progress library 2021-11-07 16:40:57 -08:00
Danny Lin
cf1960a5a1 package: Update TypeScript to 4.4.4
Required for es2021 target.
2021-11-07 02:34:36 -08:00
Danny Lin
04556e7327 package: Add ora library 2021-11-07 01:22:09 -07:00
Danny Lin
a91091d784 Update Node.js type definitions 2021-11-07 00:36:29 -07:00
Danny Lin
e3bf7dc19d Add zx library 2021-11-06 23:41:53 -07:00
Danny Lin
cf3e864f7e Add chalk library 2021-11-06 23:39:02 -07:00
Danny Lin
f8685eaae7 Create oclif project 2021-11-06 23:34:51 -07:00