🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

@yarnpkg/parsers

Package Overview
Dependencies
Maintainers
0
Versions
116
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@yarnpkg/parsers - npm Package Compare versions

Comparing version

to
3.0.3

4

lib/grammars/shell.d.ts

@@ -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 @@ },