New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

git-filter

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

git-filter - npm Package Compare versions

Comparing version
2.0.0
to
2.0.1
+19
publish.md
# How to publish a new version
Make sure you're logged into npm (`npm whoami`).
```bash
# 1. Bump version (choose one)
npm version patch # 2.0.0 → 2.0.1
npm version minor # 2.0.0 → 2.1.0
npm version major # 2.0.0 → 3.0.0
# 2. Push the commit and tag
git push --follow-tags
# 3. Create a GitHub release
gh release create v$(node -p "require('./package.json').version") --generate-notes
# 4. Publish to npm
npm publish
```
+1
-1
{
"name": "git-filter",
"version": "2.0.0",
"version": "2.0.1",
"description": "Create a filtered copy of a git repo with full commit history preserved",

@@ -5,0 +5,0 @@ "main": "index.js",

#!/usr/bin/env bash
VERSION=$(node index.js --version)
git tag -a v${VERSION} -m "Publish ${VERSION}"
npm publish
git push --tags origin master