@tstdl/base 0.88.0-alpha4 → 0.88.0-alpha5

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/utils/repl.js +2 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tstdl/base",
3
- "version": "0.88.0-alpha4",
3
+ "version": "0.88.0-alpha5",
4
4
  "author": "Patrick Hein",
5
5
  "publishConfig": {
6
6
  "access": "public"
package/utils/repl.js CHANGED
@@ -1,11 +1,12 @@
1
1
  import { objectEntries } from './object/object.js';
2
2
  import { isDefined } from './type-guards.js';
3
+ import { dynamicImport } from '../import.js';
3
4
  /**
4
5
  * Starts an interactive (repl) session (node only)
5
6
  * @param context context to set the repl context to
6
7
  */
7
8
  export async function repl(options) {
8
- const { start: startRepl } = await import('node:repl');
9
+ const { start: startRepl } = await dynamicImport('node:repl');
9
10
  const replServer = startRepl(options);
10
11
  if (isDefined(options?.context)) {
11
12
  for (const [key, value] of objectEntries(options.context)) {