@babel/plugin-transform-typescript
Advanced tools
Comparing version 7.22.5 to 7.22.9
@@ -228,2 +228,5 @@ "use strict"; | ||
const name = path.node.name; | ||
if (["Infinity", "NaN"].includes(name)) { | ||
return Number(name); | ||
} | ||
let value = prevMembers == null ? void 0 : prevMembers.get(name); | ||
@@ -230,0 +233,0 @@ if (value !== undefined) { |
{ | ||
"name": "@babel/plugin-transform-typescript", | ||
"version": "7.22.5", | ||
"version": "7.22.9", | ||
"description": "Transform TypeScript into ES.next", | ||
@@ -21,3 +21,3 @@ "repository": { | ||
"@babel/helper-annotate-as-pure": "^7.22.5", | ||
"@babel/helper-create-class-features-plugin": "^7.22.5", | ||
"@babel/helper-create-class-features-plugin": "^7.22.9", | ||
"@babel/helper-plugin-utils": "^7.22.5", | ||
@@ -30,5 +30,5 @@ "@babel/plugin-syntax-typescript": "^7.22.5" | ||
"devDependencies": { | ||
"@babel/core": "^7.22.5", | ||
"@babel/core": "^7.22.9", | ||
"@babel/helper-plugin-test-runner": "^7.22.5", | ||
"@babel/traverse": "^7.22.5", | ||
"@babel/traverse": "^7.22.8", | ||
"@babel/types": "^7.22.5" | ||
@@ -35,0 +35,0 @@ }, |
@@ -5,3 +5,3 @@ # @babel/plugin-transform-typescript | ||
See our website [@babel/plugin-transform-typescript](https://babeljs.io/docs/en/babel-plugin-transform-typescript) for more information. | ||
See our website [@babel/plugin-transform-typescript](https://babeljs.io/docs/babel-plugin-transform-typescript) for more information. | ||
@@ -8,0 +8,0 @@ ## Install |
Sorry, the diff of this file is not supported yet
126461
986
131
3
7
2
25