Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@eliumhq/babel-preset-elium

Package Overview
Dependencies
Maintainers
5
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@eliumhq/babel-preset-elium - npm Package Compare versions

Comparing version 0.4.14 to 0.5.0

9

CHANGELOG.md

@@ -5,2 +5,11 @@ # Change Log

# [0.5.0](http://gitlab.com/elium/product/babel-preset-elium/compare/v0.4.14...v0.5.0) (2019-05-09)
### Features
* update settings from create-react-app ([3463e88](http://gitlab.com/elium/product/babel-preset-elium/commit/3463e88))
## [0.4.14](http://gitlab.com/elium/product/babel-preset-elium/compare/v0.4.13...v0.4.14) (2019-05-03)

@@ -7,0 +16,0 @@

34

create.js

@@ -36,7 +36,3 @@ 'use strict'

{
// `entry` transforms `@babel/polyfill` into individual requires for
// the targeted browsers. This is safer than `usage` which performs
// static code analysis to determine what's required.
// This is probably a fine default to help trim down bundles when
// end-users inevitably import '@babel/polyfill'.
// Allow importing core-js in entrypoint and use browserlist to select polyfills
useBuiltIns: 'entry',

@@ -46,3 +42,6 @@ corejs: 3,

modules: opts.modules || false,
targets: opts.targets
targets: opts.targets,
// Exclude transforms that make all code slower
// https://github.com/facebook/create-react-app/pull/5278
exclude: ['transform-typeof-symbol']
}

@@ -66,3 +65,3 @@ ],

{
corejs: 3
corejs: false
}

@@ -73,3 +72,22 @@ ],

// don't work without it: https://github.com/babel/babel/issues/7215
require('@babel/plugin-transform-destructuring').default,
[
require('@babel/plugin-transform-destructuring').default,
{
// Use loose mode for performance:
// https://github.com/facebook/create-react-app/issues/5602
loose: false,
selectiveLoose: [
'useState',
'useEffect',
'useContext',
'useReducer',
'useCallback',
'useMemo',
'useRef',
'useImperativeHandle',
'useLayoutEffect',
'useDebugValue',
]
}
],
// must be above class properties

@@ -76,0 +94,0 @@ [

{
"name": "@eliumhq/babel-preset-elium",
"version": "0.4.14",
"version": "0.5.0",
"description": "Babel preset used by Elium",

@@ -5,0 +5,0 @@ "repository": {

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