You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket
Sign inDemoInstall
Socket

nano-staged

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nano-staged - npm Package Compare versions

Comparing version

to
0.8.0

3

lib/config.js

@@ -14,2 +14,3 @@ import { resolve, parse } from 'path'

`nano-staged.json`,
`.nanostagedrc`,
'package.json',

@@ -22,3 +23,3 @@ ]

if (ext === '.json') {
if (ext === '.json' || name === '.nanostagedrc') {
const config = JSON.parse(fs.readFileSync(path, 'utf-8'))

@@ -25,0 +26,0 @@ return name === 'package' ? config['nano-staged'] : config

{
"name": "nano-staged",
"version": "0.7.0",
"version": "0.8.0",
"description": "Tiny tool to run commands for modified, staged, and committed git files.",

@@ -5,0 +5,0 @@ "author": "Usman Yunusov <usman.iunusov@gmail.com>",