@opencode-ai/util 0.0.0-dev-19051 → 0.0.0-dev-19057

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.
Files changed (2) hide show
  1. package/dist/npm.js +6 -2
  2. package/package.json +1 -1
package/dist/npm.js CHANGED
@@ -155,8 +155,12 @@ const layer = Layer.effect(Service, Effect.gen(function* () {
155
155
  const reify = (input) => Effect.gen(function* () {
156
156
  const { Arborist } = yield* Effect.promise(() => import("@npmcli/arborist"));
157
157
  const add = input.add ?? [];
158
- const npmOptions = yield* NpmConfig.load(input.config ?? input.dir);
159
- const options = input.update ? { ...npmOptions, preferOnline: true, noGitRevCache: true } : npmOptions;
158
+ const options = {
159
+ ...(yield* NpmConfig.load(input.config ?? input.dir)),
160
+ ...(input.update ? { preferOnline: true, noGitRevCache: true } : {}),
161
+ // Audit reports are unused here, but Arborist waits for them before completing an install.
162
+ audit: false,
163
+ };
160
164
  const arborist = new Arborist({
161
165
  ...options,
162
166
  path: input.dir,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "@opencode-ai/util",
4
- "version": "0.0.0-dev-19051",
4
+ "version": "0.0.0-dev-19057",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "repository": {