@adonisjs/core 6.1.5-22 → 6.1.5-24
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/commands/make/preload.js +1 -1
- package/build/commands/make/provider.js +1 -1
- package/build/commands/make/test.js +1 -1
- package/build/index.d.ts +4 -4
- package/build/providers/edge_provider.d.ts +1 -1
- package/build/providers/vinejs_provider.d.ts +1 -1
- package/build/src/test_utils/main.d.ts +1 -1
- package/package.json +15 -16
|
@@ -80,7 +80,7 @@ export default class MakePreload extends BaseCommand {
|
|
|
80
80
|
entity: this.app.generators.createEntity(this.name),
|
|
81
81
|
});
|
|
82
82
|
/**
|
|
83
|
-
* Registering the preload file with the
|
|
83
|
+
* Registering the preload file with the `adonisrc.js` file. We register
|
|
84
84
|
* the relative path, since we cannot be sure about aliases to exist.
|
|
85
85
|
*/
|
|
86
86
|
const preloadImportPath = `./${output.relativeFileName.replace(/(\.js|\.ts)$/, '')}.js`;
|
|
@@ -31,7 +31,7 @@ export default class MakeProvider extends BaseCommand {
|
|
|
31
31
|
entity: this.app.generators.createEntity(this.name),
|
|
32
32
|
});
|
|
33
33
|
/**
|
|
34
|
-
* Registering the provider with the
|
|
34
|
+
* Registering the provider with the `adonisrc.js` file. We register
|
|
35
35
|
* the relative path, since we cannot be sure about aliases to exist.
|
|
36
36
|
*/
|
|
37
37
|
const providerImportPath = `./${output.relativeFileName.replace(/(\.js|\.ts)$/, '')}.js`;
|
|
@@ -80,7 +80,7 @@ export default class MakeTest extends BaseCommand {
|
|
|
80
80
|
* Show error when mentioned/selected suite does not exist
|
|
81
81
|
*/
|
|
82
82
|
if (!suite) {
|
|
83
|
-
this.logger.error(`The "${this.suite}" suite is not configured inside the
|
|
83
|
+
this.logger.error(`The "${this.suite}" suite is not configured inside the "adonisrc.js" file`);
|
|
84
84
|
this.exitCode = 1;
|
|
85
85
|
return;
|
|
86
86
|
}
|
package/build/index.d.ts
CHANGED
|
@@ -26,7 +26,6 @@ export declare const errors: {
|
|
|
26
26
|
prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
|
|
27
27
|
stackTraceLimit: number;
|
|
28
28
|
};
|
|
29
|
-
E_MISSING_COMMAND_NAME: new (args: [command: string], options?: ErrorOptions | undefined) => import("@poppinss/utils").Exception;
|
|
30
29
|
E_COMMAND_NOT_FOUND: {
|
|
31
30
|
new (args: [command: string]): {
|
|
32
31
|
commandName: string;
|
|
@@ -48,12 +47,13 @@ export declare const errors: {
|
|
|
48
47
|
prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
|
|
49
48
|
stackTraceLimit: number;
|
|
50
49
|
};
|
|
51
|
-
|
|
52
|
-
E_MISSING_FLAG_VALUE: new (args: [flag: string], options?: ErrorOptions | undefined) => import("@poppinss/utils").Exception;
|
|
50
|
+
E_INVALID_FLAG: new (args: [flag: string, expectedDataType: string], options?: ErrorOptions | undefined) => import("@poppinss/utils").Exception;
|
|
53
51
|
E_MISSING_ARG: new (args: [arg: string], options?: ErrorOptions | undefined) => import("@poppinss/utils").Exception;
|
|
54
52
|
E_MISSING_ARG_VALUE: new (args: [arg: string], options?: ErrorOptions | undefined) => import("@poppinss/utils").Exception;
|
|
53
|
+
E_MISSING_COMMAND_NAME: new (args: [command: string], options?: ErrorOptions | undefined) => import("@poppinss/utils").Exception;
|
|
54
|
+
E_MISSING_FLAG: new (args: [flag: string], options?: ErrorOptions | undefined) => import("@poppinss/utils").Exception;
|
|
55
|
+
E_MISSING_FLAG_VALUE: new (args: [flag: string], options?: ErrorOptions | undefined) => import("@poppinss/utils").Exception;
|
|
55
56
|
E_UNKNOWN_FLAG: new (args: [flag: string], options?: ErrorOptions | undefined) => import("@poppinss/utils").Exception;
|
|
56
|
-
E_INVALID_FLAG: new (args: [flag: string, expectedDataType: string], options?: ErrorOptions | undefined) => import("@poppinss/utils").Exception;
|
|
57
57
|
E_MISSING_METAFILE_PATTERN: new (args: [fileProperty: string], options?: ErrorOptions | undefined) => import("@poppinss/utils").Exception;
|
|
58
58
|
E_MISSING_PRELOAD_FILE: new (args: [preloadProperty: string], options?: ErrorOptions | undefined) => import("@poppinss/utils").Exception;
|
|
59
59
|
E_MISSING_PROVIDER_FILE: new (args: [preloadProperty: string], options?: ErrorOptions | undefined) => import("@poppinss/utils").Exception;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type Edge } from 'edge.js';
|
|
2
2
|
import type { ApplicationService } from '../src/types.js';
|
|
3
3
|
import { type Route } from '../modules/http/main.js';
|
|
4
|
-
declare module '@adonisjs/
|
|
4
|
+
declare module '@adonisjs/http-server' {
|
|
5
5
|
interface HttpContext {
|
|
6
6
|
/**
|
|
7
7
|
* Reference to the edge renderer to render templates
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adonisjs/core",
|
|
3
3
|
"description": "Core of AdonisJS",
|
|
4
|
-
"version": "6.1.5-
|
|
4
|
+
"version": "6.1.5-24",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=18.16.0"
|
|
7
7
|
},
|
|
@@ -10,7 +10,6 @@
|
|
|
10
10
|
"files": [
|
|
11
11
|
"build/modules",
|
|
12
12
|
"build/commands",
|
|
13
|
-
"build/legacy",
|
|
14
13
|
"build/providers",
|
|
15
14
|
"build/services",
|
|
16
15
|
"build/factories",
|
|
@@ -76,7 +75,7 @@
|
|
|
76
75
|
"index:commands": "node --loader=ts-node/esm toolkit/main.js index build/commands"
|
|
77
76
|
},
|
|
78
77
|
"devDependencies": {
|
|
79
|
-
"@adonisjs/assembler": "^6.1.3-
|
|
78
|
+
"@adonisjs/assembler": "^6.1.3-22",
|
|
80
79
|
"@adonisjs/eslint-config": "^1.1.8",
|
|
81
80
|
"@adonisjs/prettier-config": "^1.1.8",
|
|
82
81
|
"@adonisjs/tsconfig": "^1.1.8",
|
|
@@ -87,7 +86,7 @@
|
|
|
87
86
|
"@japa/file-system": "2.0.0-1",
|
|
88
87
|
"@japa/runner": "^3.0.0-5",
|
|
89
88
|
"@swc/core": "^1.3.78",
|
|
90
|
-
"@types/node": "^20.5.
|
|
89
|
+
"@types/node": "^20.5.3",
|
|
91
90
|
"@types/pretty-hrtime": "^1.0.1",
|
|
92
91
|
"@types/sinon": "^10.0.15",
|
|
93
92
|
"@types/supertest": "^2.0.12",
|
|
@@ -111,18 +110,18 @@
|
|
|
111
110
|
"typescript": "^5.1.6"
|
|
112
111
|
},
|
|
113
112
|
"dependencies": {
|
|
114
|
-
"@adonisjs/ace": "^12.3.1-
|
|
115
|
-
"@adonisjs/application": "^7.1.2-
|
|
116
|
-
"@adonisjs/bodyparser": "^9.3.2-
|
|
117
|
-
"@adonisjs/config": "^4.2.1-
|
|
113
|
+
"@adonisjs/ace": "^12.3.1-12",
|
|
114
|
+
"@adonisjs/application": "^7.1.2-15",
|
|
115
|
+
"@adonisjs/bodyparser": "^9.3.2-8",
|
|
116
|
+
"@adonisjs/config": "^4.2.1-4",
|
|
118
117
|
"@adonisjs/encryption": "^5.1.2-2",
|
|
119
|
-
"@adonisjs/env": "^4.2.0-
|
|
120
|
-
"@adonisjs/events": "^8.4.9-
|
|
121
|
-
"@adonisjs/fold": "^9.9.3-
|
|
122
|
-
"@adonisjs/hash": "^8.3.1-
|
|
123
|
-
"@adonisjs/http-server": "^6.8.2-
|
|
124
|
-
"@adonisjs/logger": "^5.4.2-
|
|
125
|
-
"@adonisjs/repl": "^4.0.0-
|
|
118
|
+
"@adonisjs/env": "^4.2.0-5",
|
|
119
|
+
"@adonisjs/events": "^8.4.9-5",
|
|
120
|
+
"@adonisjs/fold": "^9.9.3-8",
|
|
121
|
+
"@adonisjs/hash": "^8.3.1-6",
|
|
122
|
+
"@adonisjs/http-server": "^6.8.2-13",
|
|
123
|
+
"@adonisjs/logger": "^5.4.2-5",
|
|
124
|
+
"@adonisjs/repl": "^4.0.0-7",
|
|
126
125
|
"@antfu/install-pkg": "^0.1.1",
|
|
127
126
|
"@paralleldrive/cuid2": "^2.2.2",
|
|
128
127
|
"@poppinss/macroable": "^1.0.0-7",
|
|
@@ -138,7 +137,7 @@
|
|
|
138
137
|
"youch-terminal": "^2.2.2"
|
|
139
138
|
},
|
|
140
139
|
"peerDependencies": {
|
|
141
|
-
"@adonisjs/assembler": "^6.1.3-
|
|
140
|
+
"@adonisjs/assembler": "^6.1.3-21",
|
|
142
141
|
"@vinejs/vine": "^1.6.0",
|
|
143
142
|
"argon2": "^0.30.3",
|
|
144
143
|
"bcrypt": "^5.0.1",
|