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

@angularclass/hmr-loader

Package Overview
Dependencies
Maintainers
4
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@angularclass/hmr-loader - npm Package Compare versions

Comparing version 3.0.3 to 3.0.4

5

index.js

@@ -10,3 +10,3 @@ var utils = require('loader-utils');

self.cacheable && self.cacheable();
var query = utils.parseQuery(self.query);
var query = utils.getOptions(self) || {};

@@ -25,3 +25,3 @@ function done(src, srcmap) {

// return updated metadata
return '(document.readyState === "complete") ? ' + main +
return '(document.readyState === "complete" || document.readyState === "interactive") ? ' + main +
'() : document.addEventListener("DOMContentLoaded", function() { ' + main + '()' + ' })';

@@ -75,4 +75,5 @@ });

// Make sure it works anyway you import it
Angular2HMRLoader.default = Angular2HMRLoader;
module.exports = Angular2HMRLoader

4

package.json
{
"name": "@angularclass/hmr-loader",
"version": "3.0.3",
"version": "3.0.4",
"description": "Angular HMR Webpack Loader by @AngularClass",

@@ -29,4 +29,4 @@ "main": "index.js",

"dependencies": {
"loader-utils": "^0.2.15"
"loader-utils": "^1.1.0"
}
}
# Angular 2 HMR Loader
Angular 2 HMR Webpack Loader by @AngularClass
Please consider using https://github.com/AngularClass/angular2-hmr which provides helpers for HMR in Angular 2
Please consider using [AngularClass/angular2-hmr](https://github.com/AngularClass/angular2-hmr) which provides helpers for HMR in Angular 2
```es6

@@ -8,6 +8,6 @@ {

loaders: [
'awesome-typescript-loader',
'@angularclass/hmr-loader'
'@angularclass/hmr-loader',
'awesome-typescript-loader'
]
},
```
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