@adonisjs/core 7.0.0-next.28 → 7.0.0-next.29
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/add.js +1 -1
- package/build/create_kernel-BD0Iqi8e.js +3 -0
- package/build/{define_config-C9vVaMH2.js → define_config-0oHaj43l.js} +13 -0
- package/build/errors-CrCO-k44.js +8 -0
- package/build/factories/core/ace.js +4 -4
- package/build/factories/core/ignitor.js +3 -3
- package/build/factories/core/main.js +6 -5
- package/build/factories/core/test_utils.js +5 -4
- package/build/factories/stubs.js +1 -1
- package/build/index.js +1 -1
- package/build/{main-zQdklBGW.js → main-Cxz0TyIw.js} +1 -1
- package/build/modules/encryption/define_config.d.ts +15 -1
- package/build/modules/encryption/drivers/aes_siv.d.ts +19 -0
- package/build/modules/encryption/drivers/aes_siv.js +2 -0
- package/build/modules/encryption/drivers/legacy.d.ts +9 -1
- package/build/modules/encryption/drivers/legacy.js +7 -0
- package/build/modules/encryption/errors.d.ts +16 -0
- package/build/modules/encryption/main.d.ts +6 -2
- package/build/modules/encryption/main.js +3 -2
- package/build/modules/hash/main.js +1 -1
- package/build/providers/app_provider.js +3 -2
- package/build/providers/edge_provider.js +4 -2
- package/build/providers/hash_provider.js +1 -1
- package/build/src/debug.d.ts +1 -1
- package/build/src/test_utils/main.js +3 -2
- package/build/types/encryption.d.ts +6 -0
- package/package.json +10 -9
- package/build/create_kernel-kceIXCLj.js +0 -3
- /package/build/{create_kernel-BFf40UqW.js → create_kernel-B7ILNhuP.js} +0 -0
- /package/build/{main-CGF65fuX.js → main--nXd7T-C.js} +0 -0
- /package/build/{main-BAQrymbz.js → main-DkNgvceD.js} +0 -0
package/build/commands/add.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../chunk-iKc69rpz.js";
|
|
2
2
|
import "../main-kn40V-hF.js";
|
|
3
3
|
import "../debug-CGQmxzGt.js";
|
|
4
|
-
import "../main-
|
|
4
|
+
import "../main-Cxz0TyIw.js";
|
|
5
5
|
import "../config_provider-FIAUgvae.js";
|
|
6
6
|
import "../utils-CcS9NOK_.js";
|
|
7
7
|
import { n as prettyPrintError } from "../core-CvwBnUuy.js";
|
|
@@ -59,6 +59,19 @@ const drivers = {
|
|
|
59
59
|
};
|
|
60
60
|
});
|
|
61
61
|
},
|
|
62
|
+
aessiv: (config) => {
|
|
63
|
+
return configProvider.create(async () => {
|
|
64
|
+
const { AESSIV } = await import("./modules/encryption/drivers/aes_siv.js");
|
|
65
|
+
debug_default("configuring aessiv encryption driver");
|
|
66
|
+
return {
|
|
67
|
+
driver: (key) => new AESSIV({
|
|
68
|
+
id: config.id,
|
|
69
|
+
key
|
|
70
|
+
}),
|
|
71
|
+
keys: [config.key].filter((key) => !!key)
|
|
72
|
+
};
|
|
73
|
+
});
|
|
74
|
+
},
|
|
62
75
|
legacy: (config) => {
|
|
63
76
|
return configProvider.create(async () => {
|
|
64
77
|
const { Legacy } = await import("./modules/encryption/drivers/legacy.js");
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { createError } from "./src/exceptions.js";
|
|
2
|
+
import { errors } from "@boringnode/encryption";
|
|
3
|
+
const E_BLIND_INDEX_NOT_SUPPORTED = createError("Blind indexes are not supported by the \"%s\" encryption driver", "E_BLIND_INDEX_NOT_SUPPORTED");
|
|
4
|
+
const errors$1 = {
|
|
5
|
+
...errors,
|
|
6
|
+
E_BLIND_INDEX_NOT_SUPPORTED
|
|
7
|
+
};
|
|
8
|
+
export { errors$1 as n, E_BLIND_INDEX_NOT_SUPPORTED as t };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import "../../chunk-iKc69rpz.js";
|
|
2
2
|
import "../../debug-CGQmxzGt.js";
|
|
3
|
-
import { t as Ignitor } from "../../main-
|
|
3
|
+
import { t as Ignitor } from "../../main-Cxz0TyIw.js";
|
|
4
4
|
import "../../config_provider-FIAUgvae.js";
|
|
5
5
|
import "../../main-MBAMnmJb.js";
|
|
6
6
|
import "../../main-DN2qEEg5.js";
|
|
7
|
-
import "../../define_config-
|
|
8
|
-
import "../../main-
|
|
7
|
+
import "../../define_config-0oHaj43l.js";
|
|
8
|
+
import "../../main-DkNgvceD.js";
|
|
9
9
|
import { IgnitorFactory } from "./ignitor.js";
|
|
10
|
-
import { t as createAceKernel } from "../../create_kernel-
|
|
10
|
+
import { t as createAceKernel } from "../../create_kernel-B7ILNhuP.js";
|
|
11
11
|
var AceFactory = class {
|
|
12
12
|
async make(ignitorOrAppRoot, options) {
|
|
13
13
|
if (ignitorOrAppRoot instanceof Ignitor) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import "../../chunk-iKc69rpz.js";
|
|
2
2
|
import "../../debug-CGQmxzGt.js";
|
|
3
|
-
import { t as Ignitor } from "../../main-
|
|
3
|
+
import { t as Ignitor } from "../../main-Cxz0TyIw.js";
|
|
4
4
|
import "../../config_provider-FIAUgvae.js";
|
|
5
5
|
import { t as logger_exports } from "../../modules/logger.js";
|
|
6
6
|
import { t as main_exports } from "../../main-DN2qEEg5.js";
|
|
7
|
-
import { n as drivers, t as defineConfig } from "../../define_config-
|
|
8
|
-
import { n as defineConfig$1, r as drivers$1 } from "../../main-
|
|
7
|
+
import { n as drivers, t as defineConfig } from "../../define_config-0oHaj43l.js";
|
|
8
|
+
import { n as defineConfig$1, r as drivers$1 } from "../../main-DkNgvceD.js";
|
|
9
9
|
import { t as main_exports$1 } from "../../modules/bodyparser/main.js";
|
|
10
10
|
var IgnitorFactory = class {
|
|
11
11
|
#preloadActions = [];
|
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
import "../../chunk-iKc69rpz.js";
|
|
2
2
|
import "../../main-kn40V-hF.js";
|
|
3
3
|
import "../../debug-CGQmxzGt.js";
|
|
4
|
-
import "../../main-
|
|
4
|
+
import "../../main-Cxz0TyIw.js";
|
|
5
5
|
import "../../config_provider-FIAUgvae.js";
|
|
6
6
|
import "../../utils-CcS9NOK_.js";
|
|
7
7
|
import "../../core-CvwBnUuy.js";
|
|
8
8
|
import "../../main-MBAMnmJb.js";
|
|
9
9
|
import "../../main-DN2qEEg5.js";
|
|
10
|
-
import "../../
|
|
11
|
-
import "../../
|
|
10
|
+
import "../../errors-CrCO-k44.js";
|
|
11
|
+
import "../../define_config-0oHaj43l.js";
|
|
12
|
+
import "../../main-DkNgvceD.js";
|
|
12
13
|
import { IgnitorFactory } from "./ignitor.js";
|
|
13
|
-
import "../../create_kernel-
|
|
14
|
+
import "../../create_kernel-B7ILNhuP.js";
|
|
14
15
|
import { AceFactory } from "./ace.js";
|
|
15
|
-
import "../../main-
|
|
16
|
+
import "../../main--nXd7T-C.js";
|
|
16
17
|
import { TestUtilsFactory } from "./test_utils.js";
|
|
17
18
|
export { AceFactory, IgnitorFactory, TestUtilsFactory };
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import "../../chunk-iKc69rpz.js";
|
|
2
2
|
import "../../main-kn40V-hF.js";
|
|
3
3
|
import "../../debug-CGQmxzGt.js";
|
|
4
|
-
import { t as Ignitor } from "../../main-
|
|
4
|
+
import { t as Ignitor } from "../../main-Cxz0TyIw.js";
|
|
5
5
|
import "../../config_provider-FIAUgvae.js";
|
|
6
6
|
import "../../utils-CcS9NOK_.js";
|
|
7
7
|
import "../../core-CvwBnUuy.js";
|
|
8
8
|
import "../../main-DN2qEEg5.js";
|
|
9
|
-
import "../../
|
|
10
|
-
import "../../
|
|
9
|
+
import "../../errors-CrCO-k44.js";
|
|
10
|
+
import "../../define_config-0oHaj43l.js";
|
|
11
|
+
import "../../main-DkNgvceD.js";
|
|
11
12
|
import { IgnitorFactory } from "./ignitor.js";
|
|
12
|
-
import { t as TestUtils } from "../../main-
|
|
13
|
+
import { t as TestUtils } from "../../main--nXd7T-C.js";
|
|
13
14
|
var TestUtilsFactory = class {
|
|
14
15
|
create(ignitorOrAppRoot, options) {
|
|
15
16
|
if (ignitorOrAppRoot instanceof Ignitor) return new TestUtils(ignitorOrAppRoot.createApp("test"));
|
package/build/factories/stubs.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../chunk-iKc69rpz.js";
|
|
2
2
|
import { t as stubsRoot } from "../main-kn40V-hF.js";
|
|
3
3
|
import "../debug-CGQmxzGt.js";
|
|
4
|
-
import "../main-
|
|
4
|
+
import "../main-Cxz0TyIw.js";
|
|
5
5
|
import "../config_provider-FIAUgvae.js";
|
|
6
6
|
import "../utils-CcS9NOK_.js";
|
|
7
7
|
import "../core-CvwBnUuy.js";
|
package/build/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import "./chunk-iKc69rpz.js";
|
|
|
2
2
|
import { t as stubsRoot } from "./main-kn40V-hF.js";
|
|
3
3
|
import { t as container_exports } from "./modules/container.js";
|
|
4
4
|
import "./debug-CGQmxzGt.js";
|
|
5
|
-
import { t as Ignitor } from "./main-
|
|
5
|
+
import { t as Ignitor } from "./main-Cxz0TyIw.js";
|
|
6
6
|
import { t as configProvider } from "./config_provider-FIAUgvae.js";
|
|
7
7
|
import "./utils-CcS9NOK_.js";
|
|
8
8
|
import { n as prettyPrintError, r as indexEntities, t as errors } from "./core-CvwBnUuy.js";
|
|
@@ -15,7 +15,7 @@ var AceProcess = class {
|
|
|
15
15
|
async handle(argv) {
|
|
16
16
|
const app = this.#ignitor.createApp("console");
|
|
17
17
|
await app.init();
|
|
18
|
-
const { createAceKernel } = await import("./create_kernel-
|
|
18
|
+
const { createAceKernel } = await import("./create_kernel-BD0Iqi8e.js");
|
|
19
19
|
const commandName = argv[argv.findIndex((value) => !value.startsWith("-"))];
|
|
20
20
|
const kernel = createAceKernel(app, commandName);
|
|
21
21
|
app.container.bindValue("ace", kernel);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type ConfigProvider } from '../../src/types.ts';
|
|
2
|
-
import { type AES256CBCDriverConfig, type AES256GCMDriverConfig, type ChaCha20Poly1305DriverConfig, type LegacyDriverConfig } from '../../types/encryption.ts';
|
|
2
|
+
import { type AESSIVDriverConfig, type AES256CBCDriverConfig, type AES256GCMDriverConfig, type ChaCha20Poly1305DriverConfig, type LegacyDriverConfig } from '../../types/encryption.ts';
|
|
3
3
|
import { type EncryptionConfig } from '../../types/encryption.ts';
|
|
4
4
|
/**
|
|
5
5
|
* Resolved configuration from the config provider that will be
|
|
@@ -124,6 +124,20 @@ export declare const drivers: {
|
|
|
124
124
|
* ```
|
|
125
125
|
*/
|
|
126
126
|
aes256gcm: (config: AES256GCMDriverConfig) => ConfigProvider<EncryptionConfig>;
|
|
127
|
+
/**
|
|
128
|
+
* Creates an AES-SIV encryption driver configuration.
|
|
129
|
+
*
|
|
130
|
+
* @param config - The AES-SIV driver configuration
|
|
131
|
+
*
|
|
132
|
+
* @example
|
|
133
|
+
* ```ts
|
|
134
|
+
* drivers.aessiv({
|
|
135
|
+
* id: 'app',
|
|
136
|
+
* key: env.get('APP_KEY')
|
|
137
|
+
* })
|
|
138
|
+
* ```
|
|
139
|
+
*/
|
|
140
|
+
aessiv: (config: AESSIVDriverConfig) => ConfigProvider<EncryptionConfig>;
|
|
127
141
|
/**
|
|
128
142
|
* Creates a Legacy encryption driver configuration.
|
|
129
143
|
*
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AES-SIV encryption driver implementation.
|
|
3
|
+
*
|
|
4
|
+
* This driver provides deterministic authenticated encryption using AES-SIV
|
|
5
|
+
* (Synthetic Initialization Vector). It is useful when you need equality
|
|
6
|
+
* queries over encrypted values while preserving authenticity guarantees.
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* ```ts
|
|
10
|
+
* const driver = new AESSIV({
|
|
11
|
+
* id: 'app',
|
|
12
|
+
* key: 'your-256-bit-key-here'
|
|
13
|
+
* })
|
|
14
|
+
*
|
|
15
|
+
* const encrypted = driver.encrypt('sensitive data')
|
|
16
|
+
* const decrypted = driver.decrypt(encrypted)
|
|
17
|
+
* ```
|
|
18
|
+
*/
|
|
19
|
+
export { AESSIV } from '@boringnode/encryption/drivers/aes_siv';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type Secret } from '@poppinss/utils';
|
|
2
2
|
import { BaseDriver } from '@boringnode/encryption';
|
|
3
|
-
import type {
|
|
3
|
+
import type { CypherText, EncryptOptions, EncryptionDriverContract } from '@boringnode/encryption/types';
|
|
4
4
|
/**
|
|
5
5
|
* Configuration for the Legacy encryption driver.
|
|
6
6
|
*
|
|
@@ -73,4 +73,12 @@ export declare class Legacy extends BaseDriver implements EncryptionDriverContra
|
|
|
73
73
|
* Decrypt value and verify it against a purpose
|
|
74
74
|
*/
|
|
75
75
|
decrypt<T extends any>(value: string, purpose?: string): T | null;
|
|
76
|
+
/**
|
|
77
|
+
* Legacy driver does not support blind indexes.
|
|
78
|
+
*/
|
|
79
|
+
blindIndex(_payload: any, _purpose: string): string;
|
|
80
|
+
/**
|
|
81
|
+
* Legacy driver does not support blind indexes.
|
|
82
|
+
*/
|
|
83
|
+
blindIndexes(_payload: any, _purpose: string): string[];
|
|
76
84
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { t as E_BLIND_INDEX_NOT_SUPPORTED } from "../../../errors-CrCO-k44.js";
|
|
1
2
|
import { BaseDriver, Hmac, base64UrlDecode, base64UrlEncode, errors } from "@boringnode/encryption";
|
|
2
3
|
import { MessageBuilder } from "@poppinss/utils";
|
|
3
4
|
import { createCipheriv, createDecipheriv, randomBytes } from "node:crypto";
|
|
@@ -46,5 +47,11 @@ var Legacy = class extends BaseDriver {
|
|
|
46
47
|
return null;
|
|
47
48
|
}
|
|
48
49
|
}
|
|
50
|
+
blindIndex(_payload, _purpose) {
|
|
51
|
+
throw new E_BLIND_INDEX_NOT_SUPPORTED(["legacy"]);
|
|
52
|
+
}
|
|
53
|
+
blindIndexes(_payload, _purpose) {
|
|
54
|
+
throw new E_BLIND_INDEX_NOT_SUPPORTED(["legacy"]);
|
|
55
|
+
}
|
|
49
56
|
};
|
|
50
57
|
export { Legacy, legacy };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Raised when attempting to compute blind indexes using the legacy driver.
|
|
3
|
+
*/
|
|
4
|
+
export declare const E_BLIND_INDEX_NOT_SUPPORTED: new (args: [string], options?: ErrorOptions) => import("../../src/exceptions.ts").Exception;
|
|
5
|
+
/**
|
|
6
|
+
* Encryption errors exposed by this package.
|
|
7
|
+
*/
|
|
8
|
+
export declare const errors: {
|
|
9
|
+
E_BLIND_INDEX_NOT_SUPPORTED: new (args: [string], options?: ErrorOptions) => import("../../src/exceptions.ts").Exception;
|
|
10
|
+
E_BLIND_INDEX_PURPOSE_REQUIRED: new (args?: any, options?: ErrorOptions) => import("../../src/exceptions.ts").Exception;
|
|
11
|
+
E_DETERMINISTIC_DRIVER_EXPIRES_IN_NOT_SUPPORTED: new (args?: any, options?: ErrorOptions) => import("../../src/exceptions.ts").Exception;
|
|
12
|
+
E_INSECURE_ENCRYPTER_KEY: new (args?: any, options?: ErrorOptions) => import("../../src/exceptions.ts").Exception;
|
|
13
|
+
E_INVALID_ENCRYPTER_ID: new (args?: any, options?: ErrorOptions) => import("../../src/exceptions.ts").Exception;
|
|
14
|
+
E_MISSING_ENCRYPTER_ID: new (args?: any, options?: ErrorOptions) => import("../../src/exceptions.ts").Exception;
|
|
15
|
+
E_MISSING_ENCRYPTER_KEY: new (args?: any, options?: ErrorOptions) => import("../../src/exceptions.ts").Exception;
|
|
16
|
+
};
|
|
@@ -68,6 +68,10 @@ export { Hmac } from '@boringnode/encryption';
|
|
|
68
68
|
* ```
|
|
69
69
|
*/
|
|
70
70
|
export { BaseDriver } from '@boringnode/encryption';
|
|
71
|
+
/**
|
|
72
|
+
* Encryption module specific exceptions.
|
|
73
|
+
*/
|
|
74
|
+
export { errors } from './errors.ts';
|
|
71
75
|
/**
|
|
72
76
|
* Defines the encryption configuration for the application.
|
|
73
77
|
*
|
|
@@ -77,8 +81,8 @@ export { defineConfig } from './define_config.ts';
|
|
|
77
81
|
/**
|
|
78
82
|
* Collection of built-in encryption driver factory functions.
|
|
79
83
|
*
|
|
80
|
-
* Includes factories for ChaCha20-Poly1305, AES-256-CBC,
|
|
81
|
-
* AES-256-GCM encryption algorithms.
|
|
84
|
+
* Includes factories for ChaCha20-Poly1305, AES-256-CBC,
|
|
85
|
+
* AES-256-GCM, and AES-SIV encryption algorithms.
|
|
82
86
|
*
|
|
83
87
|
* @see {drivers} in define_config.ts for detailed documentation
|
|
84
88
|
*/
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import "../../debug-CGQmxzGt.js";
|
|
2
2
|
import "../../config_provider-FIAUgvae.js";
|
|
3
|
-
import { n as
|
|
3
|
+
import { n as errors } from "../../errors-CrCO-k44.js";
|
|
4
|
+
import { n as drivers, t as defineConfig } from "../../define_config-0oHaj43l.js";
|
|
4
5
|
import { BaseDriver, Encryption, EncryptionManager, Hmac } from "@boringnode/encryption";
|
|
5
|
-
export { BaseDriver, Encryption, EncryptionManager, Hmac, defineConfig, drivers };
|
|
6
|
+
export { BaseDriver, Encryption, EncryptionManager, Hmac, defineConfig, drivers, errors };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "../../chunk-iKc69rpz.js";
|
|
2
2
|
import "../../debug-CGQmxzGt.js";
|
|
3
3
|
import "../../config_provider-FIAUgvae.js";
|
|
4
|
-
import { n as defineConfig, r as drivers } from "../../main-
|
|
4
|
+
import { n as defineConfig, r as drivers } from "../../main-DkNgvceD.js";
|
|
5
5
|
export * from "@adonisjs/hash";
|
|
6
6
|
export { defineConfig, drivers };
|
|
@@ -8,7 +8,8 @@ import { t as logger_exports } from "../modules/logger.js";
|
|
|
8
8
|
import { t as Dumper } from "../dumper-BBgqFX5a.js";
|
|
9
9
|
import { RuntimeException } from "../src/exceptions.js";
|
|
10
10
|
import { t as main_exports } from "../main-DN2qEEg5.js";
|
|
11
|
-
import "../
|
|
11
|
+
import "../errors-CrCO-k44.js";
|
|
12
|
+
import "../define_config-0oHaj43l.js";
|
|
12
13
|
import { Encryption } from "../modules/encryption/main.js";
|
|
13
14
|
import bodyparser_middleware_default from "../modules/bodyparser/bodyparser_middleware.js";
|
|
14
15
|
import { dirname } from "node:path";
|
|
@@ -25,7 +26,7 @@ var AppServiceProvider = class {
|
|
|
25
26
|
}
|
|
26
27
|
registerAce() {
|
|
27
28
|
this.app.container.singleton("ace", async () => {
|
|
28
|
-
const { createAceKernel } = await import("../create_kernel-
|
|
29
|
+
const { createAceKernel } = await import("../create_kernel-BD0Iqi8e.js");
|
|
29
30
|
return createAceKernel(this.app);
|
|
30
31
|
});
|
|
31
32
|
}
|
|
@@ -58,10 +58,12 @@ var EdgeServiceProvider = class {
|
|
|
58
58
|
return router.urlBuilder.signedUrlFor(...args);
|
|
59
59
|
});
|
|
60
60
|
edge.global("qs", qs);
|
|
61
|
-
edge.global("formAttributes", function(route,
|
|
61
|
+
edge.global("formAttributes", function(route, params, options) {
|
|
62
|
+
const matchingRoute = router.findOrFail(route);
|
|
62
63
|
options = options ?? {};
|
|
63
|
-
method =
|
|
64
|
+
let method = matchingRoute.methods[0].toUpperCase();
|
|
64
65
|
const original = method;
|
|
66
|
+
if (method === "HEAD") method = "GET";
|
|
65
67
|
if (method !== "GET" && method !== "POST") {
|
|
66
68
|
method = "POST";
|
|
67
69
|
options = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../chunk-iKc69rpz.js";
|
|
2
2
|
import "../debug-CGQmxzGt.js";
|
|
3
3
|
import { t as configProvider } from "../config_provider-FIAUgvae.js";
|
|
4
|
-
import { t as main_exports } from "../main-
|
|
4
|
+
import { t as main_exports } from "../main-DkNgvceD.js";
|
|
5
5
|
import { RuntimeException } from "@poppinss/utils/exception";
|
|
6
6
|
var HashServiceProvider = class {
|
|
7
7
|
constructor(app) {
|
package/build/src/debug.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import "../../chunk-iKc69rpz.js";
|
|
|
2
2
|
import "../../debug-CGQmxzGt.js";
|
|
3
3
|
import "../../config_provider-FIAUgvae.js";
|
|
4
4
|
import "../../main-DN2qEEg5.js";
|
|
5
|
-
import "../../
|
|
6
|
-
import
|
|
5
|
+
import "../../errors-CrCO-k44.js";
|
|
6
|
+
import "../../define_config-0oHaj43l.js";
|
|
7
|
+
import { t as TestUtils } from "../../main--nXd7T-C.js";
|
|
7
8
|
export { TestUtils };
|
|
@@ -29,6 +29,12 @@ export type { AES256CBCDriverConfig } from '@boringnode/encryption/drivers/aes_2
|
|
|
29
29
|
* for decryption (allowing for key rotation).
|
|
30
30
|
*/
|
|
31
31
|
export type { AES256GCMDriverConfig } from '@boringnode/encryption/drivers/aes_256_gcm';
|
|
32
|
+
/**
|
|
33
|
+
* Configuration options for the AES-SIV encryption driver.
|
|
34
|
+
*
|
|
35
|
+
* Includes the driver identifier and a single encryption key.
|
|
36
|
+
*/
|
|
37
|
+
export type { AESSIVDriverConfig } from '@boringnode/encryption/drivers/aes_siv';
|
|
32
38
|
/**
|
|
33
39
|
* Configuration options for the ChaCha20-Poly1305 encryption driver.
|
|
34
40
|
*
|
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.29",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=24.0.0"
|
|
7
7
|
},
|
|
@@ -42,6 +42,7 @@
|
|
|
42
42
|
"./encryption": "./build/modules/encryption/main.js",
|
|
43
43
|
"./encryption/drivers/aes_256_cbc": "./build/modules/encryption/drivers/aes_256_cbc.js",
|
|
44
44
|
"./encryption/drivers/aes_256_gcm": "./build/modules/encryption/drivers/aes_256_gcm.js",
|
|
45
|
+
"./encryption/drivers/aes_siv": "./build/modules/encryption/drivers/aes_siv.js",
|
|
45
46
|
"./encryption/drivers/chacha20_poly1305": "./build/modules/encryption/drivers/chacha20_poly1305.js",
|
|
46
47
|
"./env": "./build/modules/env/main.js",
|
|
47
48
|
"./dumper": "./build/modules/dumper/main.js",
|
|
@@ -89,14 +90,14 @@
|
|
|
89
90
|
"@japa/file-system": "^3.0.0",
|
|
90
91
|
"@japa/runner": "^5.3.0",
|
|
91
92
|
"@japa/snapshot": "^2.0.10",
|
|
92
|
-
"@poppinss/ts-exec": "^1.4.
|
|
93
|
-
"@release-it/conventional-changelog": "^10.0.
|
|
94
|
-
"@types/node": "~
|
|
93
|
+
"@poppinss/ts-exec": "^1.4.4",
|
|
94
|
+
"@release-it/conventional-changelog": "^10.0.5",
|
|
95
|
+
"@types/node": "~25.2.3",
|
|
95
96
|
"@types/pretty-hrtime": "^1.0.3",
|
|
96
97
|
"@types/sinon": "^21.0.0",
|
|
97
98
|
"@types/supertest": "^6.0.3",
|
|
98
99
|
"@types/test-console": "^2.0.3",
|
|
99
|
-
"@vinejs/vine": "^4.
|
|
100
|
+
"@vinejs/vine": "^4.3.0",
|
|
100
101
|
"argon2": "^0.44.0",
|
|
101
102
|
"bcrypt": "^6.0.0",
|
|
102
103
|
"c8": "^10.1.3",
|
|
@@ -115,7 +116,7 @@
|
|
|
115
116
|
"test-console": "^2.0.0",
|
|
116
117
|
"timekeeper": "^2.3.1",
|
|
117
118
|
"tsdown": "^0.20.3",
|
|
118
|
-
"typedoc": "^0.28.
|
|
119
|
+
"typedoc": "^0.28.17",
|
|
119
120
|
"typescript": "^5.9.3",
|
|
120
121
|
"youch": "^4.1.0-beta.13"
|
|
121
122
|
},
|
|
@@ -129,11 +130,11 @@
|
|
|
129
130
|
"@adonisjs/fold": "^11.0.0-next.4",
|
|
130
131
|
"@adonisjs/hash": "^10.0.0-next.2",
|
|
131
132
|
"@adonisjs/health": "^3.1.0-next.1",
|
|
132
|
-
"@adonisjs/http-server": "^8.0.0-next.
|
|
133
|
-
"@adonisjs/http-transformers": "^2.
|
|
133
|
+
"@adonisjs/http-server": "^8.0.0-next.19",
|
|
134
|
+
"@adonisjs/http-transformers": "^2.2.0",
|
|
134
135
|
"@adonisjs/logger": "^7.1.0-next.3",
|
|
135
136
|
"@adonisjs/repl": "^5.0.0-next.2",
|
|
136
|
-
"@boringnode/encryption": "^0.
|
|
137
|
+
"@boringnode/encryption": "^1.0.0",
|
|
137
138
|
"@poppinss/colors": "^4.1.6",
|
|
138
139
|
"@poppinss/dumper": "^0.7.0",
|
|
139
140
|
"@poppinss/macroable": "^1.1.0",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|