1.0.4 • Published 2 years ago

@tamkelvin313/firewalker v1.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

npm version

The clone of SerCeMan/firewalker, with adding apple silicon support. For the document please reference the orginal repo.

Apple Silcon (M1) support issue for npm plugin firewalker

The npm package firewalker depends on binary build of wirefilter to run and execute the firewall rules to perform js based unit test. However,the binary build inside the npm package is x86 based, not support with apple silcon machine, bring some troublesome during development.

The following is the guideline to resolve the problem and this plugin is only the clone with below modification

cargo build --release --target aarch64-apple-darwin
  • Copy the birary file compiled at last step wirefilter/target/aarch64-apple-darwin/release/libwirefilter_ffi.dylib to replace the node_modules/firewalker/lib/libwirefilter_ffi.dylib