knockout-template-loader
Advanced tools
Comparing version 2.0.0-webpack4.1 to 2.0.0-webpack4.2
@@ -10,3 +10,3 @@ "use strict"; | ||
var options = utils.getOptions(this); | ||
var name = options.name || utils.interpolateName(this, "[name]-[ext]", {}); | ||
var name = (options ? options.name : null) || utils.interpolateName(this, "[name]-[ext]", {}); | ||
@@ -13,0 +13,0 @@ return ["var ko = require('knockout');", "var stringTemplateEngine = require('knockout-template-loader/lib/string-template-engine');", sourcePart, "ko.templates['" + name + "'] = htmlContent;"].join("\n"); |
{ | ||
"name": "knockout-template-loader", | ||
"version": "2.0.0-webpack4.1", | ||
"version": "2.0.0-webpack4.2", | ||
"description": "Knockout html template loader for webpack", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
65347
7
50
0