@poppinss/utils 6.2.0-0 → 6.3.0-0
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.
package/README.md
CHANGED
|
@@ -33,8 +33,8 @@ Even though I do not care much about the package size (most of work is consumed
|
|
|
33
33
|
|
|
34
34
|
| | |
|
|
35
35
|
| ----------------- | --------------- |
|
|
36
|
-
| Source code size | `
|
|
37
|
-
| Dependencies size | `
|
|
36
|
+
| Source code size | `436K` (approx) |
|
|
37
|
+
| Dependencies size | `496K` (approx) |
|
|
38
38
|
|
|
39
39
|
## Installation
|
|
40
40
|
|
|
@@ -1073,7 +1073,7 @@ const dirname = getDirname(import.meta.url)
|
|
|
1073
1073
|
const filename = getFilename(import.meta.url)
|
|
1074
1074
|
```
|
|
1075
1075
|
|
|
1076
|
-
[gh-workflow-image]: https://img.shields.io/github/workflow/status/poppinss/utils/test?style=for-the-badge
|
|
1076
|
+
[gh-workflow-image]: https://img.shields.io/github/actions/workflow/status/poppinss/utils/test.yml?style=for-the-badge
|
|
1077
1077
|
[gh-workflow-url]: https://github.com/poppinss/utils/actions/workflows/test.yml 'Github action'
|
|
1078
1078
|
[typescript-image]: https://img.shields.io/badge/Typescript-294E80.svg?style=for-the-badge&logo=typescript
|
|
1079
1079
|
[typescript-url]: "typescript"
|
package/build/index.d.ts
CHANGED
|
@@ -12,6 +12,6 @@ export { naturalSort } from './src/natural_sort.js';
|
|
|
12
12
|
export { ObjectBuilder } from './src/object_builder.js';
|
|
13
13
|
export { safeEqual } from './src/safe_equal.js';
|
|
14
14
|
export { slash } from './src/slash.js';
|
|
15
|
-
export { RuntimeException } from './src/exceptions/runtime_exception.js';
|
|
15
|
+
export { RuntimeException, InvalidArgumentExceptiom } from './src/exceptions/runtime_exception.js';
|
|
16
16
|
export declare function getDirname(url: string | URL): string;
|
|
17
17
|
export declare function getFilename(url: string | URL): string;
|
package/build/index.js
CHANGED
|
@@ -13,7 +13,7 @@ export { naturalSort } from './src/natural_sort.js';
|
|
|
13
13
|
export { ObjectBuilder } from './src/object_builder.js';
|
|
14
14
|
export { safeEqual } from './src/safe_equal.js';
|
|
15
15
|
export { slash } from './src/slash.js';
|
|
16
|
-
export { RuntimeException } from './src/exceptions/runtime_exception.js';
|
|
16
|
+
export { RuntimeException, InvalidArgumentExceptiom } from './src/exceptions/runtime_exception.js';
|
|
17
17
|
export function getDirname(url) {
|
|
18
18
|
return pathDirname(getFilename(url));
|
|
19
19
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@poppinss/utils",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.3.0-0",
|
|
4
4
|
"description": "Handy utilities for repetitive work",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -60,12 +60,12 @@
|
|
|
60
60
|
"@japa/run-failed-tests": "^1.1.0",
|
|
61
61
|
"@japa/runner": "^2.2.2",
|
|
62
62
|
"@japa/spec-reporter": "^1.3.2",
|
|
63
|
-
"@swc/core": "^1.3.
|
|
63
|
+
"@swc/core": "^1.3.24",
|
|
64
64
|
"@types/fs-extra": "^9.0.13",
|
|
65
|
-
"@types/node": "^18.11.
|
|
65
|
+
"@types/node": "^18.11.18",
|
|
66
66
|
"c8": "^7.12.0",
|
|
67
67
|
"del-cli": "^5.0.0",
|
|
68
|
-
"eslint": "^8.
|
|
68
|
+
"eslint": "^8.30.0",
|
|
69
69
|
"eslint-config-prettier": "^8.5.0",
|
|
70
70
|
"eslint-plugin-adonis": "^3.0.3",
|
|
71
71
|
"eslint-plugin-prettier": "^4.2.1",
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
"lodash": "^4.17.21",
|
|
76
76
|
"lodash-cli": "^4.17.5",
|
|
77
77
|
"move-file-cli": "^3.0.0",
|
|
78
|
-
"np": "^7.6.
|
|
78
|
+
"np": "^7.6.3",
|
|
79
79
|
"prettier": "^2.8.1",
|
|
80
80
|
"ts-node": "^10.9.1",
|
|
81
81
|
"typescript": "^4.9.4"
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
"case-anything": "^2.1.10",
|
|
89
89
|
"flattie": "^1.1.0",
|
|
90
90
|
"pluralize": "^8.0.0",
|
|
91
|
-
"safe-stable-stringify": "^2.4.
|
|
91
|
+
"safe-stable-stringify": "^2.4.2",
|
|
92
92
|
"secure-json-parse": "^2.6.0",
|
|
93
93
|
"slash": "^5.0.0",
|
|
94
94
|
"slugify": "^1.6.5",
|