-
92343a8: feat: add
NURL.match()andNURL.mask()static methodsNURL.match(url, pattern): Match URL path against a pattern with dynamic segments and extract parametersNURL.mask(url, options): Mask sensitive path parameters in a URL for logging purposes
-
05aa898: chore: update GitHub workflows for improved permissions
-
5393314: Revert "test"
PR: Revert "test"
-
02c25f2: Revert "test"
PR: Revert "test"
-
0dfac2c: remove else block that overwrites pathname in constructor
PR: remove else block that overwrites pathname in constructor
-
f2655b2: add missing dist folders
-
28044c5: ✨ Update workflows to include package build step (please use 1.0.1)
-
393bd3d: 🔧 Fix pathname handling and href generation in NURL class
- Previously, when creating an NURL instance with an explicitly empty string ('') for the pathname, the resulting URL automatically defaulted to a root path ('/'). This behavior was inconsistent with the native JavaScript URL object, which retains an empty pathname as-is, resulting in a URL consisting only of query parameters.
// as-is // Input const url = new NURL({pathname: '', query: {test: '1'}}) // Output url.href === '/?test=1' // to-be // Input const url = new NURL({pathname: '', query: {test: '1'}}) // Output url.href === '?test=1'
- Previously, assigning an empty string ('') to the pathname property via setter retained the existing pathname. However, to align with the native JavaScript URL object’s behavior, assigning an empty string now explicitly clears the pathname.
// Before url.pathname = '' // pathname remained '/hello' // After (new default behavior): url.pathname = '' // pathname becomes '', resulting in removal of '/hello'
PR: 🔧 Fix pathname handling and href generation in NURL class
-
21a57e7: Update Query type to use more flexible
-
fa4eec3: string 으로 인스턴스 생성시 baseUrl 과 pathname 이 생략된 url 을 지정가능하도록 합니다.
PR: string 으로 인스턴스 생성시 baseUrl 과 pathname 이 생략된 url 을 지정가능하도록 합니다.
-
fce2c49: fix declaration file bug with pite
-
0764534: 🐛 fix wrong options
-
fa088d0: query 타입을 확장합니다.
PR: query 타입을 확장합니다.
-
7d58a89: 🔧 build with pite
- 0e6c484: Add basePath Support to NURL Class with Duplicate Prevention
- 1047b48: 🚚 punycode 를 내재화합니다.
- d2cc84e: 사용하는 값만 받도록 생성자 파라미터 타입 변경
- 95cf37d: - search 파라미터 이중 인코딩 제거 #35
- 9d429a1: [#31] 💩 esm 에서도 punycode cjs 동작하도록 변경
- 57b65f2: 잘못 지워진 빌드 스텝 추가
- 3b4ad06: esm 에서 동작하기 위한 dependency alias 적용 #26