Skip to content

Commit

Permalink
Update devDependency (#1153)
Browse files Browse the repository at this point in the history
  • Loading branch information
powerivq authored Aug 9, 2023
1 parent 49a2897 commit ecf1c3a
Show file tree
Hide file tree
Showing 6 changed files with 40 additions and 33 deletions.
18 changes: 9 additions & 9 deletions demo/preact-map/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,21 @@
},
"dependencies": {
"obj-str": "1.1.0",
"preact": "10.6.6"
"preact": "10.16.0"
},
"devDependencies": {
"@babel/core": "7.17.5",
"@babel/preset-env": "7.16.11",
"@babel/plugin-transform-react-jsx": "7.17.3",
"babel-loader": "8.2.3",
"css-loader": "6.7.1",
"mini-css-extract-plugin": "2.6.0",
"style-loader": "3.3.1",
"webpack": "5.76.0",
"webpack-cli": "4.9.2"
"babel-loader": "8.3.0",
"css-loader": "6.8.1",
"mini-css-extract-plugin": "2.7.6",
"style-loader": "3.3.3",
"webpack": "5.88.2",
"webpack-cli": "4.10.0"
},
"volta": {
"node": "16.14.0",
"yarn": "1.22.17"
"node": "16.20.2",
"yarn": "1.22.19"
}
}
16 changes: 8 additions & 8 deletions demo/react-map/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@
"@babel/core": "7.17.5",
"@babel/preset-env": "7.16.11",
"@babel/plugin-transform-react-jsx": "7.17.3",
"babel-loader": "8.2.3",
"css-loader": "6.7.1",
"mini-css-extract-plugin": "2.6.0",
"style-loader": "3.3.1",
"webpack": "5.76.0",
"webpack-cli": "4.9.2"
"babel-loader": "8.3.0",
"css-loader": "6.8.1",
"mini-css-extract-plugin": "2.7.6",
"style-loader": "3.3.3",
"webpack": "5.88.2",
"webpack-cli": "4.10.0"
},
"volta": {
"node": "16.14.0",
"yarn": "1.22.17"
"node": "16.20.2",
"yarn": "1.22.19"
}
}
21 changes: 10 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@
"@babel/preset-env": "7.16.11",
"@rollup/plugin-babel": "5.3.1",
"@rollup/plugin-replace": "4.0.0",
"@types/node": "16.11.26",
"@types/sinon": "10.0.11",
"acorn": "8.7.0",
"@types/node": "16.18.40",
"@types/sinon": "10.0.16",
"acorn": "8.10.0",
"acorn-walk": "8.2.0",
"ava": "3.15.0",
"babel-plugin-minify-replace": "0.5.0",
Expand All @@ -57,21 +57,20 @@
"esm": "3.2.25",
"husky": "8.0.3",
"jsdom": "19.0.0",
"lint-staged": "13.2.2",
"magic-string": "0.26.1",
"np": "7.6.0",
"lint-staged": "13.2.3",
"magic-string": "0.30.2",
"np": "7.7.0",
"npm-run-all": "4.1.5",
"polka": "0.5.2",
"prettier": "2.5.1",
"prettier": "2.8.8",
"rimraf": "3.0.2",
"rollup": "2.70.0",
"rollup": "2.79.1",
"rollup-plugin-analyzer": "4.0.0",
"rollup-plugin-babel": "4.4.0",
"rollup-plugin-terser": "7.0.2",
"sinon": "13.0.2",
"sirv": "2.0.2",
"sirv": "2.0.3",
"tslint": "6.1.3",
"typescript": "4.6.2"
"typescript": "4.9.5"
},
"lint-staged": {
"*.{js,ts}": [
Expand Down
4 changes: 4 additions & 0 deletions src/worker-thread/canvas/CanvasRenderingContext2D.ts
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,10 @@ export class CanvasRenderingContext2DShim<ElementType extends HTMLElement> imple
this.delegateFunc('strokeRect', [...arguments]);
}

roundRect(x: number, y: number, w: number, h: number, radii?: number | DOMPointInit | (number | DOMPointInit)[]): void {
this.delegateFunc('roundRect', [...arguments]);
}

/* DRAWING TEXT */
fillText(text: string, x: number, y: number, maxWidth?: number): void {
this.delegateFunc('fillText', [...arguments]);
Expand Down
4 changes: 4 additions & 0 deletions src/worker-thread/canvas/OffscreenCanvasPolyfill.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,10 @@ class OffscreenCanvasRenderingContext2DPolyfill<ElementType extends HTMLElement>
this[TransferrableKeys.mutated]('strokeRect', [...arguments]);
}

roundRect(x: number, y: number, w: number, h: number, radii?: number | DOMPointInit | (number | DOMPointInit)[]): void {
this[TransferrableKeys.mutated]('roundRect', [...arguments]);
}

set lineWidth(value: number) {
this[TransferrableKeys.mutated]('lineWidth', [...arguments]);
}
Expand Down
10 changes: 5 additions & 5 deletions tools/linter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@
"@babel/core": "^7.0.0-0"
},
"devDependencies": {
"ava": "4.2.0",
"ava": "4.3.3",
"esm": "3.2.25",
"lint-staged": "12.3.5",
"lint-staged": "12.5.0",
"npm-run-all": "4.1.5",
"prettier": "2.5.1",
"prettier": "2.8.8",
"rimraf": "3.0.2",
"shx": "0.3.4"
},
Expand All @@ -43,7 +43,7 @@
]
},
"volta": {
"node": "16.14.0",
"yarn": "1.22.17"
"node": "16.20.2",
"yarn": "1.22.19"
}
}

0 comments on commit ecf1c3a

Please sign in to comment.