@poppinss/utils 6.5.0-6 → 6.5.0-7

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 (2) hide show
  1. package/README.md +14 -4
  2. package/package.json +9 -9
package/README.md CHANGED
@@ -31,10 +31,11 @@ A note to self and others to consider the following packages.
31
31
 
32
32
  Even though I do not care much about the package size (most of work is consumed on server side), I am mindful around the utilities and ensure not end up using really big packages for smaller use-cases.
33
33
 
34
- | | |
35
- | ----------------- | --------------- |
36
- | Source code size | `436K` (approx) |
37
- | Dependencies size | `496K` (approx) |
34
+ Here's the last checked install size of this package.
35
+
36
+ <a href="https://pkg-size.dev/@poppinss/utils@next">
37
+ <img src="https://pkg-size.dev/badge/install/319382" title="Install size for @poppinss/utils">
38
+ </a>
38
39
 
39
40
  ## Installation
40
41
 
@@ -55,14 +56,23 @@ Following are the exported modules. Only the generic helpers are shipped from th
55
56
  // string sub-module
56
57
  import string from '@poppinss/utils/string'
57
58
 
59
+ // string builder
60
+ import string from '@poppinss/utils/string_builder'
61
+
58
62
  // json sub-module
59
63
  import json from '@poppinss/utils/json'
60
64
 
61
65
  // lodash sub-module
62
66
  import lodash from '@poppinss/utils/lodash'
63
67
 
68
+ // assert sub-module
69
+ import assert from '@poppinss/utils/assert'
70
+
64
71
  // main module
65
72
  import { base64, Exception, fsReadAll } from '@poppinss/utils'
73
+
74
+ // types sub-module
75
+ import { ReadAllFilesOptions } from '@poppinss/utils/types'
66
76
  ```
67
77
 
68
78
  ### String helpers
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@poppinss/utils",
3
- "version": "6.5.0-6",
3
+ "version": "6.5.0-7",
4
4
  "description": "Handy utilities for repetitive work",
5
5
  "main": "build/index.js",
6
6
  "type": "module",
@@ -54,12 +54,12 @@
54
54
  "@japa/assert": "^2.0.0-1",
55
55
  "@japa/expect-type": "^2.0.0-0",
56
56
  "@japa/runner": "^3.0.0-2",
57
- "@swc/core": "^1.3.67",
58
- "@types/fs-extra": "^11.0.1",
59
- "@types/node": "^20.3.2",
57
+ "@swc/core": "1.3.82",
58
+ "@types/fs-extra": "^11.0.2",
59
+ "@types/node": "^20.6.3",
60
60
  "c8": "^8.0.0",
61
- "del-cli": "^5.0.0",
62
- "eslint": "^8.45.0",
61
+ "del-cli": "^5.1.0",
62
+ "eslint": "^8.50.0",
63
63
  "fs-extra": "^11.1.1",
64
64
  "github-label-sync": "^2.3.1",
65
65
  "husky": "^8.0.3",
@@ -67,14 +67,14 @@
67
67
  "lodash-cli": "^4.17.5",
68
68
  "move-file-cli": "^3.0.0",
69
69
  "np": "^8.0.4",
70
- "prettier": "^3.0.0",
70
+ "prettier": "^3.0.3",
71
71
  "ts-node": "^10.9.1",
72
72
  "tsup": "^7.1.0",
73
- "typescript": "^5.1.6"
73
+ "typescript": "^5.2.2"
74
74
  },
75
75
  "dependencies": {
76
76
  "@lukeed/ms": "^2.0.1",
77
- "@types/bytes": "^3.1.1",
77
+ "@types/bytes": "^3.1.2",
78
78
  "@types/pluralize": "0.0.30",
79
79
  "bytes": "^3.1.2",
80
80
  "case-anything": "^2.1.13",