check-peer-dependencies 4.3.0 → 4.3.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.
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="Ask2AgentMigrationStateService">
4
+ <option name="migrationStatus" value="COMPLETED" />
5
+ </component>
6
+ </project>
@@ -0,0 +1,6 @@
1
+ <component name="InspectionProjectProfileManager">
2
+ <profile version="1.0">
3
+ <option name="myName" value="Project Default" />
4
+ <inspection_tool class="Eslint" enabled="true" level="WARNING" enabled_by_default="true" />
5
+ </profile>
6
+ </component>
@@ -22,7 +22,7 @@
22
22
  <select />
23
23
  </component>
24
24
  <component name="ChangeListManager">
25
- <list default="true" id="ebeb713d-6dc4-42d1-a42e-54aad95d9c0a" name="Default Changelist" comment="feat: detect yarn2 lockfile (and then use 'yarn up')&#10;&#10;Note: yarn2 pnp will likely never be supported">
25
+ <list default="true" id="ebeb713d-6dc4-42d1-a42e-54aad95d9c0a" name="Default Changelist" comment="Restore green checkmark, and always return a boolean from isProblem">
26
26
  <change beforePath="$PROJECT_DIR$/src/checkPeerDependencies.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/checkPeerDependencies.ts" afterDir="false" />
27
27
  </list>
28
28
  <option name="SHOW_DIALOG" value="false" />
@@ -72,9 +72,9 @@
72
72
  <component name="MarkdownSettingsMigration">
73
73
  <option name="stateVersion" value="1" />
74
74
  </component>
75
- <component name="ProjectColorInfo"><![CDATA[{
76
- "associatedIndex": 6
77
- }]]></component>
75
+ <component name="ProjectColorInfo">{
76
+ &quot;associatedIndex&quot;: 6
77
+ }</component>
78
78
  <component name="ProjectId" id="1SkfJRmHXPtjMGY19cBVwFevkIM" />
79
79
  <component name="ProjectLevelVcsManager">
80
80
  <OptionsSetting value="false" id="Update" />
@@ -87,13 +87,19 @@
87
87
  </component>
88
88
  <component name="PropertiesComponent"><![CDATA[{
89
89
  "keyToString": {
90
- "git-widget-placeholder": "optional",
90
+ "RunOnceActivity.OpenProjectViewOnStart": "true",
91
+ "RunOnceActivity.ShowReadmeOnStart": "true",
92
+ "RunOnceActivity.TerminalTabsStorage.copyFrom.TerminalArrangementManager.252": "true",
93
+ "RunOnceActivity.git.unshallow": "true",
94
+ "git-widget-placeholder": "master",
95
+ "last_opened_file_path": "/Users/chris/projects/check-peer-dependencies",
91
96
  "node.js.detected.package.eslint": "true",
92
97
  "node.js.detected.package.tslint": "true",
93
98
  "node.js.selected.package.eslint": "(autodetect)",
94
99
  "node.js.selected.package.tslint": "(autodetect)",
95
100
  "nodejs_package_manager_path": "yarn",
96
- "ts.external.directory.path": "/Users/chris/projects/check-peer-dependencies/node_modules/typescript/lib"
101
+ "ts.external.directory.path": "/Users/chris/projects/check-peer-dependencies/node_modules/typescript/lib",
102
+ "vue.rearranger.settings.migration": "true"
97
103
  }
98
104
  }]]></component>
99
105
  <component name="RecentsManager">
@@ -104,6 +110,13 @@
104
110
  <recent name="$PROJECT_DIR$/src" />
105
111
  </key>
106
112
  </component>
113
+ <component name="SharedIndexes">
114
+ <attachedChunks>
115
+ <set>
116
+ <option value="bundled-js-predefined-d6986cc7102b-a71380e98a7c-JavaScript-WS-252.28238.10" />
117
+ </set>
118
+ </attachedChunks>
119
+ </component>
107
120
  <component name="SpellCheckerSettings" RuntimeDictionaries="0" Folders="0" CustomDictionaries="0" DefaultDictionary="application-level" UseSingleDictionary="true" transferred="true" />
108
121
  <component name="TaskManager">
109
122
  <task active="true" id="Default" summary="Default task">
@@ -320,7 +333,6 @@
320
333
  </option>
321
334
  </component>
322
335
  <component name="VcsManagerConfiguration">
323
- <MESSAGE value="fix(packageManager): remove console.log, switch to boolean parameters" />
324
336
  <MESSAGE value="fix(checkPeerDependencies): check for yalc'd packages using installedVersion, not dependerVersion" />
325
337
  <MESSAGE value="chore: Add README.md and CHANGELOG.md" />
326
338
  <MESSAGE value="feat: Add better support for packages installed via yalc&#10;&#10;Ignore incorrect peer dependencies, if the package has been installed via yalc.&#10;&#10;https://github.com/whitecolor/yalc&#10;yalc is a tool for locally publishing packages. &#10;It's like 'npm link', but better emulates installing a package from npm.&#10;If a package has been installed using yalc, we assume that it was intentional.&#10;In my workflow, this means I'm testing a package against some downstream integration test." />
@@ -345,6 +357,15 @@
345
357
  <MESSAGE value="feat: Add support for ignoring peer dependencies (via cli option or config stored in package.json)" />
346
358
  <MESSAGE value="fix: Install peer deps as devDependencies if the peer dep came from a dev dependency&#10;fix: Properly install dev dependencies when using npm as the package manager" />
347
359
  <MESSAGE value="feat: detect yarn2 lockfile (and then use 'yarn up')&#10;&#10;Note: yarn2 pnp will likely never be supported" />
348
- <option name="LAST_COMMIT_MESSAGE" value="feat: detect yarn2 lockfile (and then use 'yarn up')&#10;&#10;Note: yarn2 pnp will likely never be supported" />
360
+ <MESSAGE value="Restore green checkmark, and always return a boolean from isProblem" />
361
+ <option name="LAST_COMMIT_MESSAGE" value="Restore green checkmark, and always return a boolean from isProblem" />
362
+ </component>
363
+ <component name="github-copilot-workspace">
364
+ <instructionFileLocations>
365
+ <option value=".github/instructions" />
366
+ </instructionFileLocations>
367
+ <promptFileLocations>
368
+ <option value=".github/prompts" />
369
+ </promptFileLocations>
349
370
  </component>
350
371
  </project>
package/CHANGELOG.md CHANGED
@@ -1,3 +1,24 @@
1
+ ## 4.3.2 (2025-12-30)
2
+ [Compare `check-peer-dependencies` versions 4.3.0 and 4.3.2](https://github.com/christopherthielen/check-peer-dependencies/compare/4.3.0...4.3.2)
3
+
4
+ ### Bug Fixes
5
+
6
+ * ?.endsWith to avoid NPE ([e605bbc](https://github.com/christopherthielen/check-peer-dependencies/commit/e605bbc))
7
+ * fix yalc detection ([625b279](https://github.com/christopherthielen/check-peer-dependencies/commit/625b279))
8
+
9
+
10
+
11
+
12
+ ## 4.3.1 (2025-12-30)
13
+ [Compare `check-peer-dependencies` versions 4.3.0 and 4.3.1](https://github.com/christopherthielen/check-peer-dependencies/compare/4.3.0...4.3.1)
14
+
15
+ ### Bug Fixes
16
+
17
+ * fix yalc detection ([625b279](https://github.com/christopherthielen/check-peer-dependencies/commit/625b279))
18
+
19
+
20
+
21
+
1
22
  # 4.3.0 (2023-10-17)
2
23
  [Compare `check-peer-dependencies` versions 4.2.0 and 4.3.0](https://github.com/christopherthielen/check-peer-dependencies/compare/4.2.0...4.3.0)
3
24
 
@@ -23,7 +23,7 @@ function getAllNestedPeerDependencies(options) {
23
23
  function applySemverInformation(dep) {
24
24
  var installedVersion = packageUtils_1.getInstalledVersion(dep);
25
25
  var semverSatisfies = installedVersion ? semver.satisfies(installedVersion, dep.version, { includePrerelease: true }) : false;
26
- var isYalc = !!/-[a-f0-9]+-yalc$/.exec(installedVersion);
26
+ var isYalc = installedVersion === null || installedVersion === void 0 ? void 0 : installedVersion.endsWith('-yalc');
27
27
  return __assign(__assign({}, dep), { installedVersion: installedVersion, semverSatisfies: semverSatisfies, isYalc: isYalc });
28
28
  }
29
29
  function applyIgnoreInformation(dep) {
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "check-peer-dependencies",
3
- "version": "4.3.0",
3
+ "version": "4.3.2",
4
4
  "description": "Checks peer dependencies of the current package. Offers solutions for any that are unmet.",
5
- "main": "dist/check_peer_dependencies.js",
5
+ "main": "dist/checkPeerDependencies.js",
6
6
  "scripts": {
7
7
  "build": "tsc",
8
8
  "prepublishOnly": "npm run build",