Skip to content

Commit e457732

Browse files
authored
chore: remove debug dependency (#9)
1 parent 70e106d commit e457732

4 files changed

Lines changed: 7 additions & 47 deletions

File tree

package-lock.json

Lines changed: 1 addition & 38 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,12 @@
3232
},
3333
"homepage": "https://github.com/indutny/llparse-builder#readme",
3434
"devDependencies": {
35-
"@types/debug": "4.1.5 ",
3635
"@types/node": "^20.16.1",
3736
"borp": "^0.17.0",
3837
"tslint": "^5.20.1",
3938
"typescript": "^5.5.4"
4039
},
4140
"dependencies": {
42-
"binary-search": "^1.3.6",
43-
"debug": "^4.2.0"
41+
"binary-search": "^1.3.6"
4442
}
4543
}

src/loop-checker/index.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
1-
import * as assert from 'assert';
2-
import * as debugAPI from 'debug';
1+
import { debuglog } from 'node:util';
32

43
import { Node } from '../node';
54
import { Reachability } from '../reachability';
65
import { Lattice } from './lattice';
76

8-
const debug = debugAPI('llparse-builder:loop-checker');
7+
const debug = debuglog('llparse-builder:loop-checker');
98

109
const EMPTY_VALUE = new Lattice('empty');
1110
const ANY_VALUE = new Lattice('any');

src/span-allocator.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
import * as assert from 'assert';
2-
import * as debugAPI from 'debug';
1+
import * as assert from 'node:assert';
2+
import { debuglog } from 'node:util';
33

44
import { Node, SpanEnd, SpanStart } from './node';
55
import { Reachability } from './reachability';
66
import { Span } from './span';
77

8-
const debug = debugAPI('llparse-builder:span-allocator');
8+
const debug = debuglog('llparse-builder:span-allocator');
99

1010
type SpanSet = Set<Span>;
1111

0 commit comments

Comments
 (0)