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 576a1ce
Show file tree
Hide file tree
Showing 7 changed files with 53 additions and 56 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
78 changes: 39 additions & 39 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion 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 Down
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 576a1ce

Please sign in to comment.