silgi 0.38.4 → 0.38.5

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,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import { defineCommand, runMain } from 'citty';
3
3
 
4
- const version = "0.38.4";
4
+ const version = "0.38.5";
5
5
  const packageJson = {
6
6
  version: version};
7
7
 
@@ -322,7 +322,7 @@ async function createSilgi(config) {
322
322
  }
323
323
  for (const route in silgi.middlewares) {
324
324
  const routeObject = silgi.middlewares[route];
325
- if ("global" in routeObject || "method" in routeObject) {
325
+ if ("global" in routeObject) {
326
326
  const global = routeObject.global ?? false;
327
327
  const method = routeObject.method ?? false;
328
328
  if (global && !method) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "silgi",
3
3
  "type": "module",
4
- "version": "0.38.4",
4
+ "version": "0.38.5",
5
5
  "private": false,
6
6
  "sideEffects": false,
7
7
  "exports": {