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

@knit/babel-preset-socks-react

Package Overview
Dependencies
Maintainers
2
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@knit/babel-preset-socks-react - npm Package Compare versions

Comparing version 0.4.0 to 0.5.0

18

index.js

@@ -1,4 +0,4 @@

'use strict';
"use strict";
var _assign = require('babel-runtime/core-js/object/assign');
var _assign = require("babel-runtime/core-js/object/assign");

@@ -15,7 +15,7 @@ var _assign2 = _interopRequireDefault(_assign);

targets: {
browsers: ['last 2 versions']
browsers: ["last 2 versions"]
}
}, opts, { modules: process.env.JS_NEXT ? false : 'commonjs' });
var presets = [require.resolve('babel-preset-react'), [require.resolve('babel-preset-env'), options]];
var buildPlugins = [require.resolve('babel-plugin-transform-class-properties'), [require.resolve('babel-plugin-transform-object-rest-spread'), {
}, opts, { modules: process.env.JS_NEXT ? false : "commonjs" });
var presets = [require.resolve("babel-preset-react"), [require.resolve("babel-preset-env"), options]];
var buildPlugins = [require.resolve("babel-plugin-transform-class-properties"), [require.resolve("babel-plugin-transform-object-rest-spread"), {
useBuiltIns: true

@@ -25,9 +25,9 @@ }]];

// Adds component stack to warning messages
require.resolve('babel-plugin-transform-react-jsx-source'),
require.resolve("babel-plugin-transform-react-jsx-source"),
// Adds __self attribute to JSX which React will use for some warnings
require.resolve('babel-plugin-transform-react-jsx-self')];
require.resolve("babel-plugin-transform-react-jsx-self")];
var env = process.env.BABEL_ENV || process.env.NODE_ENV;
var plugins = env === 'development' ? [].concat(buildPlugins, devPlugins) : buildPlugins;
var plugins = env === "development" ? [].concat(buildPlugins, devPlugins) : buildPlugins;

@@ -34,0 +34,0 @@ return {

@@ -12,3 +12,3 @@ {

"engines": {
"node": ">=6",
"node": ">=4",
"npm": ">=3"

@@ -22,3 +22,3 @@ },

"description": "A pair of babel socks",
"version": "0.4.0",
"version": "0.5.0",
"dependencies": {

@@ -31,5 +31,3 @@ "babel-plugin-transform-class-properties": "^6.23.0",

"babel-preset-react": "^6.23.0"
},
"peerDependencies": {},
"optionalDependencies": {}
}
}
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