@jini-ai/devops 0.6.15-rc.1 → 0.6.15-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.
|
@@ -18,7 +18,7 @@ function isImageMetadata({ element }, _optional = {}) {
|
|
|
18
18
|
/** Attribute kinds are shared by rewriting, crawling and diagnostic references. Script-read
|
|
19
19
|
* `data-*-href`/`-src` values (the see-more button's batch URL) are URLs too; references skip them. */
|
|
20
20
|
function attributeKind({ element, name }, _optional = {}) {
|
|
21
|
-
const urlName =
|
|
21
|
+
const urlName = normalizedUrlAttribute(name);
|
|
22
22
|
if (URL_ATTRIBUTES.has(urlName))
|
|
23
23
|
return 'url';
|
|
24
24
|
if (urlName === 'srcset')
|
|
@@ -31,6 +31,9 @@ function attributeKind({ element, name }, _optional = {}) {
|
|
|
31
31
|
return 'url';
|
|
32
32
|
return undefined;
|
|
33
33
|
}
|
|
34
|
+
function normalizedUrlAttribute(name) {
|
|
35
|
+
return /^data-(?:[\w-]*-)?(href|src|srcset|poster)$/.exec(name)?.[1] ?? name;
|
|
36
|
+
}
|
|
34
37
|
/** Style text is CSS; every other element's text remains untouched. */
|
|
35
38
|
function styleLocations({ element }, _optional = {}) {
|
|
36
39
|
if (element.tagName !== 'style')
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jini-ai/devops",
|
|
3
|
-
"version": "0.6.15-rc.
|
|
3
|
+
"version": "0.6.15-rc.2",
|
|
4
4
|
"description": "DevOps capabilities for deployment, source control, and CI/CD, exposed through independent subpaths.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -148,16 +148,16 @@
|
|
|
148
148
|
"@vitest/coverage-v8": "^2.1.9",
|
|
149
149
|
"undici": "^7.25.0",
|
|
150
150
|
"parse5": "7.3.0",
|
|
151
|
-
"@jini-ai/
|
|
152
|
-
"@jini-ai/
|
|
153
|
-
"@jini-ai/platform": "^0.6.15-rc.
|
|
151
|
+
"@jini-ai/core": "^0.6.15-rc.2",
|
|
152
|
+
"@jini-ai/daemon": "0.6.15-rc.2",
|
|
153
|
+
"@jini-ai/platform": "^0.6.15-rc.2"
|
|
154
154
|
},
|
|
155
155
|
"dependencies": {
|
|
156
|
-
"@jini-ai/core": "^0.6.15-rc.
|
|
156
|
+
"@jini-ai/core": "^0.6.15-rc.2"
|
|
157
157
|
},
|
|
158
158
|
"peerDependencies": {
|
|
159
159
|
"typescript": "^5.6.0",
|
|
160
|
-
"@jini-ai/platform": "^0.6.15-rc.
|
|
160
|
+
"@jini-ai/platform": "^0.6.15-rc.2",
|
|
161
161
|
"undici": "^7.25.0",
|
|
162
162
|
"parse5": "7.3.0"
|
|
163
163
|
},
|