@knapsack/update 4.69.4--canary.4629.0911846c.0 → 4.69.4--canary.1952c9a.0
Sign up to get free protection for your applications and to get access to all the features.
- package/.turbo/turbo-build.log +1 -1
- package/.turbo/turbo-lint.log +1 -1
- package/.turbo/turbo-test.log +1 -1
- package/CHANGELOG.md +16 -0
- package/dist/updates/4.0.0/markdown.utils.d.ts +2 -1
- package/dist/updates/4.0.0/markdown.utils.d.ts.map +1 -1
- package/dist/updates/4.0.0/markdown.utils.js +1 -1
- package/dist/updates/4.0.0/markdown.utils.js.map +1 -1
- package/package.json +15 -15
- package/src/updates/4.0.0/markdown.utils.ts +1 -1
package/.turbo/turbo-build.log
CHANGED
package/.turbo/turbo-lint.log
CHANGED
package/.turbo/turbo-test.log
CHANGED
package/CHANGELOG.md
CHANGED
@@ -1,3 +1,19 @@
|
|
1
|
+
# v4.69.3 (Wed Sep 04 2024)
|
2
|
+
|
3
|
+
#### 🐛 Bug Fix
|
4
|
+
|
5
|
+
- 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]))
|
6
|
+
|
7
|
+
#### 🏠 Internal
|
8
|
+
|
9
|
+
- 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]))
|
10
|
+
|
11
|
+
#### Authors: 1
|
12
|
+
|
13
|
+
- [@renovate[bot]](https://github.com/renovate[bot])
|
14
|
+
|
15
|
+
---
|
16
|
+
|
1
17
|
# v4.69.2 (Fri Aug 30 2024)
|
2
18
|
|
3
19
|
#### 🐛 Bug Fix
|
@@ -1,5 +1,6 @@
|
|
1
|
+
import { marked } from 'marked';
|
1
2
|
/**
|
2
3
|
* Convert markdown to html to sanitized html to TipTap JSON
|
3
4
|
*/
|
4
|
-
export declare const mdToTipTapJson: (
|
5
|
+
export declare const mdToTipTapJson: (src: string, options?: marked.MarkedOptions, callback?: (error: any, parseResult: string) => void) => import("@knapsack/tiptap-utils").JSONContent;
|
5
6
|
//# 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":"
|
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"}
|
@@ -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(
|
31
|
+
export const mdToTipTapJson = flow(marked.parse, 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,EAAE,MAAM,iBAAiB,CAAC;AACvC,OAAO,EAAE,uBAAuB,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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AAC,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,MAAM,CAAC,KAAK,EACZ,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.69.4--canary.
|
4
|
+
"version": "4.69.4--canary.1952c9a.0",
|
5
5
|
"bin": {
|
6
6
|
"knapsack-update": "./cli.js"
|
7
7
|
},
|
@@ -18,25 +18,25 @@
|
|
18
18
|
"test": "ava"
|
19
19
|
},
|
20
20
|
"dependencies": {
|
21
|
-
"@knapsack/app": "4.69.4--canary.
|
22
|
-
"@knapsack/creator-utils": "4.69.4--canary.
|
23
|
-
"@knapsack/design-token-utils": "4.69.4--canary.
|
24
|
-
"@knapsack/file-utils": "4.69.4--canary.
|
25
|
-
"@knapsack/ks-file-utils": "4.69.4--canary.
|
26
|
-
"@knapsack/tiptap-utils": "4.69.4--canary.
|
27
|
-
"@knapsack/utils": "4.69.4--canary.
|
21
|
+
"@knapsack/app": "4.69.4--canary.1952c9a.0",
|
22
|
+
"@knapsack/creator-utils": "4.69.4--canary.1952c9a.0",
|
23
|
+
"@knapsack/design-token-utils": "4.69.4--canary.1952c9a.0",
|
24
|
+
"@knapsack/file-utils": "4.69.4--canary.1952c9a.0",
|
25
|
+
"@knapsack/ks-file-utils": "4.69.4--canary.1952c9a.0",
|
26
|
+
"@knapsack/tiptap-utils": "4.69.4--canary.1952c9a.0",
|
27
|
+
"@knapsack/utils": "4.69.4--canary.1952c9a.0",
|
28
28
|
"cheerio": "^1.0.0",
|
29
|
-
"isomorphic-dompurify": "^1.
|
29
|
+
"isomorphic-dompurify": "^1.13.0",
|
30
30
|
"marked": "^4.3.0",
|
31
31
|
"prompts": "^2.4.2",
|
32
32
|
"yargs": "^17.7.2"
|
33
33
|
},
|
34
34
|
"devDependencies": {
|
35
|
-
"@knapsack/eslint-config-starter": "4.69.4--canary.
|
36
|
-
"@knapsack/prettier-config": "4.69.4--canary.
|
37
|
-
"@knapsack/test-ava": "4.69.4--canary.
|
38
|
-
"@knapsack/types": "4.69.4--canary.
|
39
|
-
"@knapsack/typescript-config-starter": "4.69.4--canary.
|
35
|
+
"@knapsack/eslint-config-starter": "4.69.4--canary.1952c9a.0",
|
36
|
+
"@knapsack/prettier-config": "4.69.4--canary.1952c9a.0",
|
37
|
+
"@knapsack/test-ava": "4.69.4--canary.1952c9a.0",
|
38
|
+
"@knapsack/types": "4.69.4--canary.1952c9a.0",
|
39
|
+
"@knapsack/typescript-config-starter": "4.69.4--canary.1952c9a.0",
|
40
40
|
"@types/marked": "^4.0.3",
|
41
41
|
"@types/node": "^20.16.3",
|
42
42
|
"@types/prompts": "^2.4.9",
|
@@ -54,5 +54,5 @@
|
|
54
54
|
"directory": "apps/client/update",
|
55
55
|
"type": "git"
|
56
56
|
},
|
57
|
-
"gitHead": "
|
57
|
+
"gitHead": "1952c9aa343e3507231bb8774d8c8d605c34c44e"
|
58
58
|
}
|
@@ -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
|
-
|
36
|
+
marked.parse,
|
37
37
|
assertConvertableBlock,
|
38
38
|
domPurify.sanitize,
|
39
39
|
convertHtmlToTipTapJson,
|