·
5 commits
to main
since this release
Major Changes
-
#155
ae4c3abThanks @teneplaysofficial! - RelocateisBrowserfrom@js-utils-kit/envtojuk-web.Migration
- import { isBrowser } from '@js-utils-kit/env' + import { isBrowser } from 'juk-web'
Patch Changes
-
#158
82eab17Thanks @teneplaysofficial! - Correct character counting for whitespace and unicode (fixes spaces, tabs, newlines, and emoji handling).Before
- Whitespace could be inconsistently counted
After
- All characters are counted correctly:
- spaces
- tabs (
\t) - newlines (
\n) - unicode characters (emoji, symbols, etc.)
-
#157
d329b4eThanks @teneplaysofficial! - Improve safety and validation inresolveModuleRelative- Enforces stricter rules for relative paths
- Allow a single parent traversal (
../file) - Prevents multiple parent traversals (
../../) - Blocks unsafe patterns like nested traversal (
a/../file) - Ensures resolved paths cannot escape the module directory
- Improves documentation with clear path constraints
-
Updated dependencies [
82eab17,ae4c3ab,d329b4e]:- @js-utils-kit/core@4.0.0