Socket
Socket
Sign inDemoInstall

@babel/plugin-transform-typescript

Package Overview
Dependencies
4
Maintainers
4
Versions
124
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 7.18.8 to 7.18.10

8

lib/namespace.js

@@ -58,3 +58,5 @@ "use strict";

for (const declarator of declarations) {
declarator.init = _core.types.assignmentExpression("=", getMemberExpression(name, declarator.id.name), declarator.init);
if (declarator.init) {
declarator.init = _core.types.assignmentExpression("=", getMemberExpression(name, declarator.id.name), declarator.init);
}
}

@@ -138,2 +140,6 @@

{
if (subNode.declaration.declare) {
continue;
}
const itemName = subNode.declaration.id.name;

@@ -140,0 +146,0 @@ names.add(itemName);

12

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

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

"dependencies": {
"@babel/helper-create-class-features-plugin": "^7.18.6",
"@babel/helper-plugin-utils": "^7.18.6",
"@babel/helper-create-class-features-plugin": "^7.18.9",
"@babel/helper-plugin-utils": "^7.18.9",
"@babel/plugin-syntax-typescript": "^7.18.6"

@@ -29,6 +29,6 @@ },

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

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc