@poppinss/utils 6.3.0-0 → 6.3.1-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/build/index.d.ts CHANGED
@@ -12,6 +12,7 @@ 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, InvalidArgumentExceptiom } from './src/exceptions/runtime_exception.js';
15
+ export { RuntimeException } from './src/exceptions/runtime_exception.js';
16
+ export { InvalidArgumentsException } from './src/exceptions/invalid_arguments_exception.js';
16
17
  export declare function getDirname(url: string | URL): string;
17
18
  export declare function getFilename(url: string | URL): string;
package/build/index.js CHANGED
@@ -13,7 +13,8 @@ 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, InvalidArgumentExceptiom } from './src/exceptions/runtime_exception.js';
16
+ export { RuntimeException } from './src/exceptions/runtime_exception.js';
17
+ export { InvalidArgumentsException } from './src/exceptions/invalid_arguments_exception.js';
17
18
  export function getDirname(url) {
18
19
  return pathDirname(getFilename(url));
19
20
  }
@@ -0,0 +1,5 @@
1
+ import { Exception } from '../exception.js';
2
+ export declare class InvalidArgumentsException extends Exception {
3
+ static code: string;
4
+ static status: number;
5
+ }
@@ -0,0 +1,5 @@
1
+ import { Exception } from '../exception.js';
2
+ export class InvalidArgumentsException extends Exception {
3
+ static code = 'E_INVALID_ARGUMENTS_EXCEPTION';
4
+ static status = 500;
5
+ }
@@ -3,7 +3,3 @@ export declare class RuntimeException extends Exception {
3
3
  static code: string;
4
4
  static status: number;
5
5
  }
6
- export declare class InvalidArgumentExceptiom extends Exception {
7
- static code: string;
8
- static status: number;
9
- }
@@ -3,7 +3,3 @@ export class RuntimeException extends Exception {
3
3
  static code = 'E_RUNTIME_EXCEPTION';
4
4
  static status = 500;
5
5
  }
6
- export class InvalidArgumentExceptiom extends Exception {
7
- static code = 'E_INVALID_ARGUMENTS_EXCEPTION';
8
- static status = 500;
9
- }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@poppinss/utils",
3
- "version": "6.3.0-0",
3
+ "version": "6.3.1-0",
4
4
  "description": "Handy utilities for repetitive work",
5
5
  "main": "build/index.js",
6
6
  "type": "module",