UNPKG

44.4 kBMarkdownView Raw
1# Change Log
2
3All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
5<a name="9.5.12"></a>
6## [9.5.12](https://github.com/npm/pacote/compare/v9.5.11...v9.5.12) (2020-01-06)
7
8
9### Bug Fixes
10
11* **git:** Do not drop uid/gid when executing in root-owned directory ([d2f4176](https://github.com/npm/pacote/commit/d2f4176))
12
13
14
15<a name="9.5.11"></a>
16## [9.5.11](https://github.com/npm/pacote/compare/v9.5.10...v9.5.11) (2019-12-09)
17
18
19### Bug Fixes
20
21* sanitize and normalize package bin field ([6f229f7](https://github.com/npm/pacote/commit/6f229f7))
22
23
24
25<a name="9.5.10"></a>
26## [9.5.10](https://github.com/npm/pacote/compare/v9.5.9...v9.5.10) (2019-12-04)
27
28
29### Bug Fixes
30
31* Do not drop perms in git when not root ([5f33040](https://github.com/npm/pacote/commit/5f33040)), closes [#23](https://github.com/npm/pacote/issues/23)
32
33
34
35<a name="9.5.9"></a>
36## [9.5.9](https://github.com/npm/pacote/compare/v9.5.8...v9.5.9) (2019-10-29)
37
38
39### Bug Fixes
40
41* include peerDependenciesMeta in manifest ([7a400d3](https://github.com/npm/pacote/commit/7a400d3)), closes [/github.com/npm/cli/pull/224#issuecomment-547666807](https://github.com//github.com/npm/cli/pull/224/issues/issuecomment-547666807)
42
43
44
45<a name="9.5.8"></a>
46## [9.5.8](https://github.com/npm/pacote/compare/v9.5.7...v9.5.8) (2019-08-20)
47
48
49
50<a name="9.5.7"></a>
51## [9.5.7](https://github.com/npm/pacote/compare/v9.5.6...v9.5.7) (2019-08-19)
52
53
54### Bug Fixes
55
56* do not try to chown if not running as root ([bbc5da3](https://github.com/npm/pacote/commit/bbc5da3))
57
58
59
60<a name="9.5.6"></a>
61## [9.5.6](https://github.com/npm/pacote/compare/v9.5.5...v9.5.6) (2019-08-15)
62
63
64### Bug Fixes
65
66* **extract:** chown properly when more than one directory is made ([5161828](https://github.com/npm/pacote/commit/5161828))
67
68
69
70<a name="9.5.5"></a>
71## [9.5.5](https://github.com/npm/pacote/compare/v9.5.4...v9.5.5) (2019-08-12)
72
73
74### Bug Fixes
75
76* don't pass uid/gid to cacache ([0a0c73c](https://github.com/npm/pacote/commit/0a0c73c))
77* Infer owner of all unpacked files ([f12e7ef](https://github.com/npm/pacote/commit/f12e7ef))
78* invalid arg detection in extract() ([b4dc363](https://github.com/npm/pacote/commit/b4dc363)), closes [#5](https://github.com/npm/pacote/issues/5) [#6](https://github.com/npm/pacote/issues/6)
79
80
81
82<a name="9.5.4"></a>
83## [9.5.4](https://github.com/npm/pacote/compare/v9.5.3...v9.5.4) (2019-07-16)
84
85
86### Bug Fixes
87
88* **git:** ensure stream failures are reported ([7f07b5d](https://github.com/npm/pacote/commit/7f07b5d)), closes [#1](https://github.com/npm/pacote/issues/1)
89
90
91
92<a name="9.5.3"></a>
93## [9.5.3](https://github.com/npm/pacote/compare/v9.5.2...v9.5.3) (2019-07-16)
94
95
96
97<a name="9.5.2"></a>
98## [9.5.2](https://github.com/npm/pacote/compare/v9.5.1...v9.5.2) (2019-07-12)
99
100
101### Bug Fixes
102
103* always pass uid/gid to cacache.put ([3d08925](https://github.com/npm/pacote/commit/3d08925))
104
105
106
107<a name="9.5.1"></a>
108## [9.5.1](https://github.com/npm/pacote/compare/v9.5.0...v9.5.1) (2019-06-17)
109
110
111### Bug Fixes
112
113* **audit:** npm audit fix ([127a28b](https://github.com/npm/pacote/commit/127a28b))
114* **errors:** Fix "TypeError: err.code.match is not a function" error ([#170](https://github.com/npm/pacote/issues/170)) ([92f5e4c](https://github.com/zkat/pacote/commit/92f5e4c))
115* **git:** limit retry times, avoid unlimited retries ([#172](https://github.com/npm/pacote/issues/172)) ([8bbd051](https://github.com/zkat/pacote/commit/8bbd051))
116
117
118
119<a name="9.5.0"></a>
120# [9.5.0](https://github.com/npm/pacote/compare/v9.4.1...v9.5.0) (2019-02-18)
121
122
123### Features
124
125* **enjoy-by:** add `before` as an alias to enjoy-by ([75d62b7](https://github.com/npm/pacote/commit/75d62b7))
126
127
128
129<a name="9.4.1"></a>
130## [9.4.1](https://github.com/npm/pacote/compare/v9.4.0...v9.4.1) (2019-01-24)
131
132
133### Bug Fixes
134
135* **directory, finalize-manifest:** strip byte order marker from JSON ([723ad63](https://github.com/npm/pacote/commit/723ad63))
136
137
138
139<a name="9.4.0"></a>
140# [9.4.0](https://github.com/npm/pacote/compare/v9.3.0...v9.4.0) (2019-01-14)
141
142
143### Features
144
145* **registry:** fall back to fullfat if something might be wrong with corgis ([0e71d6b](https://github.com/npm/pacote/commit/0e71d6b))
146
147
148
149<a name="9.3.0"></a>
150# [9.3.0](https://github.com/npm/pacote/compare/v9.2.3...v9.3.0) (2018-12-21)
151
152
153### Bug Fixes
154
155* **git, file:** properly catch otherwise unhandled errors ([89d4897](https://github.com/npm/pacote/commit/89d4897))
156* **test:** set umask opt to fix extract-stream 'accepts dmode/fmode/umask opts' ([e51de83](https://github.com/npm/pacote/commit/e51de83))
157
158
159### Features
160
161* **git:** accept git path option ([#164](https://github.com/npm/pacote/issues/164)) ([f06c8c5](https://github.com/zkat/pacote/commit/f06c8c5))
162
163
164
165<a name="9.2.3"></a>
166## [9.2.3](https://github.com/npm/pacote/compare/v9.2.2...v9.2.3) (2018-10-31)
167
168
169
170<a name="9.2.2"></a>
171## [9.2.2](https://github.com/npm/pacote/compare/v9.2.1...v9.2.2) (2018-10-31)
172
173
174
175<a name="9.2.1"></a>
176## [9.2.1](https://github.com/npm/pacote/compare/v9.2.0...v9.2.1) (2018-10-31)
177
178
179
180<a name="9.2.0"></a>
181# [9.2.0](https://github.com/npm/pacote/compare/v9.1.1...v9.2.0) (2018-10-30)
182
183
184### Features
185
186* **enjoyBy:** add opts.enjoy-by option ([7df399c](https://github.com/npm/pacote/commit/7df399c))
187
188
189
190<a name="9.1.1"></a>
191## [9.1.1](https://github.com/npm/pacote/compare/v9.1.0...v9.1.1) (2018-10-26)
192
193
194### Bug Fixes
195
196* **deps:** bump protoduck to remove CC0-1.0 license in dep ([3d9d9a6](https://github.com/npm/pacote/commit/3d9d9a6))
197* **git:** Fix temp directory permissions for git fetcher ([#159](https://github.com/npm/pacote/issues/159)) ([97c3aeb](https://github.com/zkat/pacote/commit/97c3aeb))
198* **packument:** group together all registry specs in silly log ([2333a17](https://github.com/npm/pacote/commit/2333a17))
199* **standard:** standard --fix ([0ecb188](https://github.com/npm/pacote/commit/0ecb188))
200
201
202
203<a name="9.1.0"></a>
204# [9.1.0](https://github.com/npm/pacote/compare/v9.0.0...v9.1.0) (2018-08-15)
205
206
207### Bug Fixes
208
209* **docs:** tweaking ToC ([1eeb8a0](https://github.com/npm/pacote/commit/1eeb8a0))
210* **packument:** take accept header into account when memoizing ([3c637e8](https://github.com/npm/pacote/commit/3c637e8))
211
212
213### Features
214
215* **aliases:** add support for registry alias specs ([b173f26](https://github.com/npm/pacote/commit/b173f26))
216* **packument:** add packument api ([97888d9](https://github.com/npm/pacote/commit/97888d9))
217
218
219
220<a name="9.0.0"></a>
221# [9.0.0](https://github.com/npm/pacote/compare/v8.1.6...v9.0.0) (2018-07-31)
222
223
224### Bug Fixes
225
226* **travis:** idk why travis was failing ([ab593c9](https://github.com/npm/pacote/commit/ab593c9))
227
228
229### Features
230
231* **config:** convert to use figgy-pudding ([0b5bb82](https://github.com/npm/pacote/commit/0b5bb82))
232* **log:** use process.emit-style logging by default ([29ff8b3](https://github.com/npm/pacote/commit/29ff8b3))
233* **registry:** switch to npm-registry-fetch ([c43d6b0](https://github.com/npm/pacote/commit/c43d6b0))
234
235
236### BREAKING CHANGES
237
238* **log:** pacote will start emitting events on the process object by default now, instead of doing silent logging
239* **registry:** config has changed significantly, especially
240for auth and registry-related configs. Refer to README.md
241for available options.
242
243
244
245<a name="8.1.6"></a>
246## [8.1.6](https://github.com/npm/pacote/compare/v8.1.5...v8.1.6) (2018-05-24)
247
248
249
250<a name="8.1.5"></a>
251## [8.1.5](https://github.com/npm/pacote/compare/v8.1.4...v8.1.5) (2018-05-22)
252
253
254
255<a name="8.1.4"></a>
256## [8.1.4](https://github.com/npm/pacote/compare/v8.1.3...v8.1.4) (2018-05-22)
257
258
259
260<a name="8.1.3"></a>
261## [8.1.3](https://github.com/npm/pacote/compare/v8.1.2...v8.1.3) (2018-05-20)
262
263
264### Bug Fixes
265
266* **deps:** try reverting tar ([574ecff](https://github.com/npm/pacote/commit/574ecff))
267* **extract-stream:** address "write after end" issue ([#151](https://github.com/npm/pacote/issues/151)) ([50ed408](https://github.com/zkat/pacote/commit/50ed408)), closes [#142](https://github.com/zkat/pacote/issues/142)
268
269
270
271<a name="8.1.2"></a>
272## [8.1.2](https://github.com/npm/pacote/compare/v8.1.1...v8.1.2) (2018-05-16)
273
274
275### Bug Fixes
276
277* **extract-stream:** nudge things to stop write-after-end heisenbug, hopefully ([a398715](https://github.com/npm/pacote/commit/a398715))
278
279
280
281<a name="8.1.1"></a>
282## [8.1.1](https://github.com/npm/pacote/compare/v8.1.0...v8.1.1) (2018-04-24)
283
284
285### Bug Fixes
286
287* **tarball:** Remove promise handler error ([#148](https://github.com/npm/pacote/issues/148)) ([47da3f6](https://github.com/zkat/pacote/commit/47da3f6)), closes [#145](https://github.com/zkat/pacote/issues/145)
288
289
290
291<a name="8.1.0"></a>
292# [8.1.0](https://github.com/npm/pacote/compare/v8.0.0...v8.1.0) (2018-04-18)
293
294
295### Bug Fixes
296
297* **git:** workaround for mississippi.finished intermitent failures ([#144](https://github.com/npm/pacote/issues/144)) ([788fd13](https://github.com/zkat/pacote/commit/788fd13)), closes [#143](https://github.com/zkat/pacote/issues/143)
298
299
300### Features
301
302* **tarball:** calculate shasum when missing, not just integrity ([#149](https://github.com/npm/pacote/issues/149)) ([ccc6e90](https://github.com/zkat/pacote/commit/ccc6e90))
303
304
305
306<a name="8.0.0"></a>
307# [8.0.0](https://github.com/npm/pacote/compare/v7.6.1...v8.0.0) (2018-04-12)
308
309
310### Bug Fixes
311
312* **git:** make full clones do a full mirror ([85b269b](https://github.com/npm/pacote/commit/85b269b))
313
314
315### deps
316
317* bump deps ([6737bf6](https://github.com/npm/pacote/commit/6737bf6))
318
319
320### meta
321
322* drop support for node@4 ([11478ff](https://github.com/npm/pacote/commit/11478ff))
323
324
325### BREAKING CHANGES
326
327* some dependencies were upgraded to versions that do not
328support node@4.
329* node@4 is no longer supported
330
331
332
333<a name="7.6.1"></a>
334## [7.6.1](https://github.com/npm/pacote/compare/v7.6.0...v7.6.1) (2018-03-08)
335
336
337### Bug Fixes
338
339* **standard:** update to new standard rules ([bb52d02](https://github.com/npm/pacote/commit/bb52d02))
340
341
342
343<a name="7.6.0"></a>
344# [7.6.0](https://github.com/npm/pacote/compare/v7.5.3...v7.6.0) (2018-03-08)
345
346
347### Features
348
349* **git:** added retry logic for all git operations. ([#136](https://github.com/npm/pacote/issues/136)) ([425c58d](https://github.com/zkat/pacote/commit/425c58d))
350
351
352
353<a name="7.5.3"></a>
354## [7.5.3](https://github.com/npm/pacote/compare/v7.5.2...v7.5.3) (2018-03-02)
355
356
357### Bug Fixes
358
359* **tarball:** stop dropping stream errors on the floor ([3db03c2](https://github.com/npm/pacote/commit/3db03c2))
360
361
362
363<a name="7.5.2"></a>
364## [7.5.2](https://github.com/npm/pacote/compare/v7.5.1...v7.5.2) (2018-03-02)
365
366
367### Bug Fixes
368
369* **console:** remove spurious debugging console.log :< ([5b8b509](https://github.com/npm/pacote/commit/5b8b509))
370
371
372
373<a name="7.5.1"></a>
374## [7.5.1](https://github.com/npm/pacote/compare/v7.5.0...v7.5.1) (2018-03-01)
375
376
377### Bug Fixes
378
379* **tarball:** catch errors thrown from stream handler ([bdd6628](https://github.com/npm/pacote/commit/bdd6628))
380
381
382
383<a name="7.5.0"></a>
384# [7.5.0](https://github.com/npm/pacote/compare/v7.4.2...v7.5.0) (2018-03-01)
385
386
387### Features
388
389* **logging:** let users know when file: resolved packages fail integrity check ([0fb8037](https://github.com/npm/pacote/commit/0fb8037))
390
391
392
393<a name="7.4.2"></a>
394## [7.4.2](https://github.com/npm/pacote/compare/v7.4.1...v7.4.2) (2018-02-23)
395
396
397### Bug Fixes
398
399* **deps:** move mkdirp and rimraf to dependencies ([#140](https://github.com/npm/pacote/issues/140)) ([bba20c8](https://github.com/zkat/pacote/commit/bba20c8)), closes [#128](https://github.com/zkat/pacote/issues/128)
400
401
402
403<a name="7.4.1"></a>
404## [7.4.1](https://github.com/npm/pacote/compare/v7.4.0...v7.4.1) (2018-02-23)
405
406
407### Bug Fixes
408
409* **tarball:** fix spurious errors from tarball.stream() ([0286ba5](https://github.com/npm/pacote/commit/0286ba5))
410
411
412
413<a name="7.4.0"></a>
414# [7.4.0](https://github.com/npm/pacote/compare/v7.3.3...v7.4.0) (2018-02-17)
415
416
417### Features
418
419* **tarball:** support file: opts.resolved shortcut ([a6cf279](https://github.com/npm/pacote/commit/a6cf279))
420
421
422
423<a name="7.3.3"></a>
424## [7.3.3](https://github.com/npm/pacote/compare/v7.3.2...v7.3.3) (2018-02-15)
425
426
427### Bug Fixes
428
429* **tarball:** another attempt at fixing opts.resolved ([aff3b6a](https://github.com/npm/pacote/commit/aff3b6a))
430
431
432
433<a name="7.3.2"></a>
434## [7.3.2](https://github.com/npm/pacote/compare/v7.3.1...v7.3.2) (2018-02-15)
435
436
437### Bug Fixes
438
439* **tarball:** opts.resolved impl was triggering extra registry lookups ([0a4729d](https://github.com/npm/pacote/commit/0a4729d))
440
441
442
443<a name="7.3.1"></a>
444## [7.3.1](https://github.com/npm/pacote/compare/v7.3.0...v7.3.1) (2018-02-14)
445
446
447### Bug Fixes
448
449* **tarball:** stop using mississippi.pipe() in tarball.js and extract.js ([f5c1da9](https://github.com/npm/pacote/commit/f5c1da9))
450
451
452
453<a name="7.3.0"></a>
454# [7.3.0](https://github.com/npm/pacote/compare/v7.2.0...v7.3.0) (2018-02-07)
455
456
457### Bug Fixes
458
459* **git:** fix resolution of prerelease versions ([#130](https://github.com/npm/pacote/issues/130)) ([83be46b](https://github.com/zkat/pacote/commit/83be46b)), closes [#129](https://github.com/zkat/pacote/issues/129)
460
461
462### Features
463
464* **extract:** append _resolved and _integrity automatically ([#134](https://github.com/npm/pacote/issues/134)) ([6886b65](https://github.com/zkat/pacote/commit/6886b65))
465
466
467
468<a name="7.2.0"></a>
469# [7.2.0](https://github.com/npm/pacote/compare/v7.1.1...v7.2.0) (2018-01-19)
470
471
472### Features
473
474* **resolved:** tarball shortcut when opts.resolved is provided ([46a2f58](https://github.com/npm/pacote/commit/46a2f58))
475
476
477
478<a name="7.1.1"></a>
479## [7.1.1](https://github.com/npm/pacote/compare/v7.1.0...v7.1.1) (2018-01-08)
480
481
482### Bug Fixes
483
484* **publish:** a spurious file was included in the previous release ([296741a](https://github.com/npm/pacote/commit/296741a))
485
486
487
488<a name="7.1.0"></a>
489# [7.1.0](https://github.com/npm/pacote/compare/v7.0.2...v7.1.0) (2018-01-07)
490
491
492### Bug Fixes
493
494* **security:** deep-update debug due to vulnerabilities ([ff16da7](https://github.com/npm/pacote/commit/ff16da7))
495
496
497### Features
498
499* **resolved:** add opts.resolved for cache stuff ([#131](https://github.com/npm/pacote/issues/131)) ([149a4b5](https://github.com/zkat/pacote/commit/149a4b5))
500
501
502
503<a name="7.0.2"></a>
504## [7.0.2](https://github.com/npm/pacote/compare/v7.0.1...v7.0.2) (2017-11-28)
505
506
507### Bug Fixes
508
509* **git:** only resolvedRefs can be shallow-cloned ([899720f](https://github.com/npm/pacote/commit/899720f))
510
511
512
513<a name="7.0.1"></a>
514## [7.0.1](https://github.com/npm/pacote/compare/v7.0.0...v7.0.1) (2017-11-15)
515
516
517### Bug Fixes
518
519* **git:** use resolved ref if available when doing a full clone (#125) ([46ca45a](https://github.com/npm/pacote/commit/46ca45a)), closes [#125](https://github.com/zkat/pacote/issues/125)
520* **move:** bump cacache for some cross-platform move fixes ([eebdcda](https://github.com/npm/pacote/commit/eebdcda))
521* **test:** missed a spot converting tests to promises ([c43caed](https://github.com/npm/pacote/commit/c43caed))
522
523
524
525<a name="7.0.0"></a>
526# [7.0.0](https://github.com/npm/pacote/compare/v6.1.0...v7.0.0) (2017-11-15)
527
528
529### Bug Fixes
530
531* **docs:** You totally should use pacote now (#126) ([d49a9b5](https://github.com/npm/pacote/commit/d49a9b5))
532* **git:** stop generating integrity for git ([d45363b](https://github.com/npm/pacote/commit/d45363b))
533* **integrity:** stop defaulting to sha1 hashes ([62f8cdf](https://github.com/npm/pacote/commit/62f8cdf))
534* **license:** relicense to MIT for OSI-compat ([ba6b3e0](https://github.com/npm/pacote/commit/ba6b3e0))
535
536
537### Features
538
539* **tarball:** add externall pacote.tarball() api ([e30bd49](https://github.com/npm/pacote/commit/e30bd49))
540
541
542### prefetch
543
544* deprecate pacote.prefetch ([e47e521](https://github.com/npm/pacote/commit/e47e521))
545
546
547### BREAKING CHANGES
548
549* **license:** The license has changed from CC0-1.0 to MIT, which is less permissive and also OSI-approved.
550* pacote.prefetch is deprecated in favor of pacote.tarball
551
552
553
554<a name="6.1.0"></a>
555# [6.1.0](https://github.com/npm/pacote/compare/v6.0.4...v6.1.0) (2017-10-19)
556
557
558### Bug Fixes
559
560* **git:** use actual default git branch instead of assuming master (#122) ([79ce949](https://github.com/npm/pacote/commit/79ce949))
561* **npa:** ensure spec is a valid npa instance ([1757b2b](https://github.com/npm/pacote/commit/1757b2b))
562
563
564### Features
565
566* **selection:** add opts.includeDeprecated (#123) ([2001549](https://github.com/npm/pacote/commit/2001549))
567
568
569
570<a name="6.0.4"></a>
571## [6.0.4](https://github.com/npm/pacote/compare/v6.0.3...v6.0.4) (2017-10-05)
572
573
574### Bug Fixes
575
576* **file:** include integrity hash for streamed tarballs too ([030cee7](https://github.com/npm/pacote/commit/030cee7))
577
578
579
580<a name="6.0.3"></a>
581## [6.0.3](https://github.com/npm/pacote/compare/v6.0.2...v6.0.3) (2017-10-05)
582
583
584### Bug Fixes
585
586* **extract:** clean up mode/fmode/dmode tests ([f915045](https://github.com/npm/pacote/commit/f915045))
587* **file:** make sure file tarballs are written to cache and have integrity data ([dae391a](https://github.com/npm/pacote/commit/dae391a))
588* **git:** version resolution regression from #115 (#119) ([9a68205](https://github.com/npm/pacote/commit/9a68205))
589
590
591
592<a name="6.0.2"></a>
593## [6.0.2](https://github.com/npm/pacote/compare/v6.0.1...v6.0.2) (2017-09-06)
594
595
596### Bug Fixes
597
598* **extract:** preserve executable perms on extracted files ([19b3dfd](https://github.com/npm/pacote/commit/19b3dfd))
599
600
601### Performance Improvements
602
603* replace some calls to .match() with .starts/endsWith() (#115) ([192a02f](https://github.com/npm/pacote/commit/192a02f))
604
605
606
607<a name="6.0.1"></a>
608## [6.0.1](https://github.com/npm/pacote/compare/v6.0.0...v6.0.1) (2017-08-22)
609
610
611### Bug Fixes
612
613* **finalize:** insist on getting a package.json ([f72ee91](https://github.com/npm/pacote/commit/f72ee91))
614
615
616
617<a name="6.0.0"></a>
618# [6.0.0](https://github.com/npm/pacote/compare/v5.0.1...v6.0.0) (2017-08-19)
619
620
621### Bug Fixes
622
623* **tar:** bring back the .gitignore -> .npmignore logic (#113) ([0dd518e](https://github.com/npm/pacote/commit/0dd518e))
624
625
626### BREAKING CHANGES
627
628* **tar:** this reverts a previous change to disable this feature.
629
630
631
632<a name="5.0.1"></a>
633## [5.0.1](https://github.com/npm/pacote/compare/v5.0.0...v5.0.1) (2017-08-17)
634
635
636### Bug Fixes
637
638* **tar:** chown directories on extract as well ([2fa4598](https://github.com/npm/pacote/commit/2fa4598))
639
640
641
642<a name="5.0.0"></a>
643# [5.0.0](https://github.com/npm/pacote/compare/v4.0.0...v5.0.0) (2017-08-16)
644
645
646### Bug Fixes
647
648* **registry:** Pass maxSockets options down (#110) ([3f05b79](https://github.com/npm/pacote/commit/3f05b79))
649
650
651### Features
652
653* **deps:** replace tar-fs/tar-stream with tar[@3](https://github.com/3) ([28c80a9](https://github.com/npm/pacote/commit/28c80a9))
654* **tar:** switch to tarv3 ([53899c7](https://github.com/npm/pacote/commit/53899c7))
655
656
657### BREAKING CHANGES
658
659* **tar:** this changes the underlying tar library, and thus may introduce some subtle low-level incompatibility. Also:
660
661* The tarball packer built into pacote works much closer to how the one npm injects does.
662* Special characters on Windows will now be escaped the way tar(1) usually does: by replacing them with the `0xf000` masked character on the way out.
663* Directories won't be chowned.
664
665
666
667<a name="4.0.0"></a>
668# [4.0.0](https://github.com/npm/pacote/compare/v3.0.0...v4.0.0) (2017-06-29)
669
670
671### Bug Fixes
672
673* **extract:** revert uid/gid change ([41852e0](https://github.com/npm/pacote/commit/41852e0))
674
675
676### BREAKING CHANGES
677
678* **extract:** behavior for setting uid/gid on extracted contents was restored to what it was in pacote@2
679
680
681
682<a name="3.0.0"></a>
683# [3.0.0](https://github.com/npm/pacote/compare/v2.7.38...v3.0.0) (2017-06-29)
684
685
686### Bug Fixes
687
688* **extract:** always extract as current user gid/uid ([6fc01a5](https://github.com/npm/pacote/commit/6fc01a5))
689
690
691### BREAKING CHANGES
692
693* **extract:** pacote will no longer set ownership of extracted
694contents -- uid/gid will *only* be used for the cache and other internal
695details.
696
697
698
699<a name="2.7.38"></a>
700## [2.7.38](https://github.com/npm/pacote/compare/v2.7.37...v2.7.38) (2017-06-29)
701
702
703### Bug Fixes
704
705* **manifest:** bump npm-pick-manifest for loose semver fix ([b3d45ef](https://github.com/npm/pacote/commit/b3d45ef))
706
707
708
709<a name="2.7.37"></a>
710## [2.7.37](https://github.com/npm/pacote/compare/v2.7.36...v2.7.37) (2017-06-29)
711
712
713### Bug Fixes
714
715* **deps:** bump deps for fixes ([f156655](https://github.com/npm/pacote/commit/f156655))
716
717
718
719<a name="2.7.36"></a>
720## [2.7.36](https://github.com/npm/pacote/compare/v2.7.35...v2.7.36) (2017-06-10)
721
722
723### Bug Fixes
724
725* **deps:** update tar-fs with the special characters patch (#102) ([ed43aa3](https://github.com/npm/pacote/commit/ed43aa3))
726
727
728
729<a name="2.7.35"></a>
730## [2.7.35](https://github.com/npm/pacote/compare/v2.7.34...v2.7.35) (2017-06-09)
731
732
733### Bug Fixes
734
735* **registry:** only print one 199 warning (#100) ([b395138](https://github.com/npm/pacote/commit/b395138))
736
737
738
739<a name="2.7.34"></a>
740## [2.7.34](https://github.com/npm/pacote/compare/v2.7.33...v2.7.34) (2017-06-09)
741
742
743### Bug Fixes
744
745* **git:** whitelist specific shallow-cloneable hosts ([b210cc8](https://github.com/npm/pacote/commit/b210cc8))
746
747
748
749<a name="2.7.33"></a>
750## [2.7.33](https://github.com/npm/pacote/compare/v2.7.32...v2.7.33) (2017-06-08)
751
752
753### Bug Fixes
754
755* **git:** better error reporting when ls-remote fails ([10aae8f](https://github.com/npm/pacote/commit/10aae8f))
756
757
758
759<a name="2.7.32"></a>
760## [2.7.32](https://github.com/npm/pacote/compare/v2.7.31...v2.7.32) (2017-06-07)
761
762
763### Bug Fixes
764
765* **registry:** print both 111 and 199 warnings ([2f8c201](https://github.com/npm/pacote/commit/2f8c201))
766
767
768
769<a name="2.7.31"></a>
770## [2.7.31](https://github.com/npm/pacote/compare/v2.7.30...v2.7.31) (2017-06-06)
771
772
773### Bug Fixes
774
775* **extract:** always return a bluebird promise ([06ca91d](https://github.com/npm/pacote/commit/06ca91d))
776* **registry:** bump make-fetch-happen for local cache header issue fix ([868615c](https://github.com/npm/pacote/commit/868615c))
777
778
779
780<a name="2.7.30"></a>
781## [2.7.30](https://github.com/npm/pacote/compare/v2.7.29...v2.7.30) (2017-06-05)
782
783
784### Bug Fixes
785
786* **ssri:** bump ssri for bugfix ([70a859c](https://github.com/npm/pacote/commit/70a859c))
787
788
789
790<a name="2.7.29"></a>
791## [2.7.29](https://github.com/npm/pacote/compare/v2.7.28...v2.7.29) (2017-06-05)
792
793
794### Bug Fixes
795
796* **registry:** use cert instead of certfile opt ([a45880d](https://github.com/npm/pacote/commit/a45880d))
797
798
799
800<a name="2.7.28"></a>
801## [2.7.28](https://github.com/npm/pacote/compare/v2.7.27...v2.7.28) (2017-06-05)
802
803
804### Bug Fixes
805
806* **git:** limit ls-remote output to heads/tags (#97) ([c1e3dcd](https://github.com/npm/pacote/commit/c1e3dcd))
807* **proxy:** send certificate authority, key and other options (#95) ([c4b6128](https://github.com/npm/pacote/commit/c4b6128))
808* **registry:** add support for global auth and _auth token (#96) ([7919fb7](https://github.com/npm/pacote/commit/7919fb7))
809* **registry:** emit npm-session header (#98) ([9816b18](https://github.com/npm/pacote/commit/9816b18))
810
811
812
813<a name="2.7.27"></a>
814## [2.7.27](https://github.com/npm/pacote/compare/v2.7.26...v2.7.27) (2017-06-01)
815
816
817### Bug Fixes
818
819* **git:** fix semver range detection. oops ([76d9233](https://github.com/npm/pacote/commit/76d9233))
820
821
822
823<a name="2.7.26"></a>
824## [2.7.26](https://github.com/npm/pacote/compare/v2.7.25...v2.7.26) (2017-06-01)
825
826
827### Bug Fixes
828
829* **git:** hash was not being replaced/appended correctly ([6fcbed5](https://github.com/npm/pacote/commit/6fcbed5))
830
831
832
833<a name="2.7.25"></a>
834## [2.7.25](https://github.com/npm/pacote/compare/v2.7.24...v2.7.25) (2017-05-31)
835
836
837### Bug Fixes
838
839* **git:** git deps were getting _resolved without shasums ([96f0675](https://github.com/npm/pacote/commit/96f0675))
840
841
842
843<a name="2.7.24"></a>
844## [2.7.24](https://github.com/npm/pacote/compare/v2.7.23...v2.7.24) (2017-05-31)
845
846
847### Bug Fixes
848
849* **deps:** update dep versions with new patches ([dc2e4ff](https://github.com/npm/pacote/commit/dc2e4ff))
850
851
852
853<a name="2.7.23"></a>
854## [2.7.23](https://github.com/npm/pacote/compare/v2.7.22...v2.7.23) (2017-05-31)
855
856
857### Bug Fixes
858
859* **git:** fix ls-remote command and throw away ^{} junk ([62ba84d](https://github.com/npm/pacote/commit/62ba84d))
860* **git:** use the parsed git committish from npa ([77a676a](https://github.com/npm/pacote/commit/77a676a))
861
862
863
864<a name="2.7.22"></a>
865## [2.7.22](https://github.com/npm/pacote/compare/v2.7.21...v2.7.22) (2017-05-31)
866
867
868### Bug Fixes
869
870* **git:** accept shortened git hashes (#91) ([4466388](https://github.com/npm/pacote/commit/4466388))
871
872
873
874<a name="2.7.21"></a>
875## [2.7.21](https://github.com/npm/pacote/compare/v2.7.20...v2.7.21) (2017-05-25)
876
877
878### Bug Fixes
879
880* **registry:** stop URIEncoding username/password ([011c9a2](https://github.com/npm/pacote/commit/011c9a2))
881
882
883
884<a name="2.7.20"></a>
885## [2.7.20](https://github.com/npm/pacote/compare/v2.7.19...v2.7.20) (2017-05-25)
886
887
888### Bug Fixes
889
890* **registry:** encode username and password for auth ([c48b651](https://github.com/npm/pacote/commit/c48b651))
891
892
893
894<a name="2.7.19"></a>
895## [2.7.19](https://github.com/npm/pacote/compare/v2.7.18...v2.7.19) (2017-05-25)
896
897
898### Bug Fixes
899
900* **registry:** respect alwaysAuth ([150788a](https://github.com/npm/pacote/commit/150788a))
901
902
903
904<a name="2.7.18"></a>
905## [2.7.18](https://github.com/npm/pacote/compare/v2.7.17...v2.7.18) (2017-05-25)
906
907
908### Bug Fixes
909
910* **cache:** pass uid/gid settings through to mfh ([d8845df](https://github.com/npm/pacote/commit/d8845df))
911* **deps:** update m-f-h for cache opts fix ([faab6cd](https://github.com/npm/pacote/commit/faab6cd))
912
913
914
915<a name="2.7.17"></a>
916## [2.7.17](https://github.com/npm/pacote/compare/v2.7.16...v2.7.17) (2017-05-25)
917
918
919### Bug Fixes
920
921* **deps:** bump cacache ([34bd656](https://github.com/npm/pacote/commit/34bd656))
922
923
924
925<a name="2.7.16"></a>
926## [2.7.16](https://github.com/npm/pacote/compare/v2.7.15...v2.7.16) (2017-05-24)
927
928
929### Bug Fixes
930
931* **deps:** pull in various fixes from deps ([4354703](https://github.com/npm/pacote/commit/4354703))
932
933
934
935<a name="2.7.15"></a>
936## [2.7.15](https://github.com/npm/pacote/compare/v2.7.14...v2.7.15) (2017-05-24)
937
938
939### Bug Fixes
940
941* **proxy:** bump m-f-h with more patches ([26d4170](https://github.com/npm/pacote/commit/26d4170))
942
943
944
945<a name="2.7.14"></a>
946## [2.7.14](https://github.com/npm/pacote/compare/v2.7.13...v2.7.14) (2017-05-24)
947
948
949### Bug Fixes
950
951* **proxy:** pull in new m-f-h with fixed http proxies ([d6a14e0](https://github.com/npm/pacote/commit/d6a14e0))
952
953
954
955<a name="2.7.13"></a>
956## [2.7.13](https://github.com/npm/pacote/compare/v2.7.12...v2.7.13) (2017-05-23)
957
958
959### Bug Fixes
960
961* **deps:** bump dep versions to fix http redirect issues ([b23a9fa](https://github.com/npm/pacote/commit/b23a9fa))
962
963
964
965<a name="2.7.12"></a>
966## [2.7.12](https://github.com/npm/pacote/compare/v2.7.11...v2.7.12) (2017-05-16)
967
968
969### Bug Fixes
970
971* **fetch:** fix default userAgent ([4b9d344](https://github.com/npm/pacote/commit/4b9d344))
972* **registry:** log failed requests too ([0f23f06](https://github.com/npm/pacote/commit/0f23f06))
973* **remote:** send a useful pkg id header for remote tarballs ([ac13356](https://github.com/npm/pacote/commit/ac13356))
974
975
976
977<a name="2.7.11"></a>
978## [2.7.11](https://github.com/npm/pacote/compare/v2.7.10...v2.7.11) (2017-05-12)
979
980
981### Bug Fixes
982
983* **fetch:** make it play nicer with bundlers ([67cd713](https://github.com/npm/pacote/commit/67cd713))
984
985
986
987<a name="2.7.10"></a>
988## [2.7.10](https://github.com/npm/pacote/compare/v2.7.9...v2.7.10) (2017-05-12)
989
990
991### Bug Fixes
992
993* **logging:** shhhhhhh ([e7ea56e](https://github.com/npm/pacote/commit/e7ea56e))
994* **manifest:** _resolved is the only main field we do not overwrite ([4c12421](https://github.com/npm/pacote/commit/4c12421))
995
996
997
998<a name="2.7.9"></a>
999## [2.7.9](https://github.com/npm/pacote/compare/v2.7.8...v2.7.9) (2017-05-09)
1000
1001
1002### Bug Fixes
1003
1004* **git:** Resolve to ref git specs w/o committishes (#88) ([cb885f5](https://github.com/npm/pacote/commit/cb885f5)), closes [#88](https://github.com/zkat/pacote/issues/88)
1005
1006
1007
1008<a name="2.7.8"></a>
1009## [2.7.8](https://github.com/npm/pacote/compare/v2.7.7...v2.7.8) (2017-05-07)
1010
1011
1012### Bug Fixes
1013
1014* **git:** integrity hash was not always emitted ([97ed9e1](https://github.com/npm/pacote/commit/97ed9e1))
1015
1016
1017
1018<a name="2.7.7"></a>
1019## [2.7.7](https://github.com/npm/pacote/compare/v2.7.6...v2.7.7) (2017-05-06)
1020
1021
1022### Bug Fixes
1023
1024* **auth:** redirects no longer send auth to different host ([82e78c5](https://github.com/npm/pacote/commit/82e78c5))
1025
1026
1027
1028<a name="2.7.6"></a>
1029## [2.7.6](https://github.com/npm/pacote/compare/v2.7.5...v2.7.6) (2017-05-05)
1030
1031
1032### Bug Fixes
1033
1034* **git:** only use longpaths on win32 because old gits ([32846fc](https://github.com/npm/pacote/commit/32846fc))
1035
1036
1037
1038<a name="2.7.5"></a>
1039## [2.7.5](https://github.com/npm/pacote/compare/v2.7.4...v2.7.5) (2017-05-04)
1040
1041
1042### Bug Fixes
1043
1044* **registry-key:** Use pathname instead of path in registryKey (#85) ([5339831](https://github.com/npm/pacote/commit/5339831))
1045
1046
1047
1048<a name="2.7.4"></a>
1049## [2.7.4](https://github.com/npm/pacote/compare/v2.7.3...v2.7.4) (2017-05-04)
1050
1051
1052### Bug Fixes
1053
1054* **pick-manifest:** fix =1.2.3 semver range requests ([dd6911c](https://github.com/npm/pacote/commit/dd6911c))
1055
1056
1057
1058<a name="2.7.3"></a>
1059## [2.7.3](https://github.com/npm/pacote/compare/v2.7.2...v2.7.3) (2017-05-04)
1060
1061
1062### Bug Fixes
1063
1064* **pick-manifest:** spaces in requested version are now trimmed out ([6422b28](https://github.com/npm/pacote/commit/6422b28))
1065
1066
1067
1068<a name="2.7.2"></a>
1069## [2.7.2](https://github.com/npm/pacote/compare/v2.7.1...v2.7.2) (2017-05-04)
1070
1071
1072### Bug Fixes
1073
1074* **extract:** missing or corrupted content properly re-fetched again ([46f60c2](https://github.com/npm/pacote/commit/46f60c2))
1075
1076
1077
1078<a name="2.7.1"></a>
1079## [2.7.1](https://github.com/npm/pacote/compare/v2.7.0...v2.7.1) (2017-05-01)
1080
1081
1082### Bug Fixes
1083
1084* **logging:** log specs correctly on extract ([4b5bab0](https://github.com/npm/pacote/commit/4b5bab0))
1085* **manifest:** obey opts.preferOnline when fetching from memoized ([26928a7](https://github.com/npm/pacote/commit/26928a7))
1086
1087
1088
1089<a name="2.7.0"></a>
1090# [2.7.0](https://github.com/npm/pacote/compare/v2.6.0...v2.7.0) (2017-04-29)
1091
1092
1093### Bug Fixes
1094
1095* **registry:** stop using integrity hashes for metadata. again. ([4595ab2](https://github.com/npm/pacote/commit/4595ab2))
1096
1097
1098### Features
1099
1100* **manifest:** include _shasum for legacy compat ([b3a7eed](https://github.com/npm/pacote/commit/b3a7eed))
1101
1102
1103
1104<a name="2.6.0"></a>
1105# [2.6.0](https://github.com/npm/pacote/compare/v2.5.0...v2.6.0) (2017-04-29)
1106
1107
1108### Features
1109
1110* **manifest:** annotate manifests with _from ([e45e968](https://github.com/npm/pacote/commit/e45e968))
1111
1112
1113
1114<a name="2.5.0"></a>
1115# [2.5.0](https://github.com/npm/pacote/compare/v2.4.0...v2.5.0) (2017-04-28)
1116
1117
1118### Bug Fixes
1119
1120* **registry:** JSON text is not a valid header value ([78951ea](https://github.com/npm/pacote/commit/78951ea))
1121
1122
1123### Features
1124
1125* **memoization:** allow injection and control of memoizers ([d8a2be7](https://github.com/npm/pacote/commit/d8a2be7))
1126
1127
1128
1129<a name="2.4.0"></a>
1130# [2.4.0](https://github.com/npm/pacote/compare/v2.3.2...v2.4.0) (2017-04-27)
1131
1132
1133### Bug Fixes
1134
1135* **tests:** nicer error message on registry 404 ([e8e71c8](https://github.com/npm/pacote/commit/e8e71c8))
1136
1137
1138### Features
1139
1140* **auth:** added basic auth and always-auth support ([548aeb5](https://github.com/npm/pacote/commit/548aeb5))
1141* **proxy:** proxy support for registry and remote deps ([3766bbb](https://github.com/npm/pacote/commit/3766bbb))
1142
1143
1144
1145<a name="2.3.2"></a>
1146## [2.3.2](https://github.com/npm/pacote/compare/v2.3.1...v2.3.2) (2017-04-26)
1147
1148
1149### Bug Fixes
1150
1151* **deps:** reduce deps size with m-f-h upgrade ([ba75461](https://github.com/npm/pacote/commit/ba75461))
1152
1153
1154
1155<a name="2.3.1"></a>
1156## [2.3.1](https://github.com/npm/pacote/compare/v2.3.0...v2.3.1) (2017-04-26)
1157
1158
1159### Bug Fixes
1160
1161* **git:** another attempt at fixing EPERM b.s. ([e445bef](https://github.com/npm/pacote/commit/e445bef))
1162
1163
1164
1165<a name="2.3.0"></a>
1166# [2.3.0](https://github.com/npm/pacote/compare/v2.2.2...v2.3.0) (2017-04-26)
1167
1168
1169### Bug Fixes
1170
1171* **git:** had ENOTSUP error on windows ([ee17c35](https://github.com/npm/pacote/commit/ee17c35))
1172* **memoization:** actually memoize package metadata ([e2078c0](https://github.com/npm/pacote/commit/e2078c0))
1173
1174
1175### Features
1176
1177* **memoization:** better packument memoization + pacote.clearMemoized() ([eb1bd4f](https://github.com/npm/pacote/commit/eb1bd4f))
1178
1179
1180
1181<a name="2.2.2"></a>
1182## [2.2.2](https://github.com/npm/pacote/compare/v2.2.1...v2.2.2) (2017-04-24)
1183
1184
1185### Bug Fixes
1186
1187* **prefetch:** pull in new cacache + fix prefetch hasContent call ([9f476b8](https://github.com/npm/pacote/commit/9f476b8))
1188
1189
1190
1191<a name="2.2.1"></a>
1192## [2.2.1](https://github.com/npm/pacote/compare/v2.2.0...v2.2.1) (2017-04-23)
1193
1194
1195### Bug Fixes
1196
1197* **finalize:** pass on engines/cpu/os ([0a73c78](https://github.com/npm/pacote/commit/0a73c78))
1198
1199
1200
1201<a name="2.2.0"></a>
1202# [2.2.0](https://github.com/npm/pacote/compare/v2.1.2...v2.2.0) (2017-04-22)
1203
1204
1205### Bug Fixes
1206
1207* **git:** fix shortcut fallback order again ([5759d40](https://github.com/npm/pacote/commit/5759d40))
1208* **registry:** fix infinite manifetch loop ([6c6a62b](https://github.com/npm/pacote/commit/6c6a62b))
1209
1210
1211### Features
1212
1213* **manifest:** opts.fullMetadata to get unfiltered manifests ([ff2945b](https://github.com/npm/pacote/commit/ff2945b))
1214
1215
1216
1217<a name="2.1.2"></a>
1218## [2.1.2](https://github.com/npm/pacote/compare/v2.1.1...v2.1.2) (2017-04-20)
1219
1220
1221
1222<a name="2.1.1"></a>
1223## [2.1.1](https://github.com/npm/pacote/compare/v2.1.0...v2.1.1) (2017-04-19)
1224
1225
1226### Bug Fixes
1227
1228* **git:** use sshurl instead of ssh for ssh clones ([ff20803](https://github.com/npm/pacote/commit/ff20803))
1229* **notice:** only log npm-notice if the packument came from network ([eeeb411](https://github.com/npm/pacote/commit/eeeb411))
1230* **registry:** improve 404 error messages ([6a5cbdb](https://github.com/npm/pacote/commit/6a5cbdb))
1231
1232
1233
1234<a name="2.1.0"></a>
1235# [2.1.0](https://github.com/npm/pacote/compare/v2.0.5...v2.1.0) (2017-04-18)
1236
1237
1238### Bug Fixes
1239
1240* **cache:** bump deps for cache fixes ([9596434](https://github.com/npm/pacote/commit/9596434))
1241
1242
1243### Features
1244
1245* **warn:** http warning headers now logged ([f22ce1d](https://github.com/npm/pacote/commit/f22ce1d))
1246
1247
1248
1249<a name="2.0.5"></a>
1250## [2.0.5](https://github.com/npm/pacote/compare/v2.0.4...v2.0.5) (2017-04-18)
1251
1252
1253### Bug Fixes
1254
1255* **file:** oops, the type for these is file ([e7a3d35](https://github.com/npm/pacote/commit/e7a3d35))
1256
1257
1258
1259<a name="2.0.4"></a>
1260## [2.0.4](https://github.com/npm/pacote/compare/v2.0.3...v2.0.4) (2017-04-18)
1261
1262
1263### Bug Fixes
1264
1265* **deps:** remove normalize-git-url ([12d464a](https://github.com/npm/pacote/commit/12d464a))
1266* **git:** Correctly read in the HEAD ref after cloning ([dbe1b15](https://github.com/npm/pacote/commit/dbe1b15))
1267* **git:** The full clone path doesn't have _resolved set ([ddce561](https://github.com/npm/pacote/commit/ddce561))
1268* **manifest:** no _from ever ([15087c4](https://github.com/npm/pacote/commit/15087c4))
1269
1270
1271
1272<a name="2.0.3"></a>
1273## [2.0.3](https://github.com/npm/pacote/compare/v2.0.2...v2.0.3) (2017-04-15)
1274
1275
1276### Bug Fixes
1277
1278* **manifest:** meh just shove _from in there ([4396f09](https://github.com/npm/pacote/commit/4396f09))
1279* **registry:** include CI header ([86ad911](https://github.com/npm/pacote/commit/86ad911))
1280* **registry:** include npm-scope header ([574cd93](https://github.com/npm/pacote/commit/574cd93))
1281* **registry:** make sure to send referer header ([2d3aaac](https://github.com/npm/pacote/commit/2d3aaac))
1282
1283
1284
1285<a name="2.0.2"></a>
1286## [2.0.2](https://github.com/npm/pacote/compare/v2.0.1...v2.0.2) (2017-04-15)
1287
1288
1289### Bug Fixes
1290
1291* **directory:** fix default pack-dir and write a test for it ([9d9266f](https://github.com/npm/pacote/commit/9d9266f))
1292* **extract:** brainfart with extractByManifest fixed. lol. ([a1367fb](https://github.com/npm/pacote/commit/a1367fb))
1293
1294
1295
1296<a name="2.0.1"></a>
1297## [2.0.1](https://github.com/npm/pacote/compare/v2.0.0...v2.0.1) (2017-04-15)
1298
1299
1300### Bug Fixes
1301
1302* **tarball:** missed the local->tarball rename ([ac42dc4](https://github.com/npm/pacote/commit/ac42dc4))
1303
1304
1305
1306<a name="2.0.0"></a>
1307# [2.0.0](https://github.com/npm/pacote/compare/v1.0.0...v2.0.0) (2017-04-15)
1308
1309
1310### Bug Fixes
1311
1312* **api:** use npa[@5](https://github.com/5) for spec parsing (#78) ([3f56298](https://github.com/npm/pacote/commit/3f56298))
1313* **deprecated:** remove underscore from manifest._deprecated ([9f4af93](https://github.com/npm/pacote/commit/9f4af93))
1314* **directory:** add _resolved to directory manifests ([1d305db](https://github.com/npm/pacote/commit/1d305db))
1315* **directory:** return null instead of throwing ([d35630d](https://github.com/npm/pacote/commit/d35630d))
1316* **finalize:** don't try to cache manifests we can't get a good key for ([8ab1758](https://github.com/npm/pacote/commit/8ab1758))
1317* **finalize:** refactored finalize-manifest code + add _integrity=false sentinel ([657b7fa](https://github.com/npm/pacote/commit/657b7fa))
1318* **git:** cleaner handling of git tarball streams when caching ([11acd0a](https://github.com/npm/pacote/commit/11acd0a))
1319* **git:** emit manifests from git tarball handler ([b139d4b](https://github.com/npm/pacote/commit/b139d4b))
1320* **git:** fix .git exclusion, set mtime = 0 to make tarballs idempotent ([9a9fa1b](https://github.com/npm/pacote/commit/9a9fa1b))
1321* **git:** fix fallback order and only fall back on hosted shortcuts ([551cb33](https://github.com/npm/pacote/commit/551cb33))
1322* **git:** fix filling-out of git manifests ([95e807c](https://github.com/npm/pacote/commit/95e807c))
1323* **git:** got dir packer option working with git ([7669b3e](https://github.com/npm/pacote/commit/7669b3e))
1324* **headers:** nudge around some headers to make things behave ([db1e0a1](https://github.com/npm/pacote/commit/db1e0a1))
1325* **manifest:** get rid of resolved-with-non-error warning ([d4d4917](https://github.com/npm/pacote/commit/d4d4917))
1326* **manifest:** stop using digest for manifests ([4ddd2f5](https://github.com/npm/pacote/commit/4ddd2f5))
1327* **opts:** bring opt-check up to date ([564419e](https://github.com/npm/pacote/commit/564419e))
1328* **opts:** rename refreshCache to preferOnline cause much clearer ([94171d6](https://github.com/npm/pacote/commit/94171d6))
1329* **prefetch:** fall back to the _integrity in the manifest if none calculated ([083ac79](https://github.com/npm/pacote/commit/083ac79))
1330* **prefetch:** if there's no stream, just skip (for directory) ([714de91](https://github.com/npm/pacote/commit/714de91))
1331* **registry:** fix error handling for registry tarballs ([e69539f](https://github.com/npm/pacote/commit/e69539f))
1332* **registry:** nudging logging stuff around a bit ([61d62cc](https://github.com/npm/pacote/commit/61d62cc))
1333* **registry:** only send auth info if tarball is hosted on the same registry ([1de5a2b](https://github.com/npm/pacote/commit/1de5a2b))
1334* **registry:** redirect tarball urls to provided registry port+protocol if same host ([f50167e](https://github.com/npm/pacote/commit/f50167e))
1335* **registry:** support memoizing packuments ([e7fff31](https://github.com/npm/pacote/commit/e7fff31))
1336* **registry:** treat registry cache as "private" -- bumps m-f-h ([6fa1503](https://github.com/npm/pacote/commit/6fa1503))
1337
1338
1339### Features
1340
1341* **directory:** implement local dir packing ([017d989](https://github.com/npm/pacote/commit/017d989))
1342* **fetch:** bump make-fetch-happen for new restarts ([cf90716](https://github.com/npm/pacote/commit/cf90716))
1343* **git:** support pulling in git submodules ([5825d33](https://github.com/npm/pacote/commit/5825d33))
1344* **integrity:** replace http client (#72) ([189cdd2](https://github.com/npm/pacote/commit/189cdd2))
1345* **prefetch:** return cache-related info on prefetch ([623b7f3](https://github.com/npm/pacote/commit/623b7f3))
1346* **registry:** allow injection of request agents ([805e5ae](https://github.com/npm/pacote/commit/805e5ae))
1347* **registry:** fast request pooling ([321f84b](https://github.com/npm/pacote/commit/321f84b))
1348* **registry:** registry requests now follow cache spec more closely, respect Age, etc ([9e47098](https://github.com/npm/pacote/commit/9e47098))
1349
1350
1351### BREAKING CHANGES
1352
1353* **api:** spec objects can no longer be realize-package-specifier objects. Pass a string or generate npa@>=5 spec objects to pass in.
1354* **integrity:** This PR replaces a pretty fundamental chunk of pacote.
1355
1356* Caching now follows standard-ish cache rules for http-related requests.
1357
1358* manifest() no longer includes the `_shasum` field. It's been replaced by `_integrity`, which is a Subresource Integrity hash string containing equivalent data. These strings can be parsed and managed using https://npm.im/ssri.
1359
1360* Any functions that accepted `opts.digest` and/or `opts.hashAlgorithm` now expect `opts.integrity` instead.
1361
1362* Packuments and finalized manifests are now cached using sha512. Tarballs can start using that hash (or any other more secure hash) once registries start supporting them: `packument.dist.integrity` will be prioritized over `packument.shasum`.
1363
1364* If opts.offline is used, a `ENOCACHE` error will be returned.
1365
1366
1367
1368<a name="1.0.0"></a>
1369# [1.0.0](https://github.com/npm/pacote/compare/v0.1.1...v1.0.0) (2017-03-17)
1370
1371
1372### Bug Fixes
1373
1374* **extract-stream:** adapt to tar-fs api ([aa21308](https://github.com/npm/pacote/commit/aa21308))
1375* add 'use strict' to all .js files (#26) ([021bd59](https://github.com/npm/pacote/commit/021bd59))
1376* **cache:** this is really a user error, so just throw ([5c9c0fa](https://github.com/npm/pacote/commit/5c9c0fa))
1377* **deps:** cacache[@5](https://github.com/5).0.3 ([37cddc5](https://github.com/npm/pacote/commit/37cddc5))
1378* **deps:** tar-fs[@1](https://github.com/1).15.1 ([e0d853a](https://github.com/npm/pacote/commit/e0d853a))
1379* **docs:** correct fixtures table (#57) ([23d2eb4](https://github.com/npm/pacote/commit/23d2eb4))
1380* **extract:** correctly detect digest cache misses ([ec6672b](https://github.com/npm/pacote/commit/ec6672b))
1381* **extract:** fixed race condition ([14fd2a8](https://github.com/npm/pacote/commit/14fd2a8))
1382* **finalize-manifest:** use digest to uniquify cached manifests ([931a9cb](https://github.com/npm/pacote/commit/931a9cb))
1383* **http:** Fixed cache-related race condition ([b70a4b1](https://github.com/npm/pacote/commit/b70a4b1))
1384* **manifest:** dir manifests should throw ENOPACKAGEJSON ([b06882d](https://github.com/npm/pacote/commit/b06882d))
1385* **manifest:** ETARGET when no packages match ([ea2127d](https://github.com/npm/pacote/commit/ea2127d))
1386* **manifest:** local manifest fn should return a promise ([c700622](https://github.com/npm/pacote/commit/c700622))
1387* **manifest:** retry registry manifests once on ETARGET (#66) ([3b99adc](https://github.com/npm/pacote/commit/3b99adc))
1388* **prefetch:** hashAlgorithm is required for hasContent ([f03d51c](https://github.com/npm/pacote/commit/f03d51c))
1389* **request:** report cache write errors on end ([c102b86](https://github.com/npm/pacote/commit/c102b86))
1390
1391
1392### Features
1393
1394* **api:** support pre-realized specifiers as specs (#62) ([1d5bf39](https://github.com/npm/pacote/commit/1d5bf39))
1395* **cache:** grabbing info and hasContent ([a559711](https://github.com/npm/pacote/commit/a559711))
1396* **deps:** minimatch[@3](https://github.com/3).0.3 ([2bb8cd5](https://github.com/npm/pacote/commit/2bb8cd5))
1397* **deps:** normalize-package-data[@2](https://github.com/2).3.5 ([4250e0d](https://github.com/npm/pacote/commit/4250e0d))
1398* **directory:** directory dep support (#68) ([6d5307a](https://github.com/npm/pacote/commit/6d5307a))
1399* **git:** baseline git support (#69) ([6d7eaf5](https://github.com/npm/pacote/commit/6d7eaf5))
1400* **handlers:** added remote tarball support (#64) ([add1808](https://github.com/npm/pacote/commit/add1808))
1401* **local:** local tarball support (#67) ([e50d625](https://github.com/npm/pacote/commit/e50d625))
1402* **manifest:** handle deprecation notice (#60) ([db82dae](https://github.com/npm/pacote/commit/db82dae))
1403* **manifest:** standardize manifest format ([3dd9a72](https://github.com/npm/pacote/commit/3dd9a72))
1404* **manifest:** switch to cacache for caching ([8ba7249](https://github.com/npm/pacote/commit/8ba7249))
1405* **prefetch:** added tarball prefetch support ([26c34ce](https://github.com/npm/pacote/commit/26c34ce))
1406* **request:** accept maxSockets opt ([3987807](https://github.com/npm/pacote/commit/3987807))
1407* **scopes:** new scopeTargets option (#59) ([b5db7ae](https://github.com/npm/pacote/commit/b5db7ae))
1408
1409
1410### Performance Improvements
1411
1412* **finalize-manifest:** cache finalized manifests ([fa3c430](https://github.com/npm/pacote/commit/fa3c430))
1413
1414
1415### BREAKING CHANGES
1416
1417* **manifest:** Toplevel APIs now return Promises instead of using callbacks.