Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

any-shell-escape

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

any-shell-escape - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

2

package.json
{
"name": "any-shell-escape",
"version": "0.1.0",
"version": "0.1.1",
"description": "Escape and stringify an array of arguments to be executed on the shell",

@@ -5,0 +5,0 @@ "contributors": [

@@ -28,3 +28,3 @@ shell-escape

```
curl -v -H $'Location;' -H $'User-Agent: FoorBar\'s so-called "Browser"' $'http://www.daveeddy.com/?name=dave&age=24'
curl -v -H 'Location;' -H 'User-Agent: FoorBar'"'"'s so-called "Browser"' 'http://www.daveeddy.com/?name=dave&age=24'
```

@@ -54,3 +54,3 @@

```
echo $'hello!' $'how are you doing $USER' $'"double"' $'\'single\''
echo 'hello!' 'how are you doing $USER' '"double"' "'"'single'"'"
```

@@ -67,3 +67,3 @@

```
$ echo $'hello!' $'how are you doing $USER' $'"double"' $'\'single\''
$ echo 'hello!' 'how are you doing $USER' '"double"' "'"'single'"'"
hello! how are you doing $USER "double" 'single'

@@ -70,0 +70,0 @@ ```

@@ -7,3 +7,3 @@ var util = require('util'),

if (!/^[A-Za-z0-9_\/-]+$/.test(path))
return '$' + util.inspect(path);
return ("'" + path.replace(/'/g, "'\"'\"'") + "'").replace(/''/g, '');
else

@@ -10,0 +10,0 @@ return path;

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc