From 06823fbf1c2e763a5bf76c3990ca98fbbcd98691 Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Tue, 14 May 2024 14:05:49 +0800 Subject: updated node_modules --- node_modules/babel-plugin-polyfill-corejs2/lib/helpers.js | 1 + 1 file changed, 1 insertion(+) (limited to 'node_modules/babel-plugin-polyfill-corejs2/lib/helpers.js') diff --git a/node_modules/babel-plugin-polyfill-corejs2/lib/helpers.js b/node_modules/babel-plugin-polyfill-corejs2/lib/helpers.js index e712e70d..28b90eb1 100644 --- a/node_modules/babel-plugin-polyfill-corejs2/lib/helpers.js +++ b/node_modules/babel-plugin-polyfill-corejs2/lib/helpers.js @@ -9,6 +9,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 -- cgit v1.2.3