Socket
Socket
Sign inDemoInstall

babel-preset-proposal-typescript

Package Overview
Dependencies
87
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.2.5 to 1.2.6

7

CHANGELOG.md

@@ -5,2 +5,9 @@ # Changelog

### [1.2.6](https://github.com/JounQin/babel-preset-proposal-typescript/compare/v1.2.5...v1.2.6) (2019-08-20)
### Bug Fixes
* incorrect type of overrides ([d86062a](https://github.com/JounQin/babel-preset-proposal-typescript/commit/d86062a))
### [1.2.5](https://github.com/JounQin/babel-preset-proposal-typescript/compare/v1.2.4...v1.2.5) (2019-08-20)

@@ -7,0 +14,0 @@

26

esm.js

@@ -61,16 +61,18 @@ import syntaxDecorators from '@babel/plugin-syntax-decorators'

// no need to override if it has been enabled
overrides: !isTSX && [
{
test: /\.[jt]sx$/,
plugins: [
[
syntaxTypeScript,
{
isTSX: true,
},
],
overrides: isTSX
? undefined
: [
{
test: /\.[jt]sx$/,
plugins: [
[
syntaxTypeScript,
{
isTSX: true,
},
],
],
},
],
},
],
}
})

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

// no need to override if it has been enabled
overrides: !isTSX && [{
overrides: isTSX ? undefined : [{
test: /\.[jt]sx$/,

@@ -62,0 +62,0 @@ plugins: [[_pluginSyntaxTypescript["default"], {

{
"name": "babel-preset-proposal-typescript",
"version": "1.2.5",
"version": "1.2.6",
"description": "Yet another Babel preset for TypeScript, only transforms proposals which TypeScript does not support now.",

@@ -5,0 +5,0 @@ "module": "esm.js",

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