mirror of
https://github.com/zadam/trilium.git
synced 2025-10-20 15:19:01 +02:00
Merge pull request #656 from TriliumNext/renovate/typescript-5.x
chore(deps): update dependency typescript to v5.7.2
This commit is contained in:
commit
154bd92eaf
17
.github/workflows/dev.yml
vendored
17
.github/workflows/dev.yml
vendored
@ -37,6 +37,23 @@ jobs:
|
||||
context: .
|
||||
cache-from: type=gha
|
||||
cache-to: type=gha,mode=max
|
||||
test_dev:
|
||||
name: Test development
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout the repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set up node & dependencies
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 20
|
||||
cache: "npm"
|
||||
|
||||
- run: npm ci
|
||||
|
||||
- name: Run the TypeScript build
|
||||
run: npx tsc
|
||||
test_docker:
|
||||
name: Check Docker build
|
||||
runs-on: ubuntu-latest
|
||||
|
9
package-lock.json
generated
9
package-lock.json
generated
@ -156,7 +156,7 @@
|
||||
"ts-node": "10.9.2",
|
||||
"tslib": "2.8.1",
|
||||
"tsx": "4.19.2",
|
||||
"typescript": "5.6.3",
|
||||
"typescript": "5.7.2",
|
||||
"webpack": "5.97.1",
|
||||
"webpack-cli": "5.1.4"
|
||||
}
|
||||
@ -16274,10 +16274,11 @@
|
||||
}
|
||||
},
|
||||
"node_modules/typescript": {
|
||||
"version": "5.6.3",
|
||||
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.6.3.tgz",
|
||||
"integrity": "sha512-hjcS1mhfuyi4WW8IWtjP7brDrG2cuDZukyrYrSauoXGNgx0S7zceP07adYkJycEr56BOUTNPzbInooiN3fn1qw==",
|
||||
"version": "5.7.2",
|
||||
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.7.2.tgz",
|
||||
"integrity": "sha512-i5t66RHxDvVN40HfDd1PsEThGNnlMCMT3jMUuoh9/0TaqWevNontacunWyN02LA9/fIbEWlcHZcgTKb9QoaLfg==",
|
||||
"devOptional": true,
|
||||
"license": "Apache-2.0",
|
||||
"bin": {
|
||||
"tsc": "bin/tsc",
|
||||
"tsserver": "bin/tsserver"
|
||||
|
@ -195,7 +195,7 @@
|
||||
"ts-node": "10.9.2",
|
||||
"tslib": "2.8.1",
|
||||
"tsx": "4.19.2",
|
||||
"typescript": "5.6.3",
|
||||
"typescript": "5.7.2",
|
||||
"webpack": "5.97.1",
|
||||
"webpack-cli": "5.1.4"
|
||||
}
|
||||
|
@ -83,7 +83,7 @@ function getExpression(tokens: TokenData[], searchContext: SearchContext, level
|
||||
return `"${startIndex !== 0 ? "..." : ""}${searchContext.originalQuery.substr(startIndex, endIndex - startIndex)}${endIndex !== searchContext.originalQuery.length ? "..." : ""}"`;
|
||||
}
|
||||
|
||||
function resolveConstantOperand() {
|
||||
const resolveConstantOperand = () => {
|
||||
const operand = tokens[i];
|
||||
|
||||
if (!operand.inQuotes
|
||||
@ -136,7 +136,7 @@ function getExpression(tokens: TokenData[], searchContext: SearchContext, level
|
||||
return date.format(format);
|
||||
}
|
||||
|
||||
function parseNoteProperty(): Expression | undefined | null {
|
||||
const parseNoteProperty: () => Expression | undefined | null = () => {
|
||||
if (tokens[i].token !== '.') {
|
||||
searchContext.addError('Expected "." to separate field path');
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user