Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

watskeburt

Package Overview
Dependencies
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

watskeburt

list files changed since a git reference

  • 0.2.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
263K
decreased by-14.21%
Maintainers
1
Weekly downloads
 
Created
Source

watskeburt

get git changed files & their statuses since any reference

what's this do?

A micro-lib to retrieve an array of file names that were changed (added, modified, renamed, deleted, ...) since the reference it got passed.

  • :warning: in the process of getting 'production ready'. It's automatically tested + it's using itself - but a bunch of static analysis and a bit of automation still needs be added.
  • Interface is stable-ish, but can can change until 1.0.0 is published

sample return value

[
  { "name": "doc/cli.md", "changeType": "modified" },
  {
    "name": "test/report/mermaid/mermaid.spec.mjs",
    "changeType": "renamed",
    "oldName": "test/configs/plugins/mermaid-reporter-plugin/module-level/index.spec.mjs",
    "similarity": 66
  },
  { "name": "src/not-tracked-yet.mjs", "changeType": "untracked" }
  // ...
]

cli

For now there's also a simple command line interface

Usage: watskeburt [options] <reference>

lists files since <reference>

Options:
  -T, --output-type <type>  json,regex (default: "regex")
  --tracked-only            only take tracked files into account (default: false)
  -h, --help                display help for command

Keywords

FAQs

Package last updated on 07 Jul 2022

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc