Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: name fields for definitionfile #1221

Merged
merged 3 commits into from
Sep 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions messages/clone.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,19 @@ Specify a value for %s in a definition file or on the command line.
# missingSourceSandboxNameAction

To indicate which sandbox org you want to clone, specify %s in a definition file or as a command line argument.

# error.bothApexClassIdAndNameProvided

You can't specify both `apexClassId` and `apexClassName` in the definition file at the same time.

# error.bothUserGroupIdAndNameProvided

You can't specify both `ActivationUserGroupId` and `ActivationUserGroupName` in the definition file at the same time.

# error.userGroupQueryFailed

Unable to find the ID of the activation user group "%s" that's defined in the definition file.

# error.apexClassQueryFailed

Unable to find the ID of the Apex class "%s" that's defined in the definition file.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"bugs": "https://github.com/forcedotcom/cli/issues",
"dependencies": {
"@oclif/core": "^4.0.16",
"@salesforce/core": "^8.5.5",
"@salesforce/core": "^8.6.1",
"@salesforce/kit": "^3.2.2",
"@salesforce/sf-plugins-core": "^11.3.7",
"@salesforce/source-deploy-retrieve": "^12.6.2",
Expand Down
22 changes: 22 additions & 0 deletions src/commands/org/create/sandbox.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,9 +135,31 @@ export default class CreateSandbox extends SandboxCommandBase<SandboxCommandResp
const { sandboxReq } = !this.flags.clone
? await requestFunctions.createSandboxRequest(false, this.flags['definition-file'], undefined, requestOptions)
: await requestFunctions.createSandboxRequest(true, this.flags['definition-file'], undefined, requestOptions);

let apexId: string | undefined;
let groupId: string | undefined;

// Determine which value to use
if (sandboxReq.ApexClassName) {
apexId = await requestFunctions.getApexClassIdByName(
this.flags['target-org'].getConnection(),
sandboxReq.ApexClassName
); // convert name to ID
delete sandboxReq.ApexClassName;
}

if (sandboxReq.ActivationUserGroupName) {
groupId = await requestFunctions.getUserGroupIdByName(
this.flags['target-org'].getConnection(),
sandboxReq.ActivationUserGroupName
);
delete sandboxReq.ActivationUserGroupName;
}
return {
...sandboxReq,
...(this.flags.clone ? { SourceId: await this.getSourceId() } : {}),
...(apexId ? { ApexClassId: apexId } : {}),
...(groupId ? { ActivationUserGroupId: groupId } : {}),
};
}

Expand Down
21 changes: 20 additions & 1 deletion src/commands/org/refresh/sandbox.ts
Original file line number Diff line number Diff line change
Expand Up @@ -186,11 +186,28 @@ export default class RefreshSandbox extends SandboxCommandBase<SandboxCommandRes
throw messages.createError('error.NoSandboxName');
}

let apexId: string | undefined;
let groupId: string | undefined;

if (defFileContent.ApexClassName) {
apexId = await requestFunctions.getApexClassIdByName(
this.flags['target-org'].getConnection(),
defFileContent.ApexClassName
); // convert name to ID
delete defFileContent.ApexClassName;
}

if (defFileContent.ActivationUserGroupName) {
groupId = await requestFunctions.getUserGroupIdByName(
this.flags['target-org'].getConnection(),
defFileContent.ActivationUserGroupName
);
delete defFileContent.ActivationUserGroupName;
}
// Warn if sandbox name is in `--name` and `--definition-file` flags and they differ.
if (defFileContent?.SandboxName && sbxName && sbxName !== defFileContent?.SandboxName) {
this.warn(messages.createWarning('warning.ConflictingSandboxNames', [sbxName, defFileContent?.SandboxName]));
}

sbxName ??= defFileContent.SandboxName as string; // The code above ensures a value for sbxName

const prodOrg = this.flags['target-org'];
Expand All @@ -213,6 +230,8 @@ export default class RefreshSandbox extends SandboxCommandBase<SandboxCommandRes
sandboxInfo = Object.assign(sandboxInfo, defFileContent, {
SandboxName: sbxName,
AutoActivate: !this.flags['no-auto-activate'],
...(apexId ? { ApexClassId: apexId } : {}),
...(groupId ? { ActivationUserGroupId: groupId } : {}),
});

return sandboxInfo;
Expand Down
54 changes: 47 additions & 7 deletions src/shared/sandboxRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*/
import fs from 'node:fs';

import { Logger, SandboxInfo, SandboxRequest, Messages, SfError, Lifecycle } from '@salesforce/core';
import { Logger, SandboxInfo, SandboxRequest, Messages, SfError, Lifecycle, Connection } from '@salesforce/core';
import { lowerToUpper } from './utils.js';
import { SandboxLicenseType } from './orgTypes.js';

Expand All @@ -22,24 +22,46 @@ export const generateSboxName = async (): Promise<string> => {
};

// Reads the sandbox definition file and converts properties to CapCase.
export function readSandboxDefFile(defFile: string): Partial<SandboxInfo> {
export function readSandboxDefFile(
defFile: string
): Partial<SandboxInfo & { ApexClassName?: string; ActivationUserGroupName?: string }> {
const fileContent = fs.readFileSync(defFile, 'utf-8');
const parsedContent = JSON.parse(fileContent) as Record<string, unknown>;
return lowerToUpper(parsedContent) as Partial<SandboxInfo>;
const parsedContent = lowerToUpper(JSON.parse(fileContent) as Record<string, unknown>);

// validate input
if (parsedContent.ApexClassName && parsedContent.ApexClassId) {
throw cloneMessages.createError('error.bothApexClassIdAndNameProvided');
}

if (parsedContent.ActivationUserGroupId && parsedContent.ActivationUserGroupName) {
throw cloneMessages.createError('error.bothUserGroupIdAndNameProvided');
}
return parsedContent as Partial<SandboxInfo>;
}

export async function createSandboxRequest(
isClone: true,
definitionFile: string | undefined,
logger?: Logger | undefined,
properties?: Record<string, string | undefined>
): Promise<{ sandboxReq: SandboxRequest; srcSandboxName: string }>;
): Promise<{
sandboxReq: SandboxRequest & {
ApexClassName: string | undefined;
ActivationUserGroupName: string | undefined;
};
srcSandboxName: string;
}>;
export async function createSandboxRequest(
isClone: false,
definitionFile: string | undefined,
logger?: Logger | undefined,
properties?: Record<string, string | undefined>
): Promise<{ sandboxReq: SandboxRequest }>;
): Promise<{
sandboxReq: SandboxRequest & {
ApexClassName: string | undefined;
ActivationUserGroupName: string | undefined;
};
}>;
export async function createSandboxRequest(
isClone = false,
definitionFile: string | undefined,
Expand All @@ -52,6 +74,7 @@ export async function createSandboxRequest(
logger.debug('Varargs: %s ', properties);

const sandboxDefFileContents = definitionFile ? readSandboxDefFile(definitionFile) : {};

const capitalizedVarArgs = properties ? lowerToUpper(properties) : {};

// varargs override file input
Expand Down Expand Up @@ -83,9 +106,26 @@ export async function createSandboxRequest(
return { sandboxReq };
}
}

export async function getApexClassIdByName(conn: Connection, className: string): Promise<string | undefined> {
try {
const result = (await conn.singleRecordQuery(`SELECT Id FROM ApexClass WHERE Name = '${className}'`)).Id;
return result;
} catch (err) {
throw cloneMessages.createError('error.apexClassQueryFailed', [className], [], err as Error);
}
}
export async function getUserGroupIdByName(conn: Connection, groupName: string): Promise<string | undefined> {
try {
const result = (await conn.singleRecordQuery(`SELECT id FROM Group WHERE NAME = '${groupName}'`)).Id;
return result;
} catch (err) {
throw cloneMessages.createError('error.userGroupQueryFailed', [groupName], [], err as Error);
}
}
export default {
createSandboxRequest,
generateSboxName,
readSandboxDefFile,
getApexClassIdByName,
getUserGroupIdByName,
};
103 changes: 42 additions & 61 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1291,10 +1291,10 @@
strip-ansi "6.0.1"
ts-retry-promise "^0.8.1"

"@salesforce/core@^8.3.0", "@salesforce/core@^8.5.1", "@salesforce/core@^8.5.2", "@salesforce/core@^8.5.4", "@salesforce/core@^8.5.5":
version "8.5.5"
resolved "https://registry.yarnpkg.com/@salesforce/core/-/core-8.5.5.tgz#f91ff7a5648b864f52f08441a394ce42d50c1b3f"
integrity sha512-nWvFdaAFbmIWB/WVWveYUkXsaqF38A2zRLDjWjkOAgWeSTyWv9UEKtoGJX1NC84n92lGfXblGlxLK7SmaFFVdA==
"@salesforce/core@^8.3.0", "@salesforce/core@^8.5.1", "@salesforce/core@^8.5.2", "@salesforce/core@^8.5.4", "@salesforce/core@^8.6.1":
version "8.6.1"
resolved "https://registry.yarnpkg.com/@salesforce/core/-/core-8.6.1.tgz#180c489447190632cf48364a077510989fc1dea2"
integrity sha512-bOS6YIjk3IFzFtZcQXUIbJQ740Gh6EyzlcvoBpDpFA5eaz5ZrS0dO1e0rU6Gn4V1FZkvt84gQXA5G1M8tTNKVw==
dependencies:
"@jsforce/jsforce-node" "^3.4.1"
"@salesforce/kit" "^3.2.2"
Expand Down Expand Up @@ -3179,14 +3179,14 @@ csprng@*:
sequin "*"

csv-parse@^5.5.2:
version "5.5.5"
resolved "https://registry.yarnpkg.com/csv-parse/-/csv-parse-5.5.5.tgz#68a271a9092877b830541805e14c8a80e6a22517"
integrity sha512-erCk7tyU3yLWAhk6wvKxnyPtftuy/6Ak622gOO7BCJ05+TYffnPCJF905wmOQm+BpkX54OdAl8pveJwUdpnCXQ==
version "5.5.6"
resolved "https://registry.yarnpkg.com/csv-parse/-/csv-parse-5.5.6.tgz#0d726d58a60416361358eec291a9f93abe0b6b1a"
integrity sha512-uNpm30m/AGSkLxxy7d9yRXpJQFrZzVWLFBkS+6ngPcZkw/5k3L/jjFuj7tVnEpRn+QgmiXr21nDlhCiUK4ij2A==

csv-stringify@^6.4.4:
version "6.4.6"
resolved "https://registry.yarnpkg.com/csv-stringify/-/csv-stringify-6.4.6.tgz#9ccf87cb8b017c96673a9fa061768c8ba83e8b98"
integrity sha512-h2V2XZ3uOTLilF5dPIptgUfN/o2ia/80Ie0Lly18LAnw5s8Eb7kt8rfxSUy24AztJZas9f6DPZpVlzDUtFt/ag==
version "6.5.1"
resolved "https://registry.yarnpkg.com/csv-stringify/-/csv-stringify-6.5.1.tgz#a31837dd35e34787e3c248159c982a21af964d94"
integrity sha512-+9lpZfwpLntpTIEpFbwQyWuW/hmI/eHuJZD1XzeZpfZTqkf1fyvBbBLXTJJMsBuuS11uTShMqPwzx4A6ffXgRQ==

dargs@^7.0.0:
version "7.0.0"
Expand Down Expand Up @@ -3889,9 +3889,9 @@ fast-levenshtein@^3.0.0:
fastest-levenshtein "^1.0.7"

fast-redact@^3.1.1:
version "3.3.0"
resolved "https://registry.yarnpkg.com/fast-redact/-/fast-redact-3.3.0.tgz#7c83ce3a7be4898241a46560d51de10f653f7634"
integrity sha512-6T5V1QK1u4oF+ATxs1lWUmlEk6P2T9HqJG3e2DnHOdVgZy2rFJBoEnrIedcTXlkAHU/zKC+7KETJ+KGGKwxgMQ==
version "3.5.0"
resolved "https://registry.yarnpkg.com/fast-redact/-/fast-redact-3.5.0.tgz#e9ea02f7e57d0cd8438180083e93077e496285e4"
integrity sha512-dwsoQlS7h9hMeYUq1W++23NDcBLV4KqONnITDV9DjfS3q1SgDGVrBdvvTLUotWtPSD7asWDV9/CmsZPy8Hf70A==

fast-safe-stringify@^2.1.1:
version "2.1.1"
Expand Down Expand Up @@ -6282,15 +6282,10 @@ proxy-from-env@^1.1.0:
resolved "https://registry.yarnpkg.com/proxy-from-env/-/proxy-from-env-1.1.0.tgz#e102f16ca355424865755d2c9e8ea4f24d58c3e2"
integrity sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==

psl@^1.1.33:
version "1.9.0"
resolved "https://registry.yarnpkg.com/psl/-/psl-1.9.0.tgz#d0df2a137f00794565fcaf3b2c00cd09f8d5a5a7"
integrity sha512-E/ZsdU4HLs/68gYzgGTkMicWTLPdAftJLfJFlLUAAKZGkStNU72sZjT66SnMDVOfOWY/YAoiD7Jxa9iHvngcag==

pump@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/pump/-/pump-3.0.0.tgz#b4a2116815bde2f4e1ea602354e8c75565107a64"
integrity sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==
version "3.0.2"
resolved "https://registry.yarnpkg.com/pump/-/pump-3.0.2.tgz#836f3edd6bc2ee599256c924ffe0d88573ddcbf8"
integrity sha512-tUPXtzlGM8FE3P0ZL6DVs/3P58k9nk8/jZeQCurTJylQA8qFYzHFfhBJkuqyE0FifOsQ0uKWekiZ5g8wtr28cw==
dependencies:
end-of-stream "^1.1.0"
once "^1.3.1"
Expand All @@ -6300,16 +6295,11 @@ punycode.js@^2.3.1:
resolved "https://registry.yarnpkg.com/punycode.js/-/punycode.js-2.3.1.tgz#6b53e56ad75588234e79f4affa90972c7dd8cdb7"
integrity sha512-uxFIHU0YlHYhDQtV4R9J6a52SLx28BCjT+4ieh7IGbgwVJWO+km431c4yRlREUAsAmt/uMjQUyQHNEPf0M39CA==

punycode@^2.1.0, punycode@^2.1.1:
punycode@^2.1.0:
version "2.3.1"
resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.3.1.tgz#027422e2faec0b25e1549c3e1bd8309b9133b6e5"
integrity sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==

querystringify@^2.1.1:
version "2.2.0"
resolved "https://registry.yarnpkg.com/querystringify/-/querystringify-2.2.0.tgz#3345941b4153cb9d082d8eee4cda2016a9aef7f6"
integrity sha512-FIqgj2EUvTa7R50u0rGsyTftzjYmv/a3hO345bZNrqabNqjtgiDMgmo4mkUjd+nzU5oF3dClKqFIPUKybUyqoQ==

queue-microtask@^1.2.2:
version "1.2.3"
resolved "https://registry.yarnpkg.com/queue-microtask/-/queue-microtask-1.2.3.tgz#4929228bbc724dfac43e0efb058caf7b6cfb6243"
Expand Down Expand Up @@ -6460,11 +6450,6 @@ require-main-filename@^2.0.0:
resolved "https://registry.yarnpkg.com/require-main-filename/-/require-main-filename-2.0.0.tgz#d0b329ecc7cc0f61649f62215be69af54aa8989b"
integrity sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg==

requires-port@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/requires-port/-/requires-port-1.0.0.tgz#925d2601d39ac485e091cf0da5c6e694dc3dcaff"
integrity sha512-KigOCHcocU3XODJxsu8i/j8T9tzT4adHiecwORRQ0ZZFcp7ahwXuRU1m+yuO90C5ZUyGeGfocHDI14M3L3yDAQ==

resolve-alpn@^1.0.0, resolve-alpn@^1.2.0:
version "1.2.1"
resolved "https://registry.yarnpkg.com/resolve-alpn/-/resolve-alpn-1.2.1.tgz#b7adbdac3546aaaec20b45e7d8265927072726f9"
Expand Down Expand Up @@ -6574,19 +6559,19 @@ safe-regex-test@^1.0.3:
is-regex "^1.1.4"

safe-stable-stringify@^2.3.1, safe-stable-stringify@^2.4.3:
version "2.4.3"
resolved "https://registry.yarnpkg.com/safe-stable-stringify/-/safe-stable-stringify-2.4.3.tgz#138c84b6f6edb3db5f8ef3ef7115b8f55ccbf886"
integrity sha512-e2bDA2WJT0wxseVd4lsDP4+3ONX6HpMXQa1ZhFQ7SU+GjvORCmShbCMltrtIDfkYhVHrOcPtj+KhmDBdPdZD1g==
version "2.5.0"
resolved "https://registry.yarnpkg.com/safe-stable-stringify/-/safe-stable-stringify-2.5.0.tgz#4ca2f8e385f2831c432a719b108a3bf7af42a1dd"
integrity sha512-b3rppTKm9T+PsVCBEOUR46GWI7fdOs00VKZ1+9c1EWDaDMvjQc6tUwuFyIprgGgTcWoVHSKrU8H31ZHA2e0RHA==

samsam@1.3.0:
version "1.3.0"
resolved "https://registry.yarnpkg.com/samsam/-/samsam-1.3.0.tgz#8d1d9350e25622da30de3e44ba692b5221ab7c50"
integrity sha512-1HwIYD/8UlOtFS3QO3w7ey+SdSDFE4HRNLZoZRYVQefrOY3l17epswImeB1ijgJFQJodIaHcwkp3r/myBjFVbg==

sax@>=0.6.0:
version "1.3.0"
resolved "https://registry.yarnpkg.com/sax/-/sax-1.3.0.tgz#a5dbe77db3be05c9d1ee7785dbd3ea9de51593d0"
integrity sha512-0s+oAmw9zLl1V1cS9BtZN7JAd0cW5e0QH4W3LWEK6a4LaLEA2OTpGYWDY+6XasBLtz6wkm3u1xRw95mRuJ59WA==
version "1.4.1"
resolved "https://registry.yarnpkg.com/sax/-/sax-1.4.1.tgz#44cc8988377f126304d3b3fc1010c733b929ef0f"
integrity sha512-+aWOz7yVScEGoKNd4PA10LZ8sk0A/z5+nXQG5giUO5rprX9jgYsTdov9qCchZiPIZezbZH+jRut8nPodFAX4Jg==

secure-json-parse@^2.4.0:
version "2.7.0"
Expand Down Expand Up @@ -6813,9 +6798,9 @@ socks@^2.7.1:
smart-buffer "^4.2.0"

sonic-boom@^4.0.1:
version "4.0.1"
resolved "https://registry.yarnpkg.com/sonic-boom/-/sonic-boom-4.0.1.tgz#515b7cef2c9290cb362c4536388ddeece07aed30"
integrity sha512-hTSD/6JMLyT4r9zeof6UtuBDpjJ9sO08/nmS5djaA9eozT9oOlNdpXSnzcgj4FTqpk3nkLrs61l4gip9r1HCrQ==
version "4.1.0"
resolved "https://registry.yarnpkg.com/sonic-boom/-/sonic-boom-4.1.0.tgz#4f039663ba191fac5cfe4f1dc330faac079e4342"
integrity sha512-NGipjjRicyJJ03rPiZCJYjwlsuP2d1/5QUviozRXC7S3WdVWNK5e3Ojieb9CCyfhq2UC+3+SRd9nG3I2lPRvUw==
dependencies:
atomic-sleep "^1.0.0"

Expand Down Expand Up @@ -7139,6 +7124,18 @@ tiny-jsonc@^1.0.1:
resolved "https://registry.yarnpkg.com/tiny-jsonc/-/tiny-jsonc-1.0.1.tgz#71de47c9d812b411e87a9f3ab4a5fe42cd8d8f9c"
integrity sha512-ik6BCxzva9DoiEfDX/li0L2cWKPPENYvixUprFdl3YPi4bZZUhDnNI9YUkacrv+uIG90dnxR5mNqaoD6UhD6Bw==

tldts-core@^6.1.47:
version "6.1.47"
resolved "https://registry.yarnpkg.com/tldts-core/-/tldts-core-6.1.47.tgz#bb6deb97abb6ef04243af60968d2d0055a65cbd7"
integrity sha512-6SWyFMnlst1fEt7GQVAAu16EGgFK0cLouH/2Mk6Ftlwhv3Ol40L0dlpGMcnnNiiOMyD2EV/aF3S+U2nKvvLvrA==

tldts@^6.1.32:
version "6.1.47"
resolved "https://registry.yarnpkg.com/tldts/-/tldts-6.1.47.tgz#bab4edf5867e2bbd763e72d9435289de97b082df"
integrity sha512-R/K2tZ5MiY+mVrnSkNJkwqYT2vUv1lcT6wJvd2emGaMJ7PHUGRY4e3tUsdFCXgqxi2QgbHjL3yJgXCo40v9Hxw==
dependencies:
tldts-core "^6.1.47"

to-fast-properties@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/to-fast-properties/-/to-fast-properties-2.0.0.tgz#dc5e698cbd079265bc73e0377681a4e4e83f616e"
Expand All @@ -7152,14 +7149,11 @@ to-regex-range@^5.0.1:
is-number "^7.0.0"

tough-cookie@*:
version "4.1.3"
resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-4.1.3.tgz#97b9adb0728b42280aa3d814b6b999b2ff0318bf"
integrity sha512-aX/y5pVRkfRnfmuX+OdbSdXvPe6ieKX/G2s7e98f4poJHnqH3281gDPm/metm6E/WRamfx7WC4HUqkWHfQHprw==
version "5.0.0"
resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-5.0.0.tgz#6b6518e2b5c070cf742d872ee0f4f92d69eac1af"
integrity sha512-FRKsF7cz96xIIeMZ82ehjC3xW2E+O2+v11udrDYewUbszngYhsGa8z6YUMMzO9QJZzzyd0nGGXnML/TReX6W8Q==
dependencies:
psl "^1.1.33"
punycode "^2.1.1"
universalify "^0.2.0"
url-parse "^1.5.3"
tldts "^6.1.32"

tr46@~0.0.3:
version "0.0.3"
Expand Down Expand Up @@ -7394,11 +7388,6 @@ universalify@^0.1.0:
resolved "https://registry.yarnpkg.com/universalify/-/universalify-0.1.2.tgz#b646f69be3942dabcecc9d6639c80dc105efaa66"
integrity sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==

universalify@^0.2.0:
version "0.2.0"
resolved "https://registry.yarnpkg.com/universalify/-/universalify-0.2.0.tgz#6451760566fa857534745ab1dde952d1b1761be0"
integrity sha512-CJ1QgKmNg3CwvAv/kOFmtnEN05f0D/cn9QntgNOQlQF9dgvVTHj3t+8JPdjqawCHk7V/KA+fbUqzZ9XWhcqPUg==

universalify@^2.0.0:
version "2.0.1"
resolved "https://registry.yarnpkg.com/universalify/-/universalify-2.0.1.tgz#168efc2180964e6386d061e094df61afe239b18d"
Expand Down Expand Up @@ -7433,14 +7422,6 @@ uri-js@^4.2.2:
dependencies:
punycode "^2.1.0"

url-parse@^1.5.3:
version "1.5.10"
resolved "https://registry.yarnpkg.com/url-parse/-/url-parse-1.5.10.tgz#9d3c2f736c1d75dd3bd2be507dcc111f1e2ea9c1"
integrity sha512-WypcfiRhfeUP9vvF0j6rw0J3hrWrw6iZv3+22h6iRMJ/8z1Tj6XfLP4DsUix5MhMPnXpiHDoKyoZ/bdCkwBCiQ==
dependencies:
querystringify "^2.1.1"
requires-port "^1.0.0"

util-deprecate@^1.0.1, util-deprecate@~1.0.1:
version "1.0.2"
resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf"
Expand Down