deeplink-parity 0.8.0 → 0.8.1
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/dist/baseline.js +3 -1
- package/dist/discover/ios.js +2 -2
- package/dist/rules/android.js +1 -0
- package/dist/rules/ios.js +1 -0
- package/package.json +2 -2
package/dist/baseline.js
CHANGED
|
@@ -7,7 +7,9 @@ export const BASELINE_NAME = 'deeplink-parity-baseline.json';
|
|
|
7
7
|
* without a domain (route gaps) carry their identity in the message.
|
|
8
8
|
*/
|
|
9
9
|
export function baselineKey(f) {
|
|
10
|
-
|
|
10
|
+
// app-scoped rules carry a subject: the widget's missing appID and the app's are two
|
|
11
|
+
// different problems on the same domain, and freezing one must not silence the other
|
|
12
|
+
return `${f.rule}|${f.domain ?? f.message}${f.subject ? `|${f.subject}` : ''}`;
|
|
11
13
|
}
|
|
12
14
|
/** Same lookup order as the route config: an explicit path wins, then cwd, then roots. */
|
|
13
15
|
export async function findBaseline(explicit, roots) {
|
package/dist/discover/ios.js
CHANGED
|
@@ -92,9 +92,9 @@ export async function discoverIos(root) {
|
|
|
92
92
|
findings.push({
|
|
93
93
|
severity: 'warn',
|
|
94
94
|
rule: 'entitlements-unreadable',
|
|
95
|
-
message: `Could not parse ${path} — ${err instanceof Error ? err.message : String(err)}`,
|
|
95
|
+
message: `Could not parse ${displayPath(path)} — ${err instanceof Error ? err.message : String(err)}`,
|
|
96
96
|
detail: 'If this file declares applinks:, its domains were NOT checked this run.',
|
|
97
|
-
source: path,
|
|
97
|
+
source: displayPath(path),
|
|
98
98
|
});
|
|
99
99
|
continue;
|
|
100
100
|
}
|
package/dist/rules/android.js
CHANGED
|
@@ -65,6 +65,7 @@ export function checkAndroidHost(app, entry, res, options) {
|
|
|
65
65
|
findings.push({
|
|
66
66
|
severity: 'error',
|
|
67
67
|
rule: 'assetlinks-package-missing',
|
|
68
|
+
subject: app.packageIds.join('/'),
|
|
68
69
|
domain,
|
|
69
70
|
message: `assetlinks.json does not list ${app.packageIds.join(' / ')}`,
|
|
70
71
|
detail: `Declared package_name: ${handling.map((s) => s.packageName ?? '(none)').join(', ')}`,
|
package/dist/rules/ios.js
CHANGED
|
@@ -76,6 +76,7 @@ export function checkIosDomain(app, domain, res) {
|
|
|
76
76
|
findings.push({
|
|
77
77
|
severity: 'error',
|
|
78
78
|
rule: 'aasa-appid-missing',
|
|
79
|
+
subject: `${app.teamId}.${app.bundleId}`,
|
|
79
80
|
domain,
|
|
80
81
|
message: `The AASA file does not list ${app.teamId}.${app.bundleId}`,
|
|
81
82
|
detail: `Declared appIDs: ${declaredAppIds.join(', ')}`,
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "deeplink-parity",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.1",
|
|
4
4
|
"description": "Checks that what your mobile app declares about deep links matches what is actually hosted — across iOS and Android.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
7
|
-
"deeplink-parity": "
|
|
7
|
+
"deeplink-parity": "dist/cli.js"
|
|
8
8
|
},
|
|
9
9
|
"files": [
|
|
10
10
|
"dist"
|