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

@hap-toolkit/shared-utils

Package Overview
Dependencies
Maintainers
4
Versions
171
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hap-toolkit/shared-utils - npm Package Compare versions

Comparing version 0.6.12 to 0.6.13-beta.0

17

compilation-config.js

@@ -5,2 +5,13 @@ /*

//
const optionsConfig = {
// 枚举类型
splitChunksModeEnum: {
// 默认:冗余到每个页面JS中
REDUNDANCY: 'REDUNDANCY',
// 抽取公共JS到chunk文件中
SMART: 'SMART'
}
}
const options = {

@@ -43,3 +54,5 @@ // 是否使用debug的签名证书

// 是否启用代码覆盖率检查
enableIstanbul: false
enableIstanbul: false,
// 抽取公共JS的配置
splitChunksMode: optionsConfig.splitChunksModeEnum.REDUNDANCY
}

@@ -56,2 +69,2 @@

module.exports = { options, initOptions }
module.exports = { options, initOptions, optionsConfig }

3

config.js

@@ -11,4 +11,5 @@ const path = require('path')

releasePath: './dist', // 快应用包目录
outputPath: './build', // 输出目录
outputPath: './build', // 输出目录,
dataCoverage: './.nyc_output', // 项目运行的代码覆盖率数据
server: { port: 8000 }
}
{
"name": "@hap-toolkit/shared-utils",
"version": "0.6.12",
"version": "0.6.13-beta.0",
"description": "hap shared utils",

@@ -33,3 +33,3 @@ "engines": {

},
"gitHead": "7d3cfacd78a23ea7d467800d810535d14d5b0494"
"gitHead": "982ff418d0de2381019ac19a05a52e4ecd728f0a"
}
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