You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Enable minification in build output. Reduces bundle size from 711 B to 708 B. Comments are removed from the bundle but remain in source files.
Fix browser compatibility by replacing util.styleText with cross-platform ANSI codes #290bf465de@yamcodes
Replace Node.js util.styleText with cross-platform ANSI color codes to fix the "Module 'node:util' has been externalized for browser compatibility" error in browser environments. The library still maintains zero dependencies!
Changes:
Replaced node:util.styleText with custom ANSI implementation
Added environment detection (uses ANSI in Node, plain text in browsers)
Respects NO_COLOR, CI environment variables, and TTY detection
Organized utilities into lib/ folder with comprehensive tests
// No longer throws "node:util has been externalized" errorimport{createEnv}from"arkenv";constenv=createEnv({VITE_API_URL: "string",VITE_PORT: "number.port",});
Configuration
📅 Schedule: Branch creation - "on friday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
If you want to rebase/retry this PR, check this box
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
This PR includes no changesets
When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types
To trigger a single review, invoke the @coderabbitai review command.
You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.
Comment @coderabbitai help to get the list of available commands and usage tips.
github-actionsbot
added
the
example
Issues or Pull Requests concerning at least one ArkEnv example. (Found in the `examples/` directory)
label
Nov 10, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
exampleIssues or Pull Requests concerning at least one ArkEnv example. (Found in the `examples/` directory)
1 participant
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.7.3->0.7.4Release Notes
yamcodes/arkenv (arkenv)
v0.7.4Compare Source
Patch Changes
Enable minification to reduce bundle size
#3367236cb2@yamcodesEnable minification in build output. Reduces bundle size from 711 B to 708 B. Comments are removed from the bundle but remain in source files.
Fix browser compatibility by replacing
util.styleTextwith cross-platform ANSI codes#290bf465de@yamcodesReplace Node.js
util.styleTextwith cross-platform ANSI color codes to fix the "Module 'node:util' has been externalized for browser compatibility" error in browser environments. The library still maintains zero dependencies!Changes:
node:util.styleTextwith custom ANSI implementationNO_COLOR,CIenvironment variables, and TTY detectionlib/folder with comprehensive testsConfiguration
📅 Schedule: Branch creation - "on friday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.