Socket
Socket
Sign inDemoInstall

gitlog

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gitlog - npm Package Compare versions

Comparing version 3.3.6 to 4.0.0

12

CHANGELOG.md

@@ -0,1 +1,13 @@

# v4.0.0 (Mon Apr 13 2020)
#### 💥 Breaking Change
- update readme to fix cjs usage [#53](https://github.com/domharrington/node-gitlog/pull/53) ([@hipstersmoothie](https://github.com/hipstersmoothie))
#### Authors: 1
- Andrew Lisowski ([@hipstersmoothie](https://github.com/hipstersmoothie))
---
# v3.3.6 (Thu Apr 09 2020)

@@ -2,0 +14,0 @@

2

package.json
{
"name": "gitlog",
"version": "3.3.6",
"version": "4.0.0",
"description": "Git log parser for Node.JS",

@@ -5,0 +5,0 @@ "module": "dist/gitlog.esm.js",

@@ -17,3 +17,3 @@ # node-gitlog

```js
const gitlog = require("gitlog");
const gitlog = require("gitlog").default;

@@ -38,4 +38,6 @@ const options = {

const { gitlogPromise } = require("gitlog");
// Asynchronous (with Promise)
gitlog(options)
gitlogPromise(options)
.then((commits) => console.log(commits))

@@ -42,0 +44,0 @@ .catch((err) => console.log(err));

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