Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,6 @@
"acorn-walk": "^8.1.1",
"arg": "^4.1.0",
"diff": "^4.0.1",
"glob": "^10.0.0",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes of this commit are actually fixing the previous commit, so it shouldn't be a separate commit.

"make-error": "^1.1.1",
"pretty-repl": "^3.1.1",
"v8-compile-cache-lib": "^3.0.1"
Expand Down
5 changes: 2 additions & 3 deletions src/repl.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import type * as _diff from 'diff';
import { homedir } from 'os';
import { join, basename } from 'path';
import { join } from 'path';
import { Recoverable, ReplOptions, REPLServer } from 'repl';
import { start as nodeReplStart } from 'pretty-repl';
import { Context, createContext, Script } from 'vm';
import { Context, Script } from 'vm';
import { Service, CreateOptions, TSError, env } from './index';
import { readFileSync, statSync } from 'fs';
import { Console } from 'console';
Expand All @@ -13,7 +13,6 @@ import type * as Module from 'module';
import { builtinModules } from 'module';
import { tsSupportsMtsCtsExts } from './file-extensions';

import { globSync } from 'glob';
// Lazy-loaded.
let _processTopLevelAwait: (src: string) => string | null;
function getProcessTopLevelAwait() {
Expand Down
46 changes: 0 additions & 46 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2021,18 +2021,6 @@ __metadata:
languageName: node
linkType: hard

"glob@npm:^10.0.0":
version: 10.0.0
resolution: "glob@npm:10.0.0"
dependencies:
fs.realpath: ^1.0.0
minimatch: ^9.0.0
minipass: ^5.0.0
path-scurry: ^1.6.4
checksum: 3852a6b847106c431d87fb3e8cccb6cfc4449de3ab5d0216c44d4e2da2616df220058050d16811c42f0c2148ad8981da828227ae5c5ab798091ef27c903429f6
languageName: node
linkType: hard

"glob@npm:^7.1.3, glob@npm:^7.1.4, glob@npm:^7.1.6, glob@npm:^7.1.7":
version: 7.2.3
resolution: "glob@npm:7.2.3"
Expand Down Expand Up @@ -2691,13 +2679,6 @@ __metadata:
languageName: node
linkType: hard

"lru-cache@npm:^9.0.0":
version: 9.0.2
resolution: "lru-cache@npm:9.0.2"
checksum: 83961e582f4458f56bb33e11a9c16b2a5b693f625650c465d92bf2e47c9869de36a5930ea7368106f3915f66ed05414ab89eaa8af9f66c86dd53234af8362e9a
languageName: node
linkType: hard

"lunr@npm:^2.3.9":
version: 2.3.9
resolution: "lunr@npm:2.3.9"
Expand Down Expand Up @@ -2840,15 +2821,6 @@ __metadata:
languageName: node
linkType: hard

"minimatch@npm:^9.0.0":
version: 9.0.0
resolution: "minimatch@npm:9.0.0"
dependencies:
brace-expansion: ^2.0.1
checksum: 7bd57899edd1d1b0560f50b5b2d1ea4ad2a366c5a2c8e0a943372cf2f200b64c256bae45a87a80915adbce27fa36526264296ace0da57b600481fe5ea3e372e5
languageName: node
linkType: hard

"minipass-collect@npm:^1.0.2":
version: 1.0.2
resolution: "minipass-collect@npm:1.0.2"
Expand Down Expand Up @@ -2909,13 +2881,6 @@ __metadata:
languageName: node
linkType: hard

"minipass@npm:^5.0.0":
version: 5.0.0
resolution: "minipass@npm:5.0.0"
checksum: 425dab288738853fded43da3314a0b5c035844d6f3097a8e3b5b29b328da8f3c1af6fc70618b32c29ff906284cf6406b6841376f21caaadd0793c1d5a6a620ea
languageName: node
linkType: hard

"minizlib@npm:^2.1.1, minizlib@npm:^2.1.2":
version: 2.1.2
resolution: "minizlib@npm:2.1.2"
Expand Down Expand Up @@ -3243,16 +3208,6 @@ __metadata:
languageName: node
linkType: hard

"path-scurry@npm:^1.6.4":
version: 1.6.4
resolution: "path-scurry@npm:1.6.4"
dependencies:
lru-cache: ^9.0.0
minipass: ^5.0.0
checksum: bd5262b51dc35b0d6f0b1d4fa4445789839982bd649904f18fe43717ecc3021d2313a80768b56cd0428f5ca50d740a6c609e747cd6a053efaa802e07eb5b7b18
languageName: node
linkType: hard

"path-type@npm:^4.0.0":
version: 4.0.0
resolution: "path-type@npm:4.0.0"
Expand Down Expand Up @@ -3939,7 +3894,6 @@ __metadata:
diff: ^4.0.1
dprint: ^0.25.0
expect: 27.0.2
glob: ^10.0.0
lodash: ^4.17.15
make-error: ^1.1.1
nyc: ^15.0.1
Expand Down