Adjust std-rfc/clip deprecation window (#15981)

Follow-up to #15877. That PR was created before 0.105, but merged after
it was released. This PR adjusts the deprecation window from
0.105.0-0.107.0 to 0.106.0-0.108.0
This commit is contained in:
132ikl 2025-06-16 15:40:37 -04:00 committed by GitHub
parent 2e484156e0
commit fda181d566
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -12,7 +12,7 @@ module std-clip {
use std-clip use std-clip
# Copy input to system clipboard # Copy input to system clipboard
@deprecated "The clip module has been moved to std. Please use the std version instead of the std-rfc version." --since 0.105.0 --remove 0.107.0 @deprecated "The clip module has been moved to std. Please use the std version instead of the std-rfc version." --since 0.106.0 --remove 0.108.0
@example "Copy a string to the clipboard" { @example "Copy a string to the clipboard" {
"Hello" | clip copy "Hello" | clip copy
} }
@ -23,7 +23,7 @@ export def copy [
} }
# Paste contents of system clipboard # Paste contents of system clipboard
@deprecated "The clip module has been moved to std. Please use the std version instead of the std-rfc version." --since 0.105.0 --remove 0.107.0 @deprecated "The clip module has been moved to std. Please use the std version instead of the std-rfc version." --since 0.106.0 --remove 0.108.0
@example "Paste a string from the clipboard" { @example "Paste a string from the clipboard" {
clip paste clip paste
} --result "Hello" } --result "Hello"
@ -32,7 +32,7 @@ export def paste []: [nothing -> string] {
} }
# Add a prefix to each line of the content to be copied # Add a prefix to each line of the content to be copied
@deprecated "The clip module has been moved to std. Please use the std version instead of the std-rfc version." --since 0.105.0 --remove 0.107.0 @deprecated "The clip module has been moved to std. Please use the std version instead of the std-rfc version." --since 0.106.0 --remove 0.108.0
@example "Format output for Nushell doc" { @example "Format output for Nushell doc" {
[1 2 3] | clip prefix '# => ' [1 2 3] | clip prefix '# => '
} --result "# => ╭───┬───╮ } --result "# => ╭───┬───╮