MCPcopy Create free account
hub / github.com/effect-app/libs / shellQuote

Function shellQuote

packages/cli/src/sync-effect-subtree.ts:14–14  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

12const depSections = ["dependencies", "devDependencies", "peerDependencies", "optionalDependencies"] as const
13
14const shellQuote = (value: string) => `'${value.replaceAll("'", "'\\''")}'`
15
16const normalizeVersion = (range: string) => {
17 const match = range.match(/\d+\.\d+\.\d+(?:-[0-9A-Za-z.-]+)?/)

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…