@augment-vir/core 31.9.0 → 31.9.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.
@@ -42,4 +42,4 @@ export declare function ensureErrorAndPrependMessage(maybeError: unknown, prepen
42
42
  *
43
43
  * @package [`@augment-vir/common`](https://www.npmjs.com/package/@augment-vir/common)
44
44
  */
45
- export declare function ensureErrorClass<const ErrorClass extends Error>(originalError: unknown, errorClass: Constructor<ErrorClass>, ...params: ConstructorParameters<Constructor<ErrorClass>>): ErrorClass;
45
+ export declare function ensureErrorClass<const ErrorClass extends Constructor<Error>>(originalError: unknown, errorClass: ErrorClass, ...params: ConstructorParameters<ErrorClass>): InstanceType<ErrorClass>;
@@ -5,7 +5,14 @@
5
5
  * @category Package : @augment-vir/common
6
6
  * @package [`@augment-vir/common`](https://www.npmjs.com/package/@augment-vir/common)
7
7
  */
8
- export const punctuationLetters = ['.', ':', ';', ',', '?', '!'];
8
+ export const punctuationLetters = [
9
+ '.',
10
+ ':',
11
+ ';',
12
+ ',',
13
+ '?',
14
+ '!',
15
+ ];
9
16
  /**
10
17
  * A RegExp matching all letters that are considered punctuation.
11
18
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@augment-vir/core",
3
- "version": "31.9.0",
3
+ "version": "31.9.2",
4
4
  "description": "Core augment-vir augments. Use @augment-vir/common instead.",
5
5
  "homepage": "https://github.com/electrovir/augment-vir",
6
6
  "bugs": {
@@ -27,16 +27,16 @@
27
27
  "test:update": "npm test"
28
28
  },
29
29
  "dependencies": {
30
- "@date-vir/duration": "^7.1.2",
30
+ "@date-vir/duration": "^7.2.0",
31
31
  "browser-or-node": "^3.0.0",
32
32
  "json5": "^2.2.3",
33
- "type-fest": "^4.33.0"
33
+ "type-fest": "^4.35.0"
34
34
  },
35
35
  "devDependencies": {
36
- "@types/node": "^22.13.0",
36
+ "@types/node": "^22.13.4",
37
37
  "c8": "^10.1.3",
38
38
  "istanbul-smart-text-reporter": "^1.1.5",
39
- "typescript": "^5.7.2"
39
+ "typescript": "^5.7.3"
40
40
  },
41
41
  "engines": {
42
42
  "node": ">=22"