@uipath/solutionpackager-tool-core 1.203.0-preview.205 → 1.204.0-preview.206

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/index.js CHANGED
@@ -1000,6 +1000,11 @@ function toRelativeUrl(url) {
1000
1000
  }
1001
1001
  return path;
1002
1002
  }
1003
+ // src/models/ignored-rules.ts
1004
+ function normalizeIgnoredRules(ignoredRules) {
1005
+ const rules = (ignoredRules ?? []).flatMap((rule) => rule.split(",")).map((rule) => rule.trim()).filter((rule) => rule.length > 0);
1006
+ return [...new Set(rules)];
1007
+ }
1003
1008
  // src/models/log-message.ts
1004
1009
  var LogLevel;
1005
1010
  ((LogLevel2) => {
@@ -1584,6 +1589,7 @@ export {
1584
1589
  ensureContentOperateFile,
1585
1590
  ensureProjectId,
1586
1591
  ensureProjectIdInOperateFile,
1592
+ normalizeIgnoredRules,
1587
1593
  toProjectCleanupInfo,
1588
1594
  toProjectCleanupInfoFromRemote,
1589
1595
  toRelativeUrl,
@@ -1593,4 +1599,4 @@ export {
1593
1599
  writeOrBackfillOperateProjectId
1594
1600
  };
1595
1601
 
1596
- //# debugId=CF4CC11EA66D137864756E2164756E21
1602
+ //# debugId=5AA988775C09FACD64756E2164756E21
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Normalizes an `ignoredRules` list the same way on every path that hands it
3
+ * to a WorkflowCompiler: entries may carry comma-separated IDs, are trimmed,
4
+ * blanks are dropped and duplicates removed (first occurrence wins).
5
+ * An empty result means "ignore nothing" — callers send no flag or field.
6
+ */
7
+ export declare function normalizeIgnoredRules(ignoredRules?: string[]): string[];
@@ -1,6 +1,7 @@
1
1
  export { BuildConfiguration } from "./build-configuration.js";
2
2
  export type { ConnectionInfo } from "./connection-info.js";
3
3
  export { toRelativeUrl } from "./connection-info.js";
4
+ export { normalizeIgnoredRules } from "./ignored-rules.js";
4
5
  export { LogLevel, LogMessage } from "./log-message.js";
5
6
  export { NugetConstants } from "./nuget-constants.js";
6
7
  export type { NugetFeedModel } from "./nuget-feed-model.js";
@@ -59,6 +59,10 @@ export interface IProjectValidateOptions extends IProjectOptions {
59
59
  * Default severity level
60
60
  */
61
61
  defaultSeverity?: string;
62
+ /**
63
+ * Analyzer rule IDs whose findings are ignored
64
+ */
65
+ ignoredRules?: string[];
62
66
  /**
63
67
  * Path to detailed log file
64
68
  */
@@ -101,6 +105,10 @@ export interface IProjectBuildOptions extends IProjectOptions {
101
105
  * Project storage identifier
102
106
  */
103
107
  projectStorageId?: string;
108
+ /**
109
+ * Analyzer rule IDs whose findings are ignored
110
+ */
111
+ ignoredRules?: string[];
104
112
  /**
105
113
  * Path to detailed log file
106
114
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uipath/solutionpackager-tool-core",
3
- "version": "1.203.0-preview.205",
3
+ "version": "1.204.0-preview.206",
4
4
  "description": "UiPath contracts for solution packager tools",
5
5
  "type": "module",
6
6
  "exports": {
@@ -24,8 +24,8 @@
24
24
  "registry": "https://registry.npmjs.org/"
25
25
  },
26
26
  "dependencies": {
27
- "@uipath/filesystem": "1.203.0",
27
+ "@uipath/filesystem": "1.204.0",
28
28
  "fflate": "^0.8.2"
29
29
  },
30
- "gitHead": "d8d19829030cc590c630bebfc60a9d9fc7fa8c31"
30
+ "gitHead": "ea7fd32a02acccf14e8e83522e69101430627b83"
31
31
  }
@@ -1 +0,0 @@
1
- export {};