silgi 0.16.3 → 0.16.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.
@@ -1,4 +1,4 @@
1
- const version = "0.16.3";
1
+ const version = "0.16.4";
2
2
  const peerDependencies = {
3
3
  "@fastify/deepmerge": "^2.0.2",
4
4
  "@nuxt/kit": "^3.15.3",
@@ -206,8 +206,8 @@ const parseRouteRules = serviceParseModule(({
206
206
  const routeRules = node.routeRules;
207
207
  if (!routeRules)
208
208
  return;
209
- let removeMethod = basePath.split("/").slice(0, -1).join("/");
210
- removeMethod = withLeadingSlash(removeMethod);
209
+ let removeMethod = "";
210
+ removeMethod = withLeadingSlash(basePath);
211
211
  if (routeRules.splat)
212
212
  removeMethod = `${removeMethod}/*`;
213
213
  else if (routeRules.doubleSplat)
@@ -1,4 +1,4 @@
1
- const version = "0.16.3";
1
+ const version = "0.16.4";
2
2
  const peerDependencies = {
3
3
  "@fastify/deepmerge": "^2.0.2",
4
4
  "@nuxt/kit": "^3.15.3",
@@ -1,4 +1,4 @@
1
- const version = "0.16.3";
1
+ const version = "0.16.4";
2
2
  const peerDependencies = {
3
3
  "@fastify/deepmerge": "^2.0.2",
4
4
  "@nuxt/kit": "^3.15.3",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "silgi",
3
3
  "type": "module",
4
- "version": "0.16.3",
4
+ "version": "0.16.4",
5
5
  "private": false,
6
6
  "sideEffects": false,
7
7
  "exports": {