Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Dec 7, 2024
1 parent 2819caa commit 072c9f5
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
22 changes: 11 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,30 +47,30 @@
"cache"
],
"dependencies": {
"ajv": "^8.16.0",
"ajv": "^8.17.1",
"ajv-formats": "^3.0.1",
"atomically": "^2.0.3",
"debounce-fn": "^6.0.0",
"dot-prop": "^9.0.0",
"env-paths": "^3.0.0",
"json-schema-typed": "^8.0.1",
"semver": "^7.6.2",
"uint8array-extras": "^1.1.0"
"semver": "^7.6.3",
"uint8array-extras": "^1.4.0"
},
"devDependencies": {
"@sindresorhus/tsconfig": "^5.0.0",
"@types/node": "^20.14.2",
"@sindresorhus/tsconfig": "^7.0.0",
"@types/node": "^22.10.1",
"@types/semver": "^7.5.8",
"ava": "^6.1.3",
"del": "^7.1.0",
"del-cli": "^5.1.0",
"ava": "^6.2.0",
"del": "^8.0.0",
"del-cli": "^6.0.0",
"delay": "^6.0.0",
"p-event": "^6.0.1",
"tempy": "^3.1.0",
"ts-node": "^10.9.2",
"tsd": "^0.31.0",
"typescript": "^5.4.5",
"xo": "^0.58.0"
"tsd": "^0.31.2",
"typescript": "^5.7.2",
"xo": "^0.60.0"
},
"ava": {
"files": [
Expand Down
4 changes: 2 additions & 2 deletions test/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ test('with `suffix` option set to empty string', t => {
const config = new Conf({projectSuffix, projectName});
const configPathSegments = config.path.split(path.sep);
const configRootIndex = configPathSegments.indexOf(projectName);
t.true(configRootIndex >= 0 && configRootIndex < configPathSegments.length);
t.true(configRootIndex !== -1 && configRootIndex < configPathSegments.length);
});

test('with `projectSuffix` option set to non-empty string', t => {
Expand All @@ -332,7 +332,7 @@ test('with `projectSuffix` option set to non-empty string', t => {
const configPathSegments = config.path.split(path.sep);
const expectedRootName = `${projectName}-${projectSuffix}`;
const configRootIndex = configPathSegments.indexOf(expectedRootName);
t.true(configRootIndex >= 0 && configRootIndex < configPathSegments.length);
t.true(configRootIndex !== -1 && configRootIndex < configPathSegments.length);
});

test('`fileExtension` option', t => {
Expand Down

0 comments on commit 072c9f5

Please sign in to comment.