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.17 to 0.0.18

4

package.json
{
"name": "ng-cache-loader",
"version": "0.0.17",
"version": "0.0.18",
"description": "Puts HTML partials in the Angular's $templateCache.",

@@ -32,3 +32,3 @@ "main": "index.js",

"fastparse": "^1.0.0",
"html-minifier": "~0.7.0",
"html-minifier": "^3.0.2",
"loader-utils": "^0.2.4"

@@ -35,0 +35,0 @@ },

@@ -57,9 +57,9 @@ /******/ (function(modules) { // webpackBootstrap

catch(e){ngModule=angular.module("appModule",[])}
var v1="<div class=\"view\">\n <p>...</p>\n </div>";
var v1="\n<div class=\"view\">\n <p>...</p>\n </div>\n";
var id1="myAnotherTemplate";
ngModule.run(["$templateCache",function(c){c.put(id1,v1)}]);
var v2="<div class=\"view\">\n <h2>First View</h2>\n <p>\n Search:<input type=\"text\" ng-model=\"filterText\" />\n </p>\n </div>";
var v2="\n<div class=\"view\">\n <h2>First View</h2>\n <p>\n Search:<input type=\"text\" ng-model=\"filterText\" />\n </p>\n </div>\n";
var id2="myTemplate";
ngModule.run(["$templateCache",function(c){c.put(id2,v2)}]);
var v3=" <div class=\"view\"> <h2>Second View</h2> <p>About me</p> </div> <div class=\"view\"> <h2>Second View</h2> <p>About you</p> </div> <div class=\"view\"></div>";
var v3="\n<div class=\"view\">\n<h2>Second View</h2>\n<p>About me</p>\n</div>\n\n<div class=\"view\">\n<h2>Second View</h2>\n<p>About you</p>\n</div>\n\n<div class=\"view\"></div>\n";
var id3="grot/teux/ng-cache-loader/tmpl/template.tpl";

@@ -66,0 +66,0 @@ ngModule.run(["$templateCache",function(c){c.put(id3,v3)}]);

@@ -8,3 +8,3 @@ var minimizeOptions = JSON.stringify({

removeEmptyAttributes: true,
keepClosingSlash: true
keepClosingSlash: true,
});

@@ -16,3 +16,3 @@

path: './test/out',
filename: '[name].out.js'
filename: '[name].out.js',
},

@@ -24,7 +24,6 @@ module: {

loader: '../index.js?prefix=grot/[dir]//[dir]//tmpl&module=appModule&name=[name].tpl&-exportId' +
'&minimizeOptions=' + minimizeOptions +
'&conservativeCollapse'
}
]
}
'&minimizeOptions=' + minimizeOptions + '&conservativeCollapse',
},
],
},
};
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