Skip to content

🌟 [Major]: TOML 1.0.0 reading and writing now available in PowerShell#15

Open
Marius Storhaug (MariusStorhaug) wants to merge 9 commits into
mainfrom
build-toml-module
Open

🌟 [Major]: TOML 1.0.0 reading and writing now available in PowerShell#15
Marius Storhaug (MariusStorhaug) wants to merge 9 commits into
mainfrom
build-toml-module

Conversation

@MariusStorhaug

@MariusStorhaug Marius Storhaug (MariusStorhaug) commented Jul 19, 2026

Copy link
Copy Markdown
Member

The Toml module now provides complete TOML 1.0.0 read and write support in pure PowerShell 7.6+. Scripts and tools can parse TOML configuration files into typed PowerShell objects, modify them in memory, and write them back — with no external dependencies required.

New: Parse TOML text into PowerShell objects

ConvertFrom-Toml parses any valid TOML 1.0.0 document into a TomlDocument. The Data property is an ordered dictionary that preserves source key order. All TOML scalar types map to native PowerShell types.

TOML type PowerShell type
String [string]
Integer [long]
Float [double]
Boolean [bool]
Offset date-time [System.DateTimeOffset]
Local date-time / local date [System.DateTime]
Local time [System.TimeSpan]
Array [object[]]
Inline table / Table [System.Collections.Specialized.OrderedDictionary]
$doc = ConvertFrom-Toml -InputObject (Get-Content config.toml -Raw)
$doc.Data.database.host   # "localhost"
$doc.Data.database.port   # 5432 [long]

New: Serialize PowerShell objects to TOML text

ConvertTo-Toml converts ordered dictionaries and hashtables into valid TOML text. Nested tables emit [header] sections and arrays of tables emit [[header]] sections in the correct order.

ConvertTo-Toml -InputObject ([ordered]@{
    title  = 'My App'
    server = [ordered]@{ host = 'localhost'; port = 8080 }
})

New: Import and export TOML files directly

Import-Toml reads a .toml file from disk and returns a TomlDocument with the resolved file path attached. Export-Toml writes any object or TomlDocument to disk as UTF-8 without BOM.

$doc = Import-Toml -Path ./config.toml
$doc.Data['version'] = 2
Export-Toml -InputObject $doc -Path ./config.toml

Technical Details

  • Pure PowerShell implementation — 4 public functions, 19 private helpers, one file each, no external dependencies.
  • Parser uses an index-walk tokenizer with dedicated helpers per token type: basic strings, literal strings, scalars, arrays, inline tables, dotted keys, and comments.
  • Serializer walks ordered dictionaries recursively, emitting scalar assignments, standard table headers, and array-of-tables sections.
  • Hot paths use .NET primitives: StringBuilder for output assembly, OrderedDictionary for key ordering, ArrayList for array-of-tables growth.
  • 116 Pester tests, PSScriptAnalyzer clean. Five advanced fixture files in tests/data/advanced/ cover deep nesting, all integer/float/datetime forms, Unicode escapes, multi-line strings, and heterogeneous arrays.
Related issues

- Add ConvertFrom-Toml, ConvertTo-Toml, Import-Toml, Export-Toml public commands
- Add TomlDocument class with Data (OrderedDictionary) and FilePath properties
- Add private helpers: ConvertFrom-TomlDateTime, ConvertFrom-TomlynTable,
  ConvertFrom-TomlynValue, ConvertTo-TomlynArray, ConvertTo-TomlynTable,
  ConvertTo-TomlynValue
- Back with Tomlyn v2.0.0 (.NET TOML library) via src/assemblies/Tomlyn.dll
- Enforce TOML 1.0.0 duplicate key and table redefinition rules via
  SyntaxParser.ParseStrict before deserializing
- Map all 8 TOML types to PowerShell types (string, long, double, bool,
  DateTimeOffset, DateTime, TimeSpan, OrderedDictionary/object[])
- Add 116 Pester tests covering spec compliance, round-trips, file I/O,
  error handling, and all TOML 1.0.0 type categories
- Add build.ps1 for local module assembly and test running
- Add tests/bootstrap.ps1 for test module import
- Add tests/data/ with 9 TOML fixture files
- Update README.md with type mapping table, command reference, usage examples
- Update examples/General.ps1 with comprehensive usage examples
- Remove template placeholder files (LsonLib.dll, format/type XMLs,
  sample modules/scripts/variables)
- Fix PSScriptAnalyzer warnings: UTF-8 BOM, indentation consistency

PSScriptAnalyzer: 0 errors, 0 warnings
Tests: 116/116 pass

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@github-actions

Copy link
Copy Markdown

Super-linter summary

Language Validation result
CHECKOV Pass ✅
GITHUB_ACTIONS Pass ✅
GITLEAKS Pass ✅
GIT_MERGE_CONFLICT_MARKERS Pass ✅
MARKDOWN Fail ❌
NATURAL_LANGUAGE Pass ✅
POWERSHELL Fail ❌
PRE_COMMIT Pass ✅
SPELL_CODESPELL Pass ✅
TRIVY Pass ✅
YAML Pass ✅

Super-linter detected linting errors

For more information, see the GitHub Actions workflow run

Powered by Super-linter

MARKDOWN
/github/workspace/README.md:101:22 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]
POWERSHELL

�[32;1mRuleName                           �[0m�[32;1m Severity    �[0m�[32;1m ScriptName�[0m�[32;1m Line �[0m�[32;1m Message�[0m
�[32;1m--------                           �[0m �[32;1m--------    �[0m �[32;1m----------�[0m �[32;1m---- �[0m �[32;1m-------�[0m
PSUseOutputTypeCorrectly            Information  ConvertTo- 40    The cmdlet 'C
                                                 TomlynArra       onvertTo-Toml
                                                 y.ps1            ynArray' retu
                                                                  rns an object
                                                                   of type 'Sys
                                                                  tem.Object[]'
                                                                   but this typ
                                                                  e is not decl
                                                                  ared in the O
                                                                  utputType att
                                                                  ribute.


�[32;1mRuleName                           �[0m�[32;1m Severity    �[0m�[32;1m ScriptName�[0m�[32;1m Line �[0m�[32;1m Message�[0m
�[32;1m--------                           �[0m �[32;1m--------    �[0m �[32;1m----------�[0m �[32;1m---- �[0m �[32;1m-------�[0m
PSUseOutputTypeCorrectly            Information  ConvertTo- 54    The cmdlet 'C
                                                 TomlynTabl       onvertTo-Toml
                                                 e.ps1            ynTable' retu
                                                                  rns an object
                                                                   of type 'Sys
                                                                  tem.Object[]'
                                                                   but this typ
                                                                  e is not decl
                                                                  ared in the O
                                                                  utputType att
                                                                  ribute.


�[32;1mRuleName                           �[0m�[32;1m Severity    �[0m�[32;1m ScriptName�[0m�[32;1m Line �[0m�[32;1m Message�[0m
�[32;1m--------                           �[0m �[32;1m--------    �[0m �[32;1m----------�[0m �[32;1m---- �[0m �[32;1m-------�[0m
PSUseOutputTypeCorrectly            Information  ConvertTo- 101   The cmdlet 'C
                                                 TomlynValu       onvertTo-Toml
                                                 e.ps1            ynValue' retu
                                                                  rns an object
                                                                   of type 'Sys
                                                                  tem.Int64' bu
                                                                  t this type i
                                                                  s not declare
                                                                  d in the Outp
                                                                  utType attrib
                                                                  ute.
PSUseOutputTypeCorrectly            Information  ConvertTo- 105   The cmdlet 'C
                                                 TomlynValu       onvertTo-Toml
                                                 e.ps1            ynValue' retu
                                                                  rns an object
                                                                   of type 'Sys
                                                                  tem.Double' b
                                                                  ut this type
                                                                  is not declar
                                                                  ed in the Out
                                                                  putType attri
                                                                  bute.
PSUseOutputTypeCorrectly            Information  ConvertTo- 116   The cmdlet 'C
                                                 TomlynValu       onvertTo-Toml
                                                 e.ps1            ynValue' retu
                                                                  rns an object
                                                                   of type 'Sys
                                                                  tem.Object[]'
                                                                   but this typ
                                                                  e is not decl
                                                                  ared in the O
                                                                  utputType att
                                                                  ribute.
PSUseOutputTypeCorrectly            Information  ConvertTo- 123   The cmdlet 'C
                                                 TomlynValu       onvertTo-Toml
                                                 e.ps1            ynValue' retu
                                                                  rns an object
                                                                   of type 'Sys
                                                                  tem.Object[]'
                                                                   but this typ
                                                                  e is not decl
                                                                  ared in the O
                                                                  utputType att
                                                                  ribute.


�[32;1mRuleName                           �[0m�[32;1m Severity    �[0m�[32;1m ScriptName�[0m�[32;1m Line �[0m�[32;1m Message�[0m
�[32;1m--------                           �[0m �[32;1m--------    �[0m �[32;1m----------�[0m �[32;1m---- �[0m �[32;1m-------�[0m
PSAvoidUsingPositionalParameters    Information  bootstrap. 12    Cmdlet 'Join-
                                                 ps1              Path' has pos
                                                                  itional param
                                                                  eter. Please
                                                                  use named par
                                                                  ameters inste
                                                                  ad of positio
                                                                  nal parameter
                                                                  s when callin
                                                                  g a command.


�[32;1mRuleName                           �[0m�[32;1m Severity    �[0m�[32;1m ScriptName�[0m�[32;1m Line �[0m�[32;1m Message�[0m
�[32;1m--------                           �[0m �[32;1m--------    �[0m �[32;1m----------�[0m �[32;1m---- �[0m �[32;1m-------�[0m
PSAvoidUsingWriteHost               Warning      build.ps1  105   File 'build.p
                                                                  s1' uses Writ
                                                                  e-Host. Avoid
                                                                   using Write-
                                                                  Host because
                                                                  it might not
                                                                  work in all h
                                                                  osts, does no
                                                                  t work when t
                                                                  here is no ho
                                                                  st, and (prio
                                                                  r to PS 5.0)
                                                                  cannot be sup
                                                                  pressed, capt
                                                                  ured, or redi
                                                                  rected. Inste
                                                                  ad, use Write
                                                                  -Output, Writ
                                                                  e-Verbose, or
                                                                   Write-Inform
                                                                  ation.
PSAvoidUsingWriteHost               Warning      build.ps1  106   File 'build.p
                                                                  s1' uses Writ
                                                                  e-Host. Avoid
                                                                   using Write-
                                                                  Host because
                                                                  it might not
                                                                  work in all h
                                                                  osts, does no
                                                                  t work when t
                                                                  here is no ho
                                                                  st, and (prio
                                                                  r to PS 5.0)
                                                                  cannot be sup
                                                                  pressed, capt
                                                                  ured, or redi
                                                                  rected. Inste
                                                                  ad, use Write
                                                                  -Output, Writ
                                                                  e-Verbose, or
                                                                   Write-Inform
                                                                  ation.
PSUseBOMForUnicodeEncodedFile       Warning      build.ps1        Missing BOM e
                                                                  ncoding for n
                                                                  on-ASCII enco
                                                                  ded file 'bui
                                                                  ld.ps1'
PSUseConsistentWhitespace           Warning      build.ps1  19    Use space bef
                                                                  ore and after
                                                                   binary and a
                                                                  ssignment ope
                                                                  rators.
PSUseConsistentWhitespace           Warning      build.ps1  20    Use space bef
                                                                  ore and after
                                                                   binary and a
                                                                  ssignment ope
                                                                  rators.
PSUseConsistentWhitespace           Warning      build.ps1  21    Use space bef
                                                                  ore and after
                                                                   binary and a
                                                                  ssignment ope
                                                                  rators.
PSAvoidUsingPositionalParameters    Information  build.ps1  21    Cmdlet 'Join-
                                                                  Path' has pos
                                                                  itional param
                                                                  eter. Please
                                                                  use named par
                                                                  ameters inste
                                                                  ad of positio
                                                                  nal parameter
                                                                  s when callin
                                                                  g a command.


�[32;1mRuleName                           �[0m�[32;1m Severity    �[0m�[32;1m ScriptName�[0m�[32;1m Line �[0m�[32;1m Message�[0m
�[32;1m--------                           �[0m �[32;1m--------    �[0m �[32;1m----------�[0m �[32;1m---- �[0m �[32;1m-------�[0m
PSAlignAssignmentStatement          Warning      General.ps 29    Assignment st
                                                 1                atements are
                                                                  not aligned
PSAlignAssignmentStatement          Warning      General.ps 30    Assignment st
                                                 1                atements are
                                                                  not aligned
PSAlignAssignmentStatement          Warning      General.ps 31    Assignment st
                                                 1                atements are
                                                                  not aligned
PSAlignAssignmentStatement          Warning      General.ps 32    Assignment st
                                                 1                atements are
                                                                  not aligned
PSUseConsistentIndentation          Warning      General.ps 29    Indentation n
                                                 1                ot consistent
PSUseConsistentIndentation          Warning      General.ps 30    Indentation n
                                                 1                ot consistent
PSUseConsistentIndentation          Warning      General.ps 31    Indentation n
                                                 1                ot consistent
PSUseConsistentIndentation          Warning      General.ps 32    Indentation n
                                                 1                ot consistent
PSUseConsistentIndentation          Warning      General.ps 33    Indentation n
                                                 1                ot consistent
PSUseConsistentIndentation          Warning      General.ps 34    Indentation n
                                                 1                ot consistent
PSUseConsistentIndentation          Warning      General.ps 35    Indentation n
                                                 1                ot consistent
PSUseConsistentIndentation          Warning      General.ps 36    Indentation n
                                                 1                ot consistent
PSUseConsistentIndentation          Warning      General.ps 37    Indentation n
                                                 1                ot consistent
PSAvoidUsingWriteHost               Warning      General.ps 38    File 'General
                                                 1                .ps1' uses Wr
                                                                  ite-Host. Avo
                                                                  id using Writ
                                                                  e-Host becaus
                                                                  e it might no
                                                                  t work in all
                                                                   hosts, does
                                                                  not work when
                                                                   there is no
                                                                  host, and (pr
                                                                  ior to PS 5.0
                                                                  ) cannot be s
                                                                  uppressed, ca
                                                                  ptured, or re
                                                                  directed. Ins
                                                                  tead, use Wri
                                                                  te-Output, Wr
                                                                  ite-Verbose,
                                                                  or Write-Info
                                                                  rmation.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
…dvanced fixtures

- Replace Tomlyn (.NET) dependency with pure PowerShell parser/serializer
- Add 19 private helper functions covering all TOML token types
- Fix: sub-tables inside array-of-tables entries no longer falsely fail as redefinitions
- Fix: space-separator datetimes (e.g. '1987-07-05 17:45:00Z') now parsed correctly
- Add 5 advanced TOML fixture files covering deep AoT nesting, all numeric bases,
  all datetime forms, Unicode escapes, multi-line strings, and heterogeneous arrays
- Remove src/assemblies/Tomlyn.dll and all Tomlyn* helpers
- Set PowerShellVersion = 7.6 in manifest
- 116 tests pass, PSScriptAnalyzer clean

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@MariusStorhaug Marius Storhaug (MariusStorhaug) changed the title Implement Toml module with full TOML 1.0.0 support 🌟 [Major]: TOML 1.0.0 reading and writing now available in PowerShell Jul 23, 2026
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
- src/functions/public/Toml/ -> src/functions/public/
- src/functions/private/Toml/ -> src/functions/private/
- Remove template placeholder sections from README.md

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@github-actions

Copy link
Copy Markdown

Super-linter summary

Language Validation result
CHECKOV Pass ✅
GITHUB_ACTIONS Pass ✅
GITLEAKS Pass ✅
GIT_MERGE_CONFLICT_MARKERS Pass ✅
MARKDOWN Fail ❌
NATURAL_LANGUAGE Pass ✅
POWERSHELL Fail ❌
PRE_COMMIT Pass ✅
SPELL_CODESPELL Pass ✅
TRIVY Pass ✅
YAML Pass ✅

Super-linter detected linting errors

For more information, see the GitHub Actions workflow run

Powered by Super-linter

MARKDOWN
/github/workspace/README.md:101:22 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]
POWERSHELL

�[32;1mRuleName                           �[0m�[32;1m Severity    �[0m�[32;1m ScriptName�[0m�[32;1m Line �[0m�[32;1m Message�[0m
�[32;1m--------                           �[0m �[32;1m--------    �[0m �[32;1m----------�[0m �[32;1m---- �[0m �[32;1m-------�[0m
PSUseOutputTypeCorrectly            Information  ConvertFro 98    The cmdlet 'C
                                                 m-TomlPars       onvertFrom-To
                                                 edValue.ps       mlParsedValue
                                                 1                ' returns an
                                                                  object of typ
                                                                  e 'System.Col
                                                                  lections.Spec
                                                                  ialized.Order
                                                                  edDictionary'
                                                                   but this typ
                                                                  e is not decl
                                                                  ared in the O
                                                                  utputType att
                                                                  ribute.


�[32;1mRuleName                           �[0m�[32;1m Severity    �[0m�[32;1m ScriptName�[0m�[32;1m Line �[0m�[32;1m Message�[0m
�[32;1m--------                           �[0m �[32;1m--------    �[0m �[32;1m----------�[0m �[32;1m---- �[0m �[32;1m-------�[0m
PSUseOutputTypeCorrectly            Information  ConvertFro 13    The cmdlet 'C
                                                 m-TomlScal       onvertFrom-To
                                                 arToken.ps       mlScalarToken
                                                 1                ' returns an
                                                                  object of typ
                                                                  e 'System.Boo
                                                                  lean' but thi
                                                                  s type is not
                                                                   declared in
                                                                  the OutputTyp
                                                                  e attribute.
PSUseOutputTypeCorrectly            Information  ConvertFro 14    The cmdlet 'C
                                                 m-TomlScal       onvertFrom-To
                                                 arToken.ps       mlScalarToken
                                                 1                ' returns an
                                                                  object of typ
                                                                  e 'System.Boo
                                                                  lean' but thi
                                                                  s type is not
                                                                   declared in
                                                                  the OutputTyp
                                                                  e attribute.
PSUseOutputTypeCorrectly            Information  ConvertFro 15    The cmdlet 'C
                                                 m-TomlScal       onvertFrom-To
                                                 arToken.ps       mlScalarToken
                                                 1                ' returns an
                                                                  object of typ
                                                                  e 'System.Dou
                                                                  ble' but this
                                                                   type is not
                                                                  declared in t
                                                                  he OutputType
                                                                   attribute.
PSUseOutputTypeCorrectly            Information  ConvertFro 16    The cmdlet 'C
                                                 m-TomlScal       onvertFrom-To
                                                 arToken.ps       mlScalarToken
                                                 1                ' returns an
                                                                  object of typ
                                                                  e 'System.Dou
                                                                  ble' but this
                                                                   type is not
                                                                  declared in t
                                                                  he OutputType
                                                                   attribute.
PSUseOutputTypeCorrectly            Information  ConvertFro 17    The cmdlet 'C
                                                 m-TomlScal       onvertFrom-To
                                                 arToken.ps       mlScalarToken
                                                 1                ' returns an
                                                                  object of typ
                                                                  e 'System.Dou
                                                                  ble' but this
                                                                   type is not
                                                                  declared in t
                                                                  he OutputType
                                                                   attribute.
PSUseOutputTypeCorrectly            Information  ConvertFro 29    The cmdlet 'C
                                                 m-TomlScal       onvertFrom-To
                                                 arToken.ps       mlScalarToken
                                                 1                ' returns an
                                                                  object of typ
                                                                  e 'System.Int
                                                                  64' but this
                                                                  type is not d
                                                                  eclared in th
                                                                  e OutputType
                                                                  attribute.
PSUseOutputTypeCorrectly            Information  ConvertFro 37    The cmdlet 'C
                                                 m-TomlScal       onvertFrom-To
                                                 arToken.ps       mlScalarToken
                                                 1                ' returns an
                                                                  object of typ
                                                                  e 'System.Int
                                                                  64' but this
                                                                  type is not d
                                                                  eclared in th
                                                                  e OutputType
                                                                  attribute.
PSUseOutputTypeCorrectly            Information  ConvertFro 45    The cmdlet 'C
                                                 m-TomlScal       onvertFrom-To
                                                 arToken.ps       mlScalarToken
                                                 1                ' returns an
                                                                  object of typ
                                                                  e 'System.Int
                                                                  64' but this
                                                                  type is not d
                                                                  eclared in th
                                                                  e OutputType
                                                                  attribute.
PSUseOutputTypeCorrectly            Information  ConvertFro 49    The cmdlet 'C
                                                 m-TomlScal       onvertFrom-To
                                                 arToken.ps       mlScalarToken
                                                 1                ' returns an
                                                                  object of typ
                                                                  e 'System.Int
                                                                  64' but this
                                                                  type is not d
                                                                  eclared in th
                                                                  e OutputType
                                                                  attribute.
PSUseOutputTypeCorrectly            Information  ConvertFro 53    The cmdlet 'C
                                                 m-TomlScal       onvertFrom-To
                                                 arToken.ps       mlScalarToken
                                                 1                ' returns an
                                                                  object of typ
                                                                  e 'System.Dou
                                                                  ble' but this
                                                                   type is not
                                                                  declared in t
                                                                  he OutputType
                                                                   attribute.


�[32;1mRuleName                           �[0m�[32;1m Severity    �[0m�[32;1m ScriptName�[0m�[32;1m Line �[0m�[32;1m Message�[0m
�[32;1m--------                           �[0m �[32;1m--------    �[0m �[32;1m----------�[0m �[32;1m---- �[0m �[32;1m-------�[0m
PSUseConsistentIndentation          Warning      ConvertFro 36    Indentation n
                                                 m-TomlTabl       ot consistent
                                                 e.ps1
PSUseConsistentIndentation          Warning      ConvertFro 37    Indentation n
                                                 m-TomlTabl       ot consistent
                                                 e.ps1
PSUseConsistentIndentation          Warning      ConvertFro 38    Indentation n
                                                 m-TomlTabl       ot consistent
                                                 e.ps1
PSUseConsistentIndentation          Warning      ConvertFro 39    Indentation n
                                                 m-TomlTabl       ot consistent
                                                 e.ps1
PSUseConsistentIndentation          Warning      ConvertFro 40    Indentation n
                                                 m-TomlTabl       ot consistent
                                                 e.ps1
PSUseConsistentIndentation          Warning      ConvertFro 41    Indentation n
                                                 m-TomlTabl       ot consistent
                                                 e.ps1
PSUseConsistentIndentation          Warning      ConvertFro 42    Indentation n
                                                 m-TomlTabl       ot consistent
                                                 e.ps1


�[32;1mRuleName                           �[0m�[32;1m Severity    �[0m�[32;1m ScriptName�[0m�[32;1m Line �[0m�[32;1m Message�[0m
�[32;1m--------                           �[0m �[32;1m--------    �[0m �[32;1m----------�[0m �[32;1m---- �[0m �[32;1m-------�[0m
PSUseOutputTypeCorrectly            Information  Split-Toml 85    The cmdlet 'S
                                                 DottedKey.       plit-TomlDott
                                                 ps1              edKey' return
                                                                  s an object o
                                                                  f type 'Syste
                                                                  m.Object[]' b
                                                                  ut this type
                                                                  is not declar
                                                                  ed in the Out
                                                                  putType attri
                                                                  bute.


�[32;1mRuleName                           �[0m�[32;1m Severity    �[0m�[32;1m ScriptName�[0m�[32;1m Line �[0m�[32;1m Message�[0m
�[32;1m--------                           �[0m �[32;1m--------    �[0m �[32;1m----------�[0m �[32;1m---- �[0m �[32;1m-------�[0m
PSUseOutputTypeCorrectly            Information  ConvertTo- 23    The cmdlet 'C
                                                 TomlTableO       onvertTo-Toml
                                                 bject.ps1        TableObject'
                                                                  returns an ob
                                                                  ject of type
                                                                  'System.Colle
                                                                  ctions.Specia
                                                                  lized.Ordered
                                                                  Dictionary' b
                                                                  ut this type
                                                                  is not declar
                                                                  ed in the Out
                                                                  putType attri
                                                                  bute.
PSUseOutputTypeCorrectly            Information  ConvertTo- 31    The cmdlet 'C
                                                 TomlTableO       onvertTo-Toml
                                                 bject.ps1        TableObject'
                                                                  returns an ob
                                                                  ject of type
                                                                  'System.Colle
                                                                  ctions.Specia
                                                                  lized.Ordered
                                                                  Dictionary' b
                                                                  ut this type
                                                                  is not declar
                                                                  ed in the Out
                                                                  putType attri
                                                                  bute.
PSUseOutputTypeCorrectly            Information  ConvertTo- 43    The cmdlet 'C
                                                 TomlTableO       onvertTo-Toml
                                                 bject.ps1        TableObject'
                                                                  returns an ob
                                                                  ject of type
                                                                  'System.Colle
                                                                  ctions.Specia
                                                                  lized.Ordered
                                                                  Dictionary' b
                                                                  ut this type
                                                                  is not declar
                                                                  ed in the Out
                                                                  putType attri
                                                                  bute.


�[32;1mRuleName                           �[0m�[32;1m Severity    �[0m�[32;1m ScriptName�[0m�[32;1m Line �[0m�[32;1m Message�[0m
�[32;1m--------                           �[0m �[32;1m--------    �[0m �[32;1m----------�[0m �[32;1m---- �[0m �[32;1m-------�[0m
PSAvoidUsingWriteHost               Warning      build.ps1  90    File 'build.p
                                                                  s1' uses Writ
                                                                  e-Host. Avoid
                                                                   using Write-
                                                                  Host because
                                                                  it might not
                                                                  work in all h
                                                                  osts, does no
                                                                  t work when t
                                                                  here is no ho
                                                                  st, and (prio
                                                                  r to PS 5.0)
                                                                  cannot be sup
                                                                  pressed, capt
                                                                  ured, or redi
                                                                  rected. Inste
                                                                  ad, use Write
                                                                  -Output, Writ
                                                                  e-Verbose, or
                                                                   Write-Inform
                                                                  ation.
PSAvoidUsingWriteHost               Warning      build.ps1  91    File 'build.p
                                                                  s1' uses Writ
                                                                  e-Host. Avoid
                                                                   using Write-
                                                                  Host because
                                                                  it might not
                                                                  work in all h
                                                                  osts, does no
                                                                  t work when t
                                                                  here is no ho
                                                                  st, and (prio
                                                                  r to PS 5.0)
                                                                  cannot be sup
                                                                  pressed, capt
                                                                  ured, or redi
                                                                  rected. Inste
                                                                  ad, use Write
                                                                  -Output, Writ
                                                                  e-Verbose, or
                                                                   Write-Inform
                                                                  ation.
PSUseBOMForUnicodeEncodedFile       Warning      build.ps1        Missing BOM e
                                                                  ncoding for n
                                                                  on-ASCII enco
                                                                  ded file 'bui
                                                                  ld.ps1'
PSAvoidUsingPositionalParameters    Information  build.ps1  21    Cmdlet 'Join-
                                                                  Path' has pos
                                                                  itional param
                                                                  eter. Please
                                                                  use named par
                                                                  ameters inste
                                                                  ad of positio
                                                                  nal parameter
                                                                  s when callin
                                                                  g a command.
PSUseConsistentWhitespace           Warning      build.ps1  19    Use space bef
                                                                  ore and after
                                                                   binary and a
                                                                  ssignment ope
                                                                  rators.
PSUseConsistentWhitespace           Warning      build.ps1  20    Use space bef
                                                                  ore and after
                                                                   binary and a
                                                                  ssignment ope
                                                                  rators.
PSUseConsistentWhitespace           Warning      build.ps1  21    Use space bef
                                                                  ore and after
                                                                   binary and a
                                                                  ssignment ope
                                                                  rators.


�[32;1mRuleName                           �[0m�[32;1m Severity    �[0m�[32;1m ScriptName�[0m�[32;1m Line �[0m�[32;1m Message�[0m
�[32;1m--------                           �[0m �[32;1m--------    �[0m �[32;1m----------�[0m �[32;1m---- �[0m �[32;1m-------�[0m
PSAlignAssignmentStatement          Warning      General.ps 29    Assignment st
                                                 1                atements are
                                                                  not aligned
PSAlignAssignmentStatement          Warning      General.ps 30    Assignment st
                                                 1                atements are
                                                                  not aligned
PSAlignAssignmentStatement          Warning      General.ps 31    Assignment st
                                                 1                atements are
                                                                  not aligned
PSAlignAssignmentStatement          Warning      General.ps 32    Assignment st
                                                 1                atements are
                                                                  not aligned
PSAvoidUsingWriteHost               Warning      General.ps 38    File 'General
                                                 1                .ps1' uses Wr
                                                                  ite-Host. Avo
                                                                  id using Writ
                                                                  e-Host becaus
                                                                  e it might no
                                                                  t work in all
                                                                   hosts, does
                                                                  not work when
                                                                   there is no
                                                                  host, and (pr
                                                                  ior to PS 5.0
                                                                  ) cannot be s
                                                                  uppressed, ca
                                                                  ptured, or re
                                                                  directed. Ins
                                                                  tead, use Wri
                                                                  te-Output, Wr
                                                                  ite-Verbose,
                                                                  or Write-Info
                                                                  rmation.
PSUseConsistentIndentation          Warning      General.ps 29    Indentation n
                                                 1                ot consistent
PSUseConsistentIndentation          Warning      General.ps 30    Indentation n
                                                 1                ot consistent
PSUseConsistentIndentation          Warning      General.ps 31    Indentation n
                                                 1                ot consistent
PSUseConsistentIndentation          Warning      General.ps 32    Indentation n
                                                 1                ot consistent
PSUseConsistentIndentation          Warning      General.ps 33    Indentation n
                                                 1                ot consistent
PSUseConsistentIndentation          Warning      General.ps 34    Indentation n
                                                 1                ot consistent
PSUseConsistentIndentation          Warning      General.ps 35    Indentation n
                                                 1                ot consistent
PSUseConsistentIndentation          Warning      General.ps 36    Indentation n
                                                 1                ot consistent
PSUseConsistentIndentation          Warning      General.ps 37    Indentation n
                                                 1                ot consistent


�[32;1mRuleName                           �[0m�[32;1m Severity    �[0m�[32;1m ScriptName�[0m�[32;1m Line �[0m�[32;1m Message�[0m
�[32;1m--------                           �[0m �[32;1m--------    �[0m �[32;1m----------�[0m �[32;1m---- �[0m �[32;1m-------�[0m
PSAvoidUsingPositionalParameters    Information  bootstrap. 12    Cmdlet 'Join-
                                                 ps1              Path' has pos
                                                                  itional param
                                                                  eter. Please
                                                                  use named par
                                                                  ameters inste
                                                                  ad of positio
                                                                  nal parameter
                                                                  s when callin
                                                                  g a command.

Remove header.ps1, finally.ps1, init/initializer.ps1, manifest.psd1,
and src/README.md — none are needed by the pure-PowerShell module.
Build and 116 tests remain green.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@github-actions

Copy link
Copy Markdown

Super-linter summary

Language Validation result
CHECKOV Pass ✅
GITHUB_ACTIONS Pass ✅
GITLEAKS Pass ✅
GIT_MERGE_CONFLICT_MARKERS Pass ✅
MARKDOWN Fail ❌
NATURAL_LANGUAGE Pass ✅
POWERSHELL Fail ❌
PRE_COMMIT Pass ✅
SPELL_CODESPELL Pass ✅
TRIVY Pass ✅
YAML Pass ✅

Super-linter detected linting errors

For more information, see the GitHub Actions workflow run

Powered by Super-linter

MARKDOWN
/github/workspace/README.md:101:22 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]
POWERSHELL

�[32;1mRuleName                           �[0m�[32;1m Severity    �[0m�[32;1m ScriptName�[0m�[32;1m Line �[0m�[32;1m Message�[0m
�[32;1m--------                           �[0m �[32;1m--------    �[0m �[32;1m----------�[0m �[32;1m---- �[0m �[32;1m-------�[0m
PSUseOutputTypeCorrectly            Information  ConvertFro 98    The cmdlet 'C
                                                 m-TomlPars       onvertFrom-To
                                                 edValue.ps       mlParsedValue
                                                 1                ' returns an
                                                                  object of typ
                                                                  e 'System.Col
                                                                  lections.Spec
                                                                  ialized.Order
                                                                  edDictionary'
                                                                   but this typ
                                                                  e is not decl
                                                                  ared in the O
                                                                  utputType att
                                                                  ribute.


�[32;1mRuleName                           �[0m�[32;1m Severity    �[0m�[32;1m ScriptName�[0m�[32;1m Line �[0m�[32;1m Message�[0m
�[32;1m--------                           �[0m �[32;1m--------    �[0m �[32;1m----------�[0m �[32;1m---- �[0m �[32;1m-------�[0m
PSUseOutputTypeCorrectly            Information  ConvertFro 13    The cmdlet 'C
                                                 m-TomlScal       onvertFrom-To
                                                 arToken.ps       mlScalarToken
                                                 1                ' returns an
                                                                  object of typ
                                                                  e 'System.Boo
                                                                  lean' but thi
                                                                  s type is not
                                                                   declared in
                                                                  the OutputTyp
                                                                  e attribute.
PSUseOutputTypeCorrectly            Information  ConvertFro 14    The cmdlet 'C
                                                 m-TomlScal       onvertFrom-To
                                                 arToken.ps       mlScalarToken
                                                 1                ' returns an
                                                                  object of typ
                                                                  e 'System.Boo
                                                                  lean' but thi
                                                                  s type is not
                                                                   declared in
                                                                  the OutputTyp
                                                                  e attribute.
PSUseOutputTypeCorrectly            Information  ConvertFro 15    The cmdlet 'C
                                                 m-TomlScal       onvertFrom-To
                                                 arToken.ps       mlScalarToken
                                                 1                ' returns an
                                                                  object of typ
                                                                  e 'System.Dou
                                                                  ble' but this
                                                                   type is not
                                                                  declared in t
                                                                  he OutputType
                                                                   attribute.
PSUseOutputTypeCorrectly            Information  ConvertFro 16    The cmdlet 'C
                                                 m-TomlScal       onvertFrom-To
                                                 arToken.ps       mlScalarToken
                                                 1                ' returns an
                                                                  object of typ
                                                                  e 'System.Dou
                                                                  ble' but this
                                                                   type is not
                                                                  declared in t
                                                                  he OutputType
                                                                   attribute.
PSUseOutputTypeCorrectly            Information  ConvertFro 17    The cmdlet 'C
                                                 m-TomlScal       onvertFrom-To
                                                 arToken.ps       mlScalarToken
                                                 1                ' returns an
                                                                  object of typ
                                                                  e 'System.Dou
                                                                  ble' but this
                                                                   type is not
                                                                  declared in t
                                                                  he OutputType
                                                                   attribute.
PSUseOutputTypeCorrectly            Information  ConvertFro 29    The cmdlet 'C
                                                 m-TomlScal       onvertFrom-To
                                                 arToken.ps       mlScalarToken
                                                 1                ' returns an
                                                                  object of typ
                                                                  e 'System.Int
                                                                  64' but this
                                                                  type is not d
                                                                  eclared in th
                                                                  e OutputType
                                                                  attribute.
PSUseOutputTypeCorrectly            Information  ConvertFro 37    The cmdlet 'C
                                                 m-TomlScal       onvertFrom-To
                                                 arToken.ps       mlScalarToken
                                                 1                ' returns an
                                                                  object of typ
                                                                  e 'System.Int
                                                                  64' but this
                                                                  type is not d
                                                                  eclared in th
                                                                  e OutputType
                                                                  attribute.
PSUseOutputTypeCorrectly            Information  ConvertFro 45    The cmdlet 'C
                                                 m-TomlScal       onvertFrom-To
                                                 arToken.ps       mlScalarToken
                                                 1                ' returns an
                                                                  object of typ
                                                                  e 'System.Int
                                                                  64' but this
                                                                  type is not d
                                                                  eclared in th
                                                                  e OutputType
                                                                  attribute.
PSUseOutputTypeCorrectly            Information  ConvertFro 49    The cmdlet 'C
                                                 m-TomlScal       onvertFrom-To
                                                 arToken.ps       mlScalarToken
                                                 1                ' returns an
                                                                  object of typ
                                                                  e 'System.Int
                                                                  64' but this
                                                                  type is not d
                                                                  eclared in th
                                                                  e OutputType
                                                                  attribute.
PSUseOutputTypeCorrectly            Information  ConvertFro 53    The cmdlet 'C
                                                 m-TomlScal       onvertFrom-To
                                                 arToken.ps       mlScalarToken
                                                 1                ' returns an
                                                                  object of typ
                                                                  e 'System.Dou
                                                                  ble' but this
                                                                   type is not
                                                                  declared in t
                                                                  he OutputType
                                                                   attribute.


�[32;1mRuleName                           �[0m�[32;1m Severity    �[0m�[32;1m ScriptName�[0m�[32;1m Line �[0m�[32;1m Message�[0m
�[32;1m--------                           �[0m �[32;1m--------    �[0m �[32;1m----------�[0m �[32;1m---- �[0m �[32;1m-------�[0m
PSUseConsistentIndentation          Warning      ConvertFro 36    Indentation n
                                                 m-TomlTabl       ot consistent
                                                 e.ps1
PSUseConsistentIndentation          Warning      ConvertFro 37    Indentation n
                                                 m-TomlTabl       ot consistent
                                                 e.ps1
PSUseConsistentIndentation          Warning      ConvertFro 38    Indentation n
                                                 m-TomlTabl       ot consistent
                                                 e.ps1
PSUseConsistentIndentation          Warning      ConvertFro 39    Indentation n
                                                 m-TomlTabl       ot consistent
                                                 e.ps1
PSUseConsistentIndentation          Warning      ConvertFro 40    Indentation n
                                                 m-TomlTabl       ot consistent
                                                 e.ps1
PSUseConsistentIndentation          Warning      ConvertFro 41    Indentation n
                                                 m-TomlTabl       ot consistent
                                                 e.ps1
PSUseConsistentIndentation          Warning      ConvertFro 42    Indentation n
                                                 m-TomlTabl       ot consistent
                                                 e.ps1


�[32;1mRuleName                           �[0m�[32;1m Severity    �[0m�[32;1m ScriptName�[0m�[32;1m Line �[0m�[32;1m Message�[0m
�[32;1m--------                           �[0m �[32;1m--------    �[0m �[32;1m----------�[0m �[32;1m---- �[0m �[32;1m-------�[0m
PSUseOutputTypeCorrectly            Information  Split-Toml 85    The cmdlet 'S
                                                 DottedKey.       plit-TomlDott
                                                 ps1              edKey' return
                                                                  s an object o
                                                                  f type 'Syste
                                                                  m.Object[]' b
                                                                  ut this type
                                                                  is not declar
                                                                  ed in the Out
                                                                  putType attri
                                                                  bute.


�[32;1mRuleName                           �[0m�[32;1m Severity    �[0m�[32;1m ScriptName�[0m�[32;1m Line �[0m�[32;1m Message�[0m
�[32;1m--------                           �[0m �[32;1m--------    �[0m �[32;1m----------�[0m �[32;1m---- �[0m �[32;1m-------�[0m
PSUseOutputTypeCorrectly            Information  ConvertTo- 23    The cmdlet 'C
                                                 TomlTableO       onvertTo-Toml
                                                 bject.ps1        TableObject'
                                                                  returns an ob
                                                                  ject of type
                                                                  'System.Colle
                                                                  ctions.Specia
                                                                  lized.Ordered
                                                                  Dictionary' b
                                                                  ut this type
                                                                  is not declar
                                                                  ed in the Out
                                                                  putType attri
                                                                  bute.
PSUseOutputTypeCorrectly            Information  ConvertTo- 31    The cmdlet 'C
                                                 TomlTableO       onvertTo-Toml
                                                 bject.ps1        TableObject'
                                                                  returns an ob
                                                                  ject of type
                                                                  'System.Colle
                                                                  ctions.Specia
                                                                  lized.Ordered
                                                                  Dictionary' b
                                                                  ut this type
                                                                  is not declar
                                                                  ed in the Out
                                                                  putType attri
                                                                  bute.
PSUseOutputTypeCorrectly            Information  ConvertTo- 43    The cmdlet 'C
                                                 TomlTableO       onvertTo-Toml
                                                 bject.ps1        TableObject'
                                                                  returns an ob
                                                                  ject of type
                                                                  'System.Colle
                                                                  ctions.Specia
                                                                  lized.Ordered
                                                                  Dictionary' b
                                                                  ut this type
                                                                  is not declar
                                                                  ed in the Out
                                                                  putType attri
                                                                  bute.


�[32;1mRuleName                           �[0m�[32;1m Severity    �[0m�[32;1m ScriptName�[0m�[32;1m Line �[0m�[32;1m Message�[0m
�[32;1m--------                           �[0m �[32;1m--------    �[0m �[32;1m----------�[0m �[32;1m---- �[0m �[32;1m-------�[0m
PSAvoidUsingWriteHost               Warning      build.ps1  90    File 'build.p
                                                                  s1' uses Writ
                                                                  e-Host. Avoid
                                                                   using Write-
                                                                  Host because
                                                                  it might not
                                                                  work in all h
                                                                  osts, does no
                                                                  t work when t
                                                                  here is no ho
                                                                  st, and (prio
                                                                  r to PS 5.0)
                                                                  cannot be sup
                                                                  pressed, capt
                                                                  ured, or redi
                                                                  rected. Inste
                                                                  ad, use Write
                                                                  -Output, Writ
                                                                  e-Verbose, or
                                                                   Write-Inform
                                                                  ation.
PSAvoidUsingWriteHost               Warning      build.ps1  91    File 'build.p
                                                                  s1' uses Writ
                                                                  e-Host. Avoid
                                                                   using Write-
                                                                  Host because
                                                                  it might not
                                                                  work in all h
                                                                  osts, does no
                                                                  t work when t
                                                                  here is no ho
                                                                  st, and (prio
                                                                  r to PS 5.0)
                                                                  cannot be sup
                                                                  pressed, capt
                                                                  ured, or redi
                                                                  rected. Inste
                                                                  ad, use Write
                                                                  -Output, Writ
                                                                  e-Verbose, or
                                                                   Write-Inform
                                                                  ation.
PSUseBOMForUnicodeEncodedFile       Warning      build.ps1        Missing BOM e
                                                                  ncoding for n
                                                                  on-ASCII enco
                                                                  ded file 'bui
                                                                  ld.ps1'
PSAvoidUsingPositionalParameters    Information  build.ps1  21    Cmdlet 'Join-
                                                                  Path' has pos
                                                                  itional param
                                                                  eter. Please
                                                                  use named par
                                                                  ameters inste
                                                                  ad of positio
                                                                  nal parameter
                                                                  s when callin
                                                                  g a command.
PSUseConsistentWhitespace           Warning      build.ps1  19    Use space bef
                                                                  ore and after
                                                                   binary and a
                                                                  ssignment ope
                                                                  rators.
PSUseConsistentWhitespace           Warning      build.ps1  20    Use space bef
                                                                  ore and after
                                                                   binary and a
                                                                  ssignment ope
                                                                  rators.
PSUseConsistentWhitespace           Warning      build.ps1  21    Use space bef
                                                                  ore and after
                                                                   binary and a
                                                                  ssignment ope
                                                                  rators.


�[32;1mRuleName                           �[0m�[32;1m Severity    �[0m�[32;1m ScriptName�[0m�[32;1m Line �[0m�[32;1m Message�[0m
�[32;1m--------                           �[0m �[32;1m--------    �[0m �[32;1m----------�[0m �[32;1m---- �[0m �[32;1m-------�[0m
PSAlignAssignmentStatement          Warning      General.ps 29    Assignment st
                                                 1                atements are
                                                                  not aligned
PSAlignAssignmentStatement          Warning      General.ps 30    Assignment st
                                                 1                atements are
                                                                  not aligned
PSAlignAssignmentStatement          Warning      General.ps 31    Assignment st
                                                 1                atements are
                                                                  not aligned
PSAlignAssignmentStatement          Warning      General.ps 32    Assignment st
                                                 1                atements are
                                                                  not aligned
PSAvoidUsingWriteHost               Warning      General.ps 38    File 'General
                                                 1                .ps1' uses Wr
                                                                  ite-Host. Avo
                                                                  id using Writ
                                                                  e-Host becaus
                                                                  e it might no
                                                                  t work in all
                                                                   hosts, does
                                                                  not work when
                                                                   there is no
                                                                  host, and (pr
                                                                  ior to PS 5.0
                                                                  ) cannot be s
                                                                  uppressed, ca
                                                                  ptured, or re
                                                                  directed. Ins
                                                                  tead, use Wri
                                                                  te-Output, Wr
                                                                  ite-Verbose,
                                                                  or Write-Info
                                                                  rmation.
PSUseConsistentIndentation          Warning      General.ps 29    Indentation n
                                                 1                ot consistent
PSUseConsistentIndentation          Warning      General.ps 30    Indentation n
                                                 1                ot consistent
PSUseConsistentIndentation          Warning      General.ps 31    Indentation n
                                                 1                ot consistent
PSUseConsistentIndentation          Warning      General.ps 32    Indentation n
                                                 1                ot consistent
PSUseConsistentIndentation          Warning      General.ps 33    Indentation n
                                                 1                ot consistent
PSUseConsistentIndentation          Warning      General.ps 34    Indentation n
                                                 1                ot consistent
PSUseConsistentIndentation          Warning      General.ps 35    Indentation n
                                                 1                ot consistent
PSUseConsistentIndentation          Warning      General.ps 36    Indentation n
                                                 1                ot consistent
PSUseConsistentIndentation          Warning      General.ps 37    Indentation n
                                                 1                ot consistent


�[32;1mRuleName                           �[0m�[32;1m Severity    �[0m�[32;1m ScriptName�[0m�[32;1m Line �[0m�[32;1m Message�[0m
�[32;1m--------                           �[0m �[32;1m--------    �[0m �[32;1m----------�[0m �[32;1m---- �[0m �[32;1m-------�[0m
PSAvoidUsingPositionalParameters    Information  bootstrap. 12    Cmdlet 'Join-
                                                 ps1              Path' has pos
                                                                  itional param
                                                                  eter. Please
                                                                  use named par
                                                                  ameters inste
                                                                  ad of positio
                                                                  nal parameter
                                                                  s when callin
                                                                  g a command.

- One file with Describe/Context hierarchy per command
- Remove bootstrap.ps1 — module is pre-imported by the test runner
- Add advanced fixture tests covering AoT sub-tables, space-separator
  datetimes, deep nesting, and all numeric forms
- 120 tests, 0 failures

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@github-actions

Copy link
Copy Markdown

Super-linter summary

Language Validation result
CHECKOV Pass ✅
GITHUB_ACTIONS Pass ✅
GITLEAKS Pass ✅
GIT_MERGE_CONFLICT_MARKERS Pass ✅
MARKDOWN Fail ❌
NATURAL_LANGUAGE Pass ✅
POWERSHELL Fail ❌
PRE_COMMIT Pass ✅
SPELL_CODESPELL Pass ✅
TRIVY Pass ✅
YAML Pass ✅

Super-linter detected linting errors

For more information, see the GitHub Actions workflow run

Powered by Super-linter

MARKDOWN
/github/workspace/README.md:101:22 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]
POWERSHELL

�[32;1mRuleName                           �[0m�[32;1m Severity    �[0m�[32;1m ScriptName�[0m�[32;1m Line �[0m�[32;1m Message�[0m
�[32;1m--------                           �[0m �[32;1m--------    �[0m �[32;1m----------�[0m �[32;1m---- �[0m �[32;1m-------�[0m
PSUseOutputTypeCorrectly            Information  ConvertFro 98    The cmdlet 'C
                                                 m-TomlPars       onvertFrom-To
                                                 edValue.ps       mlParsedValue
                                                 1                ' returns an
                                                                  object of typ
                                                                  e 'System.Col
                                                                  lections.Spec
                                                                  ialized.Order
                                                                  edDictionary'
                                                                   but this typ
                                                                  e is not decl
                                                                  ared in the O
                                                                  utputType att
                                                                  ribute.


�[32;1mRuleName                           �[0m�[32;1m Severity    �[0m�[32;1m ScriptName�[0m�[32;1m Line �[0m�[32;1m Message�[0m
�[32;1m--------                           �[0m �[32;1m--------    �[0m �[32;1m----------�[0m �[32;1m---- �[0m �[32;1m-------�[0m
PSUseOutputTypeCorrectly            Information  ConvertFro 13    The cmdlet 'C
                                                 m-TomlScal       onvertFrom-To
                                                 arToken.ps       mlScalarToken
                                                 1                ' returns an
                                                                  object of typ
                                                                  e 'System.Boo
                                                                  lean' but thi
                                                                  s type is not
                                                                   declared in
                                                                  the OutputTyp
                                                                  e attribute.
PSUseOutputTypeCorrectly            Information  ConvertFro 14    The cmdlet 'C
                                                 m-TomlScal       onvertFrom-To
                                                 arToken.ps       mlScalarToken
                                                 1                ' returns an
                                                                  object of typ
                                                                  e 'System.Boo
                                                                  lean' but thi
                                                                  s type is not
                                                                   declared in
                                                                  the OutputTyp
                                                                  e attribute.
PSUseOutputTypeCorrectly            Information  ConvertFro 15    The cmdlet 'C
                                                 m-TomlScal       onvertFrom-To
                                                 arToken.ps       mlScalarToken
                                                 1                ' returns an
                                                                  object of typ
                                                                  e 'System.Dou
                                                                  ble' but this
                                                                   type is not
                                                                  declared in t
                                                                  he OutputType
                                                                   attribute.
PSUseOutputTypeCorrectly            Information  ConvertFro 16    The cmdlet 'C
                                                 m-TomlScal       onvertFrom-To
                                                 arToken.ps       mlScalarToken
                                                 1                ' returns an
                                                                  object of typ
                                                                  e 'System.Dou
                                                                  ble' but this
                                                                   type is not
                                                                  declared in t
                                                                  he OutputType
                                                                   attribute.
PSUseOutputTypeCorrectly            Information  ConvertFro 17    The cmdlet 'C
                                                 m-TomlScal       onvertFrom-To
                                                 arToken.ps       mlScalarToken
                                                 1                ' returns an
                                                                  object of typ
                                                                  e 'System.Dou
                                                                  ble' but this
                                                                   type is not
                                                                  declared in t
                                                                  he OutputType
                                                                   attribute.
PSUseOutputTypeCorrectly            Information  ConvertFro 29    The cmdlet 'C
                                                 m-TomlScal       onvertFrom-To
                                                 arToken.ps       mlScalarToken
                                                 1                ' returns an
                                                                  object of typ
                                                                  e 'System.Int
                                                                  64' but this
                                                                  type is not d
                                                                  eclared in th
                                                                  e OutputType
                                                                  attribute.
PSUseOutputTypeCorrectly            Information  ConvertFro 37    The cmdlet 'C
                                                 m-TomlScal       onvertFrom-To
                                                 arToken.ps       mlScalarToken
                                                 1                ' returns an
                                                                  object of typ
                                                                  e 'System.Int
                                                                  64' but this
                                                                  type is not d
                                                                  eclared in th
                                                                  e OutputType
                                                                  attribute.
PSUseOutputTypeCorrectly            Information  ConvertFro 45    The cmdlet 'C
                                                 m-TomlScal       onvertFrom-To
                                                 arToken.ps       mlScalarToken
                                                 1                ' returns an
                                                                  object of typ
                                                                  e 'System.Int
                                                                  64' but this
                                                                  type is not d
                                                                  eclared in th
                                                                  e OutputType
                                                                  attribute.
PSUseOutputTypeCorrectly            Information  ConvertFro 49    The cmdlet 'C
                                                 m-TomlScal       onvertFrom-To
                                                 arToken.ps       mlScalarToken
                                                 1                ' returns an
                                                                  object of typ
                                                                  e 'System.Int
                                                                  64' but this
                                                                  type is not d
                                                                  eclared in th
                                                                  e OutputType
                                                                  attribute.
PSUseOutputTypeCorrectly            Information  ConvertFro 53    The cmdlet 'C
                                                 m-TomlScal       onvertFrom-To
                                                 arToken.ps       mlScalarToken
                                                 1                ' returns an
                                                                  object of typ
                                                                  e 'System.Dou
                                                                  ble' but this
                                                                   type is not
                                                                  declared in t
                                                                  he OutputType
                                                                   attribute.


�[32;1mRuleName                           �[0m�[32;1m Severity    �[0m�[32;1m ScriptName�[0m�[32;1m Line �[0m�[32;1m Message�[0m
�[32;1m--------                           �[0m �[32;1m--------    �[0m �[32;1m----------�[0m �[32;1m---- �[0m �[32;1m-------�[0m
PSUseConsistentIndentation          Warning      ConvertFro 36    Indentation n
                                                 m-TomlTabl       ot consistent
                                                 e.ps1
PSUseConsistentIndentation          Warning      ConvertFro 37    Indentation n
                                                 m-TomlTabl       ot consistent
                                                 e.ps1
PSUseConsistentIndentation          Warning      ConvertFro 38    Indentation n
                                                 m-TomlTabl       ot consistent
                                                 e.ps1
PSUseConsistentIndentation          Warning      ConvertFro 39    Indentation n
                                                 m-TomlTabl       ot consistent
                                                 e.ps1
PSUseConsistentIndentation          Warning      ConvertFro 40    Indentation n
                                                 m-TomlTabl       ot consistent
                                                 e.ps1
PSUseConsistentIndentation          Warning      ConvertFro 41    Indentation n
                                                 m-TomlTabl       ot consistent
                                                 e.ps1
PSUseConsistentIndentation          Warning      ConvertFro 42    Indentation n
                                                 m-TomlTabl       ot consistent
                                                 e.ps1


�[32;1mRuleName                           �[0m�[32;1m Severity    �[0m�[32;1m ScriptName�[0m�[32;1m Line �[0m�[32;1m Message�[0m
�[32;1m--------                           �[0m �[32;1m--------    �[0m �[32;1m----------�[0m �[32;1m---- �[0m �[32;1m-------�[0m
PSUseOutputTypeCorrectly            Information  Split-Toml 85    The cmdlet 'S
                                                 DottedKey.       plit-TomlDott
                                                 ps1              edKey' return
                                                                  s an object o
                                                                  f type 'Syste
                                                                  m.Object[]' b
                                                                  ut this type
                                                                  is not declar
                                                                  ed in the Out
                                                                  putType attri
                                                                  bute.


�[32;1mRuleName                           �[0m�[32;1m Severity    �[0m�[32;1m ScriptName�[0m�[32;1m Line �[0m�[32;1m Message�[0m
�[32;1m--------                           �[0m �[32;1m--------    �[0m �[32;1m----------�[0m �[32;1m---- �[0m �[32;1m-------�[0m
PSUseOutputTypeCorrectly            Information  ConvertTo- 23    The cmdlet 'C
                                                 TomlTableO       onvertTo-Toml
                                                 bject.ps1        TableObject'
                                                                  returns an ob
                                                                  ject of type
                                                                  'System.Colle
                                                                  ctions.Specia
                                                                  lized.Ordered
                                                                  Dictionary' b
                                                                  ut this type
                                                                  is not declar
                                                                  ed in the Out
                                                                  putType attri
                                                                  bute.
PSUseOutputTypeCorrectly            Information  ConvertTo- 31    The cmdlet 'C
                                                 TomlTableO       onvertTo-Toml
                                                 bject.ps1        TableObject'
                                                                  returns an ob
                                                                  ject of type
                                                                  'System.Colle
                                                                  ctions.Specia
                                                                  lized.Ordered
                                                                  Dictionary' b
                                                                  ut this type
                                                                  is not declar
                                                                  ed in the Out
                                                                  putType attri
                                                                  bute.
PSUseOutputTypeCorrectly            Information  ConvertTo- 43    The cmdlet 'C
                                                 TomlTableO       onvertTo-Toml
                                                 bject.ps1        TableObject'
                                                                  returns an ob
                                                                  ject of type
                                                                  'System.Colle
                                                                  ctions.Specia
                                                                  lized.Ordered
                                                                  Dictionary' b
                                                                  ut this type
                                                                  is not declar
                                                                  ed in the Out
                                                                  putType attri
                                                                  bute.


�[32;1mRuleName                           �[0m�[32;1m Severity    �[0m�[32;1m ScriptName�[0m�[32;1m Line �[0m�[32;1m Message�[0m
�[32;1m--------                           �[0m �[32;1m--------    �[0m �[32;1m----------�[0m �[32;1m---- �[0m �[32;1m-------�[0m
PSAvoidUsingWriteHost               Warning      build.ps1  90    File 'build.p
                                                                  s1' uses Writ
                                                                  e-Host. Avoid
                                                                   using Write-
                                                                  Host because
                                                                  it might not
                                                                  work in all h
                                                                  osts, does no
                                                                  t work when t
                                                                  here is no ho
                                                                  st, and (prio
                                                                  r to PS 5.0)
                                                                  cannot be sup
                                                                  pressed, capt
                                                                  ured, or redi
                                                                  rected. Inste
                                                                  ad, use Write
                                                                  -Output, Writ
                                                                  e-Verbose, or
                                                                   Write-Inform
                                                                  ation.
PSAvoidUsingWriteHost               Warning      build.ps1  91    File 'build.p
                                                                  s1' uses Writ
                                                                  e-Host. Avoid
                                                                   using Write-
                                                                  Host because
                                                                  it might not
                                                                  work in all h
                                                                  osts, does no
                                                                  t work when t
                                                                  here is no ho
                                                                  st, and (prio
                                                                  r to PS 5.0)
                                                                  cannot be sup
                                                                  pressed, capt
                                                                  ured, or redi
                                                                  rected. Inste
                                                                  ad, use Write
                                                                  -Output, Writ
                                                                  e-Verbose, or
                                                                   Write-Inform
                                                                  ation.
PSUseBOMForUnicodeEncodedFile       Warning      build.ps1        Missing BOM e
                                                                  ncoding for n
                                                                  on-ASCII enco
                                                                  ded file 'bui
                                                                  ld.ps1'
PSAvoidUsingPositionalParameters    Information  build.ps1  21    Cmdlet 'Join-
                                                                  Path' has pos
                                                                  itional param
                                                                  eter. Please
                                                                  use named par
                                                                  ameters inste
                                                                  ad of positio
                                                                  nal parameter
                                                                  s when callin
                                                                  g a command.
PSUseConsistentWhitespace           Warning      build.ps1  19    Use space bef
                                                                  ore and after
                                                                   binary and a
                                                                  ssignment ope
                                                                  rators.
PSUseConsistentWhitespace           Warning      build.ps1  20    Use space bef
                                                                  ore and after
                                                                   binary and a
                                                                  ssignment ope
                                                                  rators.
PSUseConsistentWhitespace           Warning      build.ps1  21    Use space bef
                                                                  ore and after
                                                                   binary and a
                                                                  ssignment ope
                                                                  rators.


�[32;1mRuleName                           �[0m�[32;1m Severity    �[0m�[32;1m ScriptName�[0m�[32;1m Line �[0m�[32;1m Message�[0m
�[32;1m--------                           �[0m �[32;1m--------    �[0m �[32;1m----------�[0m �[32;1m---- �[0m �[32;1m-------�[0m
PSAlignAssignmentStatement          Warning      General.ps 29    Assignment st
                                                 1                atements are
                                                                  not aligned
PSAlignAssignmentStatement          Warning      General.ps 30    Assignment st
                                                 1                atements are
                                                                  not aligned
PSAlignAssignmentStatement          Warning      General.ps 31    Assignment st
                                                 1                atements are
                                                                  not aligned
PSAlignAssignmentStatement          Warning      General.ps 32    Assignment st
                                                 1                atements are
                                                                  not aligned
PSAvoidUsingWriteHost               Warning      General.ps 38    File 'General
                                                 1                .ps1' uses Wr
                                                                  ite-Host. Avo
                                                                  id using Writ
                                                                  e-Host becaus
                                                                  e it might no
                                                                  t work in all
                                                                   hosts, does
                                                                  not work when
                                                                   there is no
                                                                  host, and (pr
                                                                  ior to PS 5.0
                                                                  ) cannot be s
                                                                  uppressed, ca
                                                                  ptured, or re
                                                                  directed. Ins
                                                                  tead, use Wri
                                                                  te-Output, Wr
                                                                  ite-Verbose,
                                                                  or Write-Info
                                                                  rmation.
PSUseConsistentIndentation          Warning      General.ps 29    Indentation n
                                                 1                ot consistent
PSUseConsistentIndentation          Warning      General.ps 30    Indentation n
                                                 1                ot consistent
PSUseConsistentIndentation          Warning      General.ps 31    Indentation n
                                                 1                ot consistent
PSUseConsistentIndentation          Warning      General.ps 32    Indentation n
                                                 1                ot consistent
PSUseConsistentIndentation          Warning      General.ps 33    Indentation n
                                                 1                ot consistent
PSUseConsistentIndentation          Warning      General.ps 34    Indentation n
                                                 1                ot consistent
PSUseConsistentIndentation          Warning      General.ps 35    Indentation n
                                                 1                ot consistent
PSUseConsistentIndentation          Warning      General.ps 36    Indentation n
                                                 1                ot consistent
PSUseConsistentIndentation          Warning      General.ps 37    Indentation n
                                                 1                ot consistent


�[32;1mRuleName                           �[0m�[32;1m Severity    �[0m�[32;1m ScriptName�[0m�[32;1m Line �[0m�[32;1m Message�[0m
�[32;1m--------                           �[0m �[32;1m--------    �[0m �[32;1m----------�[0m �[32;1m---- �[0m �[32;1m-------�[0m
PSAvoidLongLines                    Warning      Toml.Tests 329   Line exceeds
                                                 .ps1             the configure
                                                                  d maximum len
                                                                  gth of 150 ch
                                                                  aracters
PSUseBOMForUnicodeEncodedFile       Warning      Toml.Tests       Missing BOM e
                                                 .ps1             ncoding for n
                                                                  on-ASCII enco
                                                                  ded file 'Tom
                                                                  l.Tests.ps1'
PSUseConsistentIndentation          Warning      Toml.Tests 511   Indentation n
                                                 .ps1             ot consistent
PSUseConsistentIndentation          Warning      Toml.Tests 512   Indentation n
                                                 .ps1             ot consistent
PSUseConsistentIndentation          Warning      Toml.Tests 563   Indentation n
                                                 .ps1             ot consistent
PSUseConsistentIndentation          Warning      Toml.Tests 564   Indentation n
                                                 .ps1             ot consistent

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@github-actions

Copy link
Copy Markdown

Super-linter summary

Language Validation result
CHECKOV Pass ✅
GITHUB_ACTIONS Pass ✅
GITLEAKS Pass ✅
GIT_MERGE_CONFLICT_MARKERS Pass ✅
MARKDOWN Fail ❌
NATURAL_LANGUAGE Pass ✅
POWERSHELL Fail ❌
PRE_COMMIT Pass ✅
SPELL_CODESPELL Pass ✅
TRIVY Pass ✅
YAML Pass ✅

Super-linter detected linting errors

For more information, see the GitHub Actions workflow run

Powered by Super-linter

MARKDOWN
/github/workspace/README.md:101:22 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]
POWERSHELL

�[32;1mRuleName                           �[0m�[32;1m Severity    �[0m�[32;1m ScriptName�[0m�[32;1m Line �[0m�[32;1m Message�[0m
�[32;1m--------                           �[0m �[32;1m--------    �[0m �[32;1m----------�[0m �[32;1m---- �[0m �[32;1m-------�[0m
PSUseOutputTypeCorrectly            Information  ConvertFro 98    The cmdlet 'C
                                                 m-TomlPars       onvertFrom-To
                                                 edValue.ps       mlParsedValue
                                                 1                ' returns an
                                                                  object of typ
                                                                  e 'System.Col
                                                                  lections.Spec
                                                                  ialized.Order
                                                                  edDictionary'
                                                                   but this typ
                                                                  e is not decl
                                                                  ared in the O
                                                                  utputType att
                                                                  ribute.


�[32;1mRuleName                           �[0m�[32;1m Severity    �[0m�[32;1m ScriptName�[0m�[32;1m Line �[0m�[32;1m Message�[0m
�[32;1m--------                           �[0m �[32;1m--------    �[0m �[32;1m----------�[0m �[32;1m---- �[0m �[32;1m-------�[0m
PSUseOutputTypeCorrectly            Information  ConvertFro 13    The cmdlet 'C
                                                 m-TomlScal       onvertFrom-To
                                                 arToken.ps       mlScalarToken
                                                 1                ' returns an
                                                                  object of typ
                                                                  e 'System.Boo
                                                                  lean' but thi
                                                                  s type is not
                                                                   declared in
                                                                  the OutputTyp
                                                                  e attribute.
PSUseOutputTypeCorrectly            Information  ConvertFro 14    The cmdlet 'C
                                                 m-TomlScal       onvertFrom-To
                                                 arToken.ps       mlScalarToken
                                                 1                ' returns an
                                                                  object of typ
                                                                  e 'System.Boo
                                                                  lean' but thi
                                                                  s type is not
                                                                   declared in
                                                                  the OutputTyp
                                                                  e attribute.
PSUseOutputTypeCorrectly            Information  ConvertFro 15    The cmdlet 'C
                                                 m-TomlScal       onvertFrom-To
                                                 arToken.ps       mlScalarToken
                                                 1                ' returns an
                                                                  object of typ
                                                                  e 'System.Dou
                                                                  ble' but this
                                                                   type is not
                                                                  declared in t
                                                                  he OutputType
                                                                   attribute.
PSUseOutputTypeCorrectly            Information  ConvertFro 16    The cmdlet 'C
                                                 m-TomlScal       onvertFrom-To
                                                 arToken.ps       mlScalarToken
                                                 1                ' returns an
                                                                  object of typ
                                                                  e 'System.Dou
                                                                  ble' but this
                                                                   type is not
                                                                  declared in t
                                                                  he OutputType
                                                                   attribute.
PSUseOutputTypeCorrectly            Information  ConvertFro 17    The cmdlet 'C
                                                 m-TomlScal       onvertFrom-To
                                                 arToken.ps       mlScalarToken
                                                 1                ' returns an
                                                                  object of typ
                                                                  e 'System.Dou
                                                                  ble' but this
                                                                   type is not
                                                                  declared in t
                                                                  he OutputType
                                                                   attribute.
PSUseOutputTypeCorrectly            Information  ConvertFro 29    The cmdlet 'C
                                                 m-TomlScal       onvertFrom-To
                                                 arToken.ps       mlScalarToken
                                                 1                ' returns an
                                                                  object of typ
                                                                  e 'System.Int
                                                                  64' but this
                                                                  type is not d
                                                                  eclared in th
                                                                  e OutputType
                                                                  attribute.
PSUseOutputTypeCorrectly            Information  ConvertFro 37    The cmdlet 'C
                                                 m-TomlScal       onvertFrom-To
                                                 arToken.ps       mlScalarToken
                                                 1                ' returns an
                                                                  object of typ
                                                                  e 'System.Int
                                                                  64' but this
                                                                  type is not d
                                                                  eclared in th
                                                                  e OutputType
                                                                  attribute.
PSUseOutputTypeCorrectly            Information  ConvertFro 45    The cmdlet 'C
                                                 m-TomlScal       onvertFrom-To
                                                 arToken.ps       mlScalarToken
                                                 1                ' returns an
                                                                  object of typ
                                                                  e 'System.Int
                                                                  64' but this
                                                                  type is not d
                                                                  eclared in th
                                                                  e OutputType
                                                                  attribute.
PSUseOutputTypeCorrectly            Information  ConvertFro 49    The cmdlet 'C
                                                 m-TomlScal       onvertFrom-To
                                                 arToken.ps       mlScalarToken
                                                 1                ' returns an
                                                                  object of typ
                                                                  e 'System.Int
                                                                  64' but this
                                                                  type is not d
                                                                  eclared in th
                                                                  e OutputType
                                                                  attribute.
PSUseOutputTypeCorrectly            Information  ConvertFro 53    The cmdlet 'C
                                                 m-TomlScal       onvertFrom-To
                                                 arToken.ps       mlScalarToken
                                                 1                ' returns an
                                                                  object of typ
                                                                  e 'System.Dou
                                                                  ble' but this
                                                                   type is not
                                                                  declared in t
                                                                  he OutputType
                                                                   attribute.


�[32;1mRuleName                           �[0m�[32;1m Severity    �[0m�[32;1m ScriptName�[0m�[32;1m Line �[0m�[32;1m Message�[0m
�[32;1m--------                           �[0m �[32;1m--------    �[0m �[32;1m----------�[0m �[32;1m---- �[0m �[32;1m-------�[0m
PSUseConsistentIndentation          Warning      ConvertFro 36    Indentation n
                                                 m-TomlTabl       ot consistent
                                                 e.ps1
PSUseConsistentIndentation          Warning      ConvertFro 37    Indentation n
                                                 m-TomlTabl       ot consistent
                                                 e.ps1
PSUseConsistentIndentation          Warning      ConvertFro 38    Indentation n
                                                 m-TomlTabl       ot consistent
                                                 e.ps1
PSUseConsistentIndentation          Warning      ConvertFro 39    Indentation n
                                                 m-TomlTabl       ot consistent
                                                 e.ps1
PSUseConsistentIndentation          Warning      ConvertFro 40    Indentation n
                                                 m-TomlTabl       ot consistent
                                                 e.ps1
PSUseConsistentIndentation          Warning      ConvertFro 41    Indentation n
                                                 m-TomlTabl       ot consistent
                                                 e.ps1
PSUseConsistentIndentation          Warning      ConvertFro 42    Indentation n
                                                 m-TomlTabl       ot consistent
                                                 e.ps1


�[32;1mRuleName                           �[0m�[32;1m Severity    �[0m�[32;1m ScriptName�[0m�[32;1m Line �[0m�[32;1m Message�[0m
�[32;1m--------                           �[0m �[32;1m--------    �[0m �[32;1m----------�[0m �[32;1m---- �[0m �[32;1m-------�[0m
PSUseOutputTypeCorrectly            Information  Split-Toml 85    The cmdlet 'S
                                                 DottedKey.       plit-TomlDott
                                                 ps1              edKey' return
                                                                  s an object o
                                                                  f type 'Syste
                                                                  m.Object[]' b
                                                                  ut this type
                                                                  is not declar
                                                                  ed in the Out
                                                                  putType attri
                                                                  bute.


�[32;1mRuleName                           �[0m�[32;1m Severity    �[0m�[32;1m ScriptName�[0m�[32;1m Line �[0m�[32;1m Message�[0m
�[32;1m--------                           �[0m �[32;1m--------    �[0m �[32;1m----------�[0m �[32;1m---- �[0m �[32;1m-------�[0m
PSUseOutputTypeCorrectly            Information  ConvertTo- 23    The cmdlet 'C
                                                 TomlTableO       onvertTo-Toml
                                                 bject.ps1        TableObject'
                                                                  returns an ob
                                                                  ject of type
                                                                  'System.Colle
                                                                  ctions.Specia
                                                                  lized.Ordered
                                                                  Dictionary' b
                                                                  ut this type
                                                                  is not declar
                                                                  ed in the Out
                                                                  putType attri
                                                                  bute.
PSUseOutputTypeCorrectly            Information  ConvertTo- 31    The cmdlet 'C
                                                 TomlTableO       onvertTo-Toml
                                                 bject.ps1        TableObject'
                                                                  returns an ob
                                                                  ject of type
                                                                  'System.Colle
                                                                  ctions.Specia
                                                                  lized.Ordered
                                                                  Dictionary' b
                                                                  ut this type
                                                                  is not declar
                                                                  ed in the Out
                                                                  putType attri
                                                                  bute.
PSUseOutputTypeCorrectly            Information  ConvertTo- 43    The cmdlet 'C
                                                 TomlTableO       onvertTo-Toml
                                                 bject.ps1        TableObject'
                                                                  returns an ob
                                                                  ject of type
                                                                  'System.Colle
                                                                  ctions.Specia
                                                                  lized.Ordered
                                                                  Dictionary' b
                                                                  ut this type
                                                                  is not declar
                                                                  ed in the Out
                                                                  putType attri
                                                                  bute.


�[32;1mRuleName                           �[0m�[32;1m Severity    �[0m�[32;1m ScriptName�[0m�[32;1m Line �[0m�[32;1m Message�[0m
�[32;1m--------                           �[0m �[32;1m--------    �[0m �[32;1m----------�[0m �[32;1m---- �[0m �[32;1m-------�[0m
PSAvoidUsingWriteHost               Warning      build.ps1  90    File 'build.p
                                                                  s1' uses Writ
                                                                  e-Host. Avoid
                                                                   using Write-
                                                                  Host because
                                                                  it might not
                                                                  work in all h
                                                                  osts, does no
                                                                  t work when t
                                                                  here is no ho
                                                                  st, and (prio
                                                                  r to PS 5.0)
                                                                  cannot be sup
                                                                  pressed, capt
                                                                  ured, or redi
                                                                  rected. Inste
                                                                  ad, use Write
                                                                  -Output, Writ
                                                                  e-Verbose, or
                                                                   Write-Inform
                                                                  ation.
PSAvoidUsingWriteHost               Warning      build.ps1  91    File 'build.p
                                                                  s1' uses Writ
                                                                  e-Host. Avoid
                                                                   using Write-
                                                                  Host because
                                                                  it might not
                                                                  work in all h
                                                                  osts, does no
                                                                  t work when t
                                                                  here is no ho
                                                                  st, and (prio
                                                                  r to PS 5.0)
                                                                  cannot be sup
                                                                  pressed, capt
                                                                  ured, or redi
                                                                  rected. Inste
                                                                  ad, use Write
                                                                  -Output, Writ
                                                                  e-Verbose, or
                                                                   Write-Inform
                                                                  ation.
PSUseBOMForUnicodeEncodedFile       Warning      build.ps1        Missing BOM e
                                                                  ncoding for n
                                                                  on-ASCII enco
                                                                  ded file 'bui
                                                                  ld.ps1'
PSUseConsistentWhitespace           Warning      build.ps1  19    Use space bef
                                                                  ore and after
                                                                   binary and a
                                                                  ssignment ope
                                                                  rators.
PSUseConsistentWhitespace           Warning      build.ps1  20    Use space bef
                                                                  ore and after
                                                                   binary and a
                                                                  ssignment ope
                                                                  rators.
PSUseConsistentWhitespace           Warning      build.ps1  21    Use space bef
                                                                  ore and after
                                                                   binary and a
                                                                  ssignment ope
                                                                  rators.
PSAvoidUsingPositionalParameters    Information  build.ps1  21    Cmdlet 'Join-
                                                                  Path' has pos
                                                                  itional param
                                                                  eter. Please
                                                                  use named par
                                                                  ameters inste
                                                                  ad of positio
                                                                  nal parameter
                                                                  s when callin
                                                                  g a command.


�[32;1mRuleName                           �[0m�[32;1m Severity    �[0m�[32;1m ScriptName�[0m�[32;1m Line �[0m�[32;1m Message�[0m
�[32;1m--------                           �[0m �[32;1m--------    �[0m �[32;1m----------�[0m �[32;1m---- �[0m �[32;1m-------�[0m
PSAlignAssignmentStatement          Warning      General.ps 29    Assignment st
                                                 1                atements are
                                                                  not aligned
PSAlignAssignmentStatement          Warning      General.ps 30    Assignment st
                                                 1                atements are
                                                                  not aligned
PSAlignAssignmentStatement          Warning      General.ps 31    Assignment st
                                                 1                atements are
                                                                  not aligned
PSAlignAssignmentStatement          Warning      General.ps 32    Assignment st
                                                 1                atements are
                                                                  not aligned
PSAvoidUsingWriteHost               Warning      General.ps 38    File 'General
                                                 1                .ps1' uses Wr
                                                                  ite-Host. Avo
                                                                  id using Writ
                                                                  e-Host becaus
                                                                  e it might no
                                                                  t work in all
                                                                   hosts, does
                                                                  not work when
                                                                   there is no
                                                                  host, and (pr
                                                                  ior to PS 5.0
                                                                  ) cannot be s
                                                                  uppressed, ca
                                                                  ptured, or re
                                                                  directed. Ins
                                                                  tead, use Wri
                                                                  te-Output, Wr
                                                                  ite-Verbose,
                                                                  or Write-Info
                                                                  rmation.
PSUseConsistentIndentation          Warning      General.ps 29    Indentation n
                                                 1                ot consistent
PSUseConsistentIndentation          Warning      General.ps 30    Indentation n
                                                 1                ot consistent
PSUseConsistentIndentation          Warning      General.ps 31    Indentation n
                                                 1                ot consistent
PSUseConsistentIndentation          Warning      General.ps 32    Indentation n
                                                 1                ot consistent
PSUseConsistentIndentation          Warning      General.ps 33    Indentation n
                                                 1                ot consistent
PSUseConsistentIndentation          Warning      General.ps 34    Indentation n
                                                 1                ot consistent
PSUseConsistentIndentation          Warning      General.ps 35    Indentation n
                                                 1                ot consistent
PSUseConsistentIndentation          Warning      General.ps 36    Indentation n
                                                 1                ot consistent
PSUseConsistentIndentation          Warning      General.ps 37    Indentation n
                                                 1                ot consistent


�[32;1mRuleName                           �[0m�[32;1m Severity    �[0m�[32;1m ScriptName�[0m�[32;1m Line �[0m�[32;1m Message�[0m
�[32;1m--------                           �[0m �[32;1m--------    �[0m �[32;1m----------�[0m �[32;1m---- �[0m �[32;1m-------�[0m
PSAvoidLongLines                    Warning      Toml.Tests 329   Line exceeds
                                                 .ps1             the configure
                                                                  d maximum len
                                                                  gth of 150 ch
                                                                  aracters
PSUseBOMForUnicodeEncodedFile       Warning      Toml.Tests       Missing BOM e
                                                 .ps1             ncoding for n
                                                                  on-ASCII enco
                                                                  ded file 'Tom
                                                                  l.Tests.ps1'
PSUseConsistentIndentation          Warning      Toml.Tests 511   Indentation n
                                                 .ps1             ot consistent
PSUseConsistentIndentation          Warning      Toml.Tests 512   Indentation n
                                                 .ps1             ot consistent
PSUseConsistentIndentation          Warning      Toml.Tests 563   Indentation n
                                                 .ps1             ot consistent
PSUseConsistentIndentation          Warning      Toml.Tests 564   Indentation n
                                                 .ps1             ot consistent

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@github-actions

Copy link
Copy Markdown

Super-linter summary

Language Validation result
CHECKOV Pass ✅
GITHUB_ACTIONS Pass ✅
GITLEAKS Pass ✅
GIT_MERGE_CONFLICT_MARKERS Pass ✅
MARKDOWN Fail ❌
NATURAL_LANGUAGE Pass ✅
POWERSHELL Fail ❌
PRE_COMMIT Pass ✅
SPELL_CODESPELL Pass ✅
TRIVY Pass ✅
YAML Pass ✅

Super-linter detected linting errors

For more information, see the GitHub Actions workflow run

Powered by Super-linter

MARKDOWN
/github/workspace/README.md:101:22 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]
POWERSHELL

�[32;1mRuleName                           �[0m�[32;1m Severity    �[0m�[32;1m ScriptName�[0m�[32;1m Line �[0m�[32;1m Message�[0m
�[32;1m--------                           �[0m �[32;1m--------    �[0m �[32;1m----------�[0m �[32;1m---- �[0m �[32;1m-------�[0m
PSUseOutputTypeCorrectly            Information  ConvertFro 98    The cmdlet 'C
                                                 m-TomlPars       onvertFrom-To
                                                 edValue.ps       mlParsedValue
                                                 1                ' returns an
                                                                  object of typ
                                                                  e 'System.Col
                                                                  lections.Spec
                                                                  ialized.Order
                                                                  edDictionary'
                                                                   but this typ
                                                                  e is not decl
                                                                  ared in the O
                                                                  utputType att
                                                                  ribute.


�[32;1mRuleName                           �[0m�[32;1m Severity    �[0m�[32;1m ScriptName�[0m�[32;1m Line �[0m�[32;1m Message�[0m
�[32;1m--------                           �[0m �[32;1m--------    �[0m �[32;1m----------�[0m �[32;1m---- �[0m �[32;1m-------�[0m
PSUseOutputTypeCorrectly            Information  ConvertFro 13    The cmdlet 'C
                                                 m-TomlScal       onvertFrom-To
                                                 arToken.ps       mlScalarToken
                                                 1                ' returns an
                                                                  object of typ
                                                                  e 'System.Boo
                                                                  lean' but thi
                                                                  s type is not
                                                                   declared in
                                                                  the OutputTyp
                                                                  e attribute.
PSUseOutputTypeCorrectly            Information  ConvertFro 14    The cmdlet 'C
                                                 m-TomlScal       onvertFrom-To
                                                 arToken.ps       mlScalarToken
                                                 1                ' returns an
                                                                  object of typ
                                                                  e 'System.Boo
                                                                  lean' but thi
                                                                  s type is not
                                                                   declared in
                                                                  the OutputTyp
                                                                  e attribute.
PSUseOutputTypeCorrectly            Information  ConvertFro 15    The cmdlet 'C
                                                 m-TomlScal       onvertFrom-To
                                                 arToken.ps       mlScalarToken
                                                 1                ' returns an
                                                                  object of typ
                                                                  e 'System.Dou
                                                                  ble' but this
                                                                   type is not
                                                                  declared in t
                                                                  he OutputType
                                                                   attribute.
PSUseOutputTypeCorrectly            Information  ConvertFro 16    The cmdlet 'C
                                                 m-TomlScal       onvertFrom-To
                                                 arToken.ps       mlScalarToken
                                                 1                ' returns an
                                                                  object of typ
                                                                  e 'System.Dou
                                                                  ble' but this
                                                                   type is not
                                                                  declared in t
                                                                  he OutputType
                                                                   attribute.
PSUseOutputTypeCorrectly            Information  ConvertFro 17    The cmdlet 'C
                                                 m-TomlScal       onvertFrom-To
                                                 arToken.ps       mlScalarToken
                                                 1                ' returns an
                                                                  object of typ
                                                                  e 'System.Dou
                                                                  ble' but this
                                                                   type is not
                                                                  declared in t
                                                                  he OutputType
                                                                   attribute.
PSUseOutputTypeCorrectly            Information  ConvertFro 29    The cmdlet 'C
                                                 m-TomlScal       onvertFrom-To
                                                 arToken.ps       mlScalarToken
                                                 1                ' returns an
                                                                  object of typ
                                                                  e 'System.Int
                                                                  64' but this
                                                                  type is not d
                                                                  eclared in th
                                                                  e OutputType
                                                                  attribute.
PSUseOutputTypeCorrectly            Information  ConvertFro 37    The cmdlet 'C
                                                 m-TomlScal       onvertFrom-To
                                                 arToken.ps       mlScalarToken
                                                 1                ' returns an
                                                                  object of typ
                                                                  e 'System.Int
                                                                  64' but this
                                                                  type is not d
                                                                  eclared in th
                                                                  e OutputType
                                                                  attribute.
PSUseOutputTypeCorrectly            Information  ConvertFro 45    The cmdlet 'C
                                                 m-TomlScal       onvertFrom-To
                                                 arToken.ps       mlScalarToken
                                                 1                ' returns an
                                                                  object of typ
                                                                  e 'System.Int
                                                                  64' but this
                                                                  type is not d
                                                                  eclared in th
                                                                  e OutputType
                                                                  attribute.
PSUseOutputTypeCorrectly            Information  ConvertFro 49    The cmdlet 'C
                                                 m-TomlScal       onvertFrom-To
                                                 arToken.ps       mlScalarToken
                                                 1                ' returns an
                                                                  object of typ
                                                                  e 'System.Int
                                                                  64' but this
                                                                  type is not d
                                                                  eclared in th
                                                                  e OutputType
                                                                  attribute.
PSUseOutputTypeCorrectly            Information  ConvertFro 53    The cmdlet 'C
                                                 m-TomlScal       onvertFrom-To
                                                 arToken.ps       mlScalarToken
                                                 1                ' returns an
                                                                  object of typ
                                                                  e 'System.Dou
                                                                  ble' but this
                                                                   type is not
                                                                  declared in t
                                                                  he OutputType
                                                                   attribute.


�[32;1mRuleName                           �[0m�[32;1m Severity    �[0m�[32;1m ScriptName�[0m�[32;1m Line �[0m�[32;1m Message�[0m
�[32;1m--------                           �[0m �[32;1m--------    �[0m �[32;1m----------�[0m �[32;1m---- �[0m �[32;1m-------�[0m
PSUseConsistentIndentation          Warning      ConvertFro 36    Indentation n
                                                 m-TomlTabl       ot consistent
                                                 e.ps1
PSUseConsistentIndentation          Warning      ConvertFro 37    Indentation n
                                                 m-TomlTabl       ot consistent
                                                 e.ps1
PSUseConsistentIndentation          Warning      ConvertFro 38    Indentation n
                                                 m-TomlTabl       ot consistent
                                                 e.ps1
PSUseConsistentIndentation          Warning      ConvertFro 39    Indentation n
                                                 m-TomlTabl       ot consistent
                                                 e.ps1
PSUseConsistentIndentation          Warning      ConvertFro 40    Indentation n
                                                 m-TomlTabl       ot consistent
                                                 e.ps1
PSUseConsistentIndentation          Warning      ConvertFro 41    Indentation n
                                                 m-TomlTabl       ot consistent
                                                 e.ps1
PSUseConsistentIndentation          Warning      ConvertFro 42    Indentation n
                                                 m-TomlTabl       ot consistent
                                                 e.ps1


�[32;1mRuleName                           �[0m�[32;1m Severity    �[0m�[32;1m ScriptName�[0m�[32;1m Line �[0m�[32;1m Message�[0m
�[32;1m--------                           �[0m �[32;1m--------    �[0m �[32;1m----------�[0m �[32;1m---- �[0m �[32;1m-------�[0m
PSUseOutputTypeCorrectly            Information  Split-Toml 85    The cmdlet 'S
                                                 DottedKey.       plit-TomlDott
                                                 ps1              edKey' return
                                                                  s an object o
                                                                  f type 'Syste
                                                                  m.Object[]' b
                                                                  ut this type
                                                                  is not declar
                                                                  ed in the Out
                                                                  putType attri
                                                                  bute.


�[32;1mRuleName                           �[0m�[32;1m Severity    �[0m�[32;1m ScriptName�[0m�[32;1m Line �[0m�[32;1m Message�[0m
�[32;1m--------                           �[0m �[32;1m--------    �[0m �[32;1m----------�[0m �[32;1m---- �[0m �[32;1m-------�[0m
PSUseOutputTypeCorrectly            Information  ConvertTo- 23    The cmdlet 'C
                                                 TomlTableO       onvertTo-Toml
                                                 bject.ps1        TableObject'
                                                                  returns an ob
                                                                  ject of type
                                                                  'System.Colle
                                                                  ctions.Specia
                                                                  lized.Ordered
                                                                  Dictionary' b
                                                                  ut this type
                                                                  is not declar
                                                                  ed in the Out
                                                                  putType attri
                                                                  bute.
PSUseOutputTypeCorrectly            Information  ConvertTo- 31    The cmdlet 'C
                                                 TomlTableO       onvertTo-Toml
                                                 bject.ps1        TableObject'
                                                                  returns an ob
                                                                  ject of type
                                                                  'System.Colle
                                                                  ctions.Specia
                                                                  lized.Ordered
                                                                  Dictionary' b
                                                                  ut this type
                                                                  is not declar
                                                                  ed in the Out
                                                                  putType attri
                                                                  bute.
PSUseOutputTypeCorrectly            Information  ConvertTo- 43    The cmdlet 'C
                                                 TomlTableO       onvertTo-Toml
                                                 bject.ps1        TableObject'
                                                                  returns an ob
                                                                  ject of type
                                                                  'System.Colle
                                                                  ctions.Specia
                                                                  lized.Ordered
                                                                  Dictionary' b
                                                                  ut this type
                                                                  is not declar
                                                                  ed in the Out
                                                                  putType attri
                                                                  bute.


�[32;1mRuleName                           �[0m�[32;1m Severity    �[0m�[32;1m ScriptName�[0m�[32;1m Line �[0m�[32;1m Message�[0m
�[32;1m--------                           �[0m �[32;1m--------    �[0m �[32;1m----------�[0m �[32;1m---- �[0m �[32;1m-------�[0m
PSAvoidUsingWriteHost               Warning      build.ps1  90    File 'build.p
                                                                  s1' uses Writ
                                                                  e-Host. Avoid
                                                                   using Write-
                                                                  Host because
                                                                  it might not
                                                                  work in all h
                                                                  osts, does no
                                                                  t work when t
                                                                  here is no ho
                                                                  st, and (prio
                                                                  r to PS 5.0)
                                                                  cannot be sup
                                                                  pressed, capt
                                                                  ured, or redi
                                                                  rected. Inste
                                                                  ad, use Write
                                                                  -Output, Writ
                                                                  e-Verbose, or
                                                                   Write-Inform
                                                                  ation.
PSAvoidUsingWriteHost               Warning      build.ps1  91    File 'build.p
                                                                  s1' uses Writ
                                                                  e-Host. Avoid
                                                                   using Write-
                                                                  Host because
                                                                  it might not
                                                                  work in all h
                                                                  osts, does no
                                                                  t work when t
                                                                  here is no ho
                                                                  st, and (prio
                                                                  r to PS 5.0)
                                                                  cannot be sup
                                                                  pressed, capt
                                                                  ured, or redi
                                                                  rected. Inste
                                                                  ad, use Write
                                                                  -Output, Writ
                                                                  e-Verbose, or
                                                                   Write-Inform
                                                                  ation.
PSUseBOMForUnicodeEncodedFile       Warning      build.ps1        Missing BOM e
                                                                  ncoding for n
                                                                  on-ASCII enco
                                                                  ded file 'bui
                                                                  ld.ps1'
PSAvoidUsingPositionalParameters    Information  build.ps1  21    Cmdlet 'Join-
                                                                  Path' has pos
                                                                  itional param
                                                                  eter. Please
                                                                  use named par
                                                                  ameters inste
                                                                  ad of positio
                                                                  nal parameter
                                                                  s when callin
                                                                  g a command.
PSUseConsistentWhitespace           Warning      build.ps1  19    Use space bef
                                                                  ore and after
                                                                   binary and a
                                                                  ssignment ope
                                                                  rators.
PSUseConsistentWhitespace           Warning      build.ps1  20    Use space bef
                                                                  ore and after
                                                                   binary and a
                                                                  ssignment ope
                                                                  rators.
PSUseConsistentWhitespace           Warning      build.ps1  21    Use space bef
                                                                  ore and after
                                                                   binary and a
                                                                  ssignment ope
                                                                  rators.


�[32;1mRuleName                           �[0m�[32;1m Severity    �[0m�[32;1m ScriptName�[0m�[32;1m Line �[0m�[32;1m Message�[0m
�[32;1m--------                           �[0m �[32;1m--------    �[0m �[32;1m----------�[0m �[32;1m---- �[0m �[32;1m-------�[0m
PSAlignAssignmentStatement          Warning      General.ps 29    Assignment st
                                                 1                atements are
                                                                  not aligned
PSAlignAssignmentStatement          Warning      General.ps 30    Assignment st
                                                 1                atements are
                                                                  not aligned
PSAlignAssignmentStatement          Warning      General.ps 31    Assignment st
                                                 1                atements are
                                                                  not aligned
PSAlignAssignmentStatement          Warning      General.ps 32    Assignment st
                                                 1                atements are
                                                                  not aligned
PSAvoidUsingWriteHost               Warning      General.ps 38    File 'General
                                                 1                .ps1' uses Wr
                                                                  ite-Host. Avo
                                                                  id using Writ
                                                                  e-Host becaus
                                                                  e it might no
                                                                  t work in all
                                                                   hosts, does
                                                                  not work when
                                                                   there is no
                                                                  host, and (pr
                                                                  ior to PS 5.0
                                                                  ) cannot be s
                                                                  uppressed, ca
                                                                  ptured, or re
                                                                  directed. Ins
                                                                  tead, use Wri
                                                                  te-Output, Wr
                                                                  ite-Verbose,
                                                                  or Write-Info
                                                                  rmation.
PSUseConsistentIndentation          Warning      General.ps 29    Indentation n
                                                 1                ot consistent
PSUseConsistentIndentation          Warning      General.ps 30    Indentation n
                                                 1                ot consistent
PSUseConsistentIndentation          Warning      General.ps 31    Indentation n
                                                 1                ot consistent
PSUseConsistentIndentation          Warning      General.ps 32    Indentation n
                                                 1                ot consistent
PSUseConsistentIndentation          Warning      General.ps 33    Indentation n
                                                 1                ot consistent
PSUseConsistentIndentation          Warning      General.ps 34    Indentation n
                                                 1                ot consistent
PSUseConsistentIndentation          Warning      General.ps 35    Indentation n
                                                 1                ot consistent
PSUseConsistentIndentation          Warning      General.ps 36    Indentation n
                                                 1                ot consistent
PSUseConsistentIndentation          Warning      General.ps 37    Indentation n
                                                 1                ot consistent


�[32;1mRuleName                           �[0m�[32;1m Severity    �[0m�[32;1m ScriptName�[0m�[32;1m Line �[0m�[32;1m Message�[0m
�[32;1m--------                           �[0m �[32;1m--------    �[0m �[32;1m----------�[0m �[32;1m---- �[0m �[32;1m-------�[0m
PSAvoidLongLines                    Warning      Toml.Tests 329   Line exceeds
                                                 .ps1             the configure
                                                                  d maximum len
                                                                  gth of 150 ch
                                                                  aracters
PSUseBOMForUnicodeEncodedFile       Warning      Toml.Tests       Missing BOM e
                                                 .ps1             ncoding for n
                                                                  on-ASCII enco
                                                                  ded file 'Tom
                                                                  l.Tests.ps1'
PSUseConsistentIndentation          Warning      Toml.Tests 511   Indentation n
                                                 .ps1             ot consistent
PSUseConsistentIndentation          Warning      Toml.Tests 512   Indentation n
                                                 .ps1             ot consistent
PSUseConsistentIndentation          Warning      Toml.Tests 563   Indentation n
                                                 .ps1             ot consistent
PSUseConsistentIndentation          Warning      Toml.Tests 564   Indentation n
                                                 .ps1             ot consistent

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Import-Toml and Export-Toml file I/O functions Add ConvertFrom-Toml and ConvertTo-Toml functions with full TOML v1.1.0 spec coverage

1 participant