Skip to content

Commit

Permalink
Update dev-dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Jan 13, 2022
1 parent 7e3ad05 commit e959615
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
3 changes: 2 additions & 1 deletion lib/integration/esbuild.js
Expand Up @@ -104,7 +104,8 @@ export function esbuild(options = {}) {
// Clean search and hash from URL.
path: Object.assign(new URL(href), {search: '', hash: ''}).href,
namespace: 'file',
pluginData: {contents}
// @ts-expect-error `Buffer` type.
pluginData: {contents, suffix: ''}
})
: // V8 on Erbium.
/* c8 ignore next 2 */
Expand Down
1 change: 0 additions & 1 deletion lib/integration/rollup.js
Expand Up @@ -31,7 +31,6 @@ export function rollup(options = {}) {

return {
name: 'xdm',
// @ts-expect-error `map` is added if a `SourceMapGenerator` is passed in.
async transform(value, path) {
const file = new VFile({value, path})

Expand Down
1 change: 0 additions & 1 deletion lib/integration/webpack.js
Expand Up @@ -23,7 +23,6 @@ export function loader(value, callback) {
const options = /** @type {CompileOptions} */ (this.getOptions())
compile({value, path: this.resourcePath}, {...defaults, ...options}).then(
(file) => {
// @ts-expect-error conflict between UInt8Array and Buffer is expected, and a tradeoff made in vfile typings to avoid `@types/node` being required
callback(null, file.value, file.map)
return file
},
Expand Down
6 changes: 3 additions & 3 deletions package.json
Expand Up @@ -74,17 +74,17 @@
"@babel/plugin-transform-react-jsx": "^7.0.0",
"@emotion/react": "^11.0.0",
"@mdx-js/react": "2.0.0-rc.1",
"@theme-ui/preset-base": "^0.12.0",
"@theme-ui/preset-base": "^0.13.0",
"@types/babel__core": "^7.0.0",
"@types/node": "^16.0.0",
"@types/node": "^17.0.0",
"@types/react": "^17.0.0",
"@types/react-dom": "^17.0.0",
"@types/tape": "^4.0.0",
"@types/webpack": "^5.0.0",
"@vue/babel-plugin-jsx": "^1.0.0",
"@vue/server-renderer": "^3.0.0",
"c8": "^7.0.0",
"esbuild": "^0.13.0",
"esbuild": "^0.14.0",
"eslint-plugin-es": "^4.0.0",
"eslint-plugin-security": "^1.0.0",
"estree-to-babel": "^3.0.0",
Expand Down

0 comments on commit e959615

Please sign in to comment.