From 06823fbf1c2e763a5bf76c3990ca98fbbcd98691 Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Tue, 14 May 2024 14:05:49 +0800 Subject: updated node_modules --- .../@babel/plugin-transform-nullish-coalescing-operator/lib/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'node_modules/@babel/plugin-transform-nullish-coalescing-operator/lib/index.js') diff --git a/node_modules/@babel/plugin-transform-nullish-coalescing-operator/lib/index.js b/node_modules/@babel/plugin-transform-nullish-coalescing-operator/lib/index.js index 4025a61e..08a6d4cc 100644 --- a/node_modules/@babel/plugin-transform-nullish-coalescing-operator/lib/index.js +++ b/node_modules/@babel/plugin-transform-nullish-coalescing-operator/lib/index.js @@ -14,7 +14,7 @@ var _default = exports.default = (0, _helperPluginUtils.declare)((api, { const noDocumentAll = (_api$assumption = api.assumption("noDocumentAll")) != null ? _api$assumption : loose; return { name: "transform-nullish-coalescing-operator", - inherits: require("@babel/plugin-syntax-nullish-coalescing-operator").default, + inherits: api.version[0] === "8" ? undefined : require("@babel/plugin-syntax-nullish-coalescing-operator").default, visitor: { LogicalExpression(path) { const { -- cgit v1.2.3