@yarnpkg/plugin-pnp 3.1.0-rc.6 → 3.1.2-rc.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/PnpLinker.js CHANGED
@@ -231,8 +231,8 @@ class PnpInstaller {
231
231
  // Nothing to transform
232
232
  }
233
233
  isEsmEnabled() {
234
- if (this.opts.project.configuration.sources.has(`pnpEnableExperimentalEsm`))
235
- return this.opts.project.configuration.get(`pnpEnableExperimentalEsm`);
234
+ if (this.opts.project.configuration.sources.has(`pnpEnableEsmLoader`))
235
+ return this.opts.project.configuration.get(`pnpEnableEsmLoader`);
236
236
  if (this.isESMLoaderRequired)
237
237
  return true;
238
238
  for (const workspace of this.opts.project.workspaces) {
package/lib/index.d.ts CHANGED
@@ -17,7 +17,7 @@ declare module '@yarnpkg/core' {
17
17
  pnpMode: string;
18
18
  pnpShebang: string;
19
19
  pnpIgnorePatterns: Array<string>;
20
- pnpEnableExperimentalEsm: boolean;
20
+ pnpEnableEsmLoader: boolean;
21
21
  pnpEnableInlining: boolean;
22
22
  pnpFallbackMode: string;
23
23
  pnpUnpluggedFolder: PortablePath;
package/lib/index.js CHANGED
@@ -76,7 +76,7 @@ const plugin = {
76
76
  default: [],
77
77
  isArray: true,
78
78
  },
79
- pnpEnableExperimentalEsm: {
79
+ pnpEnableEsmLoader: {
80
80
  description: `If true, Yarn will generate an ESM loader (\`.pnp.loader.mjs\`). If this is not explicitly set Yarn tries to automatically detect whether ESM support is required.`,
81
81
  type: core_1.SettingsType.BOOLEAN,
82
82
  default: false,
package/package.json CHANGED
@@ -1,26 +1,26 @@
1
1
  {
2
2
  "name": "@yarnpkg/plugin-pnp",
3
- "version": "3.1.0-rc.6",
3
+ "version": "3.1.2-rc.2",
4
4
  "license": "BSD-2-Clause",
5
5
  "main": "./lib/index.js",
6
6
  "dependencies": {
7
7
  "@types/semver": "^7.1.0",
8
- "@yarnpkg/fslib": "^2.6.0-rc.13",
9
- "@yarnpkg/plugin-stage": "^3.1.0-rc.3",
10
- "@yarnpkg/pnp": "^3.1.0-rc.10",
8
+ "@yarnpkg/fslib": "^2.6.0",
9
+ "@yarnpkg/plugin-stage": "^3.1.1",
10
+ "@yarnpkg/pnp": "^3.1.1-rc.2",
11
11
  "clipanion": "^3.0.1",
12
12
  "micromatch": "^4.0.2",
13
13
  "semver": "^7.1.2",
14
14
  "tslib": "^1.13.0"
15
15
  },
16
16
  "peerDependencies": {
17
- "@yarnpkg/cli": "^3.1.0-rc.13",
18
- "@yarnpkg/core": "^3.1.0-rc.14"
17
+ "@yarnpkg/cli": "^3.2.0-rc.2",
18
+ "@yarnpkg/core": "^3.2.0-rc.2"
19
19
  },
20
20
  "devDependencies": {
21
21
  "@types/micromatch": "^4.0.1",
22
- "@yarnpkg/cli": "^3.1.0-rc.13",
23
- "@yarnpkg/core": "^3.1.0-rc.14"
22
+ "@yarnpkg/cli": "^3.2.0-rc.2",
23
+ "@yarnpkg/core": "^3.2.0-rc.2"
24
24
  },
25
25
  "repository": {
26
26
  "type": "git",
@@ -41,6 +41,6 @@
41
41
  "engines": {
42
42
  "node": ">=12 <14 || 14.2 - 14.9 || >14.10.0"
43
43
  },
44
- "stableVersion": "3.0.0",
44
+ "stableVersion": "3.1.1",
45
45
  "typings": "./lib/index.d.ts"
46
46
  }