Rocky_Mountain_Vending/.pnpm-store/v10/files/34/0d9bb33e4bba7ef440d0dd8028288bcad36ae81dc1d710ed85057fabc64d18a0e3ecad825b326aed3004d4492174bf469e6ba654d5f05de627bbde9a936648
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

36 lines
No EOL
1.1 KiB
Text

"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "getFreePort", {
enumerable: true,
get: function() {
return getFreePort;
}
});
const _http = /*#__PURE__*/ _interop_require_default(require("http"));
function _interop_require_default(obj) {
return obj && obj.__esModule ? obj : {
default: obj
};
}
const getFreePort = async ()=>{
return new Promise((resolve, reject)=>{
const server = _http.default.createServer(()=>{});
server.listen(0, ()=>{
const address = server.address();
server.close();
if (address && typeof address === 'object') {
resolve(address.port);
} else {
reject(Object.defineProperty(new Error('invalid address from server: ' + (address == null ? void 0 : address.toString())), "__NEXT_ERROR_CODE", {
value: "E327",
enumerable: false,
configurable: true
}));
}
});
});
};
//# sourceMappingURL=worker-utils.js.map