nushell/crates
Horasal 1f06f8405c
handle empty pipeline while parsing let (fix Issue10083) (#10116)
- fixes #10083 

# Description

nushell crashes in the following 2 condition:

- `let a = {}` , then delete `{`
- `let a = | {}`, then delete `{`

When delete `{` the pipeline becomes empty but current `nu-parser`
assume they are non-empty. This pr adds extra empty check to avoid
crash.


Co-authored-by: Horasal <horsal@horsal.dev>
2023-08-28 13:38:11 +02:00
..
nu-cli name hooks internally (#10127) 2023-08-27 06:55:20 -05:00
nu-cmd-base Spanned Value step 1: span all value cases (#10042) 2023-08-25 08:48:05 +12:00
nu-cmd-dataframe Allow for .parq file ending as alternative to .parquet (#10112) 2023-08-24 15:57:33 -05:00
nu-cmd-extra Spanned Value step 1: span all value cases (#10042) 2023-08-25 08:48:05 +12:00
nu-cmd-lang Allow parse-time evaluation of calls, pipelines and subexpressions (#9499) 2023-08-26 16:41:29 +03:00
nu-color-config Create Record type (#10103) 2023-08-25 07:50:29 +12:00
nu-command Update removed "MDI" icons to current MD icons (#10126) 2023-08-27 15:48:37 +02:00
nu-engine Allow parse-time evaluation of calls, pipelines and subexpressions (#9499) 2023-08-26 16:41:29 +03:00
nu-explore add support for Vim motions in explore (#9966) 2023-08-26 07:48:37 -05:00
nu-glob bump nushell to dev version 0.84.1 (#10101) 2023-08-23 15:23:27 -05:00
nu-json bump nushell to dev version 0.84.1 (#10101) 2023-08-23 15:23:27 -05:00
nu-parser handle empty pipeline while parsing let (fix Issue10083) (#10116) 2023-08-28 13:38:11 +02:00
nu-path Support Termux (#10013) 2023-08-28 09:53:25 +03:00
nu-plugin bump nushell to dev version 0.84.1 (#10101) 2023-08-23 15:23:27 -05:00
nu-pretty-hex bump nushell to dev version 0.84.1 (#10101) 2023-08-23 15:23:27 -05:00
nu-protocol Screen reader-friendly errors (#10122) 2023-08-27 06:54:15 -05:00
nu-std bump nushell to dev version 0.84.1 (#10101) 2023-08-23 15:23:27 -05:00
nu-system Use built-in is_terminal instead of is_terminal::is_terminal (#9550) 2023-08-25 10:54:44 +02:00
nu-table Spanned Value step 1: span all value cases (#10042) 2023-08-25 08:48:05 +12:00
nu-term-grid bump nushell to dev version 0.84.1 (#10101) 2023-08-23 15:23:27 -05:00
nu-test-support bump nushell to dev version 0.84.1 (#10101) 2023-08-23 15:23:27 -05:00
nu-utils Screen reader-friendly errors (#10122) 2023-08-27 06:54:15 -05:00
nu_plugin_custom_values Spanned Value step 1: span all value cases (#10042) 2023-08-25 08:48:05 +12:00
nu_plugin_example Create Record type (#10103) 2023-08-25 07:50:29 +12:00
nu_plugin_formats Spanned Value step 1: span all value cases (#10042) 2023-08-25 08:48:05 +12:00
nu_plugin_gstat Spanned Value step 1: span all value cases (#10042) 2023-08-25 08:48:05 +12:00
nu_plugin_inc bump nushell to dev version 0.84.1 (#10101) 2023-08-23 15:23:27 -05:00
nu_plugin_python remove vectorize_over_list from python plugin (#9905) 2023-08-03 16:46:48 +02:00
nu_plugin_query Spanned Value step 1: span all value cases (#10042) 2023-08-25 08:48:05 +12:00
README.md Remove old nushell/merge engine-q 2022-02-07 14:54:06 -05:00

Nushell core libraries and plugins

These sub-crates form both the foundation for Nu and a set of plugins which extend Nu with additional functionality.

Foundational libraries are split into two kinds of crates:

  • Core crates - those crates that work together to build the Nushell language engine
  • Support crates - a set of crates that support the engine with additional features like JSON support, ANSI support, and more.

Plugins are likewise also split into two types:

  • Core plugins - plugins that provide part of the default experience of Nu, including access to the system properties, processes, and web-connectivity features.
  • Extra plugins - these plugins run a wide range of different capabilities like working with different file types, charting, viewing binary data, and more.