@babel/plugin-transform-typescript
Advanced tools
Comparing version 7.0.0-beta.51 to 7.0.0-beta.52
@@ -172,8 +172,2 @@ "use strict"; | ||
} = path; | ||
if (!node.value) { | ||
path.remove(); | ||
return; | ||
} | ||
if (node.accessibility) node.accessibility = null; | ||
@@ -214,3 +208,6 @@ if (node.abstract) node.abstract = null; | ||
child.node.typeAnnotation = null; | ||
if (!child.node.value) child.remove(); | ||
if (!child.node.value && !child.node.decorators) { | ||
child.remove(); | ||
} | ||
} | ||
@@ -217,0 +214,0 @@ }); |
{ | ||
"name": "@babel/plugin-transform-typescript", | ||
"version": "7.0.0-beta.51", | ||
"version": "7.0.0-beta.52", | ||
"description": "Transform TypeScript into ES.next", | ||
@@ -13,4 +13,4 @@ "repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-transform-typescript", | ||
"dependencies": { | ||
"@babel/helper-plugin-utils": "7.0.0-beta.51", | ||
"@babel/plugin-syntax-typescript": "7.0.0-beta.51" | ||
"@babel/helper-plugin-utils": "7.0.0-beta.52", | ||
"@babel/plugin-syntax-typescript": "7.0.0-beta.52" | ||
}, | ||
@@ -21,5 +21,5 @@ "peerDependencies": { | ||
"devDependencies": { | ||
"@babel/core": "7.0.0-beta.51", | ||
"@babel/helper-plugin-test-runner": "7.0.0-beta.51" | ||
"@babel/core": "7.0.0-beta.52", | ||
"@babel/helper-plugin-test-runner": "7.0.0-beta.52" | ||
} | ||
} |
@@ -5,3 +5,3 @@ # @babel/plugin-transform-typescript | ||
See our website [@babel/plugin-transform-typescript](https://new.babeljs.io/docs/en/next/babel-plugin-transform-typescript.html) for more information. | ||
See our website [@babel/plugin-transform-typescript](https://babeljs.io/docs/en/next/babel-plugin-transform-typescript.html) for more information. | ||
@@ -13,3 +13,3 @@ ## Install | ||
```sh | ||
npm install --save @babel/plugin-transform-typescript | ||
npm install --save-dev @babel/plugin-transform-typescript | ||
``` | ||
@@ -20,3 +20,3 @@ | ||
```sh | ||
yarn add --save @babel/plugin-transform-typescript | ||
yarn add @babel/plugin-transform-typescript --dev | ||
``` |
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
14249
444
+ Added@babel/helper-plugin-utils@7.0.0-beta.52(transitive)
+ Added@babel/plugin-syntax-typescript@7.0.0-beta.52(transitive)
- Removed@babel/helper-plugin-utils@7.0.0-beta.51(transitive)
- Removed@babel/plugin-syntax-typescript@7.0.0-beta.51(transitive)