@opencode-ai/util 0.0.0-dev-18624 → 0.0.0-dev-18627
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.
- package/dist/npm.js +2 -0
- package/package.json +1 -1
package/dist/npm.js
CHANGED
|
@@ -150,6 +150,8 @@ const layer = Layer.effect(Service, Effect.gen(function* () {
|
|
|
150
150
|
return resolveEntryPoint(name, path.join(dir, "node_modules", name), options?.subpaths);
|
|
151
151
|
}
|
|
152
152
|
const tree = yield* reify({ dir, add: [pkg] });
|
|
153
|
+
if (isMutable(parsed))
|
|
154
|
+
refreshed.add(pkg);
|
|
153
155
|
const first = tree.edgesOut.values().next().value?.to;
|
|
154
156
|
if (!first) {
|
|
155
157
|
const installed = yield* installedName(pkg, dir, parsedName);
|