zc he
44b7cfd696
refactor: tree-sitter-nu friendly alternative expressions ( #15301 )
...
# Description
Choose more tree-sitter-nu-friendly (if not better) expressions in nu
scripts.
The changes made in this PR all come from known issues of
`tree-sitter-nu`.
1. nested single/double quotes:
https://github.com/nushell/tree-sitter-nu/issues/125
2. module path of `use` command:
https://github.com/nushell/tree-sitter-nu/issues/165
3. where predicates of boolean column:
https://github.com/nushell/tree-sitter-nu/issues/177
4. `error make` keyword:
https://github.com/nushell/tree-sitter-nu/issues/179
Those issues are either hard to fix or "not planned" for syntactical
precision considerations ATM.
# User-Facing Changes
Should be none
# Tests + Formatting
# After Submitting
2025-03-12 08:48:19 -05:00
Justin Ma
453e294883
Refactor kv
commands: replace inline params in SQL queries ( #15108 )
...
# Description
Update some comments and fix potential security issue:
SQL Injection in DELETE statements: The code constructs SQL queries by
interpolating the $key variable directly into the string. If a key
contains malicious input could lead to SQL injection. Need to use
parameterized queries or escaping.
2025-02-13 23:23:59 -05:00
Bahex
f7d5162582
docs(std-rfc): use actual examples rather than doc comments ( #15097 )
...
# Description
Update examples with attributes.
# User-Facing Changes
`std-rfc` commands now have examples.
# Tests + Formatting
N/A
# After Submitting
N/A
2025-02-11 16:33:27 -06:00
Stefan Holderbach
18e3a5d40b
Fix match
blocks in std-rfc/kv
implementation ( #15089 )
...
Fixes failure surfaced by merging
https://github.com/nushell/nushell/pull/15032
2025-02-11 11:16:57 +01:00
Douglas
a7830ac1fd
Update README.md
...
Fix link
2025-02-10 09:06:09 -05:00
Douglas
00713c9339
Update README.md
...
Fix Drawing-Board link/description
2025-02-10 09:05:05 -05:00
Douglas
720813339f
Add std-rfc
README ( #15066 )
...
Copied the old README from `nu_scripts/stdlib-candidate/std-rfc` over to `nu-std/std-rfc` and
updated it with the latest info.
2025-02-09 11:21:56 -05:00
Douglas
5b4dd775d4
Move std-rfc
into Nushell ( #15042 )
...
Move `std-rfc` into Nushell. `use std-rfc/<submodule>` now works "out-of-the-box"
2025-02-09 09:03:37 -05:00