@adonisjs/assembler 8.0.1 → 8.1.0

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/build/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import "./chunk-DF48asd8.js";
2
2
  import { a as loadHooks, c as readTsConfig, d as runNode, f as throttle, m as debug_default, n as copyFiles, o as memoize, p as watch, r as getPort, s as parseConfig, t as VirtualFileSystem, u as run } from "./virtual_file_system-dzfXNwEp.js";
3
3
  import { n as FileBuffer, t as IndexGenerator } from "./main-INOi9swJ.js";
4
- import { t as RoutesScanner } from "./main-Cpfvmdw6.js";
4
+ import { t as RoutesScanner } from "./main-DEUzrVBq.js";
5
5
  import { t as CodemodException } from "./codemod_exception-BMNJZ0i1.js";
6
6
  import dedent from "dedent";
7
7
  import fs, { readFile, unlink } from "node:fs/promises";
@@ -133,8 +133,11 @@ async function extractValidators(appRoot, vfs, controller) {
133
133
  */
134
134
  const validationCalls = inspectMethodArguments(method, [
135
135
  "request.validateUsing",
136
+ "request.tryValidateUsing",
136
137
  "$CTX.request.validateUsing",
137
- "vine.validate"
138
+ "$CTX.request.tryValidateUsing",
139
+ "vine.validate",
140
+ "vine.tryValidate"
138
141
  ]).map((node) => {
139
142
  const firstArg = node.find({ rule: { any: [{ kind: "identifier" }, { kind: "member_expression" }] } });
140
143
  if (!firstArg) return;
@@ -1,4 +1,4 @@
1
1
  import "../../../chunk-DF48asd8.js";
2
2
  import "../../../virtual_file_system-dzfXNwEp.js";
3
- import { t as RoutesScanner } from "../../../main-Cpfvmdw6.js";
3
+ import { t as RoutesScanner } from "../../../main-DEUzrVBq.js";
4
4
  export { RoutesScanner };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@adonisjs/assembler",
3
3
  "description": "Provides utilities to run AdonisJS development server and build project for production",
4
- "version": "8.0.1",
4
+ "version": "8.1.0",
5
5
  "engines": {
6
6
  "node": ">=24.0.0"
7
7
  },
@@ -45,7 +45,7 @@
45
45
  "@japa/runner": "^5.3.0",
46
46
  "@japa/snapshot": "^2.0.10",
47
47
  "@poppinss/ts-exec": "^1.4.4",
48
- "@release-it/conventional-changelog": "^10.0.5",
48
+ "@release-it/conventional-changelog": "^10.0.6",
49
49
  "@types/node": "^25.5.0",
50
50
  "@types/picomatch": "^4.0.2",
51
51
  "@types/pretty-hrtime": "^1.0.3",
@@ -57,14 +57,14 @@
57
57
  "p-event": "^7.1.0",
58
58
  "prettier": "^3.8.1",
59
59
  "release-it": "^19.2.4",
60
- "tsdown": "^0.21.2",
60
+ "tsdown": "^0.21.4",
61
61
  "typedoc": "^0.28.17",
62
62
  "typescript": "^5.9.3"
63
63
  },
64
64
  "dependencies": {
65
65
  "@adonisjs/env": "^7.0.0",
66
66
  "@antfu/install-pkg": "^1.1.0",
67
- "@ast-grep/napi": "^0.41.1",
67
+ "@ast-grep/napi": "^0.42.0",
68
68
  "@poppinss/cliui": "^6.7.0",
69
69
  "@poppinss/hooks": "^7.3.0",
70
70
  "@poppinss/utils": "^7.0.1",