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

knockout-template-loader

Package Overview
Dependencies
Maintainers
7
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

knockout-template-loader - npm Package Compare versions

Comparing version 2.0.0-webpack4.1 to 2.0.0-webpack4.2

lib/string-template-engine.js

2

lib/index.js

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

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