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

babel-plugin-react-hot

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-plugin-react-hot - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

12

index.js

@@ -1,10 +0,8 @@

if (typeof global === 'undefined' && typeof window !== 'undefined') {
global = window;
}
'use strict';
var System = global && global.System;
var pluginPath = 'babel-plugin-react-hot';
var pluginName = 'babel-plugin-react-hot';
var pluginPath = typeof __dirname === 'undefined' ? pluginName : __dirname;
var makeHotName = 'makeHot';
var makeHotPath = (System && __dirname || pluginPath)+'/makeHot';
var makeHotPath = pluginPath+'/makeHot.js';

@@ -26,3 +24,3 @@ var reactName = 'React';

return new babel.Transformer(pluginPath, {
return new babel.Transformer(pluginName, {
/**

@@ -29,0 +27,0 @@ * ES6 ReactComponent

@@ -0,1 +1,3 @@

'use strict';
var ReactHotAPI = require('react-hot-api');

@@ -2,0 +4,0 @@ var madeHot = {};

{
"name": "babel-plugin-react-hot",
"version": "1.0.0",
"version": "1.0.1",
"description": "Babel plugin using `react-hot-api` to add hot reloading to `React.createClass` and all classes with a `render` method.",

@@ -5,0 +5,0 @@ "main": "index.js",

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