We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64c3ec1 commit 6f5728aCopy full SHA for 6f5728a
registry/lib/packages.js
@@ -1,7 +1,5 @@
1
'use strict'
2
3
-const semver = /*@__PURE__*/ require('../external/semver')
4
-
5
const abortSignal = /*@__PURE__*/ require('./constants/abort-signal')
6
const copyLeftLicenses = /*@__PURE__*/ require('./constants/copy-left-licenses')
7
const LOOP_SENTINEL = /*@__PURE__*/ require('./constants/loop-sentinel')
@@ -706,6 +704,7 @@ function findTypesForSubpath(entryExports, subpath) {
706
704
707
705
/*@__NO_SIDE_EFFECTS__*/
708
function getReleaseTag(version) {
+ const semver = getSemver()
709
return semver.prerelease(version)?.join('.') ?? 'latest'
710
}
711
0 commit comments