react-hot-loader
Advanced tools
Comparing version 4.12.9 to 4.12.10
@@ -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) |
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
229519
3646