diff options
| author | Jesse Vincent <jesse@fsck.com> | 2026-03-11 13:17:52 -0700 |
|---|---|---|
| committer | Jesse Vincent <jesse@fsck.com> | 2026-03-11 13:17:52 -0700 |
| commit | 7619570679c7bd3ecc747cc4e607886fe214d968 (patch) | |
| tree | 7352714c5b6fd7d61fa78c8683044ddb195129d0 /skills/brainstorming/scripts/node_modules/braces/lib/stringify.js | |
| parent | 8d9b94eb8d07b65d23137e034fcd9bfabd49a21c (diff) | |
Remove vendored node_modules, swap to zero-dep server.js
Delete 717 files: index.js, package.json, package-lock.json, and
the entire node_modules directory (express, ws, chokidar + deps).
Update start-server.sh to use server.js. Remove gitignore exception.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Diffstat (limited to 'skills/brainstorming/scripts/node_modules/braces/lib/stringify.js')
| -rw-r--r-- | skills/brainstorming/scripts/node_modules/braces/lib/stringify.js | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/skills/brainstorming/scripts/node_modules/braces/lib/stringify.js b/skills/brainstorming/scripts/node_modules/braces/lib/stringify.js deleted file mode 100644 index 8bcf872..0000000 --- a/skills/brainstorming/scripts/node_modules/braces/lib/stringify.js +++ /dev/null @@ -1,32 +0,0 @@ -'use strict'; - -const utils = require('./utils'); - -module.exports = (ast, options = {}) => { - const stringify = (node, parent = {}) => { - const invalidBlock = options.escapeInvalid && utils.isInvalidBrace(parent); - const invalidNode = node.invalid === true && options.escapeInvalid === true; - let output = ''; - - if (node.value) { - if ((invalidBlock || invalidNode) && utils.isOpenOrClose(node)) { - return '\\' + node.value; - } - return node.value; - } - - if (node.value) { - return node.value; - } - - if (node.nodes) { - for (const child of node.nodes) { - output += stringify(child); - } - } - return output; - }; - - return stringify(ast); -}; - |
