@microsoft/sarif-multitool-darwin 4.6.3 → 4.6.4

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.
Binary file
package/Sarif.Driver.pdb CHANGED
Binary file
package/Sarif.Multitool CHANGED
Binary file
Binary file
@@ -519,11 +519,6 @@
519
519
  Looks up a localized string similar to {0}: The 'message' object on this 'result' object does not provide a 'text' property. This property is required by the {1} service..
520
520
  </summary>
521
521
  </member>
522
- <member name="P:Microsoft.CodeAnalysis.Sarif.Multitool.Rules.RuleResources.Base1015_ProvideRequiredResultProperties_Error_MissingPartialFingerprints_Text">
523
- <summary>
524
- Looks up a localized string similar to {0}: This &apos;result&apos; object does not provide a &apos;partialFingerprints&apos; dictionary. This property is required by the {1} service..
525
- </summary>
526
- </member>
527
522
  <member name="P:Microsoft.CodeAnalysis.Sarif.Multitool.Rules.RuleResources.Base1016_ProvideRequiredLocationProperties_Error_MissingPhysicalLocation_Text">
528
523
  <summary>
529
524
  Looks up a localized string similar to {0}: This &apos;location&apos; object does not provide a &apos;physicalLocation&apos; object. This property is required by the {1} service..
Binary file
Binary file
package/Sarif.pdb CHANGED
Binary file
package/Sarif.xml CHANGED
@@ -9327,6 +9327,13 @@
9327
9327
  I.e., the total number of log files created is the sum of distinct property bag property across all logs.
9328
9328
  </summary>
9329
9329
  </member>
9330
+ <member name="F:Microsoft.CodeAnalysis.Sarif.SplittingStrategy.PerIndexList">
9331
+ <summary>
9332
+ Split SARIF log files according to an explicit list of result addresses
9333
+ grouped into buckets. Used for AI-driven splitting where the caller
9334
+ dictates exactly which results land in which output file.
9335
+ </summary>
9336
+ </member>
9330
9337
  <member name="M:Microsoft.CodeAnalysis.Sarif.UriHelper.MakeValidUri(System.String)">
9331
9338
  <summary>
9332
9339
  Create a syntactically valid URI from a path that might be
@@ -12013,6 +12020,92 @@
12013
12020
  <member name="F:Microsoft.CodeAnalysis.Sarif.Writers.MimeType.JavaProperties">
12014
12021
  <summary>The MIME type for Java properties files (which are xml).</summary>
12015
12022
  </member>
12023
+ <member name="T:Microsoft.CodeAnalysis.Sarif.Writers.PartitionFunctions">
12024
+ <summary>
12025
+ Provides ready-made <see cref="T:Microsoft.CodeAnalysis.Sarif.Visitors.PartitionFunction`1"/> implementations for the
12026
+ well-known <see cref="T:Microsoft.CodeAnalysis.Sarif.SplittingStrategy"/> values, plus an explicit address-list
12027
+ strategy ("PerIndexList") that lets a caller dictate exactly which results land
12028
+ in each output bucket.
12029
+ </summary>
12030
+ <remarks>
12031
+ All factory methods perform a single O(N) pre-walk of the log to compute a
12032
+ per-result partition key, then return an O(1) closure that the
12033
+ <see cref="T:Microsoft.CodeAnalysis.Sarif.Visitors.PartitioningVisitor`1"/> can call during its own traversal.
12034
+ Results are looked up by reference equality, which is safe because the visitor
12035
+ hands the same <see cref="T:Microsoft.CodeAnalysis.Sarif.Result"/> instances it walked to the partition function.
12036
+ </remarks>
12037
+ </member>
12038
+ <member name="F:Microsoft.CodeAnalysis.Sarif.Writers.PartitionFunctions.IndexListBucketPrefix">
12039
+ <summary>
12040
+ Auto-generated bucket name used when an explicit address-list spec does not
12041
+ itself name buckets. Buckets are numbered in spec order, starting at zero.
12042
+ </summary>
12043
+ </member>
12044
+ <member name="M:Microsoft.CodeAnalysis.Sarif.Writers.PartitionFunctions.ForStrategy(Microsoft.CodeAnalysis.Sarif.SarifLog,Microsoft.CodeAnalysis.Sarif.SplittingStrategy)">
12045
+ <summary>
12046
+ Returns a <see cref="T:Microsoft.CodeAnalysis.Sarif.Visitors.PartitionFunction`1"/> implementing the specified
12047
+ <see cref="T:Microsoft.CodeAnalysis.Sarif.SplittingStrategy"/> against the given log.
12048
+ </summary>
12049
+ <param name="log">The SARIF log to be partitioned.</param>
12050
+ <param name="strategy">The splitting strategy to apply.</param>
12051
+ <exception cref="T:System.ArgumentNullException">Thrown when <paramref name="log"/> is null.</exception>
12052
+ <exception cref="T:System.ArgumentOutOfRangeException">
12053
+ Thrown when <paramref name="strategy"/> is not supported by this helper.
12054
+ Use <see cref="M:Microsoft.CodeAnalysis.Sarif.Writers.PartitionFunctions.ForIndexList(Microsoft.CodeAnalysis.Sarif.SarifLog,System.String,System.String,System.Boolean)"/> for <see cref="F:Microsoft.CodeAnalysis.Sarif.SplittingStrategy.PerIndexList"/>.
12055
+ </exception>
12056
+ </member>
12057
+ <member name="M:Microsoft.CodeAnalysis.Sarif.Writers.PartitionFunctions.ForIndexList(Microsoft.CodeAnalysis.Sarif.SarifLog,System.String,System.String,System.Boolean)">
12058
+ <summary>
12059
+ Returns a <see cref="T:Microsoft.CodeAnalysis.Sarif.Visitors.PartitionFunction`1"/> that places each result into a
12060
+ caller-specified bucket according to its address in the input log.
12061
+ </summary>
12062
+ <param name="log">The SARIF log to be partitioned.</param>
12063
+ <param name="indexSpec">
12064
+ A spec in the compact mini-language understood by <see cref="M:Microsoft.CodeAnalysis.Sarif.Writers.PartitionFunctions.ParseIndexSpec(System.String)"/>.
12065
+ </param>
12066
+ <param name="spilloverBucket">
12067
+ Optional bucket name to receive any result not addressed by
12068
+ <paramref name="indexSpec"/>. When null, unmatched results are discarded.
12069
+ </param>
12070
+ <param name="strictCoverage">
12071
+ When true, throws if any result in the log is not addressed by
12072
+ <paramref name="indexSpec"/> (and no <paramref name="spilloverBucket"/> is set).
12073
+ </param>
12074
+ <exception cref="T:System.ArgumentNullException">Thrown when <paramref name="log"/> is null.</exception>
12075
+ <exception cref="T:System.ArgumentException">Thrown when <paramref name="indexSpec"/> is null or empty.</exception>
12076
+ <exception cref="T:System.FormatException">Thrown when the spec cannot be parsed.</exception>
12077
+ </member>
12078
+ <member name="M:Microsoft.CodeAnalysis.Sarif.Writers.PartitionFunctions.ParseIndexSpec(System.String)">
12079
+ <summary>
12080
+ Parses a partition spec written in the compact mini-language.
12081
+ </summary>
12082
+ <remarks>
12083
+ Grammar:
12084
+ <code>
12085
+ spec ::= bucket ( "|" bucket )*
12086
+ bucket ::= segment ( ";" segment )*
12087
+ segment ::= compactSeg | sarifUri
12088
+ compactSeg ::= [ runId ":" ] resultIdx ( "," resultIdx )*
12089
+ sarifUri ::= "sarif:/runs/" runId "/results/" resultIdx
12090
+ </code>
12091
+ Buckets are auto-named "bucket0", "bucket1", ... in spec order. The
12092
+ <c>runId</c> prefix on a compact segment is optional; if omitted, run 0 is
12093
+ assumed (handy for the very common single-run AI workflow). Whitespace
12094
+ around any token is ignored.
12095
+ </remarks>
12096
+ <param name="spec">The spec string to parse.</param>
12097
+ <returns>
12098
+ A dictionary mapping each addressed <see cref="T:Microsoft.CodeAnalysis.Sarif.Writers.PartitionFunctions.ResultAddress"/> to the
12099
+ auto-generated bucket name it belongs to.
12100
+ </returns>
12101
+ <exception cref="T:System.ArgumentException">Thrown when <paramref name="spec"/> is null or empty.</exception>
12102
+ <exception cref="T:System.FormatException">Thrown when the spec is malformed or contains a duplicate address.</exception>
12103
+ </member>
12104
+ <member name="T:Microsoft.CodeAnalysis.Sarif.Writers.PartitionFunctions.ResultAddress">
12105
+ <summary>
12106
+ An address into a SARIF log: a (run index, result index) pair.
12107
+ </summary>
12108
+ </member>
12016
12109
  <member name="T:Microsoft.CodeAnalysis.Sarif.Writers.RegionComponents">
12017
12110
  <summary>
12018
12111
  RegionComponents has flags for the different ways a Region
package/WorkItems.pdb CHANGED
Binary file
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@microsoft/sarif-multitool-darwin",
3
3
  "description": "SARIF Multitool for MacOS (Darwin)",
4
- "version": "4.6.3",
4
+ "version": "4.6.4",
5
5
  "scripts": {
6
6
  "postinstall": "chmod u+x Sarif.Multitool"
7
7
  },