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

@yarnpkg/plugin-pnp

Package Overview
Dependencies
Maintainers
6
Versions
145
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@yarnpkg/plugin-pnp - npm Package Compare versions

Comparing version 3.0.0-rc.9 to 3.0.0-rc.10

6

lib/PnpLinker.js

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

const pnpFile = core_1.miscUtils.getFactoryWithDefault(this.pnpCache, pnpPath, () => {
return core_1.miscUtils.dynamicRequireNoCache(pnpPath);
return core_1.miscUtils.dynamicRequire(pnpPath, { cachingStrategy: core_1.miscUtils.CachingStrategy.FsTime });
});

@@ -53,3 +53,3 @@ const packageLocator = { name: core_1.structUtils.stringifyIdent(locator), reference: locator.reference };

const pnpFile = core_1.miscUtils.getFactoryWithDefault(this.pnpCache, pnpPath, () => {
return core_1.miscUtils.dynamicRequireNoCache(pnpPath);
return core_1.miscUtils.dynamicRequire(pnpPath, { cachingStrategy: core_1.miscUtils.CachingStrategy.FsTime });
});

@@ -179,3 +179,3 @@ const locator = pnpFile.findPackageLocator(fslib_1.npath.fromPortablePath(location));

if (fslib_1.xfs.existsSync(pnpPath.cjsLegacy)) {
this.opts.report.reportWarning(core_2.MessageName.UNNAMED, `Removing the old ${core_1.formatUtils.pretty(this.opts.project.configuration, fslib_1.Filename.pnpJs, core_1.formatUtils.Type.PATH)} file. You might need to manually update existing references to reference the new ${core_1.formatUtils.pretty(this.opts.project.configuration, fslib_1.Filename.pnpCjs, core_1.formatUtils.Type.PATH)} file. If you use PnPify SDKs, you'll have to rerun ${core_1.formatUtils.pretty(this.opts.project.configuration, `yarn pnpify --sdk`, core_1.formatUtils.Type.CODE)}.`);
this.opts.report.reportWarning(core_2.MessageName.UNNAMED, `Removing the old ${core_1.formatUtils.pretty(this.opts.project.configuration, fslib_1.Filename.pnpJs, core_1.formatUtils.Type.PATH)} file. You might need to manually update existing references to reference the new ${core_1.formatUtils.pretty(this.opts.project.configuration, fslib_1.Filename.pnpCjs, core_1.formatUtils.Type.PATH)} file. If you use Editor SDKs, you'll have to rerun ${core_1.formatUtils.pretty(this.opts.project.configuration, `yarn sdks`, core_1.formatUtils.Type.CODE)}.`);
await fslib_1.xfs.removePromise(pnpPath.cjsLegacy);

@@ -182,0 +182,0 @@ }

{
"name": "@yarnpkg/plugin-pnp",
"version": "3.0.0-rc.9",
"version": "3.0.0-rc.10",
"license": "BSD-2-Clause",

@@ -8,6 +8,6 @@ "main": "./lib/index.js",

"@types/semver": "^7.1.0",
"@yarnpkg/fslib": "^2.5.0-rc.9",
"@yarnpkg/plugin-stage": "^3.0.0-rc.9",
"@yarnpkg/pnp": "^3.0.0-rc.9",
"clipanion": "^3.0.0-rc.10",
"@yarnpkg/fslib": "^2.5.0-rc.10",
"@yarnpkg/plugin-stage": "^3.0.0-rc.10",
"@yarnpkg/pnp": "^3.0.0-rc.10",
"clipanion": "^3.0.0",
"micromatch": "^4.0.2",

@@ -18,9 +18,9 @@ "semver": "^7.1.2",

"peerDependencies": {
"@yarnpkg/cli": "^3.0.0-rc.9",
"@yarnpkg/core": "^3.0.0-rc.9"
"@yarnpkg/cli": "^3.0.0-rc.10",
"@yarnpkg/core": "^3.0.0-rc.10"
},
"devDependencies": {
"@types/micromatch": "^4.0.1",
"@yarnpkg/cli": "3.0.0-rc.9",
"@yarnpkg/core": "3.0.0-rc.9"
"@yarnpkg/cli": "3.0.0-rc.10",
"@yarnpkg/core": "3.0.0-rc.10"
},

@@ -27,0 +27,0 @@ "repository": {

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