lifecycleion 0.0.18 → 0.0.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (30) hide show
  1. package/README.md +1 -1
  2. package/dist/lib/dev-mode.cjs.map +1 -1
  3. package/dist/lib/dev-mode.js.map +1 -1
  4. package/dist/lib/http-client/index.d.cts +2 -2
  5. package/dist/lib/http-client/index.d.ts +2 -2
  6. package/dist/lib/http-client-mock/index.cjs +0 -14
  7. package/dist/lib/http-client-mock/index.cjs.map +1 -1
  8. package/dist/lib/http-client-mock/index.d.cts +3 -2
  9. package/dist/lib/http-client-mock/index.d.ts +3 -2
  10. package/dist/lib/http-client-mock/index.js +0 -14
  11. package/dist/lib/http-client-mock/index.js.map +1 -1
  12. package/dist/lib/http-client-node/index.cjs +38 -15
  13. package/dist/lib/http-client-node/index.cjs.map +1 -1
  14. package/dist/lib/http-client-node/index.d.cts +33 -2
  15. package/dist/lib/http-client-node/index.d.ts +33 -2
  16. package/dist/lib/http-client-node/index.js +38 -15
  17. package/dist/lib/http-client-node/index.js.map +1 -1
  18. package/dist/lib/http-client-xhr/index.cjs +0 -14
  19. package/dist/lib/http-client-xhr/index.cjs.map +1 -1
  20. package/dist/lib/http-client-xhr/index.d.cts +3 -2
  21. package/dist/lib/http-client-xhr/index.d.ts +3 -2
  22. package/dist/lib/http-client-xhr/index.js +0 -14
  23. package/dist/lib/http-client-xhr/index.js.map +1 -1
  24. package/dist/lib/lifecycle-manager/index.cjs.map +1 -1
  25. package/dist/lib/lifecycle-manager/index.js.map +1 -1
  26. package/dist/lib/logger/index.cjs.map +1 -1
  27. package/dist/lib/logger/index.js.map +1 -1
  28. package/dist/{types-CWw885iO.d.cts → types-6G59m8U9.d.cts} +1 -1
  29. package/dist/{types-Mso0dYOS.d.ts → types-CG10j6Lc.d.ts} +1 -1
  30. package/package.json +30 -17
@@ -865,4 +865,4 @@ type ResponseObserver = (response: HTTPResponse, request: AttemptRequest, phase:
865
865
  type ErrorObserver = (error: HTTPClientError, request: AttemptRequest, phase: ErrorObserverPhase) => void | Promise<void>;
866
866
  type RequestState = 'pending' | 'sending' | 'waiting_for_retry' | 'completed' | 'cancelled' | 'failed';
867
867
 
868
- export { type AdapterType as A, type InterceptorPhaseName as B, type ContentType as C, type QueryValue as D, type ErrorObserver as E, type RedirectHopInfo as F, type RequestInterceptorContext as G, type HTTPAdapter as H, type InterceptedRequest as I, type RequestPhase as J, type RequestPhaseName as K, type ResponseObserverPhase as L, type ResponseObserverPhaseName as M, type StreamResponseCancel as N, type StreamResponseContext as O, type StreamResponseInfo as P, type QueryObject as Q, type RequestState as R, type StreamResponseFactory as S, type WritableLike as W, type AdapterRequest as a, type AdapterResponse as b, type HTTPMethod as c, type HTTPRequestOptions as d, type HTTPResponse as e, type HTTPClientError as f, type HTTPProgressEvent as g, type AttemptStartEvent as h, type AttemptEndEvent as i, type HTTPClientConfig as j, type RequestInterceptor as k, type RequestInterceptorFilter as l, type ResponseObserver as m, type ResponseObserverFilter as n, type ErrorObserverFilter as o, type SubClientConfig as p, type AttemptRequest as q, type Cookie as r, type CookieInput as s, CookieJar as t, type CookieJarJSON as u, type ErrorCode as v, type ErrorObserverPhase as w, type ErrorObserverPhaseName as x, type InterceptorCancel as y, type InterceptorPhase as z };
868
+ export { type AdapterType as A, type ErrorObserverPhase as B, type ContentType as C, type ErrorObserverPhaseName as D, type ErrorObserver as E, type InterceptorCancel as F, type InterceptorPhase as G, type HTTPAdapter as H, type InterceptedRequest as I, type InterceptorPhaseName as J, type QueryValue as K, type RedirectHopInfo as L, type RequestInterceptorContext as M, type RequestPhase as N, type RequestPhaseName as O, type ResponseObserverPhase as P, type QueryObject as Q, type RequestState as R, type StreamResponseCancel as S, type ResponseObserverPhaseName as T, type WritableLike as W, type AdapterRequest as a, type AdapterResponse as b, type AdapterProgressEvent as c, type HTTPMethod as d, type StreamResponseContext as e, type StreamResponseFactory as f, type StreamResponseInfo as g, type HTTPRequestOptions as h, type HTTPResponse as i, type HTTPClientError as j, type HTTPProgressEvent as k, type AttemptStartEvent as l, type AttemptEndEvent as m, type HTTPClientConfig as n, type RequestInterceptor as o, type RequestInterceptorFilter as p, type ResponseObserver as q, type ResponseObserverFilter as r, type ErrorObserverFilter as s, type SubClientConfig as t, type AttemptRequest as u, type Cookie as v, type CookieInput as w, CookieJar as x, type CookieJarJSON as y, type ErrorCode as z };
@@ -865,4 +865,4 @@ type ResponseObserver = (response: HTTPResponse, request: AttemptRequest, phase:
865
865
  type ErrorObserver = (error: HTTPClientError, request: AttemptRequest, phase: ErrorObserverPhase) => void | Promise<void>;
866
866
  type RequestState = 'pending' | 'sending' | 'waiting_for_retry' | 'completed' | 'cancelled' | 'failed';
867
867
 
868
- export { type AdapterType as A, type InterceptorPhaseName as B, type ContentType as C, type QueryValue as D, type ErrorObserver as E, type RedirectHopInfo as F, type RequestInterceptorContext as G, type HTTPAdapter as H, type InterceptedRequest as I, type RequestPhase as J, type RequestPhaseName as K, type ResponseObserverPhase as L, type ResponseObserverPhaseName as M, type StreamResponseCancel as N, type StreamResponseContext as O, type StreamResponseInfo as P, type QueryObject as Q, type RequestState as R, type StreamResponseFactory as S, type WritableLike as W, type AdapterRequest as a, type AdapterResponse as b, type HTTPMethod as c, type HTTPRequestOptions as d, type HTTPResponse as e, type HTTPClientError as f, type HTTPProgressEvent as g, type AttemptStartEvent as h, type AttemptEndEvent as i, type HTTPClientConfig as j, type RequestInterceptor as k, type RequestInterceptorFilter as l, type ResponseObserver as m, type ResponseObserverFilter as n, type ErrorObserverFilter as o, type SubClientConfig as p, type AttemptRequest as q, type Cookie as r, type CookieInput as s, CookieJar as t, type CookieJarJSON as u, type ErrorCode as v, type ErrorObserverPhase as w, type ErrorObserverPhaseName as x, type InterceptorCancel as y, type InterceptorPhase as z };
868
+ export { type AdapterType as A, type ErrorObserverPhase as B, type ContentType as C, type ErrorObserverPhaseName as D, type ErrorObserver as E, type InterceptorCancel as F, type InterceptorPhase as G, type HTTPAdapter as H, type InterceptedRequest as I, type InterceptorPhaseName as J, type QueryValue as K, type RedirectHopInfo as L, type RequestInterceptorContext as M, type RequestPhase as N, type RequestPhaseName as O, type ResponseObserverPhase as P, type QueryObject as Q, type RequestState as R, type StreamResponseCancel as S, type ResponseObserverPhaseName as T, type WritableLike as W, type AdapterRequest as a, type AdapterResponse as b, type AdapterProgressEvent as c, type HTTPMethod as d, type StreamResponseContext as e, type StreamResponseFactory as f, type StreamResponseInfo as g, type HTTPRequestOptions as h, type HTTPResponse as i, type HTTPClientError as j, type HTTPProgressEvent as k, type AttemptStartEvent as l, type AttemptEndEvent as m, type HTTPClientConfig as n, type RequestInterceptor as o, type RequestInterceptorFilter as p, type ResponseObserver as q, type ResponseObserverFilter as r, type ErrorObserverFilter as s, type SubClientConfig as t, type AttemptRequest as u, type Cookie as v, type CookieInput as w, CookieJar as x, type CookieJarJSON as y, type ErrorCode as z };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lifecycleion",
3
- "version": "0.0.18",
3
+ "version": "0.0.20",
4
4
  "type": "module",
5
5
  "description": "A collection of foundational TypeScript utilities for managing application lifecycle, logging, retries, events, and common programming patterns",
6
6
  "exports": {
@@ -185,6 +185,10 @@
185
185
  "require": "./dist/lib/http-client-mock/index.cjs"
186
186
  }
187
187
  },
188
+ "main": "./dist/index.cjs",
189
+ "module": "./dist/index.js",
190
+ "types": "./dist/index.d.ts",
191
+ "sideEffects": false,
188
192
  "files": [
189
193
  "dist"
190
194
  ],
@@ -226,42 +230,51 @@
226
230
  "license": "MIT",
227
231
  "repository": {
228
232
  "type": "git",
229
- "url": "https://github.com/keverw/lifecycleion"
233
+ "url": "git+https://github.com/keverw/lifecycleion.git"
234
+ },
235
+ "homepage": "https://github.com/keverw/lifecycleion#readme",
236
+ "bugs": {
237
+ "url": "https://github.com/keverw/lifecycleion/issues"
238
+ },
239
+ "overrides": {
240
+ "brace-expansion": "5.0.9",
241
+ "esbuild": "0.28.1",
242
+ "js-yaml": "4.3.1"
230
243
  },
231
244
  "devDependencies": {
232
- "@eslint/js": "^9.39.4",
233
- "@playwright/test": "^1.60.0",
234
- "@types/bun": "^1.3.14",
235
- "@types/node": "^24.13.2",
245
+ "@eslint/js": "^9.39.5",
246
+ "@playwright/test": "^1.62.1",
247
+ "@types/bun": "1.3.14",
248
+ "@types/node": "^24.13.3",
236
249
  "@types/qs": "^6.15.1",
237
250
  "@types/tr46": "^5.0.1",
238
- "@typescript-eslint/eslint-plugin": "^8.61.0",
239
- "@typescript-eslint/parser": "^8.61.0",
240
- "eslint": "^9.39.4",
251
+ "@typescript-eslint/eslint-plugin": "^8.67.0",
252
+ "@typescript-eslint/parser": "^8.67.0",
253
+ "eslint": "^9.39.5",
241
254
  "eslint-import-resolver-typescript": "^4.4.5",
242
- "eslint-plugin-check-file": "^3.3.1",
255
+ "eslint-plugin-check-file": "^3.3.2",
243
256
  "eslint-plugin-import": "^2.32.0",
244
257
  "eslint-plugin-jsx-a11y": "^6.10.2",
245
258
  "eslint-plugin-react": "^7.37.5",
246
259
  "eslint-plugin-react-hooks": "^7.1.1",
247
260
  "eslint-plugin-unicorn": "^62.0.0",
248
261
  "markdown-toc-gen": "^1.2.0",
249
- "prettier": "^3.8.4",
262
+ "prettier": "^3.9.6",
250
263
  "tsup": "^8.5.1",
251
264
  "typescript": "^5.9.3",
252
- "typescript-eslint": "^8.61.0"
265
+ "typescript-eslint": "^8.67.0"
253
266
  },
254
267
  "dependencies": {
255
268
  "bson-objectid": "^2.0.4",
256
269
  "chalk": "^5.6.2",
257
270
  "datamask": "^1.0.0",
258
271
  "date-fns": "^4.4.0",
259
- "find-my-way": "^9.6.0",
260
- "qs": "^6.15.2",
261
- "string-width": "^8.2.1",
262
- "tldts": "^7.4.2",
272
+ "find-my-way": "^9.8.0",
273
+ "qs": "^6.15.3",
274
+ "string-width": "^8.2.2",
275
+ "tldts": "^7.4.10",
263
276
  "tr46": "^6.0.0",
264
277
  "ulid": "^3.0.2",
265
- "uuid": "^14.0.0"
278
+ "uuid": "^14.0.2"
266
279
  }
267
280
  }