Files
n8n-nodes-strike/node_modules/@n8n/tournament/dist/Parser.js
Martien 5605b9b49a Initial commit: n8n Strike API node
- Add Strike API credentials configuration
- Implement Strike node with 9 resources (Account, Balance, Currency Exchange, Deposit, Invoice, Payment, Payment Method, Payout, Rates)
- Add comprehensive operation descriptions for all resources
- Include CLAUDE.MD documentation
- Set up build configuration with TypeScript, ESLint, and Prettier

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-10 11:00:38 +01:00

27 lines
969 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.parseWithEsprimaNext = void 0;
const esprima_next_1 = require("esprima-next");
const util_1 = require("recast/lib/util");
function parseWithEsprimaNext(source, options) {
try {
const ast = (0, esprima_next_1.parse)(source, {
loc: true,
locations: true,
comment: true,
range: (0, util_1.getOption)(options, 'range', false),
tolerant: (0, util_1.getOption)(options, 'tolerant', true),
tokens: true,
jsx: (0, util_1.getOption)(options, 'jsx', false),
sourceType: (0, util_1.getOption)(options, 'sourceType', 'module'),
});
return ast;
}
catch (error) {
if (error instanceof Error)
throw new SyntaxError(error.message);
throw error;
}
}
exports.parseWithEsprimaNext = parseWithEsprimaNext;
//# sourceMappingURL=Parser.js.map