Pooya Parsa

Results 617 issues of Pooya Parsa

Previously `diff()` built two complete hashed trees via `_toHashedObject` and then compared them in `_diff`. This rewrites it as a single fused traversal that: - short-circuits on `v1 === v2`,...

### Summary `interopDefault` in [`src/utils.ts:151-156`](https://github.com/unjs/jiti/blob/main/src/utils.ts#L151-L156) wraps fall-through methods with `Function.prototype.bind` to preserve `this` for the underlying default export. When the property accessed is `Symbol.asyncDispose` / `Symbol.dispose` and the consumer uses...

Fixes the TanStack Start regression reported in [TanStack/router#7403](https://github.com/TanStack/router/issues/7403) (specifically [this comment](https://github.com/TanStack/router/issues/7403#issuecomment-4492301829)): `` returns `404 text/html` in dev, even though hitting the URL directly works. ## Why #4272 was not enough...

### Describe the feature In giget v3, we rely on native runtime to respect `HTTP_PROXY`. Deno and Bun do respect it. In node.js, `NODE_USE_ENV_PROXY` is required! ([docs](https://nodejs.org/docs/v24.13.0/api/http.html#built-in-proxy-support)) but we can...

enhancement

This PR adds atomic compare-and-swap to the driver/storage API via HTTP-style `ifMatch` / `ifNoneMatch` preconditions on `setItem` and `setItemRaw`. Useful for atomic swaps or write-once object storage. ```ts // Atomic...