@knapsack/update 4.70.0--canary.4632.416fd54.0 → 4.70.0--canary.4433.133de0f.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,4 @@
1
1
 
2
- > @knapsack/update@4.69.0 build /home/runner/work/app-monorepo/app-monorepo/apps/client/update
2
+ > @knapsack/update@4.69.5 build /home/runner/work/app-monorepo/app-monorepo/apps/client/update
3
3
  > tsc
4
4
 
@@ -1,4 +1,4 @@
1
1
 
2
- > @knapsack/update@4.69.0 lint /home/runner/work/app-monorepo/app-monorepo/apps/client/update
2
+ > @knapsack/update@4.69.5 lint /home/runner/work/app-monorepo/app-monorepo/apps/client/update
3
3
  > eslint ./
4
4
 
@@ -1,10 +1,14 @@
1
1
 
2
- > @knapsack/update@4.69.0 test /home/runner/work/app-monorepo/app-monorepo/apps/client/update
2
+ > @knapsack/update@4.69.5 test /home/runner/work/app-monorepo/app-monorepo/apps/client/update
3
3
  > ava
4
4
 
5
5
 
6
6
  - [todo] update › placeholder
7
+ marked(): mangle parameter is enabled by default, but is deprecated since version 5.0.0, and will be removed in the future. To clear this warning, install https://www.npmjs.com/package/marked-mangle, or disable by setting `{mangle: false}`.
7
8
  ✔ updates › 4.0.0 › markdown.utils › should throw on links that wrap images
9
+ marked(): headerIds and headerPrefix parameters enabled by default, but are deprecated since version 5.0.0, and will be removed in the future. To clear this warning, install https://www.npmjs.com/package/marked-gfm-heading-id, or disable by setting `{headerIds: false}`.
10
+ marked(): mangle parameter is enabled by default, but is deprecated since version 5.0.0, and will be removed in the future. To clear this warning, install https://www.npmjs.com/package/marked-mangle, or disable by setting `{mangle: false}`.
11
+ marked(): headerIds and headerPrefix parameters enabled by default, but are deprecated since version 5.0.0, and will be removed in the future. To clear this warning, install https://www.npmjs.com/package/marked-gfm-heading-id, or disable by setting `{headerIds: false}`.
8
12
 
9
13
 
10
14
  1 test passed
package/CHANGELOG.md CHANGED
@@ -1,3 +1,69 @@
1
+ # v4.69.5 (Wed Sep 04 2024)
2
+
3
+ #### 🏠 Internal
4
+
5
+ - Update dependency @types/marked to ^4.3.2 [#4188](https://github.com/knapsack-labs/app-monorepo/pull/4188) ([@renovate[bot]](https://github.com/renovate[bot]))
6
+
7
+ #### Authors: 1
8
+
9
+ - [@renovate[bot]](https://github.com/renovate[bot])
10
+
11
+ ---
12
+
13
+ # v4.69.4 (Wed Sep 04 2024)
14
+
15
+ #### 🐛 Bug Fix
16
+
17
+ - fix `mdToTipTapJson` type error [#4674](https://github.com/knapsack-labs/app-monorepo/pull/4674) ([@EvanLovely](https://github.com/EvanLovely))
18
+
19
+ #### Authors: 1
20
+
21
+ - Evan Lovely ([@EvanLovely](https://github.com/EvanLovely))
22
+
23
+ ---
24
+
25
+ # v4.69.3 (Wed Sep 04 2024)
26
+
27
+ #### 🐛 Bug Fix
28
+
29
+ - Update dependency isomorphic-dompurify to ^1.13.0 [#4662](https://github.com/knapsack-labs/app-monorepo/pull/4662) ([@renovate[bot]](https://github.com/renovate[bot]))
30
+
31
+ #### 🏠 Internal
32
+
33
+ - Update dependency @types/node to ^20.16.3 [#4643](https://github.com/knapsack-labs/app-monorepo/pull/4643) ([@renovate[bot]](https://github.com/renovate[bot]))
34
+
35
+ #### Authors: 1
36
+
37
+ - [@renovate[bot]](https://github.com/renovate[bot])
38
+
39
+ ---
40
+
41
+ # v4.69.2 (Fri Aug 30 2024)
42
+
43
+ #### 🐛 Bug Fix
44
+
45
+ - add error info [#4628](https://github.com/knapsack-labs/app-monorepo/pull/4628) ([@EvanLovely](https://github.com/EvanLovely) [@mabry1985](https://github.com/mabry1985))
46
+ - Merge branch 'latest' into EvanLovely-patch-24 ([@mabry1985](https://github.com/mabry1985))
47
+
48
+ #### Authors: 2
49
+
50
+ - Evan Lovely ([@EvanLovely](https://github.com/EvanLovely))
51
+ - Josh Mabry ([@mabry1985](https://github.com/mabry1985))
52
+
53
+ ---
54
+
55
+ # v4.69.1 (Fri Aug 30 2024)
56
+
57
+ #### 🐛 Bug Fix
58
+
59
+ - Merge branch 'latest' into feature/ksp-5460-nested-menu-item-is-finicky ([@GormanDesign](https://github.com/GormanDesign))
60
+
61
+ #### Authors: 1
62
+
63
+ - Matt Gorman ([@GormanDesign](https://github.com/GormanDesign))
64
+
65
+ ---
66
+
1
67
  # v4.68.12 (Thu Aug 29 2024)
2
68
 
3
69
  #### 🐛 Bug Fix
@@ -1,6 +1,5 @@
1
- import { marked } from 'marked';
2
1
  /**
3
2
  * Convert markdown to html to sanitized html to TipTap JSON
4
3
  */
5
- export declare const mdToTipTapJson: (src: string, options?: marked.MarkedOptions, callback?: (error: any, parseResult: string) => void) => import("@knapsack/tiptap-utils").JSONContent;
4
+ export declare const mdToTipTapJson: (md: string) => import("@knapsack/tiptap-utils").JSONContent;
6
5
  //# sourceMappingURL=markdown.utils.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"markdown.utils.d.ts","sourceRoot":"","sources":["../../../src/updates/4.0.0/markdown.utils.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AA6BhC;;GAEG;AACH,eAAO,MAAM,cAAc,qJAK1B,CAAC"}
1
+ {"version":3,"file":"markdown.utils.d.ts","sourceRoot":"","sources":["../../../src/updates/4.0.0/markdown.utils.ts"],"names":[],"mappings":"AA+BA;;GAEG;AACH,eAAO,MAAM,cAAc,8DAK1B,CAAC"}
@@ -28,5 +28,5 @@ function assertConvertableBlock(html) {
28
28
  /**
29
29
  * Convert markdown to html to sanitized html to TipTap JSON
30
30
  */
31
- export const mdToTipTapJson = flow(marked.parse, assertConvertableBlock, domPurify.sanitize, convertHtmlToTipTapJson);
31
+ export const mdToTipTapJson = flow((md) => marked.parse(md), assertConvertableBlock, domPurify.sanitize, convertHtmlToTipTapJson);
32
32
  //# sourceMappingURL=markdown.utils.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"markdown.utils.js","sourceRoot":"","sources":["../../../src/updates/4.0.0/markdown.utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EA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BAAuB,EAAE,MAAM,wBAAwB,CAAC;AACjE,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAChC,OAAO,SAAS,MAAM,sBAAsB,CAAC;AAC7C,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAE/B,kFAAkF;AAClF,8EAA8E;AAC9E,+EAA+E;AAC/E,gFAAgF;AAChF,mFAAmF;AACnF,gFAAgF;AAChF,2BAA2B;AAC3B,MAAM,CAAC,QAAQ,CAAC,SAAS,CAAC,SAAS,GAAG,CAAC,IAAY,EAAE,EAAE,CACrD,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,GAAG,IAAI,IAAI,CAAC,CAAC,CAAC,MAAM,IAAI,QAAQ,CAAC;AAE7D;;;GAGG;AACH,SAAS,sBAAsB,CAAC,IAAY;IAC1C,MAAM,CAAC,GAAG,IAAI,CAAC,IAAI,CAAC,CAAC;IACrB,IAAI,CAAC,CAAC,OAAO,CAAC,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QAC1B,MAAM,IAAI,KAAK,CAAC,0CAA0C,CAAC,CAAC;IAC9D,CAAC;IACD,IAAI,CAAC,CAAC,OAAO,CAAC,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QAC1B,MAAM,IAAI,KAAK,CAAC,0BAA0B,CAAC,CAAC;IAC9C,CAAC;IACD,OAAO,IAAI,CAAC;AACd,CAAC;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,IAAI,CAChC,CAAC,EAAU,EAAU,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE,CAAC,EACxC,sBAAsB,EACtB,SAAS,CAAC,QAAQ,EAClB,uBAAuB,CACxB,CAAC"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@knapsack/update",
3
3
  "description": "",
4
- "version": "4.70.0--canary.4632.416fd54.0",
4
+ "version": "4.70.0--canary.4433.133de0f.0",
5
5
  "bin": {
6
6
  "knapsack-update": "./cli.js"
7
7
  },
@@ -18,27 +18,26 @@
18
18
  "test": "ava"
19
19
  },
20
20
  "dependencies": {
21
- "@knapsack/app": "4.70.0--canary.4632.416fd54.0",
22
- "@knapsack/creator-utils": "4.70.0--canary.4632.416fd54.0",
23
- "@knapsack/design-token-utils": "4.70.0--canary.4632.416fd54.0",
24
- "@knapsack/file-utils": "4.70.0--canary.4632.416fd54.0",
25
- "@knapsack/ks-file-utils": "4.70.0--canary.4632.416fd54.0",
26
- "@knapsack/tiptap-utils": "4.70.0--canary.4632.416fd54.0",
27
- "@knapsack/utils": "4.70.0--canary.4632.416fd54.0",
21
+ "@knapsack/app": "4.70.0--canary.4433.133de0f.0",
22
+ "@knapsack/creator-utils": "4.70.0--canary.4433.133de0f.0",
23
+ "@knapsack/design-token-utils": "4.70.0--canary.4433.133de0f.0",
24
+ "@knapsack/file-utils": "4.70.0--canary.4433.133de0f.0",
25
+ "@knapsack/ks-file-utils": "4.70.0--canary.4433.133de0f.0",
26
+ "@knapsack/tiptap-utils": "4.70.0--canary.4433.133de0f.0",
27
+ "@knapsack/utils": "4.70.0--canary.4433.133de0f.0",
28
28
  "cheerio": "^1.0.0",
29
- "isomorphic-dompurify": "^1.5.0",
30
- "marked": "^4.3.0",
29
+ "isomorphic-dompurify": "^1.13.0",
30
+ "marked": "^6.0.0",
31
31
  "prompts": "^2.4.2",
32
32
  "yargs": "^17.7.2"
33
33
  },
34
34
  "devDependencies": {
35
- "@knapsack/eslint-config-starter": "4.70.0--canary.4632.416fd54.0",
36
- "@knapsack/prettier-config": "4.70.0--canary.4632.416fd54.0",
37
- "@knapsack/test-ava": "4.70.0--canary.4632.416fd54.0",
38
- "@knapsack/types": "4.70.0--canary.4632.416fd54.0",
39
- "@knapsack/typescript-config-starter": "4.70.0--canary.4632.416fd54.0",
40
- "@types/marked": "^4.0.3",
41
- "@types/node": "^20.16.1",
35
+ "@knapsack/eslint-config-starter": "4.70.0--canary.4433.133de0f.0",
36
+ "@knapsack/prettier-config": "4.70.0--canary.4433.133de0f.0",
37
+ "@knapsack/test-ava": "4.70.0--canary.4433.133de0f.0",
38
+ "@knapsack/types": "4.70.0--canary.4433.133de0f.0",
39
+ "@knapsack/typescript-config-starter": "4.70.0--canary.4433.133de0f.0",
40
+ "@types/node": "^20.16.5",
42
41
  "@types/prompts": "^2.4.9",
43
42
  "@types/yargs": "^17.0.33",
44
43
  "ava": "^6.1.3",
@@ -54,5 +53,5 @@
54
53
  "directory": "apps/client/update",
55
54
  "type": "git"
56
55
  },
57
- "gitHead": "416fd5482b8e4aac21cd2113637a35d470810c4a"
56
+ "gitHead": "133de0f024277534b2d012833b847030e6dcc099"
58
57
  }
@@ -33,7 +33,7 @@ function assertConvertableBlock(html: string): string {
33
33
  * Convert markdown to html to sanitized html to TipTap JSON
34
34
  */
35
35
  export const mdToTipTapJson = flow(
36
- marked.parse,
36
+ (md: string): string => marked.parse(md),
37
37
  assertConvertableBlock,
38
38
  domPurify.sanitize,
39
39
  convertHtmlToTipTapJson,