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.0 to 3.0.1

6

index.js

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

if (query.prod) {
source = source.replace(bootLoader, function (match, boot, ngmodule, offset, src) {
source = source.replace(bootLoader, function (match, boot, ngmodule, main, offset, src) {
// return updated metadata

@@ -31,5 +31,5 @@ var newLine = ' ';

'if (document.readyState === "complete") {'+ newLine +
' ' + ngmodule + '()' + newLine +
' ' + main + '()' + newLine +
'} else {'+ newLine +
' document.addEventListener("DOMContentLoaded", function() { ' + ngmodule + '()' + ' });'+ newLine +
' document.addEventListener("DOMContentLoaded", function() { ' + main + '()' + ' });'+ newLine +
'}';

@@ -36,0 +36,0 @@ });

{
"name": "@angularclass/hmr-loader",
"version": "3.0.0",
"version": "3.0.1",
"description": "Angular 2 HMR Webpack Loader by @AngularClass",

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

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