Vendor the locked sharp Linux runtime and verify it during Docker builds. Add complete image response lengths and persistent frontend fallbacks, with real-codec HTTP and isolated release regression tests. Refresh tested API, admin and customer release artifacts. Co-Authored-By: Claude Code <noreply@anthropic.com>
9 lines
205 B
JavaScript
9 lines
205 B
JavaScript
'use strict'
|
|
|
|
const parse = require('./parse')
|
|
const clean = (version, options) => {
|
|
const s = parse(version.trim().replace(/^[=v]+/, ''), options)
|
|
return s ? s.version : null
|
|
}
|
|
module.exports = clean
|