@plugin-light/shared
Advanced tools
| export { getCdnList, type CdnConfig } from '@plugin-light/const'; |
| export { NPM_PACKAGES_LIST, type NpmPackageConfig } from '@plugin-light/const'; |
| export { getPipelineRunLink } from './pipeline'; |
| export declare function getPipelineRunLink({ pipelineId, pipelineRunId, }: { | ||
| pipelineId: string; | ||
| pipelineRunId: string; | ||
| }): string; |
| export { extractRepoPath } from './repo'; |
| /** | ||
| * 从 repo 地址中提取仓库路径 | ||
| * 支持 git@git.aow.com:pmd-mobile/pmd-h5/plugin-light.git 和 https://github.com/novlan1/plugin-light 两种格式 | ||
| * @param repo 仓库地址 | ||
| * @returns 仓库路径,如 pmd-mobile/pmd-h5/plugin-light | ||
| */ | ||
| export declare function extractRepoPath(repo: string): string; |
| export declare const scssLogger: { | ||
| warn(message: any, options: any): void; | ||
| warn(message: string): void; | ||
| }; |
+24
-20
@@ -1,27 +0,31 @@ | ||
| export { isInBlackList, } from './black-list'; | ||
| export { checkBundleAnalyze, checkDebugMode, } from './bundle-analyze'; | ||
| export { ALL_PLATFORM, CDN_MAP, CSS_MAP, CSS_POSTFIX_MAP, HTML_MAP, PLATFORM_MAP, PLATFORMS_ALL, PLATFORMS_MP, } from './config'; | ||
| export { AEGIS_EXTERNAL_SCRIPT_LINK, DEFAULT_ADAPTER_DIRS, DEFAULT_TRANSPILE_DEPENDENCIES, EXTERNAL_LINK_MAP, UNI_SIMPLE_ROUTER_SCRIPT_LINK, } from './config-project'; | ||
| export { createLogDir, getRelativePath, normalizePath, parseSetDeps, removeFirstSlash, ROOT_NAME, saveJsonToLog, updateAssetSource, } from './helper'; | ||
| export { DEFAULT_CONTEXT_OBJECT, } from './context'; | ||
| export { scssLogger, } from './css'; | ||
| export { getDeps, } from './deps'; | ||
| export { getImportOrderRule } from './eslint-rules'; | ||
| export { findDependencies, } from './find-dependencies'; | ||
| export { checkH5, } from './h5'; | ||
| export { getLoaderFile, getLoaderProdFile, } from './loader-file'; | ||
| export { recordLoaderLog, saveLoaderLog, } from './loader-log'; | ||
| export { shouldUseLoader, } from './loader-options'; | ||
| export { getWxmlAndWxssPostfix, } from './platform'; | ||
| export { getProjectName, getSubProjectName, } from './project-name'; | ||
| export { revertManifest, updateManifest, } from './replace-manifest'; | ||
| export { getRootDir, } from './root'; | ||
| export { getSubProjectConfig, getSubProjectRoot, } from './sub-project'; | ||
| export { getAppPlatform, getPlatform, getUtsPlatform, isApp, isAppAndroid, isAppIOS, isH5, isMp, isMpAlipay, isMpBaidu, isMpKuaishou, isMpQQ, isMpToutiao, isMpWeixin, isQuickapp, isQuickappHuawei, isQuickappUnion, } from './uni-env'; | ||
| export * from './black-list'; | ||
| export * from './bundle-analyze'; | ||
| export * from './cdn'; | ||
| export * from './config'; | ||
| export * from './config-project'; | ||
| export * from './context'; | ||
| export * from './cross-game-style'; | ||
| export * from './css'; | ||
| export * from './deps'; | ||
| export * from './eslint-rules'; | ||
| export * from './find-dependencies'; | ||
| export * from './gen-version'; | ||
| export * from './h5'; | ||
| export * from './helper'; | ||
| export * from './ifdef'; | ||
| export * from './inject-dynamic-style'; | ||
| export * from './loader-file'; | ||
| export * from './loader-log'; | ||
| export * from './loader-options'; | ||
| export * from './node-module-file'; | ||
| export * from './npm-publish'; | ||
| export * from './pipeline'; | ||
| export * from './platform'; | ||
| export * from './project-name'; | ||
| export * from './replace-manifest'; | ||
| export * from './replace-vue-directive'; | ||
| export * from './repo'; | ||
| export * from './root'; | ||
| export * from './sub-project'; | ||
| export * from './uni-env'; | ||
| export * from './v-lazy'; |
+5
-2
| { | ||
| "name": "@plugin-light/shared", | ||
| "version": "1.0.3", | ||
| "version": "1.0.9", | ||
| "homepage": "https://novlan1.github.io/docs/plugin-light/zh/plugin-light-shared.html", | ||
@@ -20,4 +20,7 @@ "bugs": { | ||
| "loader-utils": "^2.0.4", | ||
| "t-comm": "^3.0.22" | ||
| "@plugin-light/const": "^0.1.1" | ||
| }, | ||
| "devDependencies": { | ||
| "t-comm": "^3.0.33" | ||
| }, | ||
| "scripts": { | ||
@@ -24,0 +27,0 @@ "build": "rm -rf lib && rollup -c", |
Sorry, the diff of this file is too big to display
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 4 instances in 1 package
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 13 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 9 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
568269
1171.35%52
13.04%23145
1935.62%1
Infinity%118
436.36%20
Infinity%+ Added
+ Added
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed