Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update all dependencies #1051

Merged
merged 2 commits into from
Jul 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@
"@changesets/cli": "^2.22.0",
"@commitlint/cli": "^17.0.0",
"@commitlint/config-conventional": "^17.0.0",
"@nrwl/tao": "16.5.0",
"@nx/cypress": "16.5.0",
"@nx/workspace": "16.5.0",
"@nrwl/tao": "16.5.1",
"@nx/cypress": "16.5.1",
"@nx/workspace": "16.5.1",
"@rollup/plugin-commonjs": "^25.0.0",
"@rollup/plugin-json": "^6.0.0",
"@rollup/plugin-node-resolve": "^15.0.0",
Expand All @@ -60,7 +60,7 @@
"husky": "^8.0.0",
"jsdom": "^22.0.0",
"lint-staged": "^13.0.0",
"nx": "16.5.0",
"nx": "16.5.1",
"nx-cloud": "16.0.5",
"pathe": "^1.0.0",
"postcss": "^8.2.12",
Expand Down
1 change: 0 additions & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
},
"dependencies": {
"@milkdown/exception": "workspace:*",
"mdast-util-to-markdown": "^1.5.0",
"remark-parse": "^10.0.1",
"remark-stringify": "^10.0.2",
"tslib": "^2.5.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/core/src/__internal__/remark-handlers.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* Copyright 2021, Milkdown by Mirone. */
import type { Handlers } from 'mdast-util-to-markdown'
import type { Options } from 'remark-stringify'

export const remarkHandlers: Partial<Handlers> = {
export const remarkHandlers: Required<Options>['handlers'] = {
strong: (node, _, state, info) => {
const marker = node.marker || state.options.strong || '*'
const exit = state.enter('strong')
Expand Down
2 changes: 1 addition & 1 deletion packages/vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"devDependencies": {
"@milkdown/core": "workspace:*",
"@milkdown/prose": "workspace:*",
"vue": "^3.2.47"
"vue": "^3.3.4"
},
"nx": {
"targets": {
Expand Down
4 changes: 2 additions & 2 deletions packages/vue/src/Editor.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* Copyright 2021, Milkdown by Mirone. */
/* eslint-disable vue/one-component-per-file */
import type { Editor } from '@milkdown/core'
import type { InjectionKey } from 'vue'
import type { InjectionKey, Ref } from 'vue'
import {
Fragment,
defineComponent,
Expand Down Expand Up @@ -29,7 +29,7 @@ export const MilkdownProvider = defineComponent({
setup: (_, { slots }) => {
const dom = ref<HTMLDivElement | null>(null)
const editorFactory = ref<GetEditor | undefined>(undefined)
const editor = ref<Editor | undefined>(undefined)
const editor = ref<Editor | undefined>(undefined) as Ref<Editor | undefined>
const loading = ref(true)

provide(editorInfoCtxKey, {
Expand Down
Loading