mandiant / VM-Packages

Chocolatey packages supporting the analysis environment projects FLARE-VM & Commando VM.
Apache License 2.0
146 stars 66 forks source link

npm package proposal: asar.vm #1147

Open d35ha opened 1 month ago

d35ha commented 1 month ago

Package Name

asar

Tool Name

asar

Package type

NODE

Version

3.2.0.20241002

Category

Javascript

Tool's authors

Electron

Tool's description

Simple extensive tar-like archive format with indexing

Dependencies

nodejs.vm

Why is this tool a good addition?

Requested at #1112.

Extra information

No response

Ana06 commented 1 month ago

@d35ha you could have edited the existent issue first comment instead of creating a new one (to avoid duplication). You can see the log of the automation here: https://github.com/mandiant/VM-Packages/actions/runs/11141313482/job/30961921733 It is failing because of:

ERROR : npm WARN deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.

d35ha commented 1 month ago

@Ana06 Closing it in favor of this one.

emtuls commented 1 month ago

This is leading to an error when trying to create the package: https://github.com/mandiant/VM-Packages/actions/runs/11300414747/job/31433219795#step:7:73

2024/10/11 23:08:17 [asar.vm] vm.common.psm1 [+] ERROR : npm WARN deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
At C:\ProgramData\_VM\vm.common\vm.common.psm1:470 char:9
+         npm install -g $toolName --no-update-notifier
+         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ERROR: npm WARN deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
The upgrade of asar.vm was NOT successful.