Skip to content

Commit

Permalink
Update dev-dependencies (#1892)
Browse files Browse the repository at this point in the history
Closes GH-1839.
Closes GH-1855.
Closes GH-1868.
  • Loading branch information
wooorm committed Jan 9, 2022
1 parent 5c61f57 commit ef41677
Show file tree
Hide file tree
Showing 7 changed files with 3,189 additions and 2,657 deletions.
2 changes: 1 addition & 1 deletion docs/_component/nav-site.server.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export const NavSite = (props) => {
Skip to content
</a>
<div className="navigation-primary">
<a href="/" rel="home" aria-current={name === '/' ? 'page' : undefined}>
<a href="/" aria-current={name === '/' ? 'page' : undefined}>
<h1>
<Mdx />
</h1>
Expand Down
5,825 changes: 3,174 additions & 2,651 deletions package-lock.json

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"cssnano": "^5.0.0",
"dlv": "^1.0.0",
"esbuild": "^0.14.0",
"eslint-config-xo-react": "^0.25.0",
"eslint-config-xo-react": "^0.26.0",
"eslint-plugin-es": "^4.0.0",
"eslint-plugin-react": "^7.0.0",
"eslint-plugin-react-hooks": "^4.0.0",
Expand Down Expand Up @@ -113,7 +113,7 @@
"xast-util-feed": "^1.0.0",
"xast-util-sitemap": "^1.0.0",
"xast-util-to-xml": "^3.0.0",
"xo": "^0.46.0"
"xo": "^0.47.0"
},
"scripts": {
"postinstall": "patch-package",
Expand Down Expand Up @@ -175,6 +175,7 @@
"import/extensions": "off",
"node/file-extension-in-import": "off",
"react/prop-types": "off",
"unicorn/no-await-expression-member": "off",
"unicorn/prefer-node-protocol": "off",
"capitalized-comments": "off",
"complexity": "off",
Expand Down
3 changes: 2 additions & 1 deletion packages/esbuild/lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ export function esbuild(options = {}) {

return filter.test(href)
? onload({
suffix: '',
// Clean search and hash from URL.
path: Object.assign(new URL(href), {search: '', hash: ''}).href,
namespace: 'file',
Expand All @@ -113,7 +114,7 @@ export function esbuild(options = {}) {
}

/**
* @param {Omit<OnLoadArgs, 'pluginData'> & {pluginData?: {contents?: string|Uint8Array}}} data
* @param {Omit<OnLoadArgs, 'pluginData'> & {pluginData?: {contents?: string|Buffer}}} data
* @returns {Promise<OnLoadResult>}
*/
async function onload(data) {
Expand Down
3 changes: 2 additions & 1 deletion packages/node-loader/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ import {createLoader} from './lib/index.js'

const {load, getFormat, transformSource} = createLoader()

export {load, getFormat, transformSource, createLoader}
export {load, getFormat, transformSource}
export {createLoader} from './lib/index.js'
2 changes: 1 addition & 1 deletion packages/rollup/test/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ test('@mdx-js/rollup', async () => {
plugins: [rollupMdx()]
})

const output = (await bundle.generate({format: 'es', sourcemap: true})).output
const {output} = await bundle.generate({format: 'es', sourcemap: true})

await fs.writeFile(new URL('./rollup.js', import.meta.url), output[0].code)

Expand Down
6 changes: 6 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,16 @@
"schedule": "before 3am on Monday",
"packageRules": [
{
"#": "`got@12` depends on Node 14+",
"#": "`react`/`react-dom`/`react-server-dom-webpack` latest don’t support RSC",
"#": "`typescript@4.5.0` has a problem with tail calls",
"#": "`node-loader@2` depends on Node 16+",
"matchPackageNames": [
"got",
"react",
"react-dom",
"react-server-dom-webpack",
"typescript",
"@node-loader/babel",
"@node-loader/core"
],
Expand Down

1 comment on commit ef41677

@vercel
Copy link

@vercel vercel bot commented on ef41677 Jan 9, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

Please sign in to comment.