Skip to content

Commit 3cbf548

Browse files
committed
chore(project): rename library to diffpatch
1 parent 6d3c717 commit 3cbf548

File tree

2 files changed

+14
-9
lines changed

2 files changed

+14
-9
lines changed

README.md

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
> As of version `1.0.0` this library exposes ES modules. Use an ES module aware transpiler such as Webpack, Rollup or Browserify + babelify to bundle it for the browser.
1+
> As of version `0.5.0` this library exposes ES modules. Use an ES module aware transpiler such as Webpack, Rollup or Browserify + babelify to bundle it for the browser.
22
33

4-
# @bpmn-io/jsondiffpatch
4+
# diffpatch
55

66
[![Build Status](https://secure.travis-ci.org/bpmn-io/jsondiffpatch.svg)](http://travis-ci.org/bpmn-io/jsondiffpatch)
77

@@ -13,7 +13,7 @@ Diff and patch JavaScript objects.
1313
```javascript
1414
import {
1515
DiffPatcher
16-
} from '@bpmn-io/jsondiffpatch';
16+
} from 'diffpatch';
1717

1818
const diffPatcher = new DiffPatcher();
1919

@@ -59,7 +59,7 @@ const diff = diffPatcher.diff(man, woman);
5959
import {
6060
DiffPatcher,
6161
dateReviver
62-
} from '@bpmn-io/jsondiffpatch';
62+
} from 'diffpatch';
6363

6464
var diffPatch = new DiffPatcher();
6565

@@ -105,7 +105,7 @@ Array diffing:
105105
```javascript
106106
import {
107107
DiffPatcher
108-
} from '@bpmn-io/jsondiffpatch';
108+
} from 'diffpatch';
109109

110110
// sample data
111111
var country = {
@@ -196,7 +196,7 @@ If you want to understand deltas, see [delta format documentation](docs/deltas.m
196196
## Installing
197197

198198
```sh
199-
npm i @bpmn-io/jsondiffpatch
199+
npm i diffpatch
200200
```
201201

202202

@@ -250,6 +250,11 @@ We provide a number of diff formatters, check them out [here](docs/formatters.md
250250
Check [Plugins documentation](docs/plugins.md) for details.
251251

252252

253+
## Credits
254+
255+
This library is a fork of [jsondiffpatch](https://github.com/benjamine/jsondiffpatch) and borrows heavily from the original implementation.
256+
257+
253258
## License
254259

255260
MIT

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"name": "@bpmn-io/jsondiffpatch",
2+
"name": "diffpatch",
33
"version": "0.3.9",
44
"author": "Benjamin Eidelman <beneidel@gmail.com>",
5-
"description": "Diff & Patch for Javascript objects",
5+
"description": "Diff and patch Javascript objects",
66
"contributors": [
77
"Benjamin Eidelman <beneidel@gmail.com>",
88
"bpmn.io Contributors <https://bpmn.io>"
@@ -25,7 +25,7 @@
2525
},
2626
"repository": {
2727
"type": "git",
28-
"url": "https://github.com/bpmn-io/jsondiffpatch.git"
28+
"url": "https://github.com/bpmn-io/diffpatch.git"
2929
},
3030
"keywords": [
3131
"json",

0 commit comments

Comments
 (0)