@babel/preset-typescript
Advanced tools
Comparing version 7.22.5 to 7.22.11
@@ -11,6 +11,6 @@ 'use strict'; | ||
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; } | ||
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; } | ||
var transformTypeScript__default = /*#__PURE__*/_interopDefaultLegacy(transformTypeScript); | ||
var transformModulesCommonJS__default = /*#__PURE__*/_interopDefaultLegacy(transformModulesCommonJS); | ||
var transformTypeScript__default = /*#__PURE__*/_interopDefault(transformTypeScript); | ||
var transformModulesCommonJS__default = /*#__PURE__*/_interopDefault(transformModulesCommonJS); | ||
@@ -91,3 +91,3 @@ const v = new helperValidatorOption.OptionValidator("@babel/preset-typescript"); | ||
{ | ||
return [[transformTypeScript__default["default"], Object.assign({ | ||
return [[transformTypeScript__default.default, Object.assign({ | ||
isTSX | ||
@@ -111,5 +111,5 @@ }, pluginOptions(disallowAmbiguousJSXLike))]]; | ||
sourceType: "unambiguous", | ||
plugins: [[transformModulesCommonJS__default["default"], { | ||
plugins: [[transformModulesCommonJS__default.default, { | ||
allowTopLevelThis: true | ||
}], [transformTypeScript__default["default"], pluginOptions(true)]] | ||
}], [transformTypeScript__default.default, pluginOptions(true)]] | ||
}, { | ||
@@ -122,3 +122,3 @@ test: /\.tsx$/, | ||
exports["default"] = index; | ||
exports.default = index; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@babel/preset-typescript", | ||
"version": "7.22.5", | ||
"version": "7.22.11", | ||
"description": "Babel preset for TypeScript.", | ||
@@ -23,4 +23,4 @@ "repository": { | ||
"@babel/plugin-syntax-jsx": "^7.22.5", | ||
"@babel/plugin-transform-modules-commonjs": "^7.22.5", | ||
"@babel/plugin-transform-typescript": "^7.22.5" | ||
"@babel/plugin-transform-modules-commonjs": "^7.22.11", | ||
"@babel/plugin-transform-typescript": "^7.22.11" | ||
}, | ||
@@ -31,3 +31,3 @@ "peerDependencies": { | ||
"devDependencies": { | ||
"@babel/core": "^7.22.5", | ||
"@babel/core": "^7.22.11", | ||
"@babel/helper-plugin-test-runner": "^7.22.5" | ||
@@ -34,0 +34,0 @@ }, |
@@ -5,3 +5,3 @@ # @babel/preset-typescript | ||
See our website [@babel/preset-typescript](https://babeljs.io/docs/en/babel-preset-typescript) for more information or the [issues](https://github.com/babel/babel/issues?utf8=%E2%9C%93&q=is%3Aissue+label%3A%22area%3A%20typescript%22+is%3Aopen) associated with this package. | ||
See our website [@babel/preset-typescript](https://babeljs.io/docs/babel-preset-typescript) for more information or the [issues](https://github.com/babel/babel/issues?utf8=%E2%9C%93&q=is%3Aissue+label%3A%22area%3A%20typescript%22+is%3Aopen) associated with this package. | ||
@@ -8,0 +8,0 @@ ## Install |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
17920
5
113