Socket
Book a DemoSign in
Socket

@babel/plugin-transform-typescript

Package Overview
Dependencies
Maintainers
4
Versions
156
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@babel/plugin-transform-typescript - npm Package Compare versions

Comparing version
8.0.0-rc.2
to
8.0.0-rc.3
+3
-3
lib/index.js

@@ -223,3 +223,3 @@ import { declare } from '@babel/helper-plugin-utils';

if (expr.quasis.length === 1) {
return expr.quasis[0].value.cooked;
return expr.quasis[0].value.cooked ?? undefined;
}

@@ -589,3 +589,3 @@ const paths = path.get("expressions");

const binding = path.scope.getBinding(name);
if (binding && binding.identifier === ids[name]) {
if (binding?.identifier === ids[name]) {
binding.scope.removeBinding(name);

@@ -608,3 +608,3 @@ }

} = api;
api.assertVersion("^7.0.0-0 || ^8.0.0 || 8.0.0-rc.2");
api.assertVersion("^7.0.0-0 || ^8.0.0 || 8.0.0-rc.3");
const JSX_PRAGMA_REGEX = /\*?\s*@jsx((?:Frag)?)\s+(\S+)/;

@@ -611,0 +611,0 @@ const {

{
"name": "@babel/plugin-transform-typescript",
"version": "8.0.0-rc.2",
"version": "8.0.0-rc.3",
"description": "Transform TypeScript into ES.next",

@@ -20,16 +20,16 @@ "repository": {

"dependencies": {
"@babel/helper-annotate-as-pure": "^8.0.0-rc.2",
"@babel/helper-create-class-features-plugin": "^8.0.0-rc.2",
"@babel/helper-plugin-utils": "^8.0.0-rc.2",
"@babel/helper-skip-transparent-expression-wrappers": "^8.0.0-rc.2",
"@babel/plugin-syntax-typescript": "^8.0.0-rc.2"
"@babel/helper-annotate-as-pure": "^8.0.0-rc.3",
"@babel/helper-create-class-features-plugin": "^8.0.0-rc.3",
"@babel/helper-plugin-utils": "^8.0.0-rc.3",
"@babel/helper-skip-transparent-expression-wrappers": "^8.0.0-rc.3",
"@babel/plugin-syntax-typescript": "^8.0.0-rc.3"
},
"peerDependencies": {
"@babel/core": "^8.0.0-rc.2"
"@babel/core": "^8.0.0-rc.3"
},
"devDependencies": {
"@babel/core": "^8.0.0-rc.2",
"@babel/helper-plugin-test-runner": "^8.0.0-rc.2",
"@babel/traverse": "^8.0.0-rc.2",
"@babel/types": "^8.0.0-rc.2"
"@babel/core": "^8.0.0-rc.3",
"@babel/helper-plugin-test-runner": "^8.0.0-rc.3",
"@babel/traverse": "^8.0.0-rc.3",
"@babel/types": "^8.0.0-rc.3"
},

@@ -36,0 +36,0 @@ "homepage": "https://babel.dev/docs/en/next/babel-plugin-transform-typescript",

Sorry, the diff of this file is too big to display