From cbfa75d8b20d951c38844960357a46d73ad38078 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 18 Oct 2024 09:39:37 -0400 Subject: [PATCH] chore(deps-dev): bump tslib from 2.7.0 to 2.8.0 (#391) * chore(deps-dev): bump tslib from 2.7.0 to 2.8.0 Bumps [tslib](https://github.com/Microsoft/tslib) from 2.7.0 to 2.8.0. - [Release notes](https://github.com/Microsoft/tslib/releases) - [Commits](https://github.com/Microsoft/tslib/compare/v2.7.0...v2.8.0) --- updated-dependencies: - dependency-name: tslib dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] * commit npm run build output Signed-off-by: Will Murphy --------- Signed-off-by: dependabot[bot] Signed-off-by: Will Murphy Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Will Murphy --- dist/index.js | 13 +++++++++++++ package-lock.json | 14 +++++++------- package.json | 2 +- 3 files changed, 21 insertions(+), 8 deletions(-) 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"