Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

disparity

Package Overview
Dependencies
Maintainers
2
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

disparity - npm Package Compare versions

Comparing version 3.1.0 to 3.2.0

6

CHANGELOG.md
# disparity changelog
## v3.2.0 (2021/01/20)
- Add support to `context` opt in `unified` function
## v3.1.0
- Add type definitions for TypeScript support

@@ -4,0 +10,0 @@

2

disparity.js

@@ -149,3 +149,3 @@ 'use strict';

var changes = stringDiff.createPatch('', str1, str2, '', '');
var changes = stringDiff.createPatch('', str1, str2, '', '', { context: opts.context });

@@ -152,0 +152,0 @@ // remove first 2 lines (header)

{
"name": "disparity",
"version": "3.1.0",
"version": "3.2.0",
"description": "Colorized string diff ideal for text/code that spans through multiple lines",
"main": "disparity.js",
"types": "disparity.d.ts",
"bin": "bin/disparity",
"bin": {
"disparity": "bin/disparity"
},
"scripts": {

@@ -9,0 +11,0 @@ "test": "node test/runner.js"

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