Skip to content

chore: drop @arethetypeswrong/cli#600

Closed
cryptodev-2s wants to merge 1 commit into
mainfrom
chore/drop-attw
Closed

chore: drop @arethetypeswrong/cli#600
cryptodev-2s wants to merge 1 commit into
mainfrom
chore/drop-attw

Conversation

@cryptodev-2s

Copy link
Copy Markdown
Contributor

Explanation

attw --pack was tail-appended to the test script. The check verifies typed-module export correctness — not validated by any other package in MetaMask/core, so removing it before migration keeps tooling consistent and reduces alert noise from Socket Security.

Changes

  • Remove @arethetypeswrong/cli from devDependencies
  • Simplify test script: "jest && attw --pack""jest"

Why

On the migration PR (MetaMask/core#9130), @arethetypeswrong/cli@0.18.2 pulled in highlight.js@10.7.3 (obfuscated-code alert) and mz@2.7.0 (network + system shell access alerts). All three transitive deps disappear with this change.

Verification

  • yarn build
  • yarn lint
  • yarn test (now jest only) — 196/196 pass

`attw --pack` was tail-appended to the test script. The check
verifies typed-module export correctness, which is not validated
by any other package in the MetaMask/core monorepo. Dropping it:

- removes the @arethetypeswrong/cli devDep and its transitive
  highlight.js + mz deps (which Socket Security flags on the
  migration PR)
- shrinks the test script to plain `jest`

Build, lint, and 196/196 tests remain green.
@cryptodev-2s cryptodev-2s requested a review from a team as a code owner June 15, 2026 16:31
@cryptodev-2s cryptodev-2s self-assigned this Jun 15, 2026
@cryptodev-2s cryptodev-2s requested a review from Mrtenz June 15, 2026 16:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants