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

ng-cache-loader

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ng-cache-loader - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6

13

index.js
/*
MIT License http://www.opensource.org/licenses/mit-license.php
Author Andrey Koperskiy @teux
*/
MIT License http://www.opensource.org/licenses/mit-license.php
Author Andrey Koperskiy @teux
*/
var htmlMinifier = require("html-minifier");

@@ -41,3 +41,3 @@ var loaderUtils = require("loader-utils");

});
scripts = scriptParser.parse('root', source, { scripts: [] }).scripts;
scripts = scriptParser.parse('root', source, {scripts: []}).scripts;
source = Array.prototype.slice.apply(source);

@@ -55,3 +55,4 @@

key: scr.id,
val: resolveUrl(html)
val: resolveUrl(html),
i: result.length + 1
});

@@ -77,4 +78,4 @@ } else {

});
result.push('module.exports=v'+result.length+';');
result.push('module.exports=v' + result.length + ';');
return result.join('\n');
};
{
"name": "ng-cache-loader",
"version": "0.0.5",
"version": "0.0.6",
"description": "Puts HTML partials in the Angular's $templateCache.",

@@ -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