🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@yqg/max-utils

Package Overview
Dependencies
Maintainers
19
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@yqg/max-utils - npm Package Compare versions

Comparing version
1.0.3
to
1.0.4-beta.0
+6
dist/withTmpPath.d.ts
import { IApi } from '@yqg/max';
export default function withTmpPath(opts: {
api: IApi;
path: string;
noPluginDir?: boolean;
}): string;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const path_1 = require("path");
const plugin_utils_1 = require("umi/plugin-utils");
function withTmpPath(opts) {
return (0, plugin_utils_1.winPath)((0, path_1.join)(opts.api.paths.absTmpPath, opts.api.plugin.key && !opts.noPluginDir
? `plugin-${opts.api.plugin.key}`
: '', opts.path));
}
exports.default = withTmpPath;
+1
-0

@@ -10,1 +10,2 @@ export * from '@umijs/utils';

export { default as preprocess } from 'preprocess';
export { default as withTmpPath } from './withTmpPath';
+3
-1

@@ -20,3 +20,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.preprocess = exports.dotenv = exports.sharp = exports.qiniu = exports.ora = exports.gitClient = exports.cliTable3 = void 0;
exports.withTmpPath = exports.preprocess = exports.dotenv = exports.sharp = exports.qiniu = exports.ora = exports.gitClient = exports.cliTable3 = void 0;
__exportStar(require("@umijs/utils"), exports);

@@ -37,1 +37,3 @@ const cli_table3_1 = __importDefault(require("cli-table3"));

Object.defineProperty(exports, "preprocess", { enumerable: true, get: function () { return __importDefault(preprocess_1).default; } });
var withTmpPath_1 = require("./withTmpPath");
Object.defineProperty(exports, "withTmpPath", { enumerable: true, get: function () { return __importDefault(withTmpPath_1).default; } });
{
"name": "@yqg/max-utils",
"version": "1.0.3",
"version": "1.0.4-beta.0",
"description": "max-utils",

@@ -5,0 +5,0 @@ "license": "MIT",