New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

baidu-template-loader

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

baidu-template-loader - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

6

index.js

@@ -9,4 +9,6 @@ /**

var baiduTplEngine = require('baidutemplate-x').template;
var baiduTplEngine = require('baidutemplate-x').template,
dependence = "var baidu = require('common:components/baidutemplate/baidutemplate');\n";
/**

@@ -31,3 +33,3 @@ * 预编译

// output
return 'module.exports=' + source;
return dependence + 'module.exports=' + source;
}

@@ -34,0 +36,0 @@

@@ -5,3 +5,3 @@ {

"license": "ISC",
"version": "0.1.2",
"version": "0.1.3",
"description": "webpack百度模板预处理模块",

@@ -8,0 +8,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