Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@pnpm/cafs

Package Overview
Dependencies
Maintainers
2
Versions
74
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pnpm/cafs - npm Package Compare versions

Comparing version 3.0.15 to 4.0.0

2

lib/addFilesFromTarball.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc