@fncts/express 0.0.24 → 0.0.25

Sign up to get free protection for your applications and to get access to all the features.
package/_src/index.ts CHANGED
@@ -43,7 +43,7 @@ export const methods = [
43
43
  "unsubscribe",
44
44
  ] as const;
45
45
 
46
- export type Methods = typeof methods[number];
46
+ export type Methods = (typeof methods)[number];
47
47
 
48
48
  export type PathParams = string | RegExp | Array<string | RegExp>;
49
49
 
package/index.d.ts CHANGED
@@ -11,7 +11,7 @@ export * from "./ExpressApp.js";
11
11
  export * from "./ExpressAppConfig.js";
12
12
  export * from "./RequestHandlerIO.js";
13
13
  export declare const methods: readonly ["all", "get", "post", "put", "delete", "patch", "options", "head", "checkout", "connect", "copy", "lock", "merge", "mkactivity", "mkcol", "move", "m-search", "notify", "propfind", "proppatch", "purge", "report", "search", "subscribe", "trace", "unlock", "unsubscribe"];
14
- export type Methods = typeof methods[number];
14
+ export type Methods = (typeof methods)[number];
15
15
  export type PathParams = string | RegExp | Array<string | RegExp>;
16
16
  export interface ParamsDictionary {
17
17
  [key: string]: string;
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@fncts/express",
3
- "version": "0.0.24",
3
+ "version": "0.0.25",
4
4
  "dependencies": {
5
- "@fncts/io": "0.0.31"
5
+ "@fncts/io": "0.0.32"
6
6
  },
7
7
  "peerDependencies": {
8
8
  "express": "^4.18.1"