@knapsack/update 4.69.2 → 4.69.4--canary.d7e0dfc.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.1 build /home/runner/work/app-monorepo/app-monorepo/apps/client/update
2
+ > @knapsack/update@4.69.3 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.1 lint /home/runner/work/app-monorepo/app-monorepo/apps/client/update
2
+ > @knapsack/update@4.69.3 lint /home/runner/work/app-monorepo/app-monorepo/apps/client/update
3
3
  > eslint ./
4
4
 
@@ -1,5 +1,5 @@
1
1
 
2
- > @knapsack/update@4.69.1 test /home/runner/work/app-monorepo/app-monorepo/apps/client/update
2
+ > @knapsack/update@4.69.3 test /home/runner/work/app-monorepo/app-monorepo/apps/client/update
3
3
  > ava
4
4
 
5
5
 
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,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,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,E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AC,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.69.2",
4
+ "version": "4.69.4--canary.d7e0dfc.0",
5
5
  "bin": {
6
6
  "knapsack-update": "./cli.js"
7
7
  },
@@ -18,27 +18,27 @@
18
18
  "test": "ava"
19
19
  },
20
20
  "dependencies": {
21
- "@knapsack/app": "4.69.2",
22
- "@knapsack/creator-utils": "4.69.2",
23
- "@knapsack/design-token-utils": "4.69.2",
24
- "@knapsack/file-utils": "4.69.2",
25
- "@knapsack/ks-file-utils": "4.69.2",
26
- "@knapsack/tiptap-utils": "4.69.2",
27
- "@knapsack/utils": "4.69.2",
21
+ "@knapsack/app": "4.69.4--canary.d7e0dfc.0",
22
+ "@knapsack/creator-utils": "4.69.4--canary.d7e0dfc.0",
23
+ "@knapsack/design-token-utils": "4.69.4--canary.d7e0dfc.0",
24
+ "@knapsack/file-utils": "4.69.4--canary.d7e0dfc.0",
25
+ "@knapsack/ks-file-utils": "4.69.4--canary.d7e0dfc.0",
26
+ "@knapsack/tiptap-utils": "4.69.4--canary.d7e0dfc.0",
27
+ "@knapsack/utils": "4.69.4--canary.d7e0dfc.0",
28
28
  "cheerio": "^1.0.0",
29
- "isomorphic-dompurify": "^1.5.0",
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.2",
36
- "@knapsack/prettier-config": "4.69.2",
37
- "@knapsack/test-ava": "4.69.2",
38
- "@knapsack/types": "4.69.2",
39
- "@knapsack/typescript-config-starter": "4.69.2",
35
+ "@knapsack/eslint-config-starter": "4.69.4--canary.d7e0dfc.0",
36
+ "@knapsack/prettier-config": "4.69.4--canary.d7e0dfc.0",
37
+ "@knapsack/test-ava": "4.69.4--canary.d7e0dfc.0",
38
+ "@knapsack/types": "4.69.4--canary.d7e0dfc.0",
39
+ "@knapsack/typescript-config-starter": "4.69.4--canary.d7e0dfc.0",
40
40
  "@types/marked": "^4.0.3",
41
- "@types/node": "^20.16.1",
41
+ "@types/node": "^20.16.3",
42
42
  "@types/prompts": "^2.4.9",
43
43
  "@types/yargs": "^17.0.33",
44
44
  "ava": "^6.1.3",
@@ -54,5 +54,5 @@
54
54
  "directory": "apps/client/update",
55
55
  "type": "git"
56
56
  },
57
- "gitHead": "bdb742e9c0a88752306c4b750f608c2025c30f79"
57
+ "gitHead": "d7e0dfc57d8755bed3b0414a1b65afa7e6c4630b"
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
- marked.parse,
36
+ (md: string): string => marked.parse(md),
37
37
  assertConvertableBlock,
38
38
  domPurify.sanitize,
39
39
  convertHtmlToTipTapJson,