Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@plugin-light/shared

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@plugin-light/shared - npm Package Compare versions

Comparing version
1.0.3
to
1.0.9
+1
lib/cdn/index.d.ts
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;
+1
-1
export declare const scssLogger: {
warn(message: any, options: any): void;
warn(message: string): void;
};

@@ -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';
{
"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