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

babel-plugin-san-hmr

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-plugin-san-hmr - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

3

index.js

@@ -6,2 +6,3 @@ /**

const genId = require('./gen-id');
const sanHMRAPI = require.resolve('san-hot-reload-api');
const sanModuleName = 'san';

@@ -14,3 +15,3 @@ const sanComponentClassName = 'Component';

if (module.hot) {
var hotApi = require('san-hot-reload-api');
var hotApi = require('${sanHMRAPI}');
hotApi.install(require('san'), false);

@@ -17,0 +18,0 @@ if (!hotApi.compatible) {

{
"name": "babel-plugin-san-hmr",
"version": "1.0.0",
"version": "1.0.1",
"description": "Babel plugin from San component hot module replacement",

@@ -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