Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Nov 23, 2024
1 parent e3a122a commit 98e6b79
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 14 deletions.
20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,12 @@
"github-url-from-git": "^1.5.0",
"hosted-git-info": "^7.0.1",
"ignore-walk": "^6.0.4",
"import-local": "^3.1.0",
"import-local": "^3.2.0",
"inquirer": "^9.2.15",
"is-installed-globally": "^1.0.0",
"is-interactive": "^2.0.0",
"is-scoped": "^3.0.0",
"issue-regex": "^4.1.0",
"issue-regex": "^4.3.0",
"listr": "^0.14.3",
"listr-input": "^0.2.1",
"log-symbols": "^6.0.0",
Expand All @@ -58,7 +58,7 @@
"onetime": "^7.0.0",
"open": "^10.0.4",
"p-memoize": "^7.1.1",
"p-timeout": "^6.1.2",
"p-timeout": "^6.1.3",
"path-exists": "^5.0.0",
"pkg-dir": "^8.0.0",
"read-package-up": "^11.0.0",
Expand All @@ -67,21 +67,21 @@
"semver": "^7.6.0",
"symbol-observable": "^4.0.0",
"terminal-link": "^3.0.0",
"update-notifier": "^7.0.0"
"update-notifier": "^7.3.1"
},
"devDependencies": {
"@sindresorhus/is": "^6.2.0",
"@sindresorhus/is": "^7.0.1",
"@types/semver": "^7.5.8",
"ava": "^6.1.2",
"ava": "^6.2.0",
"common-tags": "^1.8.2",
"esmock": "^2.6.4",
"esmock": "^2.6.9",
"fs-extra": "^11.2.0",
"map-obj": "^5.0.2",
"sinon": "^17.0.1",
"sinon": "^19.0.2",
"strip-ansi": "^7.1.0",
"tempy": "^3.1.0",
"write-package": "^7.0.1",
"xo": "^0.57.0"
"write-package": "^7.1.0",
"xo": "^0.59.3"
},
"ava": {
"files": [
Expand Down
2 changes: 0 additions & 2 deletions source/version.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,8 @@ const formatFirstDifference = (current, previous, diffColor) => {
export default class Version {
/** @type {SemVerInstance} */
#version;

/** @type {SemVerIncrement | undefined} */
#diff = undefined;

/** @type {string | undefined} */
#prereleasePrefix = undefined;

Expand Down
4 changes: 2 additions & 2 deletions test/_helpers/mock-inquirer.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ const mockPrompt = async ({t, inputAnswers, prompts}) => {
continue;
}

if (is.function_(prompt.when) && !prompt.when(answers)) {
if (is.function(prompt.when) && !prompt.when(answers)) {
t.log(`skipping prompt '${name}'`);
continue;
}
Expand Down Expand Up @@ -91,7 +91,7 @@ const mockPrompt = async ({t, inputAnswers, prompts}) => {

if (is.asyncFunction(prompt.choices)) {
choices = await prompt.choices(answers);
} else if (is.function_(prompt.choices)) {
} else if (is.function(prompt.choices)) {
choices = prompt.choices(answers);
} else {
choices = prompt.choices;
Expand Down

0 comments on commit 98e6b79

Please sign in to comment.