Comparing version 3.2.2 to 3.2.3
import { Processor } from 'unified'; | ||
import type React from 'react'; | ||
import { type HTMLReactParserOptions } from 'html-react-parser'; | ||
import type React from 'react'; | ||
type WritrOptions = { | ||
@@ -5,0 +5,0 @@ openai?: string; |
@@ -118,2 +118,2 @@ import { unified } from 'unified'; | ||
export { Writr }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid3JpdHIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvd3JpdHIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLE9BQU8sRUFBWSxNQUFNLFNBQVMsQ0FBQztBQUMzQyxPQUFPLFdBQVcsTUFBTSxjQUFjLENBQUM7QUFDdkMsT0FBTyxZQUFZLE1BQU0sZUFBZSxDQUFDO0FBQ3pDLE9BQU8sVUFBVSxNQUFNLGFBQWEsQ0FBQztBQUNyQyxPQUFPLGVBQWUsTUFBTSxrQkFBa0IsQ0FBQztBQUMvQyxPQUFPLGVBQWUsTUFBTSxrQkFBa0IsQ0FBQztBQUMvQyxPQUFPLFNBQVMsTUFBTSxZQUFZLENBQUM7QUFDbkMsT0FBTyxVQUFVLE1BQU0sYUFBYSxDQUFDO0FBQ3JDLE9BQU8sV0FBVyxNQUFNLGNBQWMsQ0FBQztBQUN2QyxPQUFPLFNBQVMsTUFBTSxZQUFZLENBQUM7QUFDbkMsT0FBTyxXQUFXLE1BQU0sY0FBYyxDQUFDO0FBQ3ZDLE9BQU8sU0FBUyxNQUFNLFlBQVksQ0FBQztBQUNuQyxPQUFPLEtBQW9DLE1BQU0sbUJBQW1CLENBQUM7QUFrQnJFLE1BQU0sS0FBSztJQUNILE1BQU0sR0FBRyxPQUFPLEVBQUU7U0FDdkIsR0FBRyxDQUFDLFdBQVcsQ0FBQztTQUNoQixHQUFHLENBQUMsU0FBUyxDQUFDLENBQUMsK0JBQStCO1NBQzlDLEdBQUc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Fya0dmbSk7XG5cdFx0fVxuXG5cdFx0aWYgKG9wdGlvbnMudG9jKSB7XG5cdFx0XHRwcm9jZXNzb3IudXNlKHJlbWFya1RvYywge2hlYWRpbmc6ICd0b2N8dGFibGUgb2YgY29udGVudHMnfSk7XG5cdFx0fVxuXG5cdFx0aWYgKG9wdGlvbnMuZW1vamkpIHtcblx0XHRcdHByb2Nlc3Nvci51c2UocmVtYXJrRW1vamkpO1xuXHRcdH1cblxuXHRcdHByb2Nlc3Nvci51c2UocmVtYXJrUmVoeXBlKTtcblxuXHRcdGlmIChvcHRpb25zLnNsdWcpIHtcblx0XHRcdHByb2Nlc3Nvci51c2UocmVoeXBlU2x1Zyk7XG5cdFx0fVxuXG5cdFx0aWYgKG9wdGlvbnMuaGlnaGxpZ2h0KSB7XG5cdFx0XHRwcm9jZXNzb3IudXNlKHJlaHlwZUhpZ2hsaWdodCk7XG5cdFx0fVxuXG5cdFx0aWYgKG9wdGlvbnMubWF0aCkge1xuXHRcdFx0cHJvY2Vzc29yLnVzZShyZW1hcmtNYXRoKS51c2UocmVoeXBlS2F0ZXgpO1xuXHRcdH1cblxuXHRcdGlmIChvcHRpb25zLm1keCkge1xuXHRcdFx0cHJvY2Vzc29yLnVzZShyZW1hcmtNRFgpO1xuXHRcdH1cblxuXHRcdHByb2Nlc3Nvci51c2UocmVoeXBlU3RyaW5naWZ5KTtcblxuXHRcdHJldHVybiBwcm9jZXNzb3I7XG5cdH1cbn1cblxuZXhwb3J0IHtXcml0ciwgdHlwZSBXcml0ck9wdGlvbnMsIHR5cGUgUmVuZGVyT3B0aW9uc307XG5cbiJdfQ== |
{ | ||
"name": "writr", | ||
"version": "3.2.2", | ||
"version": "3.2.3", | ||
"description": "Markdown Rendering Simplified", | ||
@@ -52,3 +52,3 @@ "type": "module", | ||
"html-react-parser": "^5.1.10", | ||
"react": "^18.2.0", | ||
"react": "^18.3.1", | ||
"rehype-highlight": "^7.0.0", | ||
@@ -69,9 +69,9 @@ "rehype-katex": "^7.0.0", | ||
"devDependencies": { | ||
"@types/node": "^20.12.2", | ||
"@types/react": "^18.2.73", | ||
"@vitest/coverage-v8": "^1.4.0", | ||
"docula": "^0.5.2", | ||
"rimraf": "^5.0.5", | ||
"typescript": "^5.4.3", | ||
"vitest": "^1.4.0", | ||
"@types/node": "^20.12.11", | ||
"@types/react": "^18.3.2", | ||
"@vitest/coverage-v8": "^1.6.0", | ||
"docula": "^0.5.3", | ||
"rimraf": "^5.0.7", | ||
"typescript": "^5.4.5", | ||
"vitest": "^1.6.0", | ||
"webpack": "^5.91.0", | ||
@@ -78,0 +78,0 @@ "xo": "^0.58.0" |
@@ -20,3 +20,3 @@ ![Writr](site/logo.svg) | ||
* Takes the complexity of Remark and makes it easy to use. | ||
* Up and Rendering in seconds with a simple API. | ||
* Simpke to use and easy API | ||
* Easily Render to `React` or `HTML`. | ||
@@ -23,0 +23,0 @@ * Generates a Table of Contents for your markdown files (remark-toc). |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
25543
Updatedreact@^18.3.1