Skip to content

Commit

Permalink
chore: bump deps
Browse files Browse the repository at this point in the history
  • Loading branch information
Sec-ant committed Mar 10, 2024
1 parent ef876ba commit 6db029d
Show file tree
Hide file tree
Showing 7 changed files with 75 additions and 78 deletions.
6 changes: 1 addition & 5 deletions biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@
},
"style": {
"noNonNullAssertion": "off"
},
"nursery": {
"useImportType": "error"
}
}
},
Expand All @@ -35,10 +32,9 @@
},
"overrides": [
{
"include": ["*.jsonc"],
"include": ["*.json"],
"json": {
"parser": {
"allowComments": true,
"allowTrailingCommas": true
}
}
Expand Down
112 changes: 56 additions & 56 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
"bump-biome:nightly": "npm i -DE @biomejs/biome@nightly"
},
"devDependencies": {
"@biomejs/biome": "1.5.3-nightly.69f9031",
"@biomejs/biome": "1.6.0",
"@changesets/cli": "^2.27.1",
"@commitlint/cli": "^19.0.3",
"@commitlint/config-conventional": "^19.0.3",
Expand All @@ -96,7 +96,7 @@
"@prettier/plugin-ruby": "^4.0.4",
"@prettier/plugin-xml": "^3.2.2",
"@stedi/prettier-plugin-jsonata": "^2.1.1",
"@types/node": "^20.11.20",
"@types/node": "^20.11.25",
"@vitest/coverage-istanbul": "^1.3.1",
"@vitest/ui": "^1.3.1",
"@xml-tools/parser": "^1.0.11",
Expand All @@ -120,10 +120,10 @@
"prettier-plugin-sql": "^0.18.0",
"prettier-plugin-sql-cst": "^0.11.1",
"prettier-plugin-toml": "^2.0.1",
"simple-git-hooks": "^2.9.0",
"simple-git-hooks": "^2.10.0",
"tsx": "^4.7.1",
"typescript": "^5.3.3",
"vite": "^5.1.4",
"typescript": "^5.4.2",
"vite": "^5.1.5",
"vitest": "^1.3.1"
},
"dependencies": {
Expand All @@ -132,6 +132,6 @@
"micro-memoize": "^4.1.2",
"package-up": "^5.0.0",
"tiny-jsonc": "^1.0.1",
"type-fest": "^4.10.3"
"type-fest": "^4.12.0"
}
}
3 changes: 2 additions & 1 deletion src/embedded/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,8 @@ export const randomUUID = (() => {
for (let i = 0; i < uuidLength; ++i) {
id +=
dict[
parseInt((Math.random() * dict.length).toFixed(0), 10) % dict.length
Number.parseInt((Math.random() * dict.length).toFixed(0), 10) %
dict.length
];
}
return id;
Expand Down
10 changes: 5 additions & 5 deletions src/embedded/xml/parser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,12 @@ function createSyntaxErrorFromParseError(parseError: IRecognitionException) {
const options: ErrorOptions = {
loc: {
start: {
line: parseError.token.startLine ?? NaN,
column: parseError.token.startColumn ?? NaN,
line: parseError.token.startLine ?? Number.NaN,
column: parseError.token.startColumn ?? Number.NaN,
},
end: {
line: parseError.token.endLine ?? NaN,
column: parseError.token.endColumn ?? NaN,
line: parseError.token.endLine ?? Number.NaN,
column: parseError.token.endColumn ?? Number.NaN,
},
},
};
Expand Down Expand Up @@ -160,7 +160,7 @@ export const parser: Parser<CstNode> = {
return node.location!.startOffset;
},
locEnd(node: CstNode) {
return node.location!.endOffset ?? NaN;
return node.location!.endOffset ?? Number.NaN;
},
};

Expand Down
4 changes: 2 additions & 2 deletions tsconfig.base.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@
"noUnusedLocals": true,
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true,
"noUncheckedIndexedAccess": true,
},
"noUncheckedIndexedAccess": true
}
}
6 changes: 3 additions & 3 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"include": ["./src", "./tests"],
"references": [
{
"path": "./tsconfig.node.json",
},
],
"path": "./tsconfig.node.json"
}
]
}

0 comments on commit 6db029d

Please sign in to comment.