@adonisjs/core 7.0.0-next.14 → 7.0.0-next.15
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/{ace-DDzvaSs_.js → ace-CYvqhV0y.js} +3 -3
- package/build/commands/add.d.ts +4 -3
- package/build/commands/add.js +52 -16
- package/build/commands/build.js +3 -3
- package/build/commands/commands.json +1 -1
- package/build/commands/configure.js +2 -2
- package/build/commands/eject.js +3 -3
- package/build/commands/env/add.js +3 -3
- package/build/commands/generate_key.js +2 -2
- package/build/commands/inspect_rcfile.js +1 -1
- package/build/commands/list/routes.js +2 -2
- package/build/commands/make/command.js +2 -2
- package/build/commands/make/controller.js +2 -2
- package/build/commands/make/event.js +2 -2
- package/build/commands/make/exception.js +2 -2
- package/build/commands/make/listener.js +2 -2
- package/build/commands/make/middleware.js +3 -3
- package/build/commands/make/preload.js +3 -3
- package/build/commands/make/provider.js +3 -3
- package/build/commands/make/service.js +2 -2
- package/build/commands/make/test.js +2 -2
- package/build/commands/make/transformer.js +2 -2
- package/build/commands/make/validator.js +2 -2
- package/build/commands/make/view.js +2 -2
- package/build/commands/repl.js +1 -1
- package/build/commands/serve.js +3 -3
- package/build/commands/test.js +3 -3
- package/build/{config_provider-CY-xuo2R.js → config_provider-DWVFHOQX.js} +3 -1
- package/build/{core-CffBtWJW.js → core-BuRVIObK.js} +37 -11
- package/build/create_kernel-Cn8zVtvt.js +3 -0
- package/build/{create_kernel-B7zWS8Zz.js → create_kernel-Cpqqa931.js} +1 -1
- package/build/define_config-BvoRgVYO.js +62 -0
- package/build/exceptions-DNMesP42.js +2 -0
- package/build/factories/core/ace.js +12 -11
- package/build/factories/core/ignitor.js +9 -8
- package/build/factories/core/main.js +18 -16
- package/build/factories/core/test_utils.js +15 -13
- package/build/factories/encryption.d.ts +1 -1
- package/build/factories/encryption.js +1 -1
- package/build/factories/stubs.js +5 -6
- package/build/{ignitor-Dil-rtCo.js → ignitor-BAHDhsmQ.js} +14 -6
- package/build/index.d.ts +1 -1
- package/build/index.js +5 -6
- package/build/{main-BTUXw6He.js → main-B3Y59dQ2.js} +2 -2
- package/build/{main-CFmDHDls.js → main-BA5_XHM0.js} +2 -7
- package/build/{main-BrJQ1VAM.js → main-BPDqyZic.js} +1 -2
- package/build/main-Bfnr5tAw.js +2 -0
- package/build/{main-2-nm3TiB.js → main-TtUIT86D.js} +4 -3
- package/build/modules/ace/codemods.js +1 -1
- package/build/modules/ace/main.js +1 -1
- package/build/modules/bodyparser/bodyparser_middleware.js +1 -1
- package/build/modules/bodyparser/main.js +1 -1
- package/build/modules/config.js +1 -1
- package/build/modules/dumper/main.js +1 -1
- package/build/modules/dumper/plugins/edge.js +1 -1
- package/build/modules/encryption/define_config.d.ts +127 -0
- package/build/modules/encryption/drivers/aes_256_cbc.d.ts +20 -0
- package/build/modules/encryption/drivers/aes_256_cbc.js +2 -0
- package/build/modules/encryption/drivers/aes_256_gcm.d.ts +21 -0
- package/build/modules/encryption/drivers/aes_256_gcm.js +2 -0
- package/build/modules/encryption/drivers/chacha20_poly1305.d.ts +21 -0
- package/build/modules/encryption/drivers/chacha20_poly1305.js +2 -0
- package/build/modules/encryption/main.d.ts +85 -0
- package/build/modules/encryption/main.js +5 -0
- package/build/modules/events.js +1 -1
- package/build/modules/hash/main.js +2 -3
- package/build/modules/http/main.js +1 -1
- package/build/modules/http/request_validator.d.ts +1 -3
- package/build/modules/logger.js +1 -1
- package/build/modules/repl.js +1 -1
- package/build/modules/transformers/main.js +1 -1
- package/build/providers/app_provider.d.ts +5 -4
- package/build/providers/app_provider.js +22 -14
- package/build/providers/edge_provider.js +2 -2
- package/build/providers/hash_provider.js +2 -3
- package/build/providers/repl_provider.js +1 -1
- package/build/providers/vinejs_provider.js +3 -4
- package/build/src/debug.d.ts +1 -1
- package/build/src/exceptions.js +1 -1
- package/build/src/helpers/main.js +1 -1
- package/build/src/helpers/string.js +1 -1
- package/build/src/helpers/verification_token.js +1 -1
- package/build/src/test_utils/main.js +6 -3
- package/build/src/types.d.ts +65 -8
- package/build/src/vine.js +1 -1
- package/build/{test_utils-c_TEaEHW.js → test_utils-DCaos98d.js} +3 -3
- package/build/toolkit/main.js +1 -1
- package/build/types/encryption.d.ts +39 -1
- package/build/types/encryption.js +0 -1
- package/build/{utils-Dpa3iJz-.js → utils-CtGytdtt.js} +1 -0
- package/package.json +44 -42
- package/build/create_kernel-CsTq0pWc.js +0 -3
- package/build/debug-DURPi9xn.js +0 -3
- package/build/encryption-D2HGu0bU.js +0 -5
- package/build/modules/encryption.d.ts +0 -18
- package/build/modules/encryption.js +0 -4
- /package/build/{bodyparser_middleware-DTW0epKM.js → bodyparser_middleware-BmARtnYe.js} +0 -0
- /package/build/{config-B2S2xfmN.js → config-BwupGyeJ.js} +0 -0
- /package/build/{decorate-DM0Sx1ye.js → decorate-CJcHOoD-.js} +0 -0
- /package/build/{dumper-C_sMcyFb.js → dumper-D29dE_xc.js} +0 -0
- /package/build/{edge-LQdCc1L3.js → edge-BVYR-Vjr.js} +0 -0
- /package/build/{events-B8hK42QT.js → events-BW2flEef.js} +0 -0
- /package/build/{logger-Dha-0hp1.js → logger-C2asB8px.js} +0 -0
- /package/build/{main-BWftwyAK.js → main-BlJhxJJ2.js} +0 -0
- /package/build/{main-D5xz2ZN1.js → main-CP75MhEW.js} +0 -0
- /package/build/{main-q9TMzWUj.js → main-OHZwVYZ4.js} +0 -0
- /package/build/{repl-CumYg2V_.js → repl-BF2TbFoO.js} +0 -0
- /package/build/{string-CJ7ewUFq.js → string-Cx6q_win.js} +0 -0
- /package/build/{verification_token-DXsW81rl.js → verification_token-DrdoU4RH.js} +0 -0
- /package/build/{vine-Bt4ymkM0.js → vine-DGint2rk.js} +0 -0
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adonisjs/core",
|
|
3
3
|
"description": "Core of AdonisJS",
|
|
4
|
-
"version": "7.0.0-next.
|
|
4
|
+
"version": "7.0.0-next.15",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=24.0.0"
|
|
7
7
|
},
|
|
@@ -39,7 +39,10 @@
|
|
|
39
39
|
"./app": "./build/modules/app.js",
|
|
40
40
|
"./config": "./build/modules/config.js",
|
|
41
41
|
"./container": "./build/modules/container.js",
|
|
42
|
-
"./encryption": "./build/modules/encryption.js",
|
|
42
|
+
"./encryption": "./build/modules/encryption/main.js",
|
|
43
|
+
"./encryption/drivers/aes_256_cbc": "./build/modules/encryption/drivers/aes_256_cbc.js",
|
|
44
|
+
"./encryption/drivers/aes_256_gcm": "./build/modules/encryption/drivers/aes_256_gcm.js",
|
|
45
|
+
"./encryption/drivers/chacha20_poly1305": "./build/modules/encryption/drivers/chacha20_poly1305.js",
|
|
43
46
|
"./env": "./build/modules/env/main.js",
|
|
44
47
|
"./dumper": "./build/modules/dumper/main.js",
|
|
45
48
|
"./dumper/plugin_edge": "./build/modules/dumper/plugins/edge.js",
|
|
@@ -77,64 +80,64 @@
|
|
|
77
80
|
"index:commands": "node --import=@poppinss/ts-exec toolkit/main.js index build/commands"
|
|
78
81
|
},
|
|
79
82
|
"devDependencies": {
|
|
80
|
-
"@adonisjs/assembler": "^8.0.0-next.
|
|
81
|
-
"@adonisjs/eslint-config": "^3.0.0-next.
|
|
83
|
+
"@adonisjs/assembler": "^8.0.0-next.24",
|
|
84
|
+
"@adonisjs/eslint-config": "^3.0.0-next.5",
|
|
82
85
|
"@adonisjs/prettier-config": "^1.4.5",
|
|
83
86
|
"@adonisjs/tsconfig": "^2.0.0-next.3",
|
|
84
|
-
"@japa/assert": "^4.
|
|
85
|
-
"@japa/expect-type": "^2.0.
|
|
86
|
-
"@japa/file-system": "^
|
|
87
|
-
"@japa/runner": "^
|
|
88
|
-
"@japa/snapshot": "^2.0.
|
|
87
|
+
"@japa/assert": "^4.2.0",
|
|
88
|
+
"@japa/expect-type": "^2.0.4",
|
|
89
|
+
"@japa/file-system": "^3.0.0",
|
|
90
|
+
"@japa/runner": "^5.0.0",
|
|
91
|
+
"@japa/snapshot": "^2.0.10",
|
|
89
92
|
"@poppinss/ts-exec": "^1.4.1",
|
|
90
|
-
"@release-it/conventional-changelog": "^10.0.
|
|
91
|
-
"@types/node": "^
|
|
93
|
+
"@release-it/conventional-changelog": "^10.0.3",
|
|
94
|
+
"@types/node": "^25.0.2",
|
|
92
95
|
"@types/pretty-hrtime": "^1.0.3",
|
|
93
96
|
"@types/sinon": "^21.0.0",
|
|
94
97
|
"@types/supertest": "^6.0.3",
|
|
95
98
|
"@types/test-console": "^2.0.3",
|
|
96
|
-
"@vinejs/vine": "^4.
|
|
99
|
+
"@vinejs/vine": "^4.2.0",
|
|
97
100
|
"argon2": "^0.44.0",
|
|
98
101
|
"bcrypt": "^6.0.0",
|
|
99
102
|
"c8": "^10.1.3",
|
|
100
103
|
"copyfiles": "^2.4.1",
|
|
101
104
|
"cross-env": "^10.1.0",
|
|
102
105
|
"del-cli": "^7.0.0",
|
|
103
|
-
"edge.js": "^6.
|
|
104
|
-
"eslint": "^9.39.
|
|
106
|
+
"edge.js": "^6.4.0",
|
|
107
|
+
"eslint": "^9.39.2",
|
|
105
108
|
"execa": "^9.6.1",
|
|
106
109
|
"get-port": "^7.1.0",
|
|
107
110
|
"pino-pretty": "^13.1.3",
|
|
108
|
-
"prettier": "^3.7.
|
|
109
|
-
"release-it": "^19.0
|
|
111
|
+
"prettier": "^3.7.4",
|
|
112
|
+
"release-it": "^19.1.0",
|
|
110
113
|
"sinon": "^21.0.0",
|
|
111
114
|
"supertest": "^7.1.4",
|
|
112
115
|
"test-console": "^2.0.0",
|
|
113
116
|
"timekeeper": "^2.3.1",
|
|
114
|
-
"tsdown": "^0.17.
|
|
117
|
+
"tsdown": "^0.17.4",
|
|
115
118
|
"typedoc": "^0.28.15",
|
|
116
119
|
"typescript": "^5.9.3",
|
|
117
|
-
"youch": "^4.1.0-beta.
|
|
120
|
+
"youch": "^4.1.0-beta.13"
|
|
118
121
|
},
|
|
119
122
|
"dependencies": {
|
|
120
|
-
"@adonisjs/ace": "^14.0.1-next.
|
|
121
|
-
"@adonisjs/application": "^9.0.0-next.
|
|
122
|
-
"@adonisjs/bodyparser": "^11.0.0-next.
|
|
123
|
-
"@adonisjs/config": "^6.
|
|
124
|
-
"@adonisjs/
|
|
125
|
-
"@adonisjs/
|
|
126
|
-
"@adonisjs/events": "^10.1.0-next.2",
|
|
123
|
+
"@adonisjs/ace": "^14.0.1-next.4",
|
|
124
|
+
"@adonisjs/application": "^9.0.0-next.12",
|
|
125
|
+
"@adonisjs/bodyparser": "^11.0.0-next.5",
|
|
126
|
+
"@adonisjs/config": "^6.1.0-next.0",
|
|
127
|
+
"@adonisjs/env": "^7.0.0-next.3",
|
|
128
|
+
"@adonisjs/events": "^10.1.0-next.3",
|
|
127
129
|
"@adonisjs/fold": "^11.0.0-next.3",
|
|
128
|
-
"@adonisjs/hash": "^10.0.0-next.
|
|
129
|
-
"@adonisjs/health": "^3.1.0-next.
|
|
130
|
-
"@adonisjs/http-server": "^8.0.0-next.
|
|
131
|
-
"@adonisjs/http-transformers": "^1.6.
|
|
132
|
-
"@adonisjs/logger": "^7.1.0-next.
|
|
133
|
-
"@adonisjs/repl": "^5.0.0-next.
|
|
134
|
-
"@
|
|
130
|
+
"@adonisjs/hash": "^10.0.0-next.2",
|
|
131
|
+
"@adonisjs/health": "^3.1.0-next.1",
|
|
132
|
+
"@adonisjs/http-server": "^8.0.0-next.15",
|
|
133
|
+
"@adonisjs/http-transformers": "^1.6.1",
|
|
134
|
+
"@adonisjs/logger": "^7.1.0-next.3",
|
|
135
|
+
"@adonisjs/repl": "^5.0.0-next.1",
|
|
136
|
+
"@boringnode/encryption": "^0.2.2",
|
|
137
|
+
"@poppinss/colors": "^4.1.6",
|
|
135
138
|
"@poppinss/dumper": "^0.7.0",
|
|
136
139
|
"@poppinss/macroable": "^1.1.0",
|
|
137
|
-
"@poppinss/utils": "^7.0.0-next.
|
|
140
|
+
"@poppinss/utils": "^7.0.0-next.4",
|
|
138
141
|
"@sindresorhus/is": "^7.1.1",
|
|
139
142
|
"@types/he": "^1.2.3",
|
|
140
143
|
"error-stack-parser-es": "^1.0.5",
|
|
@@ -143,13 +146,13 @@
|
|
|
143
146
|
"string-width": "^8.1.0"
|
|
144
147
|
},
|
|
145
148
|
"peerDependencies": {
|
|
146
|
-
"@adonisjs/assembler": "^8.0.0-next.
|
|
147
|
-
"@vinejs/vine": "^4.0.0
|
|
148
|
-
"argon2": "^0.
|
|
149
|
+
"@adonisjs/assembler": "^8.0.0-next.23",
|
|
150
|
+
"@vinejs/vine": "^4.0.0",
|
|
151
|
+
"argon2": "^0.44.0",
|
|
149
152
|
"bcrypt": "^6.0.0",
|
|
150
153
|
"edge.js": "^6.2.0",
|
|
151
|
-
"
|
|
152
|
-
"
|
|
154
|
+
"pino-pretty": "^13.1.3",
|
|
155
|
+
"youch": "^4.1.0-beta.13"
|
|
153
156
|
},
|
|
154
157
|
"peerDependenciesMeta": {
|
|
155
158
|
"argon2": {
|
|
@@ -235,13 +238,12 @@
|
|
|
235
238
|
"modules/bodyparser/bodyparser_middleware.ts",
|
|
236
239
|
"modules/hash/main.ts",
|
|
237
240
|
"modules/hash/phc_formatter.ts",
|
|
238
|
-
"modules/hash/drivers
|
|
239
|
-
"modules/hash/drivers/bcrypt.ts",
|
|
240
|
-
"modules/hash/drivers/scrypt.ts",
|
|
241
|
+
"modules/hash/drivers/*.ts",
|
|
241
242
|
"modules/app.ts",
|
|
242
243
|
"modules/config.ts",
|
|
243
244
|
"modules/container.ts",
|
|
244
|
-
"modules/encryption.ts",
|
|
245
|
+
"modules/encryption/main.ts",
|
|
246
|
+
"modules/encryption/drivers/*.ts",
|
|
245
247
|
"modules/env/main.ts",
|
|
246
248
|
"modules/dumper/main.ts",
|
|
247
249
|
"modules/dumper/plugins/edge.ts",
|
package/build/debug-DURPi9xn.js
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Encryption module re-exports all functionality from @adonisjs/encryption.
|
|
3
|
-
* This includes the Encryption class and related utilities for encrypting and
|
|
4
|
-
* decrypting data using various algorithms and key management strategies.
|
|
5
|
-
*
|
|
6
|
-
* @example
|
|
7
|
-
* // Import the Encryption class
|
|
8
|
-
* import { Encryption } from '@adonisjs/core/encryption'
|
|
9
|
-
*
|
|
10
|
-
* const encryption = new Encryption({ secret: 'your-secret-key' })
|
|
11
|
-
* const encrypted = encryption.encrypt('sensitive data')
|
|
12
|
-
* const decrypted = encryption.decrypt(encrypted)
|
|
13
|
-
*
|
|
14
|
-
* @example
|
|
15
|
-
* // Import encryption types and utilities
|
|
16
|
-
* import type { EncryptionConfig, DriverContract } from '@adonisjs/core/encryption'
|
|
17
|
-
*/
|
|
18
|
-
export * from '@adonisjs/encryption';
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|