New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@pnpm/real-hoist

Package Overview
Dependencies
Maintainers
2
Versions
90
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pnpm/real-hoist - npm Package Compare versions

Comparing version 0.1.7 to 0.1.8

5

lib/index.js

@@ -26,2 +26,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
const error_1 = require("@pnpm/error");
const lockfile_utils_1 = require("@pnpm/lockfile-utils");

@@ -88,4 +89,6 @@ const dp = __importStar(require("dependency-path"));

if (!node) {
// const { name, version, peersSuffix } = nameVerFromPkgSnapshot(depPath, lockfile.packages![depPath])
const pkgSnapshot = lockfile.packages[depPath];
if (!pkgSnapshot) {
throw new error_1.LockfileMissingDependencyError(depPath);
}
const pkgName = (0, lockfile_utils_1.nameVerFromPkgSnapshot)(depPath, pkgSnapshot).name;

@@ -92,0 +95,0 @@ node = {

7

package.json
{
"name": "@pnpm/real-hoist",
"description": "Hoists dependencies in a node_modules created by pnpm",
"version": "0.1.7",
"version": "0.1.8",
"bugs": {

@@ -25,2 +25,3 @@ "url": "https://github.com/pnpm/pnpm/issues"

"dependencies": {
"@pnpm/error": "2.1.0",
"@pnpm/lockfile-utils": "3.2.1",

@@ -32,5 +33,5 @@ "@yarnpkg/nm": "3.0.1-rc.10",

"devDependencies": {
"@pnpm/lockfile-file": "4.3.0",
"@pnpm/lockfile-file": "4.3.1",
"@pnpm/logger": "^4.0.0",
"@pnpm/real-hoist": "0.1.7"
"@pnpm/real-hoist": "0.1.8"
},

@@ -37,0 +38,0 @@ "scripts": {

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