Socket
Socket
Sign inDemoInstall

@babel/preset-typescript

Package Overview
Dependencies
58
Maintainers
4
Versions
84
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 8.0.0-alpha.1 to 8.0.0-alpha.2

1

lib/index.js

@@ -26,2 +26,3 @@ import { declarePreset } from '@babel/helper-plugin-utils';

{
v.invariant(!("allowDeclareFields" in options), "The .allowDeclareFields option has been removed and it's now always enabled. Please remove it from your config.");
v.invariant(!("allExtensions" in options) && !("isTSX" in options), "The .allExtensions and .isTSX options have been removed.\n" + "If you want to disable JSX detection based on file extensions, " + "you can set the .ignoreExtensions option to true.\n" + "If you want to force JSX parsing, you can enable the " + "@babel/plugin-syntax-jsx plugin.");

@@ -28,0 +29,0 @@ v.validateTopLevelOptions(options, TopLevelOptions);

@@ -21,2 +21,3 @@ import { OptionValidator } from "@babel/helper-validator-option";

{
v.invariant(!("allowDeclareFields" in options), "The .allowDeclareFields option has been removed and it's now always enabled. Please remove it from your config.");
v.invariant(!("allExtensions" in options) && !("isTSX" in options), "The .allExtensions and .isTSX options have been removed.\n" + "If you want to disable JSX detection based on file extensions, " + "you can set the .ignoreExtensions option to true.\n" + "If you want to force JSX parsing, you can enable the " + "@babel/plugin-syntax-jsx plugin.");

@@ -23,0 +24,0 @@ v.validateTopLevelOptions(options, TopLevelOptions);

18

package.json
{
"name": "@babel/preset-typescript",
"version": "8.0.0-alpha.1",
"version": "8.0.0-alpha.2",
"description": "Babel preset for TypeScript.",

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

"dependencies": {
"@babel/helper-plugin-utils": "^8.0.0-alpha.1",
"@babel/helper-validator-option": "^8.0.0-alpha.1",
"@babel/plugin-syntax-jsx": "^8.0.0-alpha.1",
"@babel/plugin-transform-modules-commonjs": "^8.0.0-alpha.1",
"@babel/plugin-transform-typescript": "^8.0.0-alpha.1"
"@babel/helper-plugin-utils": "^8.0.0-alpha.2",
"@babel/helper-validator-option": "^8.0.0-alpha.2",
"@babel/plugin-syntax-jsx": "^8.0.0-alpha.2",
"@babel/plugin-transform-modules-commonjs": "^8.0.0-alpha.2",
"@babel/plugin-transform-typescript": "^8.0.0-alpha.2"
},
"peerDependencies": {
"@babel/core": "^8.0.0-alpha.1"
"@babel/core": "^8.0.0-alpha.2"
},
"devDependencies": {
"@babel/core": "^8.0.0-alpha.1",
"@babel/helper-plugin-test-runner": "^8.0.0-alpha.1"
"@babel/core": "^8.0.0-alpha.2",
"@babel/helper-plugin-test-runner": "^8.0.0-alpha.2"
},

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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