Skip to content

Commit 491a5fe

Browse files
authored
!fix: bump php-parser and other dependencies (#1914)
BREAKING CHANGE: drop support for node v10
1 parent 952f7cb commit 491a5fe

4 files changed

Lines changed: 603 additions & 489 deletions

File tree

.github/workflows/nodejs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
strategy:
1111
matrix:
1212
os: [ubuntu-latest, macos-latest]
13-
node-version: [10.x, 12.x, 14.x, 16.x]
13+
node-version: [12.x, 14.x, 16.x, 17.x]
1414

1515
steps:
1616
- uses: actions/checkout@v1

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,22 +13,22 @@
1313
"dependencies": {
1414
"linguist-languages": "^7.5.1",
1515
"mem": "^8.0.0",
16-
"php-parser": "https://github.com/glayzzle/php-parser#27abcb2337ac6450c068ef064982dfabf77916a5"
16+
"php-parser": "3.1.0-beta.0"
1717
},
1818
"devDependencies": {
19-
"@babel/preset-env": "^7.7.5",
19+
"@babel/preset-env": "^7.16.11",
2020
"codecov": "3.8.3",
2121
"cross-env": "^7.0.2",
2222
"eslint": "7.32.0",
2323
"eslint-config-prettier": "8.3.0",
2424
"eslint-plugin-import": "2.25.4",
25-
"eslint-plugin-jest": "24.4.0",
25+
"eslint-plugin-jest": "26.0.0",
2626
"eslint-plugin-prettier": "4.0.0",
27-
"jest": "27.4.5",
27+
"jest": "27.4.7",
2828
"jest-runner-eslint": "1.0.0",
2929
"jest-snapshot-serializer-raw": "^1.1.0",
3030
"prettier": "2.1.2",
31-
"rollup": "^2.7.5",
31+
"rollup": "^2.67.0",
3232
"rollup-plugin-alias": "^2.0.0",
3333
"rollup-plugin-babel": "^4.3.2",
3434
"rollup-plugin-commonjs": "^10.0.2",

tests/syntax-error/jsfmt.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ test("Syntax errors have the expected structure", () => {
2222
codeFrame: stripAnsi(err.codeFrame),
2323
});
2424

25-
// eslint-disable-next-line jest/no-try-expect, jest/no-conditional-expect
25+
// eslint-disable-next-line jest/no-conditional-expect
2626
expect(errObject).toMatchSnapshot();
2727
}
2828
});

0 commit comments

Comments
 (0)