Skip to content

chore: update patch and minor versions#1688

Merged
rameshlohala merged 4 commits intomainfrom
chore/update-dependencies
Feb 11, 2026
Merged

chore: update patch and minor versions#1688
rameshlohala merged 4 commits intomainfrom
chore/update-dependencies

Conversation

@Utsav789
Copy link
Collaborator

@Utsav789 Utsav789 commented Feb 3, 2026

Previously, when we wrote import { dependencies } from "./package.json", our tools were being lenient. They would look inside the JSON file, see the keys, and "pretend" they were individual exports to make our lives easier. This was helpful, but it was technically "magic" provided by the bundler, not standard JavaScript.

According to the official JavaScript specification (ECMAScript), JSON modules do not have named exports. A JSON file is treated as a single, atomic object. It only has a default export.
With the upgrade, TypeScript and our bundler (Vite/esbuild) have stopped "faking" these exports. They now look at the file strictly and say: "This is a JSON file. It exports one object. There is no such thing as a specific export named 'dependencies'."

@rameshlohala rameshlohala merged commit dd2a7d7 into main Feb 11, 2026
4 checks passed
@rameshlohala rameshlohala deleted the chore/update-dependencies branch February 11, 2026 08:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants