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

quickfix

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

quickfix

Detects and saves local changes to dependencies that are protected by .gitignore.

latest
Source
npmnpm
Version
1.0.4
Version published
Maintainers
1
Created
Source

Why?

You've worked 8,000 million-bazillion hours on 4 cups of coffee a minute trying to fix some stupid bug. It's 2am. If it's not fixed by morning Australia will cease to be a country.

You've found it. It's in a dependency of a dependency of a dependency. You've gone one too many layers deep. Making a mirror is gonna take too much time so you just edit the code directly.

You can't commit node_modules. Your code's gonna be deleted.

Poof. Gone. Never to be seen again.

but wait

But wait.

  • Wait
  • Wait
  • Wait

Hold up.

There's a stupid solution. An amazing, Australia-saving, stupid solution:

$ quickfix push

Quickfix will save your changes to a __quickfix__ folder, and then later you can run quickfix to update your node_modules with your 2am decisions once again.

Boom. Work saved.

Installation

Local (preferred)

$ yarn add --dev quickfix

Add npm-scripts and add quickfix as a postinstall hook in your package.json:

{
  "scripts": {
    "quickfix": "quickfix",
    "quickfix:push": "quickfix push",
    "postinstall": "quickfix"
  }
}

After making changes in node_modules run the command:

$ yarn quickfix:push

To update changes after installing a workspace using quickfix run:

$ yarn quickfix

Global

$ yarn global add quickfix

Add quickfix as a postinstall hook in your package.json:

{
  "postinstall": "quickfix"
}

After making changes in node_modules run the command:

$ quickfix push

To update changes after installing a workspace using quickfix run:

$ quickfix

FAQs

Package last updated on 30 May 2018

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