New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@parallaxagency/file-modified

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@parallaxagency/file-modified

Detect changed/missing files

  • 1.0.0
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-88.89%
Maintainers
1
Weekly downloads
 
Created
Source

Notes

Todo

  • Add --ignore-dir flag.

This library compares two directories against each other and outputs a list of files that are missing or modified in the destination directory.

Usage

file-modified img/ dist/img

Output

{
  src: "img/",
  dest: "dist/img",
  updated: [],
  missing: ["img/test/subsub/maxresdefault.jpg"],
  files: ["img/test/subsub/maxresdefault.jpg"]
}

This can then be piped to the image-min library so we don't keep re-running image optimisation on each build.

Example screencast

asciicast

FAQs

Package last updated on 07 Feb 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

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