<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mason/lua/mason-core/installer/managers/npm.lua, branch v2.3.0</title>
<subtitle>[no description]</subtitle>
<id>http://git.sudomsg.com/mirror/mason/atom/lua/mason-core/installer/managers/npm.lua?h=v2.3.0</id>
<link rel='self' href='http://git.sudomsg.com/mirror/mason/atom/lua/mason-core/installer/managers/npm.lua?h=v2.3.0'/>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/mason/'/>
<updated>2026-05-22T18:14:45Z</updated>
<entry>
<title>feat: add support for socket.dev firewall client (#2088)</title>
<updated>2026-05-22T18:14:45Z</updated>
<author>
<name>William Boman</name>
<email>william@redwill.se</email>
</author>
<published>2026-05-22T18:14:45Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/mason/commit/?id=24e77d5289db0f7b6f4b405683047315b66dc75b'/>
<id>urn:sha1:24e77d5289db0f7b6f4b405683047315b66dc75b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat(npm): add `install_args` setting (#1581)</title>
<updated>2026-04-21T13:26:46Z</updated>
<author>
<name>Amit Tamari</name>
<email>15573913+amittamari@users.noreply.github.com</email>
</author>
<published>2026-04-21T13:26:46Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/mason/commit/?id=8fdc4b0a563768c04476042b9cc765c149560bbe'/>
<id>urn:sha1:8fdc4b0a563768c04476042b9cc765c149560bbe</id>
<content type='text'>
Co-authored-by: William Boman &lt;william@redwill.se&gt;</content>
</entry>
<entry>
<title>refactor: turn StdioSink into a proper class</title>
<updated>2025-02-19T11:15:49Z</updated>
<author>
<name>William Boman</name>
<email>william@redwill.se</email>
</author>
<published>2025-02-16T16:07:22Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/mason/commit/?id=5063ba98dc220a754caf68e510fb192755b1bdf0'/>
<id>urn:sha1:5063ba98dc220a754caf68e510fb192755b1bdf0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>refactor!: change Package API</title>
<updated>2025-02-19T11:15:48Z</updated>
<author>
<name>William Boman</name>
<email>william@redwill.se</email>
</author>
<published>2023-11-06T23:29:18Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/mason/commit/?id=6a7662760c515c74f2c37fc825776ead65d307f9'/>
<id>urn:sha1:6a7662760c515c74f2c37fc825776ead65d307f9</id>
<content type='text'>
This changes the following public APIs:

**(_breaking_) Events on the `Package` class**
The `uninstall:success` event on the `Package` class now receives an `InstallReceipt` as argument, instead of an
`InstallHandle`. This receipt is an in-memory representation of what was uninstalled. There's also a new
`uninstall:failed` event for situations where uninstallation for some
reason fails. Note: this also applies to the registry events (i.e.
`package:uninstall:success` and `package:uninstall:failed`).

---

**(_breaking_) `Package:uninstall()` is now asynchronous and receives two new arguments, similarly to `Package:install()`**
While package uninstallations remain synchronous under the hood, the public API has been changed from synchronous -&gt;
asynchronous. Users of this method are recommended to provide a callback in situations where code needs to execute after
uninstallation fully completes.

---

**(_breaking_) `Package:get_install_path()` has been removed.

---

**`Package:install()` now takes an optional callback**
This callback allows consumers to be informed whether installation was successful or not without having to go through a
different, low-level, API. See below for a comparison between the old and new APIs:
```lua
-- before
local handle = pkg:install()
handle:once("closed", function ()
    -- ...
end)

-- after
pkg:install({}, function (success, result)
    -- ...
end)
```
</content>
</entry>
<entry>
<title>feat(installer): write more installation output to stdout (#1376)</title>
<updated>2023-06-28T17:26:23Z</updated>
<author>
<name>William Boman</name>
<email>william@redwill.se</email>
</author>
<published>2023-06-28T17:26:23Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/mason/commit/?id=758ac5b35e823eee74a90f855b2a66afc51ec92d'/>
<id>urn:sha1:758ac5b35e823eee74a90f855b2a66afc51ec92d</id>
<content type='text'>
This should give better insights into the installation progress.</content>
</entry>
<entry>
<title>fix(npm): set install-strategy on npm &gt;= 9 (#1179)</title>
<updated>2023-04-04T20:02:55Z</updated>
<author>
<name>William Boman</name>
<email>william@redwill.se</email>
</author>
<published>2023-04-04T20:02:55Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/mason/commit/?id=c625abf171dfaad790f5703465a93a94334e5049'/>
<id>urn:sha1:c625abf171dfaad790f5703465a93a94334e5049</id>
<content type='text'>
Closes #1175.</content>
</entry>
<entry>
<title>style: enforce import order (#1092)</title>
<updated>2023-03-12T08:26:02Z</updated>
<author>
<name>William Boman</name>
<email>william@redwill.se</email>
</author>
<published>2023-03-12T08:26:02Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/mason/commit/?id=698cd0c4f10480991e665f31977650858d625af1'/>
<id>urn:sha1:698cd0c4f10480991e665f31977650858d625af1</id>
<content type='text'>
* chore(workflows): update dependencies

* style: enforce import order</content>
</entry>
<entry>
<title>feat: add github registry source capabilities (#1091)</title>
<updated>2023-03-12T07:21:15Z</updated>
<author>
<name>William Boman</name>
<email>william@redwill.se</email>
</author>
<published>2023-03-12T07:21:15Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/mason/commit/?id=a01d02ad7f680aec98a1e2ec35b04cedd307cfa8'/>
<id>urn:sha1:a01d02ad7f680aec98a1e2ec35b04cedd307cfa8</id>
<content type='text'>
</content>
</entry>
</feed>
