Socket
Socket
Sign inDemoInstall

weex-vue-loader

Package Overview
Dependencies
17
Maintainers
1
Versions
54
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.2.0 to 0.2.1

11

lib/normalize.js

@@ -5,3 +5,11 @@ var IS_TEST = !!process.env.VUE_LOADER_TEST

var hasWeexLoader = false
try {
hasWeexLoader = !!require('weex-loader')
} catch (e) {}
exports.lib = function (file) {
if (hasWeexLoader) {
return 'weex-loader/node_modules/weex-vue-loader/lib/' + file
}
if (IS_TEST) {

@@ -15,2 +23,5 @@ return path.resolve(__dirname, file)

exports.dep = function (dep) {
if (hasWeexLoader) {
return 'weex-loader/node_modules/weex-vue-loader/node_modules/' + dep
}
if (IS_TEST) {

@@ -17,0 +28,0 @@ return dep

2

package.json
{
"name": "weex-vue-loader",
"version": "0.2.0",
"version": "0.2.1",
"description": "Vue.js component loader for Webpack",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc