cacache
Advanced tools
Comparing version 5.0.0 to 5.0.1
@@ -0,1 +1,3 @@ | ||
'use strict' | ||
var index = require('./lib/entry-index') | ||
@@ -2,0 +4,0 @@ var finished = require('mississippi').finished |
@@ -0,1 +1,3 @@ | ||
'use strict' | ||
module.exports = { | ||
@@ -2,0 +4,0 @@ ls: require('./ls'), |
@@ -0,1 +1,3 @@ | ||
'use strict' | ||
var path = require('path') | ||
@@ -2,0 +4,0 @@ |
@@ -0,1 +1,3 @@ | ||
'use strict' | ||
var checkSizeStream = require('../util/check-size-stream') | ||
@@ -11,6 +13,6 @@ var checksumStream = require('../util/checksum-stream') | ||
var pipeline = require('mississippi').pipeline | ||
var randomstring = require('randomstring') | ||
var rimraf = require('rimraf') | ||
var through = require('mississippi').through | ||
var to = require('mississippi').to | ||
var uniqueFilename = require('unique-filename') | ||
@@ -20,3 +22,3 @@ module.exports = putStream | ||
opts = opts || {} | ||
var tmpTarget = path.join(cache, 'tmp', (opts.tmpPrefix || '') + randomstring.generate()) | ||
var tmpTarget = uniqueFilename(path.join(cache, 'tmp'), opts.tmpPrefix) | ||
@@ -23,0 +25,0 @@ var inputStream = duplex() |
@@ -0,1 +1,3 @@ | ||
'use strict' | ||
var checksumStream = require('../util/checksum-stream') | ||
@@ -2,0 +4,0 @@ var contentPath = require('./path') |
@@ -0,1 +1,3 @@ | ||
'use strict' | ||
var contentPath = require('./path') | ||
@@ -2,0 +4,0 @@ var rimraf = require('rimraf') |
@@ -0,1 +1,3 @@ | ||
'use strict' | ||
var asyncMap = require('slide/lib/async-map') | ||
@@ -2,0 +4,0 @@ var contentPath = require('./content/path') |
@@ -0,1 +1,3 @@ | ||
'use strict' | ||
var through = require('mississippi').through | ||
@@ -2,0 +4,0 @@ |
@@ -0,1 +1,3 @@ | ||
'use strict' | ||
var crypto = require('crypto') | ||
@@ -2,0 +4,0 @@ var through = require('mississippi').through |
@@ -0,1 +1,3 @@ | ||
'use strict' | ||
var chownr = require('chownr') | ||
@@ -2,0 +4,0 @@ var dezalgo = require('dezalgo') |
@@ -0,1 +1,3 @@ | ||
'use strict' | ||
var fs = require('graceful-fs') | ||
@@ -2,0 +4,0 @@ |
@@ -0,1 +1,3 @@ | ||
'use strict' | ||
var asyncMap = require('slide').asyncMap | ||
@@ -2,0 +4,0 @@ var checksumStream = require('./util/checksum-stream') |
@@ -0,1 +1,3 @@ | ||
'use strict' | ||
var index = require('./lib/entry-index') | ||
@@ -2,0 +4,0 @@ |
{ | ||
"name": "cacache", | ||
"version": "5.0.0", | ||
"version": "5.0.1", | ||
"description": "General content-addressable cache system that maintains a filesystem registry of file data.", | ||
@@ -14,3 +14,3 @@ "main": "index.js", | ||
"pretest": "standard lib test *.js", | ||
"test": "nyc -- tap test/*.js" | ||
"test": "nyc -- tap -j8 test/*.js" | ||
}, | ||
@@ -34,8 +34,9 @@ "repository": "https://github.com/zkat/cacache", | ||
"once": "^1.4.0", | ||
"randomstring": "^1.1.5", | ||
"rimraf": "^2.5.4", | ||
"slide": "^1.1.6", | ||
"split": "^1.0.0" | ||
"split": "^1.0.0", | ||
"unique-filename": "^1.1.0" | ||
}, | ||
"devDependencies": { | ||
"glob": "^7.1.1", | ||
"nyc": "^10.0.0", | ||
@@ -45,3 +46,3 @@ "require-inject": "^1.4.0", | ||
"tacks": "^1.2.2", | ||
"tap": "^9.0.3" | ||
"tap": "^10.0.2" | ||
}, | ||
@@ -48,0 +49,0 @@ "config": { |
@@ -0,1 +1,3 @@ | ||
'use strict' | ||
var index = require('./lib/entry-index') | ||
@@ -2,0 +4,0 @@ var pipe = require('mississippi').pipe |
@@ -16,2 +16,3 @@ # cacache [![npm version](https://img.shields.io/npm/v/cacache.svg)](https://npm.im/cacache) [![license](https://img.shields.io/npm/l/cacache.svg)](https://npm.im/cacache) [![Travis](https://img.shields.io/travis/zkat/cacache.svg)](https://travis-ci.org/zkat/cacache) [![AppVeyor](https://ci.appveyor.com/api/projects/status/github/zkat/cacache?svg=true)](https://ci.appveyor.com/project/zkat/cacache) [![Coverage Status](https://coveralls.io/repos/github/zkat/cacache/badge.svg?branch=latest)](https://coveralls.io/github/zkat/cacache?branch=latest) | ||
* [Features](#features) | ||
* [Contributing](#contributing) | ||
* [API](#api) | ||
@@ -81,5 +82,5 @@ * [`ls`](#ls) | ||
### Guide | ||
### Contributing | ||
#### Introduction | ||
The cacache team enthusiastically welcomes contributions and project participation! There's a bunch of things you can do if you want to contribute! The [Contributor Guide](CONTRIBUTING.md) has all the information you need for everything from reporting bugs to contributing entire new features. Please don't hesitate to jump in if you'd like to, or even ask us questions if something isn't clear. | ||
@@ -99,3 +100,3 @@ ### API | ||
if (err) { throw err } | ||
console.log(info) | ||
console.log(allEntries) | ||
}) | ||
@@ -102,0 +103,0 @@ // Output |
@@ -0,1 +1,3 @@ | ||
'use strict' | ||
var rmContent = require('./lib/content/rm') | ||
@@ -2,0 +4,0 @@ var index = require('./lib/entry-index') |
@@ -0,1 +1,3 @@ | ||
'use strict' | ||
module.exports = require('./lib/verify') |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license
Found 1 instance in 1 package
32778
19
723
332
6
2
80
1
+ Addedunique-filename@^1.1.0
+ Addedimurmurhash@0.1.4(transitive)
+ Addedunique-filename@1.1.1(transitive)
+ Addedunique-slug@2.0.2(transitive)
- Removedrandomstring@^1.1.5
- Removedrandombytes@2.0.3(transitive)
- Removedrandomstring@1.3.0(transitive)