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.
This commit is contained in:
parent
bf64fad392
commit
6b88ed42f5
@ -7,7 +7,7 @@
|
||||
import Operation from "../Operation.mjs";
|
||||
import OperationError from "../errors/OperationError.mjs";
|
||||
import { isWorkerEnvironment } from "../Utils.mjs";
|
||||
import cs from "../vendor/capstone.min.js";
|
||||
import cs from "@alexaltea/capstone-js/dist/capstone.min.js";
|
||||
|
||||
/**
|
||||
* Disassemble ARM operation
|
||||
|
||||
7965
src/core/vendor/capstone.min.js
vendored
7965
src/core/vendor/capstone.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user