components/prism-bash.min.js


Log

Author Commit Date CI Message
James Pearce 4b19b502 2022-01-06T07:48:50 Bash: Added `node` to known commands (#3291)
Silver Zachara b351bc69 2021-12-25T11:36:39 Bash: Added vcpkg command (#3282)
AmebaBrain 8c5ed251 2021-11-29T02:19:07 Bash: Added `docker` and `podman` commands (#3237)
Michael Schmidt e2630d89 2021-09-26T11:52:18 ESLint: Added `regexp/sort-alternatives` rule (#3093)
Michael Schmidt f471d2d7 2021-06-17T22:27:40 Fixed problems reported by `regexp/no-dupe-disjunctions` (#2952)
Michael Schmidt 18a00828 2021-06-13T19:53:03 ESLint: Added regexp plugin (#2924)
Harry Marr e4ad22ad 2021-03-26T08:35:23 Bash: Accept hyphens in function names (#2832)
Michael Schmidt e5cfdb4a 2021-03-17T11:21:02 Bash: Fixed single-quoted strings (#2792)
Michael Schmidt e644178b 2020-12-28T18:19:11 Added test for polynomial backtracking (#2597)
Michael Schmidt c2f6a644 2020-10-25T23:42:25 Fixed multiple cases of vulnerable regexes (#2584)
Michael Schmidt 6c921801 2020-08-27T19:14:20 Shell session & bash: Highlight all commands after the start of any Heredoc string (#2509)
Ayesh Karunaratne 044dd271 2020-04-09T19:15:51 Bash: Added `composer` command (#2298) This adds PHP's dependency manager `composer` to the list of commands.
Michael Schmidt 328d0e0e 2020-03-21T17:02:30 Bash: Added support for escaped quotes (#2256) Single and double quotes can be escaped via backslashes. Prism now supports these escapes.
Michael Schmidt 81e1c3dd 2020-01-18T17:23:39 Tests: Added new pattern check for octal escapes (#2189) This adds a new pattern check to disallow octal character escapes (e.g. `\12`).
Alice M 363281b3 2019-06-10T13:29:03 Bash improvements (#1443) A bunch for improvements for Bash.
RunDevelopment 96044979 2019-05-15T21:06:59 Added shell session language
Michael Schmidt 3e00bb9c 2019-03-07T15:22:30 Rebuilt Prism (#1794) This is a rebuilt of Prism to update minified files.
ExE Boss fccfb98d 2019-02-14T01:25:25 Added `pnpm` function to Bash (#1734) This adds `pnpm` to the list of supported functions in Bash.
Frankie Wittevrongel 3a32cb75 2019-02-13T22:33:38 Added `yarn add` to bash functions (#1731) Adds `yarn add` to bash functions.
Michael Schmidt c6584290 2018-11-28T16:12:09 Fixed Markdown headers (#1557) This PR fixed markdown header of the form: ``` Überschrift ----------- ```
Andre Hotzler a2230c38 2018-11-28T14:26:31 Add additional commands to bash (#1577) Includes "apt", "apt-cache" or "parted" and others.
Golmote ea3615e3 2018-04-17T21:31:55 Run gulp
Aaron Fay b94f01f1 2018-04-17T13:17:09 Change reserved keyword reference (#1396) * change boolean keyword accessor in bash.min * change boolean keyword accessor in bash
Golmote 1bfc0848 2018-04-08T11:44:07 Bash: Add curl to the list of common functions. Close #1160
Golmote 12c0b20a 2018-03-08T22:19:01 Decouple minus sign from number pattern in most languages. Close #1110
Golmote 63fc2152 2018-03-03T22:45:25 Bash: Add support for quoted command substitution. Fix #1287
Golmote 20111c46 2018-03-01T23:26:26 Run gulp
Golmote d28d178b 2017-10-22T14:17:29 Bash: Regexp optimisation and simplification
Golmote 65cbaa95 2017-05-08T13:27:57 Run gulp after #1107
Adam Eivy babdf740 2016-06-08T22:29:12 adding `npm` to common function list
Andreas Rohner 964450e1 2016-04-30T13:35:01 Apply the new greedy flag to a few languages This patch applies the new greedy flag to a few languages and adds the corresponding test cases.
Andreas Rohner ab65be27 2016-02-12T21:32:19 Fix catastrophic backtracking regex issues
Andreas Rohner c628ce24 2015-10-06T17:35:08 Support for command substitution for the Bash language Command substitution is a very important part of the Bash language. Every non trivial script uses it in one way or another. This patch adds support for it.
Andreas Rohner 256c3e12 2015-10-05T23:00:25 Fix regression in Bash strings In a recent patch the regex for single-quoted and double-quoted strings of the Bash language was split into two separate regexes to prevent the highlighting of variables inside of single-quoted strings. This causes a bug whenever a double-quoted string apears inside a single-quoted string, because the double-quoted string is matched first. '"foo"' The same problem exists with the newly introduced Here-Documents. This patch fixes the problem by matching Here-Documents first and merging the regexes for single-quoted and double-quoted strings again. This patch also adds testcases for this, to prevent future regressions.
Andreas Rohner 9acaaa15 2015-10-02T14:54:17 Remove Clike dependency from Bash The Bash language is actually very different from Clike. Only 'boolean', 'operator' and 'punctuation' are shared between them. 'operator' and 'punctuation' should be changed in the future, because Bash actually has slightly different operators. Since they share almost nothing, it makes sense to remove the dependency. This patch copies 'boolean', 'operator' and 'punctuation' from Clike, but doesn't change them. This patch also fixes a typo and adds the missing built-in keyword `let`. `let` is not in the POSIX-standard, but Bash and some other shells support it.
Andreas Rohner 71bf8e9a 2015-10-01T13:22:42 Add support for Here-Documents for the Bash language This patch adds support for Here-Documents for the Bash language. A Here-Document should be highlighted as a multiline string and looks like this: cat << EOF foo bar EOF
Golmote 903b8a42 2015-07-12T08:11:33 Bash: removed duplicates in keywords + removed unneeded parentheses
Golmote 27009818 2015-07-12T07:59:33 Bash: simplify comment regex
Golmote 551cebc4 2015-03-13T07:57:30 Bash: add a bunch of well-known functions to highlight
Golmote aa2beab7 2015-03-13T07:36:59 Bash: prevent highlighting of numbers inside filenames. Fix #547
Golmote b1fd5bdc 2015-03-10T08:27:53 Removed unused global flag in all grammars
Ben Briggs 7cfd29a9 2014-05-26T11:20:55 Rebuild minified files.
Lea Verou 36471491 2014-04-21T13:36:32 Updated minified files
Andreas Rohner ab3aea56 2013-03-16T18:36:27 Add Bash shell script highlighting support