Rocky_Mountain_Vending/.pnpm-store/v10/files/a6/c4df81de2d6472e1e65fb216edd17e3b2f020d2e5b7abcce12b5493af779e56e4dca7e792d205910715fa5d2eef568e8179010de4d6d30cb44fc04ce46b793
DMleadgen 46d973904b
Initial commit: Rocky Mountain Vending website
Next.js website for Rocky Mountain Vending company featuring:
- Product catalog with Stripe integration
- Service areas and parts pages
- Admin dashboard with Clerk authentication
- SEO optimized pages with JSON-LD structured data

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 16:22:15 -07:00

13 lines
No EOL
621 B
Text

import { LRUCache } from '../../server/lib/lru-cache';
import { withPromiseCache } from '../../lib/with-promise-cache';
import { createHash } from 'crypto';
import { parse } from '../swc';
/**
* Parses a module with SWC using an LRU cache where the parsed module will
* be indexed by a sha of its content holding up to 500 entries.
*/ export const parseModule = withPromiseCache(new LRUCache(500), async (filename, content)=>parse(content, {
isModule: 'unknown',
filename
}).catch(()=>null), (_, content)=>createHash('sha1').update(content).digest('hex'));
//# sourceMappingURL=parse-module.js.map