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

mini-entry

Package Overview
Dependencies
Maintainers
2
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mini-entry - npm Package Compare versions

Comparing version 0.3.2 to 0.3.3

10

lib/index.js

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

* @Last Modified by: youzhao.zhou
* @Last Modified time: 2022-07-07 22:06:41
* @Last Modified time: 2022-07-11 10:27:25
* @Description 获取webpack入口

@@ -386,3 +386,9 @@ *

const configPath = getAbsolutePath(`${pathUrl}.json`);
if (fs.existsSync(configPath)) {
const configPathByPlatform = getAbsolutePath(
`${pathUrl}.${config.platform}.json`,
);
if (fs.existsSync(configPathByPlatform)) {
entryConfigPath.add(configPathByPlatform);
} else if (fs.existsSync(configPath)) {
entryConfigPath.add(configPath);

@@ -389,0 +395,0 @@ }

2

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

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