@tstdl/base 0.90.48 → 0.90.49

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tstdl/base",
3
- "version": "0.90.48",
3
+ "version": "0.90.49",
4
4
  "author": "Patrick Hein",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -108,7 +108,7 @@
108
108
  "luxon": "^3.4",
109
109
  "reflect-metadata": "^0.2",
110
110
  "rxjs": "^7.8",
111
- "type-fest": "4.7"
111
+ "type-fest": "4.9"
112
112
  },
113
113
  "devDependencies": {
114
114
  "@mxssfd/typedoc-theme": "1.1",
@@ -119,11 +119,11 @@
119
119
  "@types/mjml": "4.7",
120
120
  "@types/node": "20",
121
121
  "@types/nodemailer": "6.4",
122
- "@typescript-eslint/eslint-plugin": "6.14",
123
- "@typescript-eslint/parser": "6.14",
122
+ "@typescript-eslint/eslint-plugin": "6.16",
123
+ "@typescript-eslint/parser": "6.16",
124
124
  "concurrently": "8.2",
125
125
  "esbuild": "0.19",
126
- "eslint": "8.55",
126
+ "eslint": "8.56",
127
127
  "eslint-import-resolver-typescript": "3.6",
128
128
  "eslint-plugin-import": "2.29",
129
129
  "tsc-alias": "1.8",
@@ -141,7 +141,7 @@
141
141
  "@zxcvbn-ts/language-en": "^3.0",
142
142
  "chroma-js": "^2.4",
143
143
  "handlebars": "^4.7",
144
- "koa": "^2.14",
144
+ "koa": "^2.15",
145
145
  "minio": "^7.1",
146
146
  "mjml": "^4.14",
147
147
  "mongodb": "^6.3",
@@ -149,7 +149,7 @@
149
149
  "playwright": "^1.40",
150
150
  "preact": "^10.19",
151
151
  "preact-render-to-string": "^6.3",
152
- "undici": "^6.0",
152
+ "undici": "^6.2",
153
153
  "urlpattern-polyfill": "^9.0"
154
154
  },
155
155
  "peerDependenciesMeta": {
package/types.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import type { Observable } from 'rxjs';
2
- import type { Except } from 'type-fest';
2
+ import type { CamelCase, Except } from 'type-fest';
3
3
  import type { Signal } from './signals/api.js';
4
4
  export type ObjectLiteral = {};
5
5
  export type PrimitiveTypeMap = {
@@ -193,4 +193,5 @@ export type TypeFromPath<T extends Record, Path extends Paths<T> | string> = {
193
193
  }[Path];
194
194
  export type ConstructorParameterDecorator = (target: Object, propertyKey: undefined, parameterIndex: number) => void;
195
195
  export type ReactiveValue<T> = T | Signal<T> | Observable<T>;
196
+ export type PascalCase<Value> = CamelCase<Value> extends string ? Capitalize<CamelCase<Value>> : CamelCase<Value>;
196
197
  export {};
@@ -1,5 +1,4 @@
1
- import type { AbstractConstructor, JsonPrimitive, Primitive, TypedArray } from '../types.js';
2
- import type { PascalCase } from 'type-fest';
1
+ import type { AbstractConstructor, JsonPrimitive, PascalCase, Primitive, TypedArray } from '../types.js';
3
2
  export type AssertionMessage = string | (() => string);
4
3
  export type IsFunction<T> = <U extends T = T>(value: any) => value is U;
5
4
  export type IsNotFunction<T> = <V>(value: V) => value is Exclude<V, T>;