@adonisjs/repl 5.0.0-next.1 → 5.0.0-next.2
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 +9 -1
- package/package.json +7 -7
package/build/index.js
CHANGED
|
@@ -17,7 +17,9 @@ const GLOBAL_NODE_PROPERTIES = [
|
|
|
17
17
|
"btoa",
|
|
18
18
|
"fetch",
|
|
19
19
|
"crypto",
|
|
20
|
-
"navigator"
|
|
20
|
+
"navigator",
|
|
21
|
+
"localStorage",
|
|
22
|
+
"sessionStorage"
|
|
21
23
|
];
|
|
22
24
|
const TS_UTILS_HELPERS = [
|
|
23
25
|
"__extends",
|
|
@@ -175,6 +177,12 @@ var Repl = class {
|
|
|
175
177
|
output: process.stdout,
|
|
176
178
|
terminal: process.stdout.isTTY && !Number.parseInt(process.env.NODE_NO_READLINE, 10),
|
|
177
179
|
useGlobal: true,
|
|
180
|
+
writer(output) {
|
|
181
|
+
return inspect(output, {
|
|
182
|
+
showProxy: false,
|
|
183
|
+
colors: true
|
|
184
|
+
});
|
|
185
|
+
},
|
|
178
186
|
...this.#replOptions
|
|
179
187
|
});
|
|
180
188
|
if (context) Object.keys(context).forEach((key) => {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adonisjs/repl",
|
|
3
3
|
"description": "REPL for AdonisJS",
|
|
4
|
-
"version": "5.0.0-next.
|
|
4
|
+
"version": "5.0.0-next.2",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=24.0.0"
|
|
7
7
|
},
|
|
@@ -34,14 +34,14 @@
|
|
|
34
34
|
"@adonisjs/prettier-config": "^1.4.5",
|
|
35
35
|
"@adonisjs/tsconfig": "^2.0.0-next.3",
|
|
36
36
|
"@poppinss/ts-exec": "^1.4.1",
|
|
37
|
-
"@release-it/conventional-changelog": "^10.0.
|
|
38
|
-
"@types/node": "^25.0.
|
|
37
|
+
"@release-it/conventional-changelog": "^10.0.4",
|
|
38
|
+
"@types/node": "^25.0.8",
|
|
39
39
|
"del-cli": "^7.0.0",
|
|
40
40
|
"eslint": "^9.39.2",
|
|
41
|
-
"prettier": "^3.
|
|
42
|
-
"release-it": "^19.
|
|
43
|
-
"tsdown": "^0.
|
|
44
|
-
"typedoc": "^0.28.
|
|
41
|
+
"prettier": "^3.8.0",
|
|
42
|
+
"release-it": "^19.2.3",
|
|
43
|
+
"tsdown": "^0.19.0",
|
|
44
|
+
"typedoc": "^0.28.16",
|
|
45
45
|
"typescript": "^5.9.3"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|