Skip to content

Commit

Permalink
update readme, v2
Browse files Browse the repository at this point in the history
  • Loading branch information
adamburgess committed Jul 1, 2023
1 parent 4a96bb3 commit 939b3d2
Showing 1 changed file with 18 additions and 13 deletions.
31 changes: 18 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,22 +18,27 @@ const alpineApk = new AlpineApk();
await alpineApk.update(version, architecture, repos);

const nodeJs = alpineApk.get('nodejs');
/* nodeJs.version = '10.16.3-r0'
/* nodeJs.version = '20.3.1-r0'
nodeJs.deps = [
'ca-certificates',
'so:libc.musl-x86_64.so.1',
'so:libcares.so.2',
'so:libcrypto.so.1.1',
'so:libgcc_s.so.1',
'so:libhttp_parser.so.2.9',
'so:libssl.so.1.1',
'so:libstdc++.so.6',
'so:libuv.so.1',
'so:libz.so.1'
]
'ca-certificates',
'so:libada.so.2',
'so:libbrotlidec.so.1',
'so:libbrotlienc.so.1',
'so:libc.musl-x86_64.so.1',
'so:libcares.so.2',
'so:libcrypto.so.3',
'so:libgcc_s.so.1',
'so:libicui18n.so.73',
'so:libicuuc.so.73',
'so:libnghttp2.so.14',
'so:libssl.so.3',
'so:libstdc++.so.6',
'so:libuv.so.1',
'so:libz.so.1'
]
*/
const nodeJsHash = alpineApk.getDependencyTree('nodejs');
/* => 'nodejs@10.16.3-r0,ca-certificates@20190108-r0,/bin/sh@1.30.1-r3,so:libc.musl-x86_64.so.1@1.1.22-r3,so:libcrypto.so.1.1@1.1.1d-r0,so:libcares.so.2@1.15.0-r0,so:libgcc_s.so.1@8.3.0-r0,so:libhttp_parser.so.2.9@2.9.2-r0,so:libssl.so.1.1@1.1.1d-r0,so:libstdc++.so.6@8.3.0-r0,so:libuv.so.1@1.29.1-r0,so:libz.so.1@1.2.11-r1,'
/* => 'nodejs@18.16.1-r0,ca-certificates@20230506-r0,/bin/sh@2.54-r3,yash@2.54-r3,so:libc.musl-x86_64.so.1@1.2.4-r0,so:libncursesw.so.6@6.4_p20230506-r0,ncurses-terminfo-base@6.4_p20230506-r0,so:libcrypto.so.3@3.1.1-r1,so:libbrotlidec.so.1@1.0.9-r14,so:libcares.so.2@1.19.1-r0,so:libgcc_s.so.1@12.2.1_git20220924-r10,so:libicui18n.so.73@73.2-r1,icu-data@73.2-r1,so:libstdc++.so.6@12.2.1_git20220924-r10,so:libnghttp2.so.14@1.53.0-r0,so:libssl.so.3@3.1.1-r1,so:libz.so.1@1.2.13-r1,'
*/

const allPackages = alpineApk.pkgs;
Expand Down

0 comments on commit 939b3d2

Please sign in to comment.