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

yarn-pnp-test

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

yarn-pnp-test - npm Package Compare versions

Comparing version 0.1.0-beta.2 to 0.1.0-beta.3

28

index.js
#!/usr/bin/env node
const prettierPath = require.resolve("prettier");
const requireResolve = () => {
console.log("require.resolve");
console.log(prettierPath);
const prettierPath = require.resolve("prettier");
console.log(prettierPath);
};
const pnp = () => {
if (!process.versions.pnp) {
console.log("pnp x");
return;
}
const pnpapi = require("pnpapi");
console.log("pnp", pnpapi.VERSIONS.std);
const prettierPath = pnpapi.resolveUnqualified("prettier");
console.log(prettierPath);
};
requireResolve();
pnp();

2

package.json

@@ -13,3 +13,3 @@ {

},
"version": "0.1.0-beta.2"
"version": "0.1.0-beta.3"
}
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