Socket
Socket
Sign inDemoInstall

node-hot-loader

Package Overview
Dependencies
173
Maintainers
1
Versions
92
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.7.0 to 1.7.1

7

CHANGELOG.md

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

<a name="1.7.1"></a>
## <small>1.7.1 (2018-04-09)</small>
* Little improvements ([6bd8960](https://github.com/vlazh/node-hot-loader/commit/6bd8960))
<a name="1.7.0"></a>

@@ -2,0 +9,0 @@ ## 1.7.0 (2018-04-09)

5

lib/HmrServer.js

@@ -70,2 +70,3 @@ 'use strict';

}
exports.default = HmrServer;

@@ -244,4 +245,2 @@ var _initialiseProps = function () {

};
};
exports.default = HmrServer;
};

17

lib/loader.js

@@ -15,6 +15,2 @@ 'use strict';

var _path = require('path');
var _path2 = _interopRequireDefault(_path);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

@@ -36,3 +32,3 @@

const hmrClientEntry = _path2.default.resolve(process.cwd(), 'node_modules/node-hot-loader/lib/HmrClient');
const hmrClientEntry = require.resolve('./HmrClient');

@@ -74,10 +70,2 @@ const addHmrClientEntry = (entry, entryOwner) => {

}
// Prints more readable module names in the console on HMR updates.
// if (!config.plugins.find(p => p instanceof webpack.NamedModulesPlugin)) {
// config.plugins.push(new webpack.NamedModulesPlugin());
// }
// In order for don't emit files if errors occurred.
// if (!config.plugins.find(p => p instanceof webpack.NoEmitOnErrorsPlugin)) {
// config.plugins.push(new webpack.NoEmitOnErrorsPlugin());
// }

@@ -93,4 +81,3 @@ return config;

return Promise.resolve().then(() => require('./HmrServer')).then(({ default: HmrServer }) => new HmrServer(_extends({}, options, {
/** Webpack compiler. */
compiler
compiler // webpack compiler
})).run());

@@ -97,0 +84,0 @@ }

{
"name": "node-hot-loader",
"version": "1.7.0",
"version": "1.7.1",
"description": "Hot module replacement for Node.js applications",

@@ -69,5 +69,2 @@ "main": "./lib/node-hot.js",

"babel-plugin-dynamic-import-node": "^1.2.0",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-plugin-transform-decorators": "^6.24.1",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-preset-env": "^1.6.1",

@@ -82,3 +79,4 @@ "babel-preset-stage-2": "^6.24.1",

"prettier": "^1.11.1",
"rimraf": "^2.6.1"
"rimraf": "^2.6.1",
"webpack": "^4.5.0"
},

@@ -85,0 +83,0 @@ "peerDependencies": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc