You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@babel/plugin-transform-typescript

Package Overview
Dependencies
Maintainers
4
Versions
148
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

to
7.18.8

2

lib/const-enum.js

@@ -18,3 +18,3 @@ "use strict";

if (!isExported && t.isProgram(path.parent)) {
isExported = path.parent.body.some(stmt => t.isExportNamedDeclaration(stmt) && !stmt.source && stmt.specifiers.some(spec => t.isExportSpecifier(spec) && spec.local.name === name));
isExported = path.parent.body.some(stmt => t.isExportNamedDeclaration(stmt) && stmt.exportKind !== "type" && !stmt.source && stmt.specifiers.some(spec => t.isExportSpecifier(spec) && spec.exportKind !== "type" && spec.local.name === name));
}

@@ -21,0 +21,0 @@

{
"name": "@babel/plugin-transform-typescript",
"version": "7.18.6",
"version": "7.18.8",
"description": "Transform TypeScript into ES.next",

@@ -30,4 +30,4 @@ "repository": {

"@babel/helper-plugin-test-runner": "^7.18.6",
"@babel/traverse": "^7.18.6",
"@babel/types": "^7.18.6"
"@babel/traverse": "^7.18.8",
"@babel/types": "^7.18.8"
},

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