Socket
Socket
Sign inDemoInstall

node-hot-loader

Package Overview
Dependencies
Maintainers
1
Versions
93
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-hot-loader - npm Package Compare versions

Comparing version 1.17.5 to 1.17.6

9

CHANGELOG.md

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

## <small>1.17.6 (2019-09-08)</small>
* Configure ([7b10cf7](https://github.com/vlazh/node-hot-loader/commit/7b10cf7))
* Fix hot apply methods binding ([a5996c7](https://github.com/vlazh/node-hot-loader/commit/a5996c7))
* Update deps ([3c15624](https://github.com/vlazh/node-hot-loader/commit/3c15624))
* Update deps ([7ffe702](https://github.com/vlazh/node-hot-loader/commit/7ffe702))
## <small>1.17.5 (2019-08-19)</small>

@@ -2,0 +11,0 @@

12

HmrClient.js

@@ -112,5 +112,4 @@ "use strict";

ignoreErrored: true,
// true allows to restore state after errors.
onUnaccepted(info) {
// true - allows to restore state after errors.
onUnaccepted: info => {
if (logLevel >= _LogLevel.LogLevel.ERRORS) {

@@ -120,4 +119,3 @@ this.logger.warn(`Ignored an update to unaccepted module ${info.chain.join(' -> ')}`);

},
onDeclined(info) {
onDeclined: info => {
if (logLevel >= _LogLevel.LogLevel.ERRORS) {

@@ -127,4 +125,3 @@ this.logger.warn(`Ignored an update to declined module ${info.chain.join(' -> ')}`);

},
onErrored(info) {
onErrored: info => {
if (logLevel >= _LogLevel.LogLevel.ERRORS) {

@@ -137,3 +134,2 @@ this.logger.warn(`Ignored an error while updating module ${info.moduleId} (${info.type})`); // If ignoreErrored is true and throw info.error then module.hot.status() always

}
}).then(renewedModules => {

@@ -140,0 +136,0 @@ if (!this.isUpToDate()) {

@@ -22,3 +22,3 @@ #!/usr/bin/env node

const params = _yargs.default.config(options).usage('Usage: $0 [args]').help('help').alias('help', 'h').alias('help', '?').version("1.17.5").alias('version', 'v').options({
const params = _yargs.default.config(options).usage('Usage: $0 [args]').help('help').alias('help', 'h').alias('help', '?').version("1.17.6").alias('version', 'v').options({
config: {

@@ -25,0 +25,0 @@ type: 'string',

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

@@ -55,21 +55,21 @@ "author": "Vladimir Zhukov",

"dependencies": {
"@babel/register": "^7.5.5",
"@babel/register": "^7.6.0",
"require-from-string": "^2.0.2",
"source-map-support": "^0.5.13",
"yargs": "^13.3.0"
"yargs": "^14.0.0"
},
"devDependencies": {
"@babel/cli": "^7.5.5",
"@babel/core": "^7.5.5",
"@babel/cli": "^7.6.0",
"@babel/core": "^7.6.0",
"@babel/plugin-proposal-class-properties": "^7.5.5",
"@babel/preset-env": "^7.5.5",
"@babel/preset-env": "^7.6.0",
"@types/webpack-env": "^1.14.0",
"@vzh/configs": "^3.37.6",
"babel-eslint": "^10.0.2",
"@vzh/configs": "^3.39.0",
"babel-eslint": "^10.0.3",
"babel-plugin-transform-inline-environment-variables": "^0.4.3",
"conventional-changelog-cli": "^2.0.23",
"copyfiles": "^2.1.1",
"eslint": "^6.2.0",
"eslint": "^6.3.0",
"eslint-config-airbnb-base": "^14.0.0",
"eslint-config-prettier": "^6.0.0",
"eslint-config-prettier": "^6.2.0",
"eslint-plugin-import": "^2.18.2",

@@ -79,3 +79,3 @@ "eslint-plugin-prettier": "^3.1.0",

"rimraf": "^3.0.0",
"webpack": "^4.39.2"
"webpack": "^4.39.3"
},

@@ -82,0 +82,0 @@ "peerDependencies": {

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