Skip to content

Commit

Permalink
Downgrade chai
Browse files Browse the repository at this point in the history
  • Loading branch information
fpoli committed Feb 1, 2024
1 parent fc20ab2 commit 58bbaf1
Show file tree
Hide file tree
Showing 5 changed files with 96 additions and 62 deletions.
4 changes: 4 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,7 @@ updates:
all:
patterns:
- "*"
# Do not update to Chai v5 because it cannot be used from vscode
exclude-patterns:
- "chai"
- "@types/chai"
137 changes: 84 additions & 53 deletions package-lock.json

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

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"url": "https://github.com/viperproject/prusti-assistant/issues"
},
"homepage": "https://github.com/viperproject/prusti-assistant",
"main": "./out/extension",
"engines": {
"vscode": "^1.60.0",
"node": "*"
Expand All @@ -29,7 +30,6 @@
"activationEvents": [
"onLanguage:rust"
],
"main": "./out/extension",
"contributes": {
"snippets": [
{
Expand Down Expand Up @@ -187,7 +187,7 @@
"@typescript-eslint/eslint-plugin": "^6.20.0",
"@typescript-eslint/parser": "^6.20.0",
"@vscode/test-electron": "^2.3.9",
"chai": "^5.0.3",
"chai": "^4.4.1",
"eslint": "^8.56.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jsdoc": "^48.0.4",
Expand Down
2 changes: 1 addition & 1 deletion src/test/extension.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ import * as assert from "assert";
import * as vscode from "vscode";
import * as path from "path";
import * as glob from "glob";
import { expect } from "chai";
import * as fs from "fs-extra";
import * as os from "os";
import { expect } from "chai";
import * as config from "../config";
import * as state from "../state";
import * as extension from "../extension"
Expand Down
11 changes: 5 additions & 6 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
{
"compilerOptions": {
"target": "es6",
"module": "commonjs",
"lib": [
"es2019"
],
"target": "es2020",
"lib": ["es2020"],
"moduleResolution": "node",
"sourceMap": true,
"strict": true,
"outDir": "out",
"rootDir": "src",
"strict": true,
"typeRoots": [
"typings"
],
Expand All @@ -19,4 +18,4 @@
"include": [
"src/**/*.ts",
],
}
}

0 comments on commit 58bbaf1

Please sign in to comment.