@heripo/research-radar 3.1.1 → 3.1.3
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/dist/index.cjs +15 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +5 -0
- package/dist/index.js +15 -0
- package/dist/index.js.map +1 -1
- package/package.json +7 -7
package/dist/index.cjs
CHANGED
|
@@ -2298,6 +2298,21 @@ ${options.heripolabNewsMarkdown}
|
|
|
2298
2298
|
{{NEWSLETTER_CONTENT}}
|
|
2299
2299
|
|
|
2300
2300
|
<hr style="border: 0; border-top: 2px solid #D2691E; margin: 32px 0;">
|
|
2301
|
+
|
|
2302
|
+
${options?.krasNoticeMarkdown
|
|
2303
|
+
? `<h2 style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 24px; font-weight: bold; line-height: 1.3; color: #D2691E; margin: 0 0 16px 0; letter-spacing: -0.2px; border-left: 5px solid #D2691E; padding-left: 12px; background: none;"><span style="display: inline-block; width: 26px; height: 26px; vertical-align: -4px; margin-right: 6px;"><img src="https://heripo.com/kras-symbol.png" width="26" height="26" alt="" style="border: 0; display: block;"></span>학회 안내</h2>` +
|
|
2304
|
+
safeMarkdown2Html(`${options.krasNoticeMarkdown}
|
|
2305
|
+
|
|
2306
|
+
---
|
|
2307
|
+
`, {
|
|
2308
|
+
window: new jsdom.JSDOM('').window,
|
|
2309
|
+
linkTargetBlank: true,
|
|
2310
|
+
fixMalformedUrls: true,
|
|
2311
|
+
fixBoldSyntax: true,
|
|
2312
|
+
convertStrikethrough: true,
|
|
2313
|
+
}).replaceAll('%7B%7B%7BRESEND_UNSUBSCRIBE_URL%7D%7D%7D', '{{{RESEND_UNSUBSCRIBE_URL}}}')
|
|
2314
|
+
: ''}
|
|
2315
|
+
|
|
2301
2316
|
<h2 style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 24px; font-weight: bold; line-height: 1.3; color: #D2691E; margin: 0 0 16px 0; letter-spacing: -0.2px; border-left: 5px solid #D2691E; padding-left: 12px; background: none;">🔍 뉴스레터 출처</h2>
|
|
2302
2317
|
<p style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 16px; line-height: 1.7; color: #444444; margin: 0 0 18px 0;">모든 소식은 다음 출처에서 수집됩니다:</p>
|
|
2303
2318
|
<ul style="padding-left: 24px; margin: 0 0 18px 0;">
|
package/dist/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/index.d.ts
CHANGED
|
@@ -73,6 +73,11 @@ interface BaseNewsletterTemplateOptions {
|
|
|
73
73
|
* Converted to HTML and injected into the newsletter template.
|
|
74
74
|
*/
|
|
75
75
|
krasNewsMarkdown?: string;
|
|
76
|
+
/**
|
|
77
|
+
* Markdown content for KRAS notice section.
|
|
78
|
+
* Converted to HTML and injected into the newsletter template.
|
|
79
|
+
*/
|
|
80
|
+
krasNoticeMarkdown?: string;
|
|
76
81
|
/**
|
|
77
82
|
* Markdown content for heripo lab news section.
|
|
78
83
|
* Converted to HTML and injected into the newsletter template.
|
package/dist/index.js
CHANGED
|
@@ -2277,6 +2277,21 @@ ${options.heripolabNewsMarkdown}
|
|
|
2277
2277
|
{{NEWSLETTER_CONTENT}}
|
|
2278
2278
|
|
|
2279
2279
|
<hr style="border: 0; border-top: 2px solid #D2691E; margin: 32px 0;">
|
|
2280
|
+
|
|
2281
|
+
${options?.krasNoticeMarkdown
|
|
2282
|
+
? `<h2 style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 24px; font-weight: bold; line-height: 1.3; color: #D2691E; margin: 0 0 16px 0; letter-spacing: -0.2px; border-left: 5px solid #D2691E; padding-left: 12px; background: none;"><span style="display: inline-block; width: 26px; height: 26px; vertical-align: -4px; margin-right: 6px;"><img src="https://heripo.com/kras-symbol.png" width="26" height="26" alt="" style="border: 0; display: block;"></span>학회 안내</h2>` +
|
|
2283
|
+
safeMarkdown2Html(`${options.krasNoticeMarkdown}
|
|
2284
|
+
|
|
2285
|
+
---
|
|
2286
|
+
`, {
|
|
2287
|
+
window: new JSDOM('').window,
|
|
2288
|
+
linkTargetBlank: true,
|
|
2289
|
+
fixMalformedUrls: true,
|
|
2290
|
+
fixBoldSyntax: true,
|
|
2291
|
+
convertStrikethrough: true,
|
|
2292
|
+
}).replaceAll('%7B%7B%7BRESEND_UNSUBSCRIBE_URL%7D%7D%7D', '{{{RESEND_UNSUBSCRIBE_URL}}}')
|
|
2293
|
+
: ''}
|
|
2294
|
+
|
|
2280
2295
|
<h2 style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 24px; font-weight: bold; line-height: 1.3; color: #D2691E; margin: 0 0 16px 0; letter-spacing: -0.2px; border-left: 5px solid #D2691E; padding-left: 12px; background: none;">🔍 뉴스레터 출처</h2>
|
|
2281
2296
|
<p style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 16px; line-height: 1.7; color: #444444; margin: 0 0 18px 0;">모든 소식은 다음 출처에서 수집됩니다:</p>
|
|
2282
2297
|
<ul style="padding-left: 24px; margin: 0 0 18px 0;">
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@heripo/research-radar",
|
|
3
3
|
"private": false,
|
|
4
4
|
"type": "module",
|
|
5
|
-
"version": "3.1.
|
|
5
|
+
"version": "3.1.3",
|
|
6
6
|
"description": "AI-driven intelligence for Korean cultural heritage. This package serves as both a ready-to-use newsletter service and a practical implementation example for the LLM-Newsletter-Kit.",
|
|
7
7
|
"main": "dist/index.cjs",
|
|
8
8
|
"module": "dist/index.js",
|
|
@@ -51,8 +51,8 @@
|
|
|
51
51
|
"@ai-sdk/google": "^3.0.43",
|
|
52
52
|
"@ai-sdk/openai": "^3.0.41",
|
|
53
53
|
"cheerio": "^1.2.0",
|
|
54
|
-
"dompurify": "^3.3.
|
|
55
|
-
"jsdom": "^
|
|
54
|
+
"dompurify": "^3.3.3",
|
|
55
|
+
"jsdom": "^29.0.0",
|
|
56
56
|
"juice": "^11.1.1",
|
|
57
57
|
"safe-markdown2html": "^1.0.1",
|
|
58
58
|
"turndown": "^7.2.2"
|
|
@@ -62,11 +62,11 @@
|
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
64
|
"@eslint/js": "^10.0.1",
|
|
65
|
-
"@llm-newsletter-kit/core": "^1.3.
|
|
65
|
+
"@llm-newsletter-kit/core": "^1.3.7",
|
|
66
66
|
"@trivago/prettier-plugin-sort-imports": "^6.0.2",
|
|
67
67
|
"@types/express": "^5.0.6",
|
|
68
68
|
"@types/jsdom": "^28.0.0",
|
|
69
|
-
"@types/node": "^25.
|
|
69
|
+
"@types/node": "^25.5.0",
|
|
70
70
|
"@types/turndown": "^5.0.6",
|
|
71
71
|
"eslint": "^10.0.3",
|
|
72
72
|
"eslint-plugin-unused-imports": "^4.4.1",
|
|
@@ -74,11 +74,11 @@
|
|
|
74
74
|
"prettier": "^3.8.1",
|
|
75
75
|
"rimraf": "^6.1.3",
|
|
76
76
|
"rollup": "^4.59.0",
|
|
77
|
-
"rollup-plugin-dts": "^6.
|
|
77
|
+
"rollup-plugin-dts": "^6.4.0",
|
|
78
78
|
"rollup-plugin-typescript2": "^0.36.0",
|
|
79
79
|
"tsx": "^4.21.0",
|
|
80
80
|
"typescript": "^5.9.3",
|
|
81
|
-
"typescript-eslint": "^8.
|
|
81
|
+
"typescript-eslint": "^8.57.1"
|
|
82
82
|
},
|
|
83
83
|
"repository": {
|
|
84
84
|
"type": "git",
|