tar 6.0.0 → 6.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md ADDED
@@ -0,0 +1,66 @@
1
+ # Charge Long
2
+
3
+ ## 6.0
4
+
5
+ - Drop support for node 6 and 8
6
+ - fix symlinks and hardlinks on windows being packed with `\`-style path
7
+ targets
8
+
9
+ ## 5.0
10
+
11
+ - Address unpack race conditions using path reservations
12
+ - Change large-numbers errors from TypeError to Error
13
+ - Add `TAR_*` error codes
14
+ - do not treat ignored entries as an invalid archive
15
+ - drop support for node v4
16
+ - unpack: conditionally use a file mapping to write files on Windows
17
+ - Set more portable 'mode' value in portable mode
18
+ - Set `portable` gzip option in portable mode
19
+
20
+ ## 4.4
21
+
22
+ - Add 'mtime' option to tar creation to force mtime
23
+ - unpack: only reuse file fs entries if nlink = 1
24
+ - unpack: rename before unlinking files on Windows
25
+ - Fix encoding/decoding of base-256 numbers
26
+ - Use `stat` instead of `lstat` when checking CWD
27
+ - Always provide a callback to fs.close()
28
+
29
+ ## 4.3
30
+
31
+ - Add 'transform' unpack option
32
+
33
+ ## 4.2
34
+
35
+ - Fail when zlib fails
36
+
37
+ ## 4.1
38
+
39
+ - Add noMtime flag for tar creation
40
+
41
+ ## 4.0
42
+
43
+ - unpack: raise error if cwd is missing or not a dir
44
+ - pack: don't drop dots from dotfiles when prefixing
45
+
46
+ ## 3.1
47
+
48
+ - Support `@file.tar` as an entry argument to copy entries from one tar
49
+ file to another.
50
+ - Add `noPax` option
51
+ - `noResume` option for tar.t
52
+ - win32: convert `>|<?:` chars to windows-friendly form
53
+ - Exclude mtime for dirs in portable mode
54
+
55
+ ## 3.0
56
+
57
+ - Minipass-based implementation
58
+ - Entirely new API surface, `tar.c()`, `tar.x()` etc., much closer to
59
+ system tar semantics
60
+ - Massive performance improvement
61
+ - Require node 4.x and higher
62
+
63
+ ## 0.x, 1.x, 2.x - 2011-2014
64
+
65
+ - fstream-based implementation
66
+ - slow and kinda bad, but better than npm shelling out to the system `tar`
@@ -174,14 +174,14 @@ const WriteEntry = warner(class WriteEntry extends MiniPass {
174
174
  }
175
175
 
176
176
  [ONREADLINK] (linkpath) {
177
- this.linkpath = linkpath
177
+ this.linkpath = linkpath.replace(/\\/g, '/')
178
178
  this[HEADER]()
179
179
  this.end()
180
180
  }
181
181
 
182
182
  [HARDLINK] (linkpath) {
183
183
  this.type = 'Link'
184
- this.linkpath = path.relative(this.cwd, linkpath)
184
+ this.linkpath = path.relative(this.cwd, linkpath).replace(/\\/g, '/')
185
185
  this.stat.size = 0
186
186
  this[HEADER]()
187
187
  this.end()
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "author": "Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me/)",
3
3
  "name": "tar",
4
4
  "description": "tar for node",
5
- "version": "6.0.0",
5
+ "version": "6.0.1",
6
6
  "repository": {
7
7
  "type": "git",
8
8
  "url": "https://github.com/npm/node-tar.git"