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.1.0
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

watskeburt

get git changed files & their statusses 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: NOT yet published on npm
  • :warning: in the process of getting 'production ready'. It's automatically tested + it's using itself + interface is stable - but a bunch of static analysis still needs be added, as well as a commonjs version.
  • :warning: currently esm only - commonjs compiledown will follow as part of the previous point.

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