@tsed/platform-router 8.0.0-alpha.3 → 8.0.0-alpha.4

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.
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.formatMethod = void 0;
4
4
  const schema_1 = require("@tsed/schema");
5
5
  function formatMethod(method) {
6
- return (method === schema_1.OperationMethods.CUSTOM ? "use" : method || "use").toLowerCase();
6
+ return (method === schema_1.OperationVerbs.CUSTOM ? "use" : method || "use").toLowerCase();
7
7
  }
8
8
  exports.formatMethod = formatMethod;
9
9
  //# sourceMappingURL=formatMethod.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"formatMethod.js","sourceRoot":"","sources":["../../../src/utils/formatMethod.ts"],"names":[],"mappings":";;;AAAA,yCAA8C;AAE9C,SAAgB,YAAY,CAAC,MAA0B;IACrD,OAAO,CAAC,MAAM,KAAK,yBAAgB,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,IAAI,KAAK,CAAC,CAAC,WAAW,EAAE,CAAC;AACtF,CAAC;AAFD,oCAEC"}
1
+ {"version":3,"file":"formatMethod.js","sourceRoot":"","sources":["../../../src/utils/formatMethod.ts"],"names":[],"mappings":";;;AAAA,yCAA4C;AAE5C,SAAgB,YAAY,CAAC,MAA0B;IACrD,OAAO,CAAC,MAAM,KAAK,uBAAc,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,IAAI,KAAK,CAAC,CAAC,WAAW,EAAE,CAAC;AACpF,CAAC;AAFD,oCAEC"}
@@ -1,5 +1,5 @@
1
- import { OperationMethods } from "@tsed/schema";
1
+ import { OperationVerbs } from "@tsed/schema";
2
2
  export function formatMethod(method) {
3
- return (method === OperationMethods.CUSTOM ? "use" : method || "use").toLowerCase();
3
+ return (method === OperationVerbs.CUSTOM ? "use" : method || "use").toLowerCase();
4
4
  }
5
5
  //# sourceMappingURL=formatMethod.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"formatMethod.js","sourceRoot":"","sources":["../../../src/utils/formatMethod.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,gBAAgB,EAAC,MAAM,cAAc,CAAC;AAE9C,MAAM,UAAU,YAAY,CAAC,MAA0B;IACrD,OAAO,CAAC,MAAM,KAAK,gBAAgB,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,IAAI,KAAK,CAAC,CAAC,WAAW,EAAE,CAAC;AACtF,CAAC"}
1
+ {"version":3,"file":"formatMethod.js","sourceRoot":"","sources":["../../../src/utils/formatMethod.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,cAAc,EAAC,MAAM,cAAc,CAAC;AAE5C,MAAM,UAAU,YAAY,CAAC,MAA0B;IACrD,OAAO,CAAC,MAAM,KAAK,cAAc,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,IAAI,KAAK,CAAC,CAAC,WAAW,EAAE,CAAC;AACpF,CAAC"}
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@tsed/platform-router",
3
3
  "description": "Router",
4
4
  "type": "commonjs",
5
- "version": "8.0.0-alpha.3",
5
+ "version": "8.0.0-alpha.4",
6
6
  "source": "./src/index.ts",
7
7
  "main": "./lib/cjs/index.js",
8
8
  "module": "./lib/esm/index.js",
@@ -26,25 +26,25 @@
26
26
  "tslib": "2.6.1"
27
27
  },
28
28
  "devDependencies": {
29
- "@tsed/barrels": "8.0.0-alpha.3",
30
- "@tsed/core": "8.0.0-alpha.3",
31
- "@tsed/di": "8.0.0-alpha.3",
32
- "@tsed/exceptions": "8.0.0-alpha.3",
33
- "@tsed/json-mapper": "8.0.0-alpha.3",
34
- "@tsed/platform-params": "8.0.0-alpha.3",
35
- "@tsed/schema": "8.0.0-alpha.3",
36
- "@tsed/typescript": "8.0.0-alpha.3",
29
+ "@tsed/barrels": "8.0.0-alpha.4",
30
+ "@tsed/core": "8.0.0-alpha.4",
31
+ "@tsed/di": "8.0.0-alpha.4",
32
+ "@tsed/exceptions": "8.0.0-alpha.4",
33
+ "@tsed/json-mapper": "8.0.0-alpha.4",
34
+ "@tsed/platform-params": "8.0.0-alpha.4",
35
+ "@tsed/schema": "8.0.0-alpha.4",
36
+ "@tsed/typescript": "8.0.0-alpha.4",
37
37
  "eslint": "^8.57.0",
38
38
  "typescript": "4.9.5",
39
39
  "vitest": "2.0.4"
40
40
  },
41
41
  "peerDependencies": {
42
- "@tsed/core": "8.0.0-alpha.3",
43
- "@tsed/di": "8.0.0-alpha.3",
44
- "@tsed/exceptions": "8.0.0-alpha.3",
45
- "@tsed/json-mapper": "8.0.0-alpha.3",
46
- "@tsed/platform-params": "8.0.0-alpha.3",
47
- "@tsed/schema": "8.0.0-alpha.3"
42
+ "@tsed/core": "8.0.0-alpha.4",
43
+ "@tsed/di": "8.0.0-alpha.4",
44
+ "@tsed/exceptions": "8.0.0-alpha.4",
45
+ "@tsed/json-mapper": "8.0.0-alpha.4",
46
+ "@tsed/platform-params": "8.0.0-alpha.4",
47
+ "@tsed/schema": "8.0.0-alpha.4"
48
48
  },
49
49
  "peerDependenciesMeta": {
50
50
  "@tsed/core": {