Skip to content

Commit 6b88ed4

Browse files
committed
Use npm package import for capstone.js instead of vendor copy
Replace the vendored capstone.min.js with the import from the @alexaltea/capstone-js npm package, as suggested in code review. This avoids duplicating the library in the repository while the npm dependency was already declared in package.json.
1 parent bf64fad commit 6b88ed4

2 files changed

Lines changed: 1 addition & 7966 deletions

File tree

src/core/operations/DisassembleARM.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
import Operation from "../Operation.mjs";
88
import OperationError from "../errors/OperationError.mjs";
99
import { isWorkerEnvironment } from "../Utils.mjs";
10-
import cs from "../vendor/capstone.min.js";
10+
import cs from "@alexaltea/capstone-js/dist/capstone.min.js";
1111

1212
/**
1313
* Disassemble ARM operation

src/core/vendor/capstone.min.js

Lines changed: 0 additions & 7965 deletions
This file was deleted.

0 commit comments

Comments
 (0)