Skip to content

Commit ef61d64

Browse files
committed
support for pwsh
1 parent d022904 commit ef61d64

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

src/Format-OneLine/Format-OneLine.psd1

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
@{
22
RootModule = '.\Format-OneLine.psm1'
3-
ModuleVersion = '0.1.0'
3+
ModuleVersion = '0.1.1'
44
GUID = 'd46a00ff-0741-4278-85ae-6a71e9aecf14'
55
Author = 'Martin C Zarate (AKA Pxtl)'
66
Copyright = '2025, Martin C Zarate'
@@ -11,12 +11,15 @@ objects into semicolon-delimited lists of key=value pairs on a single line.
1111

1212
# Minimum version of the Windows PowerShell engine required by this module
1313
PowerShellVersion = '5.1'
14+
CompatiblePSEditions = @('Desktop', 'Core')
1415
PrivateData = @{
1516
PSData = @{
1617
LicenseUri = 'https://github.com/Pxtl/powershell-modules?tab=MIT-1-ov-file'
1718
ProjectUri = 'https://github.com/Pxtl/powershell-modules'
1819
# IconUri = ''
1920
ReleaseNotes = @'
21+
v0.1.1
22+
- Marked as Core support after testing on pwsh 7.5.1
2023
v0.1.0
2124
- Initial Version
2225
'@
314 Bytes
Binary file not shown.

src/UrlQueryStringParser/UrlQueryStringParser.psm1

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,10 @@ function ConvertTo-RegularExpression {
224224
$urlCommonDecodes = @{
225225
'%2F' = '/'
226226
'%20' = ' '
227+
'%21' = '!' # pwsh-only
228+
'%28' = '(' # pwsh-only
229+
'%29' = ')' # pwsh-only
230+
'%2A' = '*' # pwsh-only
227231
'%40' = '@'
228232
'%5B' = '['
229233
'%5D' = ']'

0 commit comments

Comments
 (0)