mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-11-04 15:11:31 +08: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: .
 | 
					          context: .
 | 
				
			||||||
          cache-from: type=gha
 | 
					          cache-from: type=gha
 | 
				
			||||||
          cache-to: type=gha,mode=max
 | 
					          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:
 | 
					  test_docker:
 | 
				
			||||||
    name: Check Docker build
 | 
					    name: Check Docker build
 | 
				
			||||||
    runs-on: ubuntu-latest
 | 
					    runs-on: ubuntu-latest
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										9
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										9
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							@ -156,7 +156,7 @@
 | 
				
			|||||||
        "ts-node": "10.9.2",
 | 
					        "ts-node": "10.9.2",
 | 
				
			||||||
        "tslib": "2.8.1",
 | 
					        "tslib": "2.8.1",
 | 
				
			||||||
        "tsx": "4.19.2",
 | 
					        "tsx": "4.19.2",
 | 
				
			||||||
        "typescript": "5.6.3",
 | 
					        "typescript": "5.7.2",
 | 
				
			||||||
        "webpack": "5.97.1",
 | 
					        "webpack": "5.97.1",
 | 
				
			||||||
        "webpack-cli": "5.1.4"
 | 
					        "webpack-cli": "5.1.4"
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
@ -16274,10 +16274,11 @@
 | 
				
			|||||||
      }
 | 
					      }
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    "node_modules/typescript": {
 | 
					    "node_modules/typescript": {
 | 
				
			||||||
      "version": "5.6.3",
 | 
					      "version": "5.7.2",
 | 
				
			||||||
      "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.6.3.tgz",
 | 
					      "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.7.2.tgz",
 | 
				
			||||||
      "integrity": "sha512-hjcS1mhfuyi4WW8IWtjP7brDrG2cuDZukyrYrSauoXGNgx0S7zceP07adYkJycEr56BOUTNPzbInooiN3fn1qw==",
 | 
					      "integrity": "sha512-i5t66RHxDvVN40HfDd1PsEThGNnlMCMT3jMUuoh9/0TaqWevNontacunWyN02LA9/fIbEWlcHZcgTKb9QoaLfg==",
 | 
				
			||||||
      "devOptional": true,
 | 
					      "devOptional": true,
 | 
				
			||||||
 | 
					      "license": "Apache-2.0",
 | 
				
			||||||
      "bin": {
 | 
					      "bin": {
 | 
				
			||||||
        "tsc": "bin/tsc",
 | 
					        "tsc": "bin/tsc",
 | 
				
			||||||
        "tsserver": "bin/tsserver"
 | 
					        "tsserver": "bin/tsserver"
 | 
				
			||||||
 | 
				
			|||||||
@ -195,7 +195,7 @@
 | 
				
			|||||||
    "ts-node": "10.9.2",
 | 
					    "ts-node": "10.9.2",
 | 
				
			||||||
    "tslib": "2.8.1",
 | 
					    "tslib": "2.8.1",
 | 
				
			||||||
    "tsx": "4.19.2",
 | 
					    "tsx": "4.19.2",
 | 
				
			||||||
    "typescript": "5.6.3",
 | 
					    "typescript": "5.7.2",
 | 
				
			||||||
    "webpack": "5.97.1",
 | 
					    "webpack": "5.97.1",
 | 
				
			||||||
    "webpack-cli": "5.1.4"
 | 
					    "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 ? "..." : ""}"`;
 | 
					        return `"${startIndex !== 0 ? "..." : ""}${searchContext.originalQuery.substr(startIndex, endIndex - startIndex)}${endIndex !== searchContext.originalQuery.length ? "..." : ""}"`;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    function resolveConstantOperand() {
 | 
					    const resolveConstantOperand = () => {
 | 
				
			||||||
        const operand = tokens[i];
 | 
					        const operand = tokens[i];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        if (!operand.inQuotes
 | 
					        if (!operand.inQuotes
 | 
				
			||||||
@ -136,7 +136,7 @@ function getExpression(tokens: TokenData[], searchContext: SearchContext, level
 | 
				
			|||||||
        return date.format(format);
 | 
					        return date.format(format);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    function parseNoteProperty(): Expression | undefined | null {
 | 
					    const parseNoteProperty: () => Expression | undefined | null = () => {
 | 
				
			||||||
        if (tokens[i].token !== '.') {
 | 
					        if (tokens[i].token !== '.') {
 | 
				
			||||||
            searchContext.addError('Expected "." to separate field path');
 | 
					            searchContext.addError('Expected "." to separate field path');
 | 
				
			||||||
            return;
 | 
					            return;
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user