npm upgrade
Homesuperstruct 0 → 1
0.16.7 → 1.0.4. What the package's exports lost, renamed or changed between the two releases, from lurq's extraction of both published tarballs.
superstruct 1.0.4 changes how many arguments some functions take.
- Removed
- 0
- Renamed
- 0
- Signature changes
- 8
- Types removed
- 0
- Newly deprecated
- 1
- Added
- 0
Does this break your code?
Run this in your project. It compares both releases against the names your code actually imports, locally, with no account and nothing sent to lurq:
npx lurqrun check-upgrade --upgrade superstruct@0.16.7..1.0.4
To have your coding agent check upgrades like this before it writes them, connect lurq to Claude Code, Cursor, VS Code or Codex:
npx lurqrun
Signature changes
Still exported, but the number of arguments it reads changed.
- assert2 → 3 arguments
- create2 → 3 arguments
- defaulted3 → 2 arguments
- mask2 → 3 arguments
- max3 → 2 arguments
- min3 → 2 arguments
- size3 → 2 arguments
- validate3 → 2 arguments
Newly deprecated
Still exported in 1.0.4, marked deprecated.
- struct
An export diff shows what a release removed or re-signatured, not behaviour changes: read the changelog for those. Extracted Oct 20, 2026. superstruct on lurq.