Skip to content

Commit b56942b

Browse files
DumpySquareclaude
andcommitted
Fix: Remove broken zlib dependency and fix ESM import order
- Remove zlib npm package from dependencies. The code uses Node.js built-in zlib module, not the npm package. The npm zlib package uses deprecated node-waf and fails to install on modern systems. - Fix import order in index.ts. The default export must come after the import statement to prevent "Cannot access before initialization" error when compiled to CommonJS. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 658556e commit b56942b

2 files changed

Lines changed: 3 additions & 12 deletions

File tree

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@
8282
"tar-stream": "^3.1.7",
8383
"uuid": "^13.0.0",
8484
"xregexp": "^5.1.2",
85-
"yargs": "^18.0.0",
86-
"zlib": "^1.0.5"
85+
"yargs": "^18.0.0"
8786
}
8887
}

src/index.ts

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,9 @@
11
'use strict';
22

3+
import BigipConfig from './ltm';
34

45
export * from './ltm';
5-
66
export * from './models';
7+
export { RegExTree } from './regex';
78

8-
export { RegExTree } from './regex'
9-
10-
11-
12-
// export default bigipConfig = _BigipConfig;
139
export default BigipConfig;
14-
15-
16-
17-
import BigipConfig from './ltm';

0 commit comments

Comments
 (0)