diff --git a/dist/index.js b/dist/index.js index 74eb1089..3c1ad62c 100644 --- a/dist/index.js +++ b/dist/index.js @@ -39512,6 +39512,7 @@ var __classPrivateFieldIn; var __createBinding; var __addDisposableResource; var __disposeResources; +var __rewriteRelativeImportExtension; (function (factory) { var root = typeof global === "object" ? global : typeof self === "object" ? self : typeof this === "object" ? this : {}; if (typeof define === "function" && define.amd) { @@ -39863,6 +39864,15 @@ var __disposeResources; return next(); }; + __rewriteRelativeImportExtension = function (path, preserveJsx) { + if (typeof path === "string" && /^\.\.?\//.test(path)) { + return path.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i, function (m, tsx, d, ext, cm) { + return tsx ? preserveJsx ? ".jsx" : ".js" : d && (!ext || !cm) ? m : (d + ext + "." + cm.toLowerCase() + "js"); + }); + } + return path; + }; + exporter("__extends", __extends); exporter("__assign", __assign); exporter("__rest", __rest); @@ -39894,8 +39904,11 @@ var __disposeResources; exporter("__classPrivateFieldIn", __classPrivateFieldIn); exporter("__addDisposableResource", __addDisposableResource); exporter("__disposeResources", __disposeResources); + exporter("__rewriteRelativeImportExtension", __rewriteRelativeImportExtension); }); +0 && (0); + /***/ }), diff --git a/package-lock.json b/package-lock.json index 131b4b42..1baa09bb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -25,7 +25,7 @@ "lint-staged": "^15.2.10", "prettier": "^3.3.3", "tar": "^7.4.3", - "tslib": "^2.7.0" + "tslib": "^2.8.0" }, "engines": { "node": ">=v20.11.0" @@ -6023,9 +6023,9 @@ } }, "node_modules/tslib": { - "version": "2.7.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.7.0.tgz", - "integrity": "sha512-gLXCKdN1/j47AiHiOkJN69hJmcbGTHI0ImLmbYLHykhgeN0jVGola9yVjFgzCUklsZQMW55o+dW7IXv3RCXDzA==" + "version": "2.8.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.0.tgz", + "integrity": "sha512-jWVzBLplnCmoaTr13V9dYbiQ99wvZRd0vNWaDRg+aVYRcjDF3nDksxFDE/+fkXnKhpnUUkmx5pK/v8mCtLVqZA==" }, "node_modules/tunnel": { "version": "0.0.6", @@ -10690,9 +10690,9 @@ } }, "tslib": { - "version": "2.7.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.7.0.tgz", - "integrity": "sha512-gLXCKdN1/j47AiHiOkJN69hJmcbGTHI0ImLmbYLHykhgeN0jVGola9yVjFgzCUklsZQMW55o+dW7IXv3RCXDzA==" + "version": "2.8.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.0.tgz", + "integrity": "sha512-jWVzBLplnCmoaTr13V9dYbiQ99wvZRd0vNWaDRg+aVYRcjDF3nDksxFDE/+fkXnKhpnUUkmx5pK/v8mCtLVqZA==" }, "tunnel": { "version": "0.0.6", diff --git a/package.json b/package.json index b4434d51..0f51e2bf 100644 --- a/package.json +++ b/package.json @@ -50,7 +50,7 @@ "lint-staged": "^15.2.10", "prettier": "^3.3.3", "tar": "^7.4.3", - "tslib": "^2.7.0" + "tslib": "^2.8.0" }, "lint-staged": { "*.js": "prettier --write"