🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@iinm/plain-agent

Package Overview
Dependencies
Maintainers
1
Versions
123
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@iinm/plain-agent - npm Package Compare versions

Comparing version
1.15.0
to
1.15.1
+1
-1
package.json
{
"name": "@iinm/plain-agent",
"version": "1.15.0",
"version": "1.15.1",
"description": "A lightweight terminal-based coding agent focused on safety and low token cost",

@@ -5,0 +5,0 @@ "license": "MIT",

# Plain Agent
[![CodeQL](https://github.com/iinm/plain-agent/actions/workflows/github-code-scanning/codeql/badge.svg)](https://github.com/iinm/plain-agent/actions/workflows/github-code-scanning/codeql)
[![Socket Badge](https://badge.socket.dev/npm/package/@iinm/plain-agent/1.15.0)](https://socket.dev/npm/package/@iinm/plain-agent)
[![Socket Badge](https://badge.socket.dev/npm/package/@iinm/plain-agent/1.15.1)](https://socket.dev/npm/package/@iinm/plain-agent)
[![install size](https://packagephobia.com/badge?p=@iinm/plain-agent)](https://packagephobia.com/result?p=@iinm/plain-agent)

@@ -6,0 +6,0 @@

@@ -99,3 +99,5 @@ import { execFileSync } from "node:child_process";

// Must not start with - or @ (already handled above)
const keyValueMatch = arg.match(/^[^-@][^=]*=(.+)$/);
// Key must not contain whitespace; otherwise a whole `bash -c` script string
// (e.g. `cd … && HOME=/tmp npm …`) would be misdetected as VAR=val.
const keyValueMatch = arg.match(/^[^-@][^=\s]*=(.+)$/);
if (keyValueMatch) {

@@ -102,0 +104,0 @@ return (