check-peer-dependencies 4.3.1 → 4.3.3
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/.idea/workspace.xml
CHANGED
|
@@ -22,10 +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="Restore green checkmark, and always return a boolean from isProblem"
|
|
26
|
-
<change beforePath="$PROJECT_DIR$/src/checkPeerDependencies.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/checkPeerDependencies.ts" afterDir="false" />
|
|
27
|
-
<change beforePath="$PROJECT_DIR$/src/cli.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/cli.ts" afterDir="false" />
|
|
28
|
-
</list>
|
|
25
|
+
<list default="true" id="ebeb713d-6dc4-42d1-a42e-54aad95d9c0a" name="Default Changelist" comment="Restore green checkmark, and always return a boolean from isProblem" />
|
|
29
26
|
<option name="SHOW_DIALOG" value="false" />
|
|
30
27
|
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
|
31
28
|
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
|
@@ -90,7 +87,9 @@
|
|
|
90
87
|
"keyToString": {
|
|
91
88
|
"RunOnceActivity.OpenProjectViewOnStart": "true",
|
|
92
89
|
"RunOnceActivity.ShowReadmeOnStart": "true",
|
|
93
|
-
"
|
|
90
|
+
"RunOnceActivity.TerminalTabsStorage.copyFrom.TerminalArrangementManager.252": "true",
|
|
91
|
+
"RunOnceActivity.git.unshallow": "true",
|
|
92
|
+
"git-widget-placeholder": "master",
|
|
94
93
|
"last_opened_file_path": "/Users/chris/projects/check-peer-dependencies",
|
|
95
94
|
"node.js.detected.package.eslint": "true",
|
|
96
95
|
"node.js.detected.package.tslint": "true",
|
|
@@ -109,6 +108,13 @@
|
|
|
109
108
|
<recent name="$PROJECT_DIR$/src" />
|
|
110
109
|
</key>
|
|
111
110
|
</component>
|
|
111
|
+
<component name="SharedIndexes">
|
|
112
|
+
<attachedChunks>
|
|
113
|
+
<set>
|
|
114
|
+
<option value="bundled-js-predefined-d6986cc7102b-a71380e98a7c-JavaScript-WS-252.28238.10" />
|
|
115
|
+
</set>
|
|
116
|
+
</attachedChunks>
|
|
117
|
+
</component>
|
|
112
118
|
<component name="SpellCheckerSettings" RuntimeDictionaries="0" Folders="0" CustomDictionaries="0" DefaultDictionary="application-level" UseSingleDictionary="true" transferred="true" />
|
|
113
119
|
<component name="TaskManager">
|
|
114
120
|
<task active="true" id="Default" summary="Default task">
|
|
@@ -352,4 +358,12 @@
|
|
|
352
358
|
<MESSAGE value="Restore green checkmark, and always return a boolean from isProblem" />
|
|
353
359
|
<option name="LAST_COMMIT_MESSAGE" value="Restore green checkmark, and always return a boolean from isProblem" />
|
|
354
360
|
</component>
|
|
361
|
+
<component name="github-copilot-workspace">
|
|
362
|
+
<instructionFileLocations>
|
|
363
|
+
<option value=".github/instructions" />
|
|
364
|
+
</instructionFileLocations>
|
|
365
|
+
<promptFileLocations>
|
|
366
|
+
<option value=".github/prompts" />
|
|
367
|
+
</promptFileLocations>
|
|
368
|
+
</component>
|
|
355
369
|
</project>
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,26 @@
|
|
|
1
|
+
## 4.3.3 (2026-01-02)
|
|
2
|
+
[Compare `check-peer-dependencies` versions 4.3.0 and 4.3.3](https://github.com/christopherthielen/check-peer-dependencies/compare/4.3.0...4.3.3)
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* ?.endsWith to avoid NPE ([e605bbc](https://github.com/christopherthielen/check-peer-dependencies/commit/e605bbc))
|
|
7
|
+
* fix resolving packages that have multiple/nested package.json files ([1088836](https://github.com/christopherthielen/check-peer-dependencies/commit/1088836))
|
|
8
|
+
* fix yalc detection ([625b279](https://github.com/christopherthielen/check-peer-dependencies/commit/625b279))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
## 4.3.2 (2025-12-30)
|
|
14
|
+
[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)
|
|
15
|
+
|
|
16
|
+
### Bug Fixes
|
|
17
|
+
|
|
18
|
+
* ?.endsWith to avoid NPE ([e605bbc](https://github.com/christopherthielen/check-peer-dependencies/commit/e605bbc))
|
|
19
|
+
* fix yalc detection ([625b279](https://github.com/christopherthielen/check-peer-dependencies/commit/625b279))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
1
24
|
## 4.3.1 (2025-12-30)
|
|
2
25
|
[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)
|
|
3
26
|
|
|
@@ -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 = installedVersion.endsWith('-yalc');
|
|
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/dist/packageUtils.js
CHANGED
|
@@ -94,7 +94,11 @@ function resolvePackageDir(basedir, packageName) {
|
|
|
94
94
|
// In resolve() v2.x this callback has a different signature
|
|
95
95
|
// function packageFilter(pkg, pkgfile, pkgdir) {
|
|
96
96
|
function packageFilter(pkg, pkgdir) {
|
|
97
|
-
if
|
|
97
|
+
// Only accept package.json if the name matches the package being resolved.
|
|
98
|
+
// This prevents picking up nested package.json files (e.g., terser/dist/package.json)
|
|
99
|
+
// that may have a different version or no name field.
|
|
100
|
+
// Only accept the first match to avoid overwriting with a later (possibly incorrect) one.
|
|
101
|
+
if (!packagePath && pkg.name === packageName) {
|
|
98
102
|
packagePath = pkgdir;
|
|
99
103
|
}
|
|
100
104
|
return pkg;
|
package/package.json
CHANGED