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

react-hot-loader

Package Overview
Dependencies
Maintainers
6
Versions
180
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-hot-loader - npm Package Compare versions

Comparing version 4.12.9 to 4.12.10

11

CHANGELOG.md

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

<a name="4.12.10"></a>
## [4.12.10](https://github.com/gaearon/react-hot-loader/compare/v4.12.9...v4.12.10) (2019-07-27)
### Bug Fixes
* apend react-hot-dom patch note to the ProxyFacade, fixes [#1311](https://github.com/gaearon/react-hot-loader/issues/1311) ([81bbb6a](https://github.com/gaearon/react-hot-loader/commit/81bbb6a))
* use void IIFE for webpack plugin, fixes [#1309](https://github.com/gaearon/react-hot-loader/issues/1309) ([6089822](https://github.com/gaearon/react-hot-loader/commit/6089822))
<a name="4.12.9"></a>

@@ -7,0 +18,0 @@ ## [4.12.9](https://github.com/gaearon/react-hot-loader/compare/v4.12.8...v4.12.9) (2019-07-23)

4

dist/webpack.development.js

@@ -133,7 +133,7 @@ 'use strict';

// eslint comments don't need to end up in the output
.replace(/\/\/ eslint-disable-line .*\n/g, '\n').replace(/\/\* global.*\*\//, '').split(/\n\s*/).join(' ');
.replace(/\/\* (.*) \*\//, '').replace(/\/\/ eslint-disable-line .*\n/g, '\n').replace(/\/\* global.*\*\//, '').split(/\n\s*/).join(' ');
}
// Parameterize the helper with the current filename.
var separator = '\n\n;';
var separator = '\n';
var appendText = tagCommonJSExportsSource.replace(/__FILENAME__/g, JSON.stringify(resourcePath));

@@ -140,0 +140,0 @@

'use strict';
/* eslint-disable global-require, import/no-unresolved, no-var, camelcase, func-names */
/* eslint-disable global-require, import/no-unresolved, no-var, camelcase, func-names, no-void */
/* global __FILENAME__, reactHotLoaderGlobal */
(function register() {
void function register() {
// eslint-disable-line no-extra-semi

@@ -47,2 +47,2 @@ /* react-hot-loader/webpack */

}
})();
}();
{
"name": "react-hot-loader",
"version": "4.12.9",
"version": "4.12.10",
"description": "Tweak React components in real time.",

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

@@ -407,7 +407,7 @@ # React Hot Loader

// Hello.js
import { hot } from 'react-hot-loader';
import { hot } from 'react-hot-loader/root';
const Hello = () => 'Hello';
export default hot(module)(Hello); // <-- module will reload itself
export default hot(Hello); // <-- module will reload itself
```

@@ -414,0 +414,0 @@

Sorry, the diff of this file is too big to display

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