🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

github.com/Rudolph-Miller/minified-diff

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/Rudolph-Miller/minified-diff

v0.0.0-20160126105918-1ba6b433b2bd
Source
Go
Version published
Created
Source

Midified Diff

Get diff from minified files.

Usage

go get github.com/Rudolph-Miller/minified-diff
$GOPATH/bin/minified-diff test/lodash_4_0_0.min.js test/lodash_4_0_1.min.js

Example

$ cat test/sample1
sample
text1
$ cat test/sample2
sample
text2
$ minified-diff test/sample1 test/sample2
 sample
-text1
+text2
$ minified-diff test/sample1 test/sample2 | grep '^+'
text2

FAQs

Package last updated on 26 Jan 2016

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