Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
ai committed Nov 21, 2020
1 parent b6351d5 commit dfd331a
Show file tree
Hide file tree
Showing 3 changed files with 156 additions and 143 deletions.
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,16 +39,16 @@
"repository": "postcss/postcss",
"dependencies": {
"colorette": "^1.2.1",
"nanoid": "^3.1.16",
"nanoid": "^3.1.18",
"source-map": "^0.6.1",
"vfile-location": "^3.2.0"
},
"devDependencies": {
"@logux/eslint-config": "^42.2.2",
"@size-limit/preset-small-lib": "^4.8.0",
"@size-limit/preset-small-lib": "^4.9.0",
"@types/fs-extra": "^9.0.4",
"@types/jest": "^26.0.15",
"@types/node": "^14.14.8",
"@types/node": "^14.14.9",
"@typescript-eslint/eslint-plugin": "^4.8.1",
"@typescript-eslint/parser": "^4.8.1",
"check-dts": "^0.4.0",
Expand All @@ -57,7 +57,7 @@
"concat-with-sourcemaps": "^1.1.0",
"documentation": "^13.1.0",
"documentation-theme-light": "^1.1.1",
"eslint": "^7.13.0",
"eslint": "^7.14.0",
"eslint-config-standard": "^16.0.2",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jest": "^24.1.3",
Expand All @@ -73,10 +73,10 @@
"lint-staged": "^10.5.1",
"nanodelay": "^1.0.6",
"postcss-parser-tests": "^8.3.3",
"size-limit": "^4.8.0",
"size-limit": "^4.9.0",
"strip-ansi": "^6.0.0",
"ts-jest": "^26.4.4",
"typescript": "^4.0.5",
"typescript": "^4.1.2",
"yaspeller": "^7.0.0"
},
"lint-staged": {
Expand Down
4 changes: 2 additions & 2 deletions test/processor.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ it('supports async errors', () => {
reject(error)
})
}
return new Promise((resolve, reject) => {
return new Promise<void>((resolve, reject) => {
let result = new Processor([async]).process('', { from: undefined })
result
.then(() => {
Expand All @@ -296,7 +296,7 @@ it('supports sync errors in async mode', () => {
let async = () => {
throw error
}
return new Promise((resolve, reject) => {
return new Promise<void>((resolve, reject) => {
new Processor([async])
.process('', { from: undefined })
.then(() => {
Expand Down
Loading

0 comments on commit dfd331a

Please sign in to comment.