New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@foxford/babel-preset-react-app

Package Overview
Dependencies
Maintainers
6
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@foxford/babel-preset-react-app - npm Package Compare versions

Comparing version 1.3.1-beta-d5df9ee-20230316 to 2.0.0-beta-576dc87-20231016

32

create.js

@@ -103,4 +103,2 @@ /**

isTypeScriptEnabled && [require('@babel/preset-typescript').default],
].filter(Boolean),
plugins: [
// Strip flow types before any other transform, emulating the behavior

@@ -112,3 +110,6 @@ // order as-if the browser supported all of the succeeding features

// https://github.com/facebook/create-react-app/issues/5741
isFlowEnabled && [require('@babel/plugin-transform-flow-strip-types').default, false],
isFlowEnabled && [require('@babel/preset-flow').default, false],
].filter(Boolean),
plugins: [
isFlowEnabled && [require('babel-plugin-syntax-hermes-parser').default],
// Disabled as it's handled automatically by preset-env, and `selectiveLoose` isn't

@@ -142,3 +143,26 @@ // yet merged into babel: https://github.com/babel/babel/pull/9486

// See discussion in https://github.com/facebook/create-react-app/issues/4263
[require('@babel/plugin-proposal-class-properties').default],
// Note:
// 'loose' mode configuration must be the same for
// * @babel/plugin-proposal-class-properties
// * @babel/plugin-proposal-private-methods
// * @babel/plugin-proposal-private-property-in-object
// (when they are enabled)
[
require('@babel/plugin-proposal-class-properties').default,
{
loose: true,
},
],
[
require('@babel/plugin-proposal-private-methods').default,
{
loose: true,
},
],
[
require('@babel/plugin-proposal-private-property-in-object').default,
{
loose: true,
},
],
// Adds Numeric Separators

@@ -145,0 +169,0 @@ require('@babel/plugin-proposal-numeric-separator').default,

36

package.json
{
"name": "@foxford/babel-preset-react-app",
"version": "1.3.1-beta-d5df9ee-20230316",
"version": "2.0.0-beta-576dc87-20231016",
"description": "Preset babel for foxford js apps",

@@ -35,24 +35,28 @@ "main": "index.js",

"dependencies": {
"@babel/core": "7.21.3",
"@babel/core": "7.23.2",
"@babel/plugin-proposal-class-properties": "7.18.6",
"@babel/plugin-proposal-decorators": "7.21.0",
"@babel/plugin-proposal-export-default-from": "7.18.10",
"@babel/plugin-proposal-decorators": "7.23.2",
"@babel/plugin-proposal-export-default-from": "7.22.17",
"@babel/plugin-proposal-nullish-coalescing-operator": "7.18.6",
"@babel/plugin-proposal-numeric-separator": "7.18.6",
"@babel/plugin-proposal-optional-chaining": "7.21.0",
"@babel/plugin-transform-flow-strip-types": "7.21.0",
"@babel/plugin-transform-react-display-name": "7.18.6",
"@babel/plugin-transform-runtime": "7.21.0",
"@babel/preset-env": "7.20.2",
"@babel/preset-react": "7.18.6",
"@babel/preset-typescript": "7.21.0",
"@babel/runtime": "7.21.0",
"@babel/plugin-proposal-private-methods": "7.18.6",
"@babel/plugin-proposal-private-property-in-object": "7.21.0",
"@babel/plugin-transform-flow-strip-types": "7.22.5",
"@babel/plugin-transform-react-display-name": "7.22.5",
"@babel/plugin-transform-runtime": "7.23.2",
"@babel/preset-env": "7.23.2",
"@babel/preset-flow": "7.22.15",
"@babel/preset-react": "7.22.15",
"@babel/preset-typescript": "7.23.2",
"@babel/runtime": "7.23.2",
"babel-plugin-syntax-hermes-parser": "^0.16.0",
"babel-plugin-transform-react-remove-prop-types": "0.4.24"
},
"devDependencies": {
"eslint": "8.36.0",
"eslint-config-prettier": "8.7.0",
"eslint-plugin-prettier": "4.2.1",
"prettier": "2.8.4",
"zx": "7.2.0"
"eslint": "8.51.0",
"eslint-config-prettier": "9.0.0",
"eslint-plugin-prettier": "5.0.1",
"prettier": "3.0.3",
"zx": "7.2.3"
},

@@ -59,0 +63,0 @@ "homepage": "https://github.com/foxford/babel-preset-react-app#readme"

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