
Security News
PodRocket Podcast: Inside the Recent npm Supply Chain Attacks
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
swiftformat-staged
Advanced tools
Formats staged swift code using swift-format
npm install -g swiftformat-staged
swiftformat-staged [pathToProjectRoot]
Path to project root is optional and defaults to current path. Path must be the root of a valid git project with at least one commit Staged changes are formatted:
1 staged patch(es) found
Formatting "App/Login/LoginViewController.swift"
Formatted changes are not staged automatically
This is a beta project. Because it operates on staged files, there is no risk of data loss on applied files.
However to make it easier to undo formatting operations, it is recommended to stage all changes before running.
This way all formatting can be undone by discarding all unstaged changes
swiftformat
argumentsFAQs
Format modified lines in your swift files
We found that swiftformat-staged demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.