Skip to content

Commit a51ce1e

Browse files
committed
chore: fix netlify logo and dependencies issues
1 parent 0152056 commit a51ce1e

5 files changed

Lines changed: 259 additions & 258 deletions

File tree

.oxlintrc.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
"nursery": "warn"
1515
},
1616
"globals": {
17+
"defineExpose": "readonly",
1718
"defineProps": "readonly",
1819
"defineModel": "readonly"
1920
},

.vitepress/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ export default defineConfig({
6868
footer: {
6969
copyright: 'Copyright © 2012-present hapi.js team',
7070
message:
71-
'<a href="https://www.netlify.com" target="_blank"><img src="https://www.netlify.com/img/global/badges/netlify-dark.svg" alt="Deploys by Netlify" style="display: inline-block; vertical-align: middle; height: 20px; margin-left: 10px;" /></a>',
71+
'<a href="https://www.netlify.com" target="_blank"><img src="https://www.netlify.com/assets/badges/netlify-badge-dark.svg" alt="Deploys by Netlify" style="display: inline-block; vertical-align: middle; height: 20px; margin-left: 10px;" /></a>',
7272
},
7373
logo: '/img/joiTransparent.png',
7474
nav: [

components/CodeMirrorEditor.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,8 @@ const format = async () => {
110110
changes: { from: 0, insert: formatted, to: view.state.doc.length },
111111
});
112112
}
113-
} catch (err) {
114-
console.error('Format error:', err);
113+
} catch (error) {
114+
console.error('Format error:', error);
115115
}
116116
};
117117

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,15 @@
3939
"prettier": "^3.8.1",
4040
"semver": "^7.7.4",
4141
"vitepress-plugin-group-icons": "^1.7.3",
42-
"vue": "^3.5.31"
42+
"vue": "^3.5.32"
4343
},
4444
"devDependencies": {
4545
"@octokit/plugin-throttling": "^11.0.3",
4646
"@octokit/rest": "^22.0.1",
47-
"@types/node": "^24.12.0",
47+
"@types/node": "^24.12.2",
4848
"@types/semver": "^7.7.1",
49-
"oxfmt": "^0.43.0",
50-
"oxlint": "^1.58.0",
49+
"oxfmt": "^0.44.0",
50+
"oxlint": "^1.59.0",
5151
"tsx": "^4.21.0",
5252
"typescript": "^6.0.2",
5353
"vitepress": "2.0.0-alpha.17"

0 commit comments

Comments
 (0)