🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
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.20.0

4

lib/index.js

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

TSAsExpression(path) {
[`TSAsExpression${_core.types.tsSatisfiesExpression ? "|TSSatisfiesExpression" : ""}`](path) {
let {

@@ -479,3 +479,3 @@ node

node = node.expression;
} while (_core.types.isTSAsExpression(node));
} while (_core.types.isTSAsExpression(node) || _core.types.isTSSatisfiesExpression != null && _core.types.isTSSatisfiesExpression(node));

@@ -482,0 +482,0 @@ path.replaceWith(node);

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

@@ -22,3 +22,3 @@ "repository": {

"@babel/helper-plugin-utils": "^7.19.0",
"@babel/plugin-syntax-typescript": "^7.18.6"
"@babel/plugin-syntax-typescript": "^7.20.0"
},

@@ -29,6 +29,6 @@ "peerDependencies": {

"devDependencies": {
"@babel/core": "^7.19.3",
"@babel/core": "^7.19.6",
"@babel/helper-plugin-test-runner": "^7.18.6",
"@babel/traverse": "^7.19.3",
"@babel/types": "^7.19.3"
"@babel/traverse": "^7.20.0",
"@babel/types": "^7.20.0"
},

@@ -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