@fontoxml/fontoxml-development-tools 8.9.0 → 8.10.0-nightly.20240705232835
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/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fontoxml/fontoxml-development-tools",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.10.0-nightly.20240705232835",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@fontoxml/fontoxml-development-tools",
|
|
9
|
-
"version": "8.
|
|
9
|
+
"version": "8.10.0-nightly.20240705232835",
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@babel/core": "7.23.3",
|
package/package.json
CHANGED
|
@@ -99,8 +99,8 @@ function getResultForDocumentId(
|
|
|
99
99
|
const searchableText = getSearchableTextForDom(
|
|
100
100
|
findAndReplacePresearchConfig,
|
|
101
101
|
parseXmlDocument(content)
|
|
102
|
-
);
|
|
103
|
-
if (!searchableText.
|
|
102
|
+
).toLowerCase();
|
|
103
|
+
if (!searchableText.includes(searchTerm.toLowerCase())) {
|
|
104
104
|
resolve(null);
|
|
105
105
|
return;
|
|
106
106
|
}
|
|
@@ -27,7 +27,19 @@ export default function getOperations(workingDirectory, roots, ignoreSymlinks) {
|
|
|
27
27
|
|
|
28
28
|
return allOps.concat(
|
|
29
29
|
Object.keys(operations)
|
|
30
|
-
.filter((operationName) =>
|
|
30
|
+
.filter((operationName) => {
|
|
31
|
+
// TODO: Expose __moduleImports__ in FDT.
|
|
32
|
+
if (operationName === '__moduleImports__') {
|
|
33
|
+
return false;
|
|
34
|
+
}
|
|
35
|
+
if (
|
|
36
|
+
operationName === '$schema' &&
|
|
37
|
+
typeof operations[operationName] === 'string'
|
|
38
|
+
) {
|
|
39
|
+
return false;
|
|
40
|
+
}
|
|
41
|
+
return !!operations[operationName];
|
|
42
|
+
})
|
|
31
43
|
.map((operationName) => {
|
|
32
44
|
const operation = operations[operationName];
|
|
33
45
|
operation.operationName = operationName;
|