()
| 94 | } |
| 95 | |
| 96 | const getVersionNumber = () => { |
| 97 | if (process.env.JS_DEBUG_VERSION) { |
| 98 | return process.env.JS_DEBUG_VERSION; |
| 99 | } |
| 100 | |
| 101 | const date = new Date(new Date().toLocaleString('en-US', { timeZone: 'America/Los_Angeles' })); |
| 102 | const monthMinutes = (date.getDate() - 1) * 24 * 60 + date.getHours() * 60 + date.getMinutes(); |
| 103 | |
| 104 | return [ |
| 105 | // YY |
| 106 | date.getFullYear(), |
| 107 | // MM, |
| 108 | date.getMonth() + 1, |
| 109 | // DDHH |
| 110 | `${date.getDate()}${String(date.getHours()).padStart(2, '0')}`, |
| 111 | ].join('.'); |
| 112 | }; |
| 113 | |
| 114 | const cachedBuilds = new Map(); |
| 115 | const incrementalEsbuild = async (/** @type {esbuild.BuildOptions} */ options) => { |
no outgoing calls
no test coverage detected