Socket
Socket
Sign inDemoInstall

@newsteam/babel-preset

Package Overview
Dependencies
Maintainers
1
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@newsteam/babel-preset - npm Package Compare versions

Comparing version 0.0.24 to 0.0.25

6

lib/index.d.ts

@@ -1,2 +0,2 @@

import { PluginItem } from "@babel/core";
import type { PluginItem } from "@babel/core";
export interface TamlandBabelPresetOptions {

@@ -11,5 +11,3 @@ addModuleExports: boolean;

reactHotLoader: boolean;
targets: string | string[] | {
[string: string]: string;
};
targets: Record<string, string> | string[] | string;
typescript: boolean;

@@ -16,0 +14,0 @@ }

@@ -30,13 +30,7 @@ "use strict";

const development = typeof options.development === "boolean" ? options.development : api.cache.using(() => process.env.NODE_ENV === "development");
plugins.push("babel-plugin-transform-typescript-metadata");
plugins.push(["@babel/plugin-proposal-decorators", {
plugins.push("babel-plugin-transform-typescript-metadata", ["@babel/plugin-proposal-decorators", {
legacy: true
}]);
plugins.push(["@babel/plugin-proposal-class-properties", {
}], ["@babel/plugin-proposal-class-properties", {
loose: true
}]);
plugins.push("@babel/plugin-proposal-object-rest-spread");
plugins.push("@babel/plugin-transform-named-capturing-groups-regex");
plugins.push("@loadable/babel-plugin");
plugins.push("jsx-control-statements");
}], "@babel/plugin-proposal-object-rest-spread", "@babel/plugin-transform-named-capturing-groups-regex", "@loadable/babel-plugin", "jsx-control-statements");

@@ -68,4 +62,3 @@ if (reactHotLoader) {

targets
}]);
presets.push(["@babel/preset-react", {
}], ["@babel/preset-react", {
development

@@ -72,0 +65,0 @@ }]);

{
"name": "@newsteam/babel-preset",
"version": "0.0.24",
"version": "0.0.25",
"description": "Shared preset for babel",

@@ -44,11 +44,11 @@ "main": "lib",

"dependencies": {
"@babel/helper-plugin-utils": "7.10.4",
"@babel/plugin-proposal-class-properties": "7.12.1",
"@babel/plugin-proposal-decorators": "7.12.12",
"@babel/plugin-proposal-object-rest-spread": "7.12.1",
"@babel/plugin-transform-named-capturing-groups-regex": "7.12.1",
"@babel/plugin-transform-typescript": "7.12.1",
"@babel/preset-env": "7.12.11",
"@babel/preset-react": "7.12.10",
"@babel/preset-typescript": "7.12.7",
"@babel/helper-plugin-utils": "7.13.0",
"@babel/plugin-proposal-class-properties": "7.13.0",
"@babel/plugin-proposal-decorators": "7.13.5",
"@babel/plugin-proposal-object-rest-spread": "7.13.8",
"@babel/plugin-transform-named-capturing-groups-regex": "7.12.13",
"@babel/plugin-transform-typescript": "7.13.0",
"@babel/preset-env": "7.13.10",
"@babel/preset-react": "7.12.13",
"@babel/preset-typescript": "7.13.0",
"@loadable/babel-plugin": "5.13.2",

@@ -60,17 +60,17 @@ "babel-plugin-add-module-exports": "1.0.4",

"react-hot-loader": "4.13.0",
"typescript": "4.1.3"
"typescript": "4.2.3"
},
"devDependencies": {
"@babel/cli": "7.12.10",
"@babel/core": "7.12.10",
"@newsteam/jasmine": "0.0.23",
"@babel/cli": "7.13.10",
"@babel/core": "7.13.10",
"@newsteam/jasmine": "0.0.24",
"@types/babel__core": "7.1.12",
"@types/node": "14.14.22",
"@types/node": "14.14.34",
"jasmine": "3.6.4",
"npm-check-updates": "^11.1.1",
"npm-check-updates": "^11.3.0",
"renamer": "2.0.1"
},
"peerDependencies": {
"@babel/core": "7.12.10"
"@babel/core": "7.13.10"
}
}

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc