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

babel-preset-travi

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-preset-travi - npm Package Compare versions

Comparing version 1.3.1 to 1.4.0

7

lib/index.cjs.js

@@ -20,3 +20,8 @@ 'use strict';

].filter(Boolean),
plugins: [[restSpread, {useBuiltIns: true}]]
plugins: [
[restSpread, {useBuiltIns: true}],
...react
? [require('babel-plugin-transform-class-properties'), require('babel-plugin-inline-react-svg').default]
: []
]
};

@@ -23,0 +28,0 @@ }

@@ -16,3 +16,8 @@ import env from 'babel-preset-env';

].filter(Boolean),
plugins: [[restSpread, {useBuiltIns: true}]]
plugins: [
[restSpread, {useBuiltIns: true}],
...react
? [require('babel-plugin-transform-class-properties'), require('babel-plugin-inline-react-svg').default]
: []
]
};

@@ -19,0 +24,0 @@ }

10

package.json
{
"name": "babel-preset-travi",
"description": "My shareable babel preset",
"version": "1.3.1",
"version": "1.4.0",
"main": "lib/index.cjs.js",

@@ -35,12 +35,14 @@ "module": "lib/index.es.js",

"@travi/eslint-config-travi": "1.6.13",
"commitlint-config-travi": "1.2.29",
"commitlint-config-travi": "1.2.30",
"cz-conventional-changelog": "2.1.0",
"doctoc": "1.3.1",
"greenkeeper-lockfile": "1.15.0",
"greenkeeper-lockfile": "1.15.1",
"husky": "0.15.0-rc.13",
"npm-run-all": "4.1.3",
"rimraf": "2.6.2",
"rollup": "0.59.1"
"rollup": "0.63.5"
},
"dependencies": {
"babel-plugin-inline-react-svg": "^0.5.4",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-plugin-transform-object-rest-spread": "6.26.0",

@@ -47,0 +49,0 @@ "babel-preset-env": "1.7.0",

@@ -17,4 +17,4 @@ # babel-preset-travi

* [Via Rollup](#via-rollup)
* [In projects that target both node and browsers](#in-projects-that-target-both-node-and-browsers)
* [In React projects](#in-react-projects-1)
* [In projects that target both node and browsers](#in-projects-that-target-both-node-and-browsers)
* [In React projects](#in-react-projects-1)
* [Contribution](#contribution)

@@ -83,3 +83,3 @@ * [Dependencies](#dependencies)

### In projects that target both node and browsers
#### In projects that target both node and browsers

@@ -102,3 +102,3 @@ ```js

### In React projects
#### In React projects

@@ -113,4 +113,4 @@ ```js

presets: [['travi', {
targets: {node: 8, browser: true},
react: true,
targets: {node: 8, browser: true},
react: true,
modules: false

@@ -117,0 +117,0 @@ }]],

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc