File size: 1,842 Bytes
bc20498
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
# master

# 2.0.0

* port to typescript

# 1.0.2

* fix type module export thanks @dfreeman

# 1.0.1

* fix errors in type definitions thanks @dfreeman

# 1.0.0

* no changes

# v0.5.9

* publish typescript types thanks @amiller-gh

# v0.5.8

* add typescript types thanks @amiller-gh

# v0.5.7

* avoid errors when attempting to unlink a file that has already been removed.

# v0.5.5

* add `Entry.fromStat` thanks @trentmwillis
* add `applyPatch` and `calculateAndApplyPatch` thanks @trentmwillis

# v0.5.4

* Fix remove-before-add bug.  Thanks @dfreeman for excellent bug investigation

# v0.5.3

* Add `FSTree.prototype.addEntries` thanks @chriseppstein

# v0.5.2

* bump version of heimdalljs-logger

# v0.5.1

* replace direct use of debug with heimdalljs-logger

# v0.5.0

* [BREAKING] drop `unlinkdir` and `linkDir` as operations.  Downstream can
  implement this by examining entries, eg by marking them beforehand as
  broccoli-merge-trees does.
* [BREAKING] `unlink` and `rmdir` operations are now passed the entry
* [BREAKING] entries must be lexigraphicaly sorted by relative path.  To do this
  implicitly, use `sortAndExpand`.
* [BREAKING] entries must include intermediate directories.  To do this
  implicitly, use `sortAndExpand`.
* reworked implementation to diff via two sorted arrays
* performance improvements
* return entires as-provided, preserving user-specified metadata
* directories in patches always end with a trailing slash
* fixes various issues related to directory state transitions
* directories can now receive `change` patches if user-supplied `meta` has
  property changes

# v0.4.4

* throw errors on duplicate entries (previous behavior was unspecified)

# v0.4.2

* coerce time to number before comparison

# v0.4.1

* add `:` in debug namespace for ecosystem consistency

# v0.4.0

* initial release