@poppinss/utils 6.5.0-1 → 6.5.0-2

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.
@@ -1,5 +1,6 @@
1
1
  import { Exception } from '../exception.js';
2
- export class InvalidArgumentsException extends Exception {
2
+ class InvalidArgumentsException extends Exception {
3
3
  static code = 'E_INVALID_ARGUMENTS_EXCEPTION';
4
4
  static status = 500;
5
5
  }
6
+ export { InvalidArgumentsException };
@@ -1,5 +1,6 @@
1
1
  import { Exception } from '../exception.js';
2
- export class RuntimeException extends Exception {
2
+ class RuntimeException extends Exception {
3
3
  static code = 'E_RUNTIME_EXCEPTION';
4
4
  static status = 500;
5
5
  }
6
+ export { RuntimeException };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@poppinss/utils",
3
- "version": "6.5.0-1",
3
+ "version": "6.5.0-2",
4
4
  "description": "Handy utilities for repetitive work",
5
5
  "main": "build/index.js",
6
6
  "type": "module",
@@ -54,32 +54,32 @@
54
54
  "author": "virk,poppinss",
55
55
  "license": "MIT",
56
56
  "devDependencies": {
57
- "@commitlint/cli": "^17.4.4",
57
+ "@commitlint/cli": "^17.5.0",
58
58
  "@commitlint/config-conventional": "^17.4.4",
59
59
  "@japa/assert": "^1.4.1",
60
60
  "@japa/expect-type": "^1.0.3",
61
61
  "@japa/run-failed-tests": "^1.1.1",
62
62
  "@japa/runner": "^2.5.1",
63
63
  "@japa/spec-reporter": "^1.3.3",
64
- "@swc/core": "^1.3.39",
64
+ "@swc/core": "^1.3.42",
65
65
  "@types/fs-extra": "^11.0.1",
66
- "@types/node": "^18.15.0",
66
+ "@types/node": "^18.15.8",
67
67
  "c8": "^7.13.0",
68
68
  "del-cli": "^5.0.0",
69
69
  "eslint": "^8.36.0",
70
- "eslint-config-prettier": "^8.7.0",
70
+ "eslint-config-prettier": "^8.8.0",
71
71
  "eslint-plugin-adonis": "^3.0.3",
72
72
  "eslint-plugin-prettier": "^4.2.1",
73
- "fs-extra": "^11.1.0",
73
+ "fs-extra": "^11.1.1",
74
74
  "github-label-sync": "^2.3.1",
75
75
  "husky": "^8.0.3",
76
76
  "lodash": "^4.17.21",
77
77
  "lodash-cli": "^4.17.5",
78
78
  "move-file-cli": "^3.0.0",
79
- "np": "^7.6.3",
80
- "prettier": "^2.8.4",
79
+ "np": "^7.6.4",
80
+ "prettier": "^2.8.7",
81
81
  "ts-node": "^10.9.1",
82
- "typescript": "^4.9.5"
82
+ "typescript": "^5.0.2"
83
83
  },
84
84
  "dependencies": {
85
85
  "@lukeed/ms": "^2.0.1",
@@ -89,7 +89,7 @@
89
89
  "case-anything": "^2.1.10",
90
90
  "flattie": "^1.1.0",
91
91
  "pluralize": "^8.0.0",
92
- "safe-stable-stringify": "^2.4.2",
92
+ "safe-stable-stringify": "^2.4.3",
93
93
  "secure-json-parse": "^2.7.0",
94
94
  "slash": "^5.0.0",
95
95
  "slugify": "^1.6.5",