@adonisjs/core 6.2.0 → 6.2.1

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.
@@ -8,8 +8,8 @@
8
8
  */
9
9
  import { join } from 'node:path';
10
10
  import { homedir } from 'node:os';
11
- import { Repl } from '../modules/repl.js';
12
11
  import { fsImportAll } from '@poppinss/utils';
12
+ import { Repl } from '../modules/repl.js';
13
13
  /**
14
14
  * Resolves a container binding and sets it on the REPL
15
15
  * context
@@ -89,15 +89,11 @@ export default class ReplServiceProvider {
89
89
  repl.addMethod('loadHelpers', async () => {
90
90
  const { default: isModule } = await import('../src/helpers/is.js');
91
91
  const { default: stringModule } = await import('../src/helpers/string.js');
92
- const { base64, cuid, fsReadAll, slash, parseImports } = await import('../src/helpers/main.js');
92
+ const helpers = await import('../src/helpers/main.js');
93
93
  repl.server.context.helpers = {
94
94
  string: stringModule,
95
95
  is: isModule,
96
- base64,
97
- cuid,
98
- fsReadAll,
99
- slash,
100
- parseImports,
96
+ ...helpers,
101
97
  };
102
98
  repl.notify(`Loaded "helpers" module. You can access it using the "${repl.colors.underline('helpers')}" variable`);
103
99
  }, {
@@ -37,6 +37,7 @@ export interface EventsList extends HttpServerEvents {
37
37
  'http:server_ready': {
38
38
  port: number;
39
39
  host: string;
40
+ duration: [number, number];
40
41
  };
41
42
  }
42
43
  /**
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@adonisjs/core",
3
3
  "description": "Core of AdonisJS",
4
- "version": "6.2.0",
4
+ "version": "6.2.1",
5
5
  "engines": {
6
6
  "node": ">=18.16.0"
7
7
  },
@@ -77,26 +77,26 @@
77
77
  "index:commands": "node --loader=ts-node/esm toolkit/main.js index build/commands"
78
78
  },
79
79
  "devDependencies": {
80
- "@adonisjs/assembler": "^7.0.0",
80
+ "@adonisjs/assembler": "^7.1.0",
81
81
  "@adonisjs/eslint-config": "^1.2.0",
82
82
  "@adonisjs/prettier-config": "^1.2.0",
83
83
  "@adonisjs/tsconfig": "^1.2.0",
84
- "@commitlint/cli": "^18.4.4",
85
- "@commitlint/config-conventional": "^18.4.4",
84
+ "@commitlint/cli": "^18.5.0",
85
+ "@commitlint/config-conventional": "^18.5.0",
86
86
  "@japa/assert": "^2.1.0",
87
87
  "@japa/expect-type": "^2.0.1",
88
- "@japa/file-system": "^2.1.0",
88
+ "@japa/file-system": "^2.2.0",
89
89
  "@japa/runner": "^3.1.1",
90
- "@swc/core": "^1.3.102",
91
- "@types/node": "^20.10.7",
90
+ "@swc/core": "^1.3.105",
91
+ "@types/node": "^20.11.5",
92
92
  "@types/pretty-hrtime": "^1.0.3",
93
- "@types/sinon": "^17.0.2",
93
+ "@types/sinon": "^17.0.3",
94
94
  "@types/supertest": "^6.0.2",
95
95
  "@types/test-console": "^2.0.3",
96
96
  "@vinejs/vine": "^1.7.0",
97
97
  "argon2": "^0.31.1",
98
98
  "bcrypt": "^5.1.1",
99
- "c8": "^9.0.0",
99
+ "c8": "^9.1.0",
100
100
  "copyfiles": "^2.4.1",
101
101
  "cross-env": "^7.0.3",
102
102
  "del-cli": "^5.1.0",
@@ -107,9 +107,9 @@
107
107
  "github-label-sync": "^2.3.1",
108
108
  "husky": "^8.0.3",
109
109
  "np": "^9.2.0",
110
- "prettier": "^3.1.1",
110
+ "prettier": "^3.2.4",
111
111
  "sinon": "^17.0.1",
112
- "supertest": "^6.3.3",
112
+ "supertest": "^6.3.4",
113
113
  "test-console": "^2.0.0",
114
114
  "ts-node": "^10.9.2",
115
115
  "typescript": "^5.3.3"
@@ -124,18 +124,18 @@
124
124
  "@adonisjs/events": "^9.0.0",
125
125
  "@adonisjs/fold": "^10.0.0",
126
126
  "@adonisjs/hash": "^9.0.0",
127
- "@adonisjs/http-server": "^7.0.0",
127
+ "@adonisjs/http-server": "^7.0.1",
128
128
  "@adonisjs/logger": "^6.0.0",
129
129
  "@adonisjs/repl": "^4.0.0",
130
130
  "@paralleldrive/cuid2": "^2.2.2",
131
131
  "@poppinss/macroable": "^1.0.1",
132
- "@poppinss/utils": "^6.7.0",
132
+ "@poppinss/utils": "^6.7.1",
133
133
  "@sindresorhus/is": "^6.0.1",
134
134
  "@types/he": "^1.2.3",
135
135
  "he": "^1.2.0",
136
136
  "parse-imports": "^1.1.2",
137
137
  "pretty-hrtime": "^1.0.3",
138
- "string-width": "^7.0.0",
138
+ "string-width": "^7.1.0",
139
139
  "youch": "^3.3.2",
140
140
  "youch-terminal": "^2.2.3"
141
141
  },