@doist/typist 4.0.2 → 4.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,15 @@
1
+ ## [4.0.4](https://github.com/Doist/typist/compare/v4.0.3...v4.0.4) (2024-03-06)
2
+
3
+ ### Bug Fixes
4
+
5
+ - **deps:** update tiptap packages to v2.2.4 ([#660](https://github.com/Doist/typist/issues/660)) ([b603996](https://github.com/Doist/typist/commit/b603996c64b98388f43d0e7489b3fec7629b2b7d))
6
+
7
+ ## [4.0.3](https://github.com/Doist/typist/compare/v4.0.2...v4.0.3) (2024-03-06)
8
+
9
+ ### Bug Fixes
10
+
11
+ - **deps:** update dependency hast-util-is-element to v3 ([#683](https://github.com/Doist/typist/issues/683)) ([97c6428](https://github.com/Doist/typist/commit/97c64288edabf924b524711d0691d7e3ecc4c25a))
12
+
1
13
  ## [4.0.2](https://github.com/Doist/typist/compare/v4.0.1...v4.0.2) (2024-02-08)
2
14
 
3
15
  ### Bug Fixes
@@ -1 +1 @@
1
- {"version":3,"file":"typist-editor.d.ts","sourceRoot":"","sources":["../../src/components/typist-editor.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAqB,wBAAwB,EAAE,MAAM,wCAAwC,CAAA;AAMpG,OAAO,EAAE,2BAA2B,EAA2B,MAAM,wBAAwB,CAAA;AAE7F,OAAO,KAAK,EAAE,MAAM,IAAI,UAAU,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAClF,OAAO,KAAK,EAAU,SAAS,EAAE,MAAM,kBAAkB,CAAA;AAEzD;;;GAGG;AACH,KAAK,eAAe,GAAG;IACnB;;OAEG;IACH,SAAS,EAAE,MAAM,UAAU,CAAA;IAE3B;;OAEG;IACH,WAAW,EAAE,MAAM,MAAM,CAAA;IAEzB;;OAEG;IACH,2BAA2B,EAAE,CACzB,QAAQ,EAAE,MAAM,KACf,UAAU,CAAC,OAAO,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;CACpD,CAAA;AAED;;;GAGG;AACH,QAAA,MAAM,YAAY,+GAiNhB,CAAA;AAEF,OAAO,EAAE,YAAY,EAAE,CAAA;AAEvB,YAAY,EACR,iBAAiB,EACjB,SAAS,EACT,WAAW,EACX,YAAY,EACZ,UAAU,EACV,oBAAoB,EACpB,iBAAiB,EACjB,iBAAiB,EACjB,eAAe,EACf,WAAW,GACd,CAAA"}
package/package.json CHANGED
@@ -1,11 +1,10 @@
1
1
  {
2
2
  "name": "@doist/typist",
3
3
  "description": "The mighty Tiptap-based rich-text editor React component that powers Doist products.",
4
- "version": "4.0.2",
4
+ "version": "4.0.4",
5
5
  "license": "MIT",
6
6
  "homepage": "https://typist.doist.dev/",
7
7
  "repository": "https://github.com/Doist/typist",
8
- "prettier": "@doist/prettier-config",
9
8
  "main": "dist/index.js",
10
9
  "types": "dist/index.d.ts",
11
10
  "sideEffects": false,
@@ -33,7 +32,7 @@
33
32
  "clean:storybook-static": "rimraf storybook-static/",
34
33
  "eslint:check": "eslint --format codeframe --cache --cache-location ./.cache/.eslintcache --ext js,jsx,ts,tsx ./",
35
34
  "format": "run-s prettier:format",
36
- "prepare": "is-ci || husky install",
35
+ "prepare": "is-ci || husky",
37
36
  "prettier:check": "prettier --check \"./**/*.{js,jsx,ts,tsx,json,css,yml,md}\"",
38
37
  "prettier:format": "prettier --write \"./**/*.{js,jsx,ts,tsx,json,css,yml,md}\"",
39
38
  "storybook:build": "storybook build",
@@ -46,62 +45,62 @@
46
45
  "validate:pre-push": "run-s test"
47
46
  },
48
47
  "dependencies": {
49
- "@tiptap/core": "2.2.1",
50
- "@tiptap/extension-blockquote": "2.2.1",
51
- "@tiptap/extension-bold": "2.2.1",
52
- "@tiptap/extension-bullet-list": "2.2.1",
53
- "@tiptap/extension-character-count": "2.2.1",
54
- "@tiptap/extension-code": "2.2.1",
55
- "@tiptap/extension-code-block": "2.2.1",
56
- "@tiptap/extension-document": "2.2.1",
57
- "@tiptap/extension-dropcursor": "2.2.1",
58
- "@tiptap/extension-gapcursor": "2.2.1",
59
- "@tiptap/extension-hard-break": "2.2.1",
60
- "@tiptap/extension-heading": "2.2.1",
61
- "@tiptap/extension-history": "2.2.1",
62
- "@tiptap/extension-horizontal-rule": "2.2.1",
63
- "@tiptap/extension-image": "2.2.1",
64
- "@tiptap/extension-italic": "2.2.1",
65
- "@tiptap/extension-link": "2.2.1",
66
- "@tiptap/extension-list-item": "2.2.1",
67
- "@tiptap/extension-list-keymap": "2.2.1",
68
- "@tiptap/extension-ordered-list": "2.2.1",
69
- "@tiptap/extension-paragraph": "2.2.1",
70
- "@tiptap/extension-placeholder": "2.2.1",
71
- "@tiptap/extension-strike": "2.2.1",
72
- "@tiptap/extension-task-item": "2.2.1",
73
- "@tiptap/extension-task-list": "2.2.1",
74
- "@tiptap/extension-text": "2.2.1",
75
- "@tiptap/extension-text-style": "2.2.1",
76
- "@tiptap/extension-typography": "2.2.1",
77
- "@tiptap/pm": "2.2.1",
78
- "@tiptap/react": "2.2.1",
79
- "@tiptap/suggestion": "2.2.1",
48
+ "@tiptap/core": "2.2.4",
49
+ "@tiptap/extension-blockquote": "2.2.4",
50
+ "@tiptap/extension-bold": "2.2.4",
51
+ "@tiptap/extension-bullet-list": "2.2.4",
52
+ "@tiptap/extension-character-count": "2.2.4",
53
+ "@tiptap/extension-code": "2.2.4",
54
+ "@tiptap/extension-code-block": "2.2.4",
55
+ "@tiptap/extension-document": "2.2.4",
56
+ "@tiptap/extension-dropcursor": "2.2.4",
57
+ "@tiptap/extension-gapcursor": "2.2.4",
58
+ "@tiptap/extension-hard-break": "2.2.4",
59
+ "@tiptap/extension-heading": "2.2.4",
60
+ "@tiptap/extension-history": "2.2.4",
61
+ "@tiptap/extension-horizontal-rule": "2.2.4",
62
+ "@tiptap/extension-image": "2.2.4",
63
+ "@tiptap/extension-italic": "2.2.4",
64
+ "@tiptap/extension-link": "2.2.4",
65
+ "@tiptap/extension-list-item": "2.2.4",
66
+ "@tiptap/extension-list-keymap": "2.2.4",
67
+ "@tiptap/extension-ordered-list": "2.2.4",
68
+ "@tiptap/extension-paragraph": "2.2.4",
69
+ "@tiptap/extension-placeholder": "2.2.4",
70
+ "@tiptap/extension-strike": "2.2.4",
71
+ "@tiptap/extension-task-item": "2.2.4",
72
+ "@tiptap/extension-task-list": "2.2.4",
73
+ "@tiptap/extension-text": "2.2.4",
74
+ "@tiptap/extension-text-style": "2.2.4",
75
+ "@tiptap/extension-typography": "2.2.4",
76
+ "@tiptap/pm": "2.2.4",
77
+ "@tiptap/react": "2.2.4",
78
+ "@tiptap/suggestion": "2.2.4",
80
79
  "prosemirror-codemark": "0.4.2"
81
80
  },
82
81
  "devDependencies": {
83
- "@doist/eslint-config": "11.0.0",
82
+ "@doist/eslint-config": "11.1.0",
84
83
  "@doist/prettier-config": "4.0.0",
85
- "@doist/reactist": "23.1.0",
86
- "@mdx-js/react": "3.0.0",
87
- "@rollup/rollup-linux-x64-gnu": "4.9.6",
84
+ "@doist/reactist": "23.2.0",
85
+ "@mdx-js/react": "3.0.1",
86
+ "@rollup/rollup-linux-x64-gnu": "4.12.0",
88
87
  "@semantic-release/changelog": "6.0.3",
89
88
  "@semantic-release/exec": "6.0.3",
90
89
  "@semantic-release/git": "10.0.1",
91
- "@storybook/addon-a11y": "7.6.12",
92
- "@storybook/addon-essentials": "7.6.12",
93
- "@storybook/addons": "7.6.12",
90
+ "@storybook/addon-a11y": "7.6.17",
91
+ "@storybook/addon-essentials": "7.6.17",
92
+ "@storybook/addons": "7.6.17",
94
93
  "@storybook/csf": "0.1.2",
95
94
  "@storybook/mdx2-csf": "1.1.0",
96
- "@storybook/react": "7.6.12",
97
- "@storybook/react-vite": "7.6.12",
95
+ "@storybook/react": "7.6.17",
96
+ "@storybook/react-vite": "7.6.17",
98
97
  "@testing-library/dom": "9.3.4",
99
- "@testing-library/jest-dom": "6.4.1",
98
+ "@testing-library/jest-dom": "6.4.2",
100
99
  "@testing-library/react": "14.2.1",
101
100
  "@types/hast": "3.0.4",
102
101
  "@types/lodash-es": "4.17.12",
103
- "@types/react": "18.2.52",
104
- "@types/react-dom": "18.2.18",
102
+ "@types/react": "18.2.61",
103
+ "@types/react-dom": "18.2.19",
105
104
  "@types/react-syntax-highlighter": "15.5.11",
106
105
  "@types/turndown": "5.0.4",
107
106
  "@types/unist": "3.0.2",
@@ -110,22 +109,22 @@
110
109
  "classnames": "2.5.1",
111
110
  "conventional-changelog-conventionalcommits": "7.0.2",
112
111
  "emoji-regex": "10.3.0",
113
- "eslint": "8.56.0",
112
+ "eslint": "8.57.0",
114
113
  "eslint-formatter-codeframe": "7.32.1",
115
114
  "eslint-import-resolver-typescript": "3.6.1",
116
- "eslint-plugin-simple-import-sort": "10.0.0",
117
- "eslint-plugin-storybook": "0.6.15",
118
- "eslint-plugin-unicorn": "50.0.1",
119
- "eslint-plugin-vitest": "0.3.21",
115
+ "eslint-plugin-simple-import-sort": "12.0.0",
116
+ "eslint-plugin-storybook": "0.8.0",
117
+ "eslint-plugin-unicorn": "51.0.1",
118
+ "eslint-plugin-vitest": "0.3.22",
120
119
  "eslint-plugin-vitest-globals": "1.4.0",
121
- "github-markdown-css": "5.5.0",
122
- "husky": "8.0.3",
120
+ "github-markdown-css": "5.5.1",
121
+ "husky": "9.0.11",
123
122
  "ignore-sync": "7.0.1",
124
123
  "is-ci": "3.0.1",
125
124
  "jsdom": "24.0.0",
126
- "lint-staged": "15.2.1",
125
+ "lint-staged": "15.2.2",
127
126
  "npm-run-all2": "6.1.2",
128
- "prettier": "3.2.4",
127
+ "prettier": "3.2.5",
129
128
  "react": "18.2.0",
130
129
  "react-dom": "18.2.0",
131
130
  "react-icons": "5.0.1",
@@ -134,19 +133,19 @@
134
133
  "rehype-raw": "7.0.0",
135
134
  "remark-gfm": "4.0.0",
136
135
  "rimraf": "5.0.5",
137
- "semantic-release": "23.0.0",
136
+ "semantic-release": "23.0.2",
138
137
  "tippy.js": "6.3.7",
139
- "storybook": "7.6.12",
138
+ "storybook": "7.6.17",
140
139
  "storybook-css-modules": "1.0.8",
141
- "type-fest": "4.10.2",
140
+ "type-fest": "4.10.3",
142
141
  "typescript": "5.3.3",
143
- "typescript-plugin-css-modules": "5.0.2",
144
- "vitest": "1.2.2"
142
+ "typescript-plugin-css-modules": "5.1.0",
143
+ "vitest": "1.3.1"
145
144
  },
146
145
  "peerDependencies": {
147
146
  "@react-hookz/web": "^14.2.3 || >=15.x",
148
147
  "emoji-regex": "^10.2.1",
149
- "hast-util-is-element": "^2.1.0",
148
+ "hast-util-is-element": "^3.0.0",
150
149
  "linkifyjs": "^4.1.1",
151
150
  "lodash-es": "^4.17.21",
152
151
  "mdast-util-gfm-autolink-literal": "^2.0.0",