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

@pnpm/cli-meta

Package Overview
Dependencies
Maintainers
0
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pnpm/cli-meta - npm Package Compare versions

Comparing version 6.0.4 to 6.1.0

3

lib/index.d.ts

@@ -0,1 +1,2 @@

/// <reference types="node" />
export declare const packageManager: {

@@ -6,1 +7,3 @@ name: string;

};
export declare function detectIfCurrentPkgIsExecutable(proc?: NodeJS.Process): boolean;
export declare function isExecutedByCorepack(env?: NodeJS.ProcessEnv): boolean;

@@ -6,3 +6,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.packageManager = void 0;
exports.isExecutedByCorepack = exports.detectIfCurrentPkgIsExecutable = exports.packageManager = void 0;
const path_1 = __importDefault(require("path"));

@@ -42,2 +42,10 @@ const load_json_file_1 = __importDefault(require("load-json-file"));

};
function detectIfCurrentPkgIsExecutable(proc = process) {
return 'pkg' in proc && proc.pkg != null;
}
exports.detectIfCurrentPkgIsExecutable = detectIfCurrentPkgIsExecutable;
function isExecutedByCorepack(env = process.env) {
return env.COREPACK_ROOT != null;
}
exports.isExecutedByCorepack = isExecutedByCorepack;
//# sourceMappingURL=index.js.map

6

package.json
{
"name": "@pnpm/cli-meta",
"version": "6.0.4",
"version": "6.1.0",
"description": "Reads the metainfo of the currently running pnpm instance",

@@ -25,7 +25,7 @@ "main": "lib/index.js",

"devDependencies": {
"@pnpm/cli-meta": "6.0.4"
"@pnpm/cli-meta": "6.1.0"
},
"dependencies": {
"load-json-file": "^6.2.0",
"@pnpm/types": "11.1.0"
"@pnpm/types": "12.0.0"
},

@@ -32,0 +32,0 @@ "funding": "https://opencollective.com/pnpm",

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