@gscdump/engine-gsc-api 3.6.1 → 3.6.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/dist/sync-slice.d.mts +2 -2
- package/dist/sync-slice.mjs +1 -1
- package/package.json +3 -3
package/dist/sync-slice.d.mts
CHANGED
|
@@ -10,8 +10,8 @@ export interface GscApiRow {
|
|
|
10
10
|
}
|
|
11
11
|
export interface SyncSliceDomainFilter {
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
14
|
-
*
|
|
13
|
+
* Exact registered host to scope the slice to, without a protocol.
|
|
14
|
+
* `www.example.com` and `example.com` remain separate hosts.
|
|
15
15
|
*/
|
|
16
16
|
domain?: string;
|
|
17
17
|
}
|
package/dist/sync-slice.mjs
CHANGED
|
@@ -29,7 +29,7 @@ function buildDimensionFilterGroups(domainFilter, filters = []) {
|
|
|
29
29
|
expression: f.expression
|
|
30
30
|
}));
|
|
31
31
|
if (domainFilter?.domain) {
|
|
32
|
-
const pattern = `^https
|
|
32
|
+
const pattern = `^https?://${domainFilter.domain.replace(/\./g, "\\.")}/`;
|
|
33
33
|
out.push({
|
|
34
34
|
dimension: "page",
|
|
35
35
|
operator: "includingRegex",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gscdump/engine-gsc-api",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "3.6.
|
|
4
|
+
"version": "3.6.3",
|
|
5
5
|
"description": "GSC live-API engine adapter — wraps the Search Analytics REST API as an AnalysisQuerySource for typed analyzer dispatch.",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Harlan Wilton",
|
|
@@ -36,8 +36,8 @@
|
|
|
36
36
|
"node": ">=22"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@gscdump/engine": "^3.6.
|
|
40
|
-
"gscdump": "^3.6.
|
|
39
|
+
"@gscdump/engine": "^3.6.3",
|
|
40
|
+
"gscdump": "^3.6.3"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"vitest": "^5.0.0"
|