@humanspeak/svelte-markdown 0.7.12 → 0.7.14

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/README.md CHANGED
@@ -5,7 +5,7 @@ A powerful, customizable markdown renderer for Svelte with TypeScript support. B
5
5
  [![NPM version](https://img.shields.io/npm/v/@humanspeak/svelte-markdown.svg)](https://www.npmjs.com/package/@humanspeak/svelte-markdown)
6
6
  [![Build Status](https://github.com/humanspeak/svelte-markdown/actions/workflows/npm-publish.yml/badge.svg)](https://github.com/humanspeak/svelte-markdown/actions/workflows/npm-publish.yml)
7
7
  [![Coverage Status](https://coveralls.io/repos/github/humanspeak/svelte-markdown/badge.svg?branch=main)](https://coveralls.io/github/humanspeak/svelte-markdown?branch=main)
8
- [![License](https://img.shields.io/npm/l/@humanspeak/svelte-markdown.svg)](https://github.com/humanspeak/svelte-markdown/blob/main/LICENSE.md)
8
+ [![License](https://img.shields.io/npm/l/@humanspeak/svelte-markdown.svg)](https://github.com/humanspeak/svelte-markdown/blob/main/LICENSE)
9
9
  [![Downloads](https://img.shields.io/npm/dm/@humanspeak/svelte-markdown.svg)](https://www.npmjs.com/package/@humanspeak/svelte-markdown)
10
10
  [![CodeQL](https://github.com/humanspeak/svelte-markdown/actions/workflows/codeql.yml/badge.svg)](https://github.com/humanspeak/svelte-markdown/actions/workflows/codeql.yml)
11
11
  [![Code Style: Trunk](https://img.shields.io/badge/code%20style-trunk-blue.svg)](https://trunk.io)
@@ -243,7 +243,7 @@ The component emits a `parsed` event when tokens are calculated:
243
243
 
244
244
  ## License
245
245
 
246
- MIT © [Humanspeak, Inc.](LICENSE.md)
246
+ MIT © [Humanspeak, Inc.](LICENSE)
247
247
 
248
248
  ## Credits
249
249
 
@@ -152,7 +152,8 @@
152
152
  <renderers.list {ordered} {...rest}>
153
153
  {@const { items, ...parserRest }: {items: Props[]} = rest}
154
154
  {#each items as item}
155
- {@const UnorderedListComponent = renderers.unorderedlistitem || renderers.listitem}
155
+ {@const UnorderedListComponent =
156
+ renderers.unorderedlistitem || renderers.listitem}
156
157
  <UnorderedListComponent {...item}>
157
158
  <Parser tokens={item.tokens} {renderers} {...parserRest} />
158
159
  </UnorderedListComponent>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@humanspeak/svelte-markdown",
3
- "version": "0.7.12",
3
+ "version": "0.7.14",
4
4
  "description": "A powerful, customizable markdown renderer for Svelte with TypeScript support",
5
5
  "keywords": [
6
6
  "svelte",
@@ -60,6 +60,7 @@
60
60
  "prepublishOnly": "npm run package",
61
61
  "preview": "vite preview",
62
62
  "test": "vitest run --coverage",
63
+ "test:all": "npm run test && npm run test:e2e",
63
64
  "test:e2e": "playwright test",
64
65
  "test:e2e:debug": "playwright test --debug",
65
66
  "test:e2e:report": "playwright show-report",
@@ -77,16 +78,16 @@
77
78
  "@eslint/js": "^9.18.0",
78
79
  "@playwright/test": "^1.49.1",
79
80
  "@sveltejs/adapter-auto": "^4.0.0",
80
- "@sveltejs/kit": "^2.15.3",
81
- "@sveltejs/package": "^2.3.7",
81
+ "@sveltejs/kit": "^2.16.1",
82
+ "@sveltejs/package": "^2.3.8",
82
83
  "@sveltejs/vite-plugin-svelte": "^5.0.3",
83
84
  "@testing-library/jest-dom": "^6.6.3",
84
85
  "@testing-library/svelte": "^5.2.6",
85
86
  "@testing-library/user-event": "^14.6.0",
86
- "@types/node": "^22.10.6",
87
- "@typescript-eslint/eslint-plugin": "^8.20.0",
88
- "@typescript-eslint/parser": "^8.20.0",
89
- "@vitest/coverage-v8": "^3.0.0-beta.4",
87
+ "@types/node": "^22.10.7",
88
+ "@typescript-eslint/eslint-plugin": "^8.21.0",
89
+ "@typescript-eslint/parser": "^8.21.0",
90
+ "@vitest/coverage-v8": "^3.0.3",
90
91
  "eslint": "^9.18.0",
91
92
  "eslint-config-prettier": "^10.0.1",
92
93
  "eslint-plugin-svelte": "^2.46.1",
@@ -97,17 +98,17 @@
97
98
  "prettier-plugin-svelte": "^3.3.3",
98
99
  "prettier-plugin-tailwindcss": "^0.6.10",
99
100
  "publint": "^0.3.2",
100
- "svelte": "^5.18.0",
101
+ "svelte": "^5.19.1",
101
102
  "svelte-check": "^4.1.4",
102
103
  "typescript": "^5.7.3",
103
- "vite": "^6.0.7",
104
- "vitest": "^3.0.0-beta.4"
104
+ "vite": "^6.0.11",
105
+ "vitest": "^3.0.3"
105
106
  },
106
107
  "peerDependencies": {
107
108
  "svelte": "^5.0.0"
108
109
  },
109
110
  "volta": {
110
- "node": "22.12.0"
111
+ "node": "22.13.0"
111
112
  },
112
113
  "publishConfig": {
113
114
  "access": "public"
@@ -115,10 +116,6 @@
115
116
  "overrides": {
116
117
  "@sveltejs/kit": {
117
118
  "cookie": "^0.7.0"
118
- },
119
- "jsdom": {
120
- "cssstyle": "2.3.0",
121
- "@asamuzakjp/css-color": "1.0.0"
122
119
  }
123
120
  },
124
121
  "tags": [
File without changes