Comparing version 0.9.8 to 0.10.0
141
package.json
{ | ||
"name": "mdsvex", | ||
"version": "0.9.8", | ||
"description": "Markdown preprocessor for Svelte", | ||
"main": "dist/main.cjs.js", | ||
"module": "dist/main.es.js", | ||
"browser": "dist/mdsvex.js", | ||
"repository": "https://github.com/pngwn/MDsveX", | ||
"scripts": { | ||
"build": "rollup -c", | ||
"types": "dts-generator --project . --out dist/main.es.d.ts" | ||
}, | ||
"files": [ | ||
"dist/*" | ||
], | ||
"keywords": [ | ||
"test", | ||
"preprocessor", | ||
"mdx", | ||
"markdown", | ||
"svelte" | ||
], | ||
"author": "pngwn <hello@pngwn.io>", | ||
"license": "MIT", | ||
"devDependencies": { | ||
"@rollup/plugin-replace": "^2.4.2", | ||
"@rollup/plugin-sucrase": "^3.1.0", | ||
"@starptech/prettyhtml-hast-to-html": "^0.10.0", | ||
"@types/acorn": "^4.0.5", | ||
"@types/escape-html": "^1.0.0", | ||
"@types/estree": "^0.0.45", | ||
"@types/hast": "^2.3.1", | ||
"@types/js-yaml": "^3.12.5", | ||
"@typescript-eslint/eslint-plugin": "^3.9.0", | ||
"@typescript-eslint/parser": "^3.9.0", | ||
"escape-html": "^1.0.3", | ||
"front-matter": "^4.0.0", | ||
"js-yaml": "^3.13.1", | ||
"node-fetch": "^2.6.0", | ||
"rehype-slug": "^3.0.0", | ||
"rehype-toc": "^3.0.1", | ||
"remark-autolink-headings": "^6.0.0", | ||
"remark-containers": "^1.1.1", | ||
"remark-external-links": "^6.0.0", | ||
"remark-frontmatter": "^2.0.0", | ||
"remark-parse": "^8.0.2", | ||
"remark-rehype": "^7.0.0", | ||
"remark-slug": "^6.0.0", | ||
"retext": "^7.0.1", | ||
"retext-smartypants": "^4.0.0", | ||
"rollup-plugin-commonjs": "^10.1.0", | ||
"rollup-plugin-json": "^4.0.0", | ||
"rollup-plugin-node-builtins": "^2.1.2", | ||
"rollup-plugin-node-globals": "^1.4.0", | ||
"rollup-plugin-node-resolve": "^5.2.0", | ||
"rollup-plugin-svelte": "^5.1.1", | ||
"shiki": "^0.9.3", | ||
"svelte": "^3.14.1", | ||
"toml": "^3.0.0", | ||
"unified": "^9.1.0", | ||
"vfile": "^4.2.0" | ||
}, | ||
"peerDependencies": { | ||
"svelte": "3.x" | ||
}, | ||
"dependencies": { | ||
"@types/unist": "^2.0.3", | ||
"prism-svelte": "^0.4.7", | ||
"prismjs": "^1.17.1", | ||
"vfile-message": "^2.0.4" | ||
} | ||
} | ||
"name": "mdsvex", | ||
"version": "0.10.0", | ||
"description": "Markdown preprocessor for Svelte", | ||
"main": "dist/main.cjs.js", | ||
"module": "dist/main.es.js", | ||
"browser": "dist/mdsvex.js", | ||
"repository": "https://github.com/pngwn/MDsveX", | ||
"files": [ | ||
"dist/*" | ||
], | ||
"keywords": [ | ||
"test", | ||
"preprocessor", | ||
"mdx", | ||
"markdown", | ||
"svelte" | ||
], | ||
"author": "pngwn <hello@pngwn.io>", | ||
"license": "MIT", | ||
"devDependencies": { | ||
"@rollup/plugin-commonjs": "^21.0.0", | ||
"@rollup/plugin-json": "^4.1.0", | ||
"@rollup/plugin-node-resolve": "^13.0.5", | ||
"@rollup/plugin-replace": "^2.4.2", | ||
"@rollup/plugin-sucrase": "^3.1.0", | ||
"@starptech/prettyhtml-hast-to-html": "^0.10.0", | ||
"@types/acorn": "^4.0.5", | ||
"@types/escape-html": "^1.0.0", | ||
"@types/estree": "^0.0.45", | ||
"@types/hast": "^2.3.1", | ||
"@types/js-yaml": "^3.12.5", | ||
"escape-html": "^1.0.3", | ||
"front-matter": "^4.0.0", | ||
"js-yaml": "^3.13.1", | ||
"node-fetch": "^2.6.0", | ||
"rehype-slug": "^3.0.0", | ||
"rehype-toc": "^3.0.1", | ||
"remark-autolink-headings": "^6.0.0", | ||
"remark-containers": "^1.1.1", | ||
"remark-external-links": "^6.0.0", | ||
"remark-frontmatter": "^2.0.0", | ||
"remark-parse": "^8.0.2", | ||
"remark-rehype": "^7.0.0", | ||
"remark-slug": "^6.0.0", | ||
"retext": "^7.0.1", | ||
"retext-smartypants": "^4.0.0", | ||
"rollup-plugin-node-builtins": "^2.1.2", | ||
"rollup-plugin-node-globals": "^1.4.0", | ||
"rollup-plugin-svelte": "^5.1.1", | ||
"shiki": "^0.9.3", | ||
"svelte": "^3.14.1", | ||
"toml": "^3.0.0", | ||
"unified": "^9.1.0", | ||
"vfile": "^4.2.0" | ||
}, | ||
"peerDependencies": { | ||
"svelte": "3.x" | ||
}, | ||
"dependencies": { | ||
"@types/unist": "^2.0.3", | ||
"prism-svelte": "^0.4.7", | ||
"prismjs": "^1.17.1", | ||
"vfile-message": "^2.0.4" | ||
}, | ||
"scripts": { | ||
"build": "rollup -c && cd scripts && node copy-globals.js", | ||
"types": "dts-generator --project . --out dist/main.es.d.ts" | ||
}, | ||
"readme": "# MDsveX\n\n_do ya think I'm svexy?_\n\nA markdown preprocessor for Svelte components. Basically [MDX](https://github.com/mdx-js/mdx) for Svelte.\n\nThis preprocessor allows you use Svelte components in your markdown, or markdown in your svelte components.\n\n[Try it](https://mdsvex.com/)\n\nYou can do this:\n\n```jsx\n<script>\n import { Chart } from '../components/Chart.svelte';\n</script>\n\n# Here’s a chart\n\nThe chart is rendered inside our MDsveX document.\n\n<Chart />\n```\n\nhttps://mdsvex.com/\n" | ||
} |
@@ -13,3 +13,3 @@ # MDsveX | ||
````jsx | ||
```jsx | ||
<script> | ||
@@ -24,4 +24,4 @@ import { Chart } from '../components/Chart.svelte'; | ||
<Chart /> | ||
```` | ||
``` | ||
https://mdsvex.com/ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
4501233
34
125709
1