diff options
Diffstat (limited to 'node_modules/babel-plugin-polyfill-corejs2/esm/index.mjs')
| -rw-r--r-- | node_modules/babel-plugin-polyfill-corejs2/esm/index.mjs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/node_modules/babel-plugin-polyfill-corejs2/esm/index.mjs b/node_modules/babel-plugin-polyfill-corejs2/esm/index.mjs index d697ca4f..8b3c34e8 100644 --- a/node_modules/babel-plugin-polyfill-corejs2/esm/index.mjs +++ b/node_modules/babel-plugin-polyfill-corejs2/esm/index.mjs @@ -243,6 +243,7 @@ function hasMinVersion(minVersion, runtimeVersion) { // build process, and we want to assume that all versions are satisfied so // that the built output will include all definitions. if (!runtimeVersion || !minVersion) return true; + runtimeVersion = String(runtimeVersion); // semver.intersects() has some surprising behavior with comparing ranges // with preprelease versions. We add '^' to ensure that we are always |
