@babel/plugin-transform-typescript
Advanced tools
Comparing version 8.0.0-alpha.7 to 8.0.0-alpha.8
@@ -315,3 +315,3 @@ import { declare } from '@babel/helper-plugin-utils'; | ||
} else { | ||
path.replaceWith(t.variableDeclaration("var", [t.variableDeclarator(path.node.id, obj)])); | ||
path.replaceWith(t.variableDeclaration("const", [t.variableDeclarator(path.node.id, obj)])); | ||
path.scope.registerDeclaration(path); | ||
@@ -556,3 +556,3 @@ } | ||
} = api; | ||
api.assertVersion("8.0.0-alpha.7"); | ||
api.assertVersion("8.0.0-alpha.8"); | ||
const JSX_PRAGMA_REGEX = /\*?\s*@jsx((?:Frag)?)\s+([^\s]+)/; | ||
@@ -559,0 +559,0 @@ const { |
{ | ||
"name": "@babel/plugin-transform-typescript", | ||
"version": "8.0.0-alpha.7", | ||
"version": "8.0.0-alpha.8", | ||
"description": "Transform TypeScript into ES.next", | ||
@@ -20,15 +20,15 @@ "repository": { | ||
"dependencies": { | ||
"@babel/helper-annotate-as-pure": "^8.0.0-alpha.7", | ||
"@babel/helper-create-class-features-plugin": "^8.0.0-alpha.7", | ||
"@babel/helper-plugin-utils": "^8.0.0-alpha.7", | ||
"@babel/plugin-syntax-typescript": "^8.0.0-alpha.7" | ||
"@babel/helper-annotate-as-pure": "^8.0.0-alpha.8", | ||
"@babel/helper-create-class-features-plugin": "^8.0.0-alpha.8", | ||
"@babel/helper-plugin-utils": "^8.0.0-alpha.8", | ||
"@babel/plugin-syntax-typescript": "^8.0.0-alpha.8" | ||
}, | ||
"peerDependencies": { | ||
"@babel/core": "^8.0.0-alpha.7" | ||
"@babel/core": "^8.0.0-alpha.8" | ||
}, | ||
"devDependencies": { | ||
"@babel/core": "^8.0.0-alpha.7", | ||
"@babel/helper-plugin-test-runner": "^8.0.0-alpha.7", | ||
"@babel/traverse": "^8.0.0-alpha.7", | ||
"@babel/types": "^8.0.0-alpha.7" | ||
"@babel/core": "^8.0.0-alpha.8", | ||
"@babel/helper-plugin-test-runner": "^8.0.0-alpha.8", | ||
"@babel/traverse": "^8.0.0-alpha.8", | ||
"@babel/types": "^8.0.0-alpha.8" | ||
}, | ||
@@ -35,0 +35,0 @@ "homepage": "https://babel.dev/docs/en/next/babel-plugin-transform-typescript", |
Sorry, the diff of this file is not supported yet
131574