@yarnpkg/parsers
Advanced tools
Comparing version
@@ -22,3 +22,3 @@ // From the top to the bottom: | ||
type: `redirection`; | ||
subtype: `>` | `<` | '>&' | '<&' | `>>` | `<<<`; | ||
subtype: `>` | `<` | `>&` | `<&` | `>>` | `<<<`; | ||
fd: number | null; | ||
@@ -73,3 +73,3 @@ args: Array<ValueArgument>; | ||
export type ShellLine = Array<{ | ||
type: ';' | '&'; | ||
type: `;` | `&`; | ||
command: CommandLine; | ||
@@ -76,0 +76,0 @@ }>; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.stringifyShell = void 0; | ||
exports.parseShell = parseShell; | ||
@@ -18,2 +17,4 @@ exports.stringifyShellLine = stringifyShellLine; | ||
exports.stringifyArithmeticExpression = stringifyArithmeticExpression; | ||
exports.stringifyShellLine = stringifyShellLine; | ||
exports.stringifyShell = stringifyShellLine; | ||
const shell_1 = require("./grammars/shell"); | ||
@@ -20,0 +21,0 @@ function parseShell(source, options = { isGlobPattern: () => false }) { |
{ | ||
"name": "@yarnpkg/parsers", | ||
"version": "3.0.2", | ||
"version": "3.0.3", | ||
"license": "BSD-2-Clause", | ||
@@ -40,3 +40,3 @@ "main": "./lib/index.js", | ||
"type": "git", | ||
"url": "ssh://git@github.com/yarnpkg/berry.git", | ||
"url": "git+https://github.com/yarnpkg/berry.git", | ||
"directory": "packages/yarnpkg-parsers" | ||
@@ -43,0 +43,0 @@ }, |
196983
0.03%6161
0.02%