Socket
Socket
Sign inDemoInstall

mini-entry

Package Overview
Dependencies
27
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.2 to 0.1.3

6

lib/utils/generateNodeModuleEntry.js

@@ -5,3 +5,3 @@ /*

* @Last Modified by: youzhao.zhou
* @Last Modified time: 2021-04-21 22:12:42
* @Last Modified time: 2021-04-25 22:44:36
* @Description 生成node_modules中的组件入口

@@ -39,2 +39,6 @@ * js wxml json wxss?

if (modulesPath.length === 0) {
throw new Error(`Not Found Component:${pagePath} In node_modules!`);
}
// 模块根目录

@@ -41,0 +45,0 @@ const moduleDir = dirname(modulesPath[0]);

2

package.json
{
"name": "mini-entry",
"version": "0.1.2",
"version": "0.1.3",
"description": "解析小程序json",

@@ -5,0 +5,0 @@ "main": "lib/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