@pnpm/cafs
Advanced tools
Comparing version 3.0.15 to 4.0.0
@@ -10,3 +10,3 @@ "use strict"; | ||
async function default_1(addStreamToCafs, _ignore, stream, manifest) { | ||
const ignore = _ignore !== null && _ignore !== void 0 ? _ignore : (() => false); | ||
const ignore = _ignore ?? (() => false); | ||
const extract = tar_stream_1.default.extract(); | ||
@@ -13,0 +13,0 @@ const filesIndex = {}; |
@@ -85,3 +85,3 @@ "use strict"; | ||
return { | ||
isModified: (mtimeMs - (checkedAt !== null && checkedAt !== void 0 ? checkedAt : 0)) > 100, | ||
isModified: (mtimeMs - (checkedAt ?? 0)) > 100, | ||
size, | ||
@@ -88,0 +88,0 @@ }; |
@@ -51,3 +51,3 @@ "use strict"; | ||
addFilesFromDir: addFilesFromDir_1.default.bind(null, { addBuffer, addStream }), | ||
addFilesFromTarball: addFilesFromTarball_1.default.bind(null, addStream, ignore !== null && ignore !== void 0 ? ignore : null), | ||
addFilesFromTarball: addFilesFromTarball_1.default.bind(null, addStream, ignore ?? null), | ||
}; | ||
@@ -54,0 +54,0 @@ } |
{ | ||
"name": "@pnpm/cafs", | ||
"version": "3.0.15", | ||
"version": "4.0.0", | ||
"description": "A content-addressable filesystem for the packages storage", | ||
@@ -8,9 +8,9 @@ "main": "lib/index.js", | ||
"keywords": [ | ||
"pnpm6" | ||
"pnpm7" | ||
], | ||
"license": "MIT", | ||
"dependencies": { | ||
"@pnpm/fetcher-base": "11.1.6", | ||
"@pnpm/graceful-fs": "1.0.0", | ||
"@pnpm/store-controller-types": "12.0.0", | ||
"@pnpm/fetcher-base": "12.0.0", | ||
"@pnpm/graceful-fs": "2.0.0", | ||
"@pnpm/store-controller-types": "13.0.0", | ||
"@zkochan/rimraf": "^2.1.2", | ||
@@ -28,3 +28,3 @@ "concat-stream": "^2.0.0", | ||
"devDependencies": { | ||
"@pnpm/cafs": "3.0.15", | ||
"@pnpm/cafs": "4.0.0", | ||
"@types/concat-stream": "^1.6.0", | ||
@@ -40,3 +40,3 @@ "@types/node": "^14.17.32", | ||
"engines": { | ||
"node": ">=12.17" | ||
"node": ">=14.19" | ||
}, | ||
@@ -50,2 +50,5 @@ "files": [ | ||
"funding": "https://opencollective.com/pnpm", | ||
"exports": { | ||
".": "./lib/index.js" | ||
}, | ||
"scripts": { | ||
@@ -52,0 +55,0 @@ "lint": "eslint src/**/*.ts test/**/*.ts", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
34935
+ Added@pnpm/fetcher-base@12.0.0(transitive)
+ Added@pnpm/graceful-fs@2.0.0(transitive)
+ Added@pnpm/resolver-base@9.0.0(transitive)
+ Added@pnpm/store-controller-types@13.0.0(transitive)
+ Added@pnpm/types@8.0.0(transitive)
- Removed@pnpm/fetcher-base@11.1.6(transitive)
- Removed@pnpm/graceful-fs@1.0.0(transitive)
- Removed@pnpm/resolver-base@8.1.6(transitive)
- Removed@pnpm/store-controller-types@12.0.0(transitive)
- Removed@pnpm/types@7.10.0(transitive)
Updated@pnpm/fetcher-base@12.0.0
Updated@pnpm/graceful-fs@2.0.0