@2toad/diff-match-patch
Advanced tools
Comparing version 1.0.1 to 1.0.2
{ | ||
"name": "@2toad/diff-match-patch", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Diff Match and Patch", | ||
@@ -12,3 +12,3 @@ "author": "2Toad", | ||
], | ||
"main": "diff_match_patch.js", | ||
"main": "diff-match-patch.js", | ||
"directories": { | ||
@@ -15,0 +15,0 @@ "test": "tests" |
@@ -7,3 +7,2 @@ | ||
[![Build Status](https://img.shields.io/travis/2Toad/diff-match-patch/master.svg)](https://travis-ci.org/2Toad/diff-match-patch) | ||
[![Dependency Status](https://img.shields.io/david/2Toad/diff-match-patch.svg)](https://david-dm.org/2Toad/diff-match-patch) | ||
[![NPM version](https://img.shields.io/npm/v/@2toad/diff-match-patch.svg)](https://www.npmjs.com/package/@2toad/diff-match-patch) | ||
@@ -14,3 +13,3 @@ [![Known Vulnerabilities](https://snyk.io/test/github/2Toad/diff-match-patch/badge.svg)](https://snyk.io/test/github/2Toad/diff-match-patch) | ||
npm install diff-match-patch | ||
npm install @2toad/diff-match-patch | ||
@@ -20,3 +19,3 @@ ## Usage | ||
```javascript | ||
var DiffMatchPatch = require('diff-match-patch'); // or window.diff_match_patch | ||
var DiffMatchPatch = require('@2toad/diff-match-patch'); // or window.diff_match_patch | ||
var dmp = new DiffMatchPatch(); | ||
@@ -106,2 +105,2 @@ var diff = dmp.diff_main('Good dog', 'Bad dog'); | ||
API Reference: https://code.google.com/archive/p/google-diff-match-patch/wikis/API.wiki | ||
API Reference: https://code.google.com/archive/p/google-diff-match-patch/wikis/API.wiki |
@@ -6,3 +6,3 @@ /* | ||
* | ||
* Version: 1.0.1 | ||
* Version: 1.0.2 | ||
*/ | ||
@@ -9,0 +9,0 @@ |
Sorry, the diff of this file is too big to display
7
136277