Socket
Socket
Sign inDemoInstall

locutus

Package Overview
Dependencies
1
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.13 to 2.0.14

2

package.json
{
"name": "locutus",
"version": "2.0.13",
"version": "2.0.14",
"license": "MIT",

@@ -5,0 +5,0 @@ "description": "Locutus other languages' standard libraries to JavaScript for fun and educational purposes",

@@ -5,2 +5,5 @@ 'use strict';

// discuss at: https://locutus.io/php/escapeshellarg/
// Warning: this function emulates escapeshellarg() for php-running-on-linux
// the function behaves differently when running on Windows, which is not covered by this code.
//
// original by: Felix Geisendoerfer (https://www.debuggable.com/felix)

@@ -14,2 +17,6 @@ // improved by: Brett Zamir (https://brett-zamir.me)

if (arg.indexOf("\x00") !== -1) {
throw new Error('escapeshellarg(): Argument #1 ($arg) must not contain any null bytes');
}
var ret = '';

@@ -16,0 +23,0 @@

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc